[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modem: TR but no ATZ-OK



--- "Wm. G. McGrath" <wgm@telus.net> wrote:
> ben wrote:
> > 
>  
> > you may need to add the user to the dialout group.
> try editing
> > /etc/wvdial.conf to include the appropriate data,
> and run wvdial as root. if
> > that doesn't work, start looking for whatever is
> hogging /dev/ttyS1
> > 
> Well I'm doing the configurations as root - first.
> /dev/ttyS1 is now
> a member of dialout. 
> 
> I tried editing wvdial.conf and added two init
> strings. wvdial ran,
> but only got as far as the first string ATZ to which
> it replied
> 'Modem not responding'.
> 
> Output of ps -ax is appended below. Any ideas? Is
> there something
> that needs to be installed?
> 
> 	bill
> 
>   PID TTY      STAT   TIME COMMAND
>     1 ?        S      0:11 init [2]
>     2 ?        SW     0:00 [kflushd]
>     3 ?        SW     0:00 [kupdate]
>     4 ?        SW     0:00 [kswapd]
>     5 ?        SW     0:00 [keventd]
>    84 ?        SW     0:00 [eth0]
>    89 ?        S      0:00 /sbin/portmap
>   144 ?        S      0:00 /sbin/klogd
>   157 ?        S      0:00 /usr/sbin/inetd
>   180 ?        S      0:00 /usr/sbin/sshd
>   195 ?        S      0:00 /usr/bin/X11/xfs
>   198 ?        S      0:00 /usr/sbin/junkbuster
> /etc/junkbuster/config
>   201 ?        S      0:00 /usr/sbin/atd
>   204 ?        S      0:00 /usr/sbin/cron
>   209 ?        S      0:00 /usr/bin/X11/xdm
>   210 tty1     S      0:00 -bash
>   211 tty2     S      0:00 /sbin/getty 38400 tty2
>   212 tty3     S      0:00 /sbin/getty 38400 tty3
>   213 tty4     S      0:00 /sbin/getty 38400 tty4
>   214 tty5     S      0:00 /sbin/getty 38400 tty5
>   215 tty6     S      0:00 /sbin/getty 38400 tty6
>   280 tty1     R      0:00 ps ax
> 


I don't know about your modem, but mine is a Best. 
The default init string in wvdial is ATZ.  As it
happens, on the Best, this is an improper init, and
any ATZ type init turns off the OK response.  

I had to change Init=ATZ to Init=ATZ1, and add
Init1=ATV1 (which turned on the OK response, so the
rest of the script worked).
You can test out this stuff with seyon , it will let
you type in the commands and see the response.

You can also do (in one window) cat </dev/ttyS1   (or
whatever your proper modem tty is), 
and in another window:

cat >/dev/ttyS1   

In the second window, type the modem commands, and in
the first window, monitor the modem's response.
(You may have to do this as root)


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: