Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

vgetty Help Needed

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
lokelo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Mon Dec 16, 2002 5:23 pm
Location: Maryland, USA

vgetty Help Needed

  • Quote

Post by lokelo » Sat Jun 17, 2006 1:13 am

I've got a Zoom 56k v.90 capable modem, model 2949 Series 0269.
I've connected it to my pc, connected the serial cable, power, and phone.

I then ran emerge mgetty to install vgetty.

That all seems fine, but when I look at the output from the file /var/log/vgetty
I get the following:

Code: Select all

06/17 00:51:23 yS0  vgetty: experimental test release 0.9.32 / with duplex patch
06/17 00:51:23 yS0  mgetty: interim release 1.1.35-Feb22
06/17 00:51:23 yS0  reading generic configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 00:51:23 yS0  reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 00:51:23 yS0  reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 00:51:23 yS0  check for lockfiles
06/17 00:51:23 yS0  locking the line
06/17 00:51:23 yS0  can't get group 'modem': Success
06/17 00:51:23 yS0  lowering DTR to reset Modem
06/17 00:51:24 yS0  send: \dATQ0V1H0[0d]
06/17 00:51:24 yS0  waiting for ``OK'' ** found **
06/17 00:51:24 yS0  send: ATS0=0Q0&D3&C1[0d]
06/17 00:51:24 yS0  waiting for ``OK'' ** found **
06/17 00:51:24 yS0  mdm_send: 'ATI'
06/17 00:51:25 yS0  Generic Rockwell modem (56000)
06/17 00:51:25 yS0  mdm_send: 'ATI3'
06/17 00:51:25 yS0  mdm_send: 'ATI4'
06/17 00:51:25 yS0  additional info: 'a007040284C6002F'
06/17 00:51:25 yS0  modem quirks: 0004
06/17 00:51:25 yS0  mdm_send: 'AT+FCLASS=2' -> ERROR
06/17 00:51:25 yS0  mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/17 00:51:25 yS0  mdm_send: 'AT+FCLASS=2' -> ERROR
06/17 00:51:25 yS0  detecting voice modem type
06/17 00:51:27 yS0  Rockwell detected
06/17 00:51:38 yS0  vgetty: timeout while reading character from voice modem
06/17 00:51:38 yS0  initializing ROCKWELL voice modem
06/17 00:51:38 yS0  vgetty: Modem returned ERROR
06/17 00:51:38 yS0  can't set silence period
06/17 00:51:38 yS0  vgetty: Modem returned ERROR
06/17 00:51:38 yS0  can't set transmit gain
06/17 00:51:38 yS0  vgetty: Modem returned ERROR
06/17 00:51:38 yS0  can't set record gain
06/17 00:51:39 yS0  vgetty: Modem returned ERROR
06/17 00:51:39 yS0  can't disable silence deletion
06/17 00:51:39 yS0  vgetty: Modem returned ERROR
06/17 00:51:39 yS0  can't set DLE responses
06/17 00:51:39 yS0  vgetty: Modem returned ERROR
06/17 00:51:39 yS0  can't set silence threshold
06/17 00:51:39 yS0  vgetty: Modem returned ERROR
06/17 00:51:40 yS0  waiting...
When I attempt to dial, I get the following directly below the output listed above:

Code: Select all

06/17 01:05:57 yS0  wfr: waiting for ``RING''
06/17 01:05:57 yS0  wfr: waiting for ``RING''
06/17 01:06:03 yS0  wfr: waiting for ``RING''
06/17 01:06:09 yS0  reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf

06/17 01:06:50 yS0  vgetty: timeout while reading character from voice modem
06/17 01:07:01 yS0  vgetty: timeout while reading character from voice modem
06/17 01:07:01 yS0  vgetty: Could not answer the phone. Strange...

the contents of my /etc/mgetty+sendfax/voice.conf without comments is:

Code: Select all

part generic
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner fax
phone_group fax
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw    4
compression_8bit_alaw    5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129
program vgetty
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15
program vm
voice_devices
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100
program pvf
port ttyS0
port ttyS5
ring_type virtual
answer_mode fax:data
ring_type ring
ring_type ring1

When I call, I let it ring at least 10 times and the modem never picks up. Am I missing something in the config somewhere? I was under the impression that it should work right out of the box.
Any suggesstions would be great.
Thanks.
Top
thepustule
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Sun Feb 22, 2004 1:01 pm
Location: Toronto, Canada

  • Quote

Post by thepustule » Sat Jun 17, 2006 2:16 pm

Looks like some bad AT command from vgetty might be locking up your modem.

Unfortunately not all of the config options of mgetty/vgetty are in the conf files. If you are having problems like this, it might be worthwhile to download the source of the mgetty package, and look at the contents of the policy.h file, and recompile if necessary.

I had to do this to get my setup working properly, and it worked fine after that.
Top
lokelo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Mon Dec 16, 2002 5:23 pm
Location: Maryland, USA

  • Quote

Post by lokelo » Sat Jun 17, 2006 2:22 pm

I switched to a different version of the modem (had a couple laying around work that i "borrowed") and it works now for the most part. My greeting message that I had recorded and converted to .rmd does not play, and when i converted the recorded .rmd's to .wav its all garbled.

Now off to play with some audio conversion techniques to use, unless anyone knows the particulars for a Zoom 2949L modem?
Top
lokelo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Mon Dec 16, 2002 5:23 pm
Location: Maryland, USA

  • Quote

Post by lokelo » Sat Jun 17, 2006 7:10 pm

OK,
I've been trying to do

Code: Select all

rmdtopvf v-7838-1150571218-3017229100.rmd | pvftowav > message.wav
This converts the file to a wav file, but it seems that audio is sped up thru the recording and becomes garbled and hard to understand very quickly and then starts to sound crackly.
Is there any way to see if possibly the .rmd file is accellerated as well and my problem is there? or anything i could try with my conversion from pvftowav?
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic