Re: sebek, yemen, 2.6.22-14-generic, problem with wvdial

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

 



Marvin


Still the same problem with what you suggest ...
The pppd exits with error code 16 (The link was terminated by the modem
hanging up.)


sebek@bourdon:~$ sudo wvdial
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: AT&F H0 L3
WvDial Modem<*1>: AT&F H0 L3
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT122
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT122
WvDial Modem<*1>: CONNECT 40000
WvDial<*1>: Carrier detected.  Waiting for prompt.
WvDial Modem<*1>: Authorized Access Only
WvDial Modem<*1>: This system is the property of YemenNet PTC
WvDial Modem<*1>: Disconnect IMMEDIATELY if you are not an authorized
user!
WvDial Modem<*1>: User Access Verification
WvDial Modem<*1>: Password: 
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: Password: 
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: NO CARRIER
WvDial<Notice>: Don't know what to do!  Starting pppd and hoping for the
best.
WvDial<Notice>: Starting pppd at Mon Apr 21 14:02:41 2008
WvDial<Notice>: Pid of pppd: 6566
WvDial<*1>: Using interface ppp0
WvDial<*1>: Disconnecting at Mon Apr 21 14:03:12 2008
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit
code = 16)


sebek@bourdon:~$ cat /etc/wvdial.conf 
[Dialer Defaults]
Phone = 122
#Username = XXXXXX
Username = XXXXXXX@xxxxxxxxxxxx
Password = ZZZZZZ
New PPPD = yes
Init1 = ATZ
#Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init2 = AT&F H0 L3
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttySL0
ISDN = 0
Carrier Check = no

ps pppd shows :
 6566 pts/2    S      0:00  |       \_ /usr/sbin/pppd 460800 modem
crtscts defaultroute usehostname -detach user XXXXXXX@xxxxxxxxxxxx
noipdefault call wvdial usepeerdns idle 0 logfd 6


Any other ideas?
BR

Le dimanche 20 avril 2008 à 10:32 -0400, Marvin Stodolsky a écrit :
> Sebek,
> 
> Try using
> 
> Username = LoginName@xxxxxxxxxxxx
> or whatever your full name is on YemenNet
> 
> Marv
> 
> On Sun, Apr 20, 2008 at 2:08 AM, sebek <sebeeek@xxxxxxxxx> wrote:
> > Marvin,
> >
> >  With the line Init2 = AT&F H0 L3 I still have the same behaviour :
> >
> >
> >  WvDial<*1>: Looks like a password prompt.
> >  WvDial<*1>: Sending: (password)
> >  WvDial Modem<*1>: NO CARRIER
> >  WvDial<Notice>: Don't know what to do!  Starting pppd and hoping for the
> >  best.
> >  WvDial<Notice>: Starting pppd at Sun Apr 20 09:05:53 2008
> >  WvDial<Notice>: Pid of pppd: 6208
> >
> > WvDial<*1>: Using interface ppp0
> >  WvDial<*1>: pppd: 8�[06][08]��[06][08]
> >  WvDial<*1>: pppd: 8�[06][08]��[06][08]
> >  WvDial<*1>: pppd: 8�[06][08]��[06][08]
> >  WvDial<*1>: pppd: 8�[06][08]��[06][08]
> >  WvDial<*1>: pppd: 8�[06][08]��[06][08]
> >  WvDial<*1>: Disconnecting at Sun Apr 20 09:06:24 2008
> >
> > WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit
> >  code = 16)
> >
> >  Other ideas?
> >
> >  Thanks
> >
> >
> >  Le samedi 19 avril 2008 à 11:58 -0400, Marvin Stodolsky a écrit :
> >
> >
> > > Sebek
> >  >
> >  > Try using in wvdial.conf
> >  > Init2 = AT&F H0 L3
> >  >
> >  > It may be better adapted to your IP then,  the standard
> >  > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >  >
> >  > MarvS
> >  >
> >  >
> >  > On Sat, Apr 19, 2008 at 9:18 AM, sebek <sebeeek@xxxxxxxxx> wrote:
> >  > > Hello,
> >  > >
> >  > >  Quite a time ago, I made my modem work thanks to advices from this list
> >  > >  with module snd_intel8x0m and slmodemd :
> >  > >  $ sudo slmodemd -d 1 -c OMAN -a modem:1
> >  > >  [...]
> >  > >  Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> >  > >
> >  > >  I am then launching the connection with network manager.
> >  > >
> >  > >  As I am doing some debug about low performance, I would like to use
> >  > >  wvdial instead of network-manager (more verbose).
> >  > >
> >  > >  However, the wvdial is not going well, the ppp0 interface is never up.
> >  > >  Do you know what could be wrong with my wvdial.conf ? I have read
> >  > >  wvdial.txt generated by scanModem but can not see any error.
> >  > >  Details below.
> >  > >
> >  > >  KO case :
> >  > >  sebek@bourdon:~$ sudo wvdial
> >  > >  WvDial<*1>: Modem initialized.
> >  > >  WvModem<*1>: Cannot get information for serial port.
> >  > >  WvDial<*1>: Initializing modem.
> >  > >  WvDial<*1>: Sending: ATZ
> >  > >  WvDial Modem<*1>: ATZ
> >  > >  WvDial Modem<*1>: OK
> >  > >  WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >  > >  WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >  > >  WvDial Modem<*1>: OK
> >  > >  WvDial<*1>: Modem initialized.
> >  > >  WvDial<*1>: Sending: ATDT122
> >  > >  WvDial<*1>: Waiting for carrier.
> >  > >  WvDial Modem<*1>: ATDT122
> >  > >  WvDial Modem<*1>: CONNECT 40000
> >  > >  WvDial<*1>: Carrier detected.  Waiting for prompt.
> >  > >  WvDial Modem<*1>: Authorized Access Only
> >  > >  WvDial Modem<*1>: This system is the property of YemenNet PTC
> >  > >  WvDial Modem<*1>: Disconnect IMMEDIATELY if you are not an authorized
> >  > >  user!
> >  > >  WvDial Modem<*1>: User Access Verification
> >  > >  WvDial Modem<*1>: Password:
> >  > >  WvDial<*1>: Looks like a password prompt.
> >  > >  WvDial<*1>: Sending: (password)
> >  > >  WvDial Modem<*1>: Password:
> >  > >  WvDial<*1>: Looks like a password prompt.
> >  > >  WvDial<*1>: Sending: (password)
> >  > >  WvDial Modem<*1>: NO CARRIER
> >  > >  WvDial<Notice>: Don't know what to do!  Starting pppd and hoping for the
> >  > >  best.
> >  > >  WvDial<Notice>: Starting pppd at Sat Apr 19 16:15:42 2008
> >  > >  WvDial<Notice>: Pid of pppd: 8238
> >  > >  WvDial<*1>: Using interface ppp0
> >  > >  WvDial<*1>: pppd: H�[06][08]��[06][08]
> >  > >  WvDial<*1>: pppd: H�[06][08]��[06][08]
> >  > >  Apr 19 16:15:42 bourdon pppd[8238]: pppd 2.4.4 started by root, uid 0
> >  > >  Apr 19 16:15:42 bourdon pppd[8238]: Using interface ppp0
> >  > >  Apr 19 16:15:42 bourdon pppd[8238]: Connect: ppp0 <--> /dev/pts/3
> >  > >  WvDial<*1>: pppd: H�[06][08]��[06][08]
> >  > >  WvDial<*1>: pppd: H�[06][08]��[06][08]
> >  > >  WvDial<*1>: pppd: H�[06][08]��[06][08]
> >  > >  Apr 19 16:16:39 bourdon pppd[8238]: LCP: timeout sending
> >  > >  Config-Requests
> >  > >  Apr 19 16:16:39 bourdon pppd[8238]: Connection terminated.
> >  > >  Apr 19 16:16:39 bourdon pppd[8238]: Modem hangup
> >  > >  Apr 19 16:16:39 bourdon pppd[8238]: Exit.
> >  > >  WvDial<*1>: Disconnecting at Sat Apr 19 16:16:39 2008
> >  > >  WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit
> >  > >  code = 16)
> >  > >
> >  > >  but there is never any ppp  interface up and then pppd hangs up.
> >  > >  Here is the wvdial.conf :
> >  > >
> >  > >  sebek@bourdon:~$ cat /etc/wvdial.conf
> >  > >  [Dialer Defaults]
> >  > >  Phone = 122
> >  > >  Username = XXXXX
> >  > >  Password = XXXXX
> >  > >  New PPPD = yes
> >  > >  Init1 = ATZ
> >  > >  Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >  > >  Modem Type = Analog Modem
> >  > >  Baud = 460800
> >  > >  New PPPD = yes
> >  > >  Modem = /dev/ttySL0
> >  > >  ISDN = 0
> >  > >  Carrier Check = no
> >  > >
> >  > >
> >  > >  And for reference, what happens with network-manager (OK case) :
> >  > >  Apr 19 15:23:55 bourdon pppd[7484]: pppd 2.4.4 started by root, uid 0
> >  > >  Apr 19 15:23:55 bourdon kernel: [ 5260.788000] PPP generic driver
> >  > >  version 2.4.2
> >  > >  Apr 19 15:23:55 bourdon pppd[7484]: Using interface ppp0
> >  > >  Apr 19 15:23:55 bourdon pppd[7484]: Connect: ppp0 <--> /dev/pts/3
> >  > >  Apr 19 15:24:31 bourdon pppd[7484]: Terminating on signal 15
> >  > >  Apr 19 15:24:31 bourdon pppd[7484]: Connection terminated.
> >  > >  Apr 19 15:24:31 bourdon pppd[7484]: Exit.
> >  > >  Apr 19 15:24:37 bourdon pppd[7517]: pppd 2.4.4 started by root, uid 0
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: timeout set to 60 seconds
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (ERROR)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (BUSY)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (VOICE)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (NO CARRIER)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (NO DIALTONE)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (NO DIAL TONE)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: abort on (NO ANSWER)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: send (ATZ^M)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: send (AT&FH0L3^M)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: expect (OK)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: ATZ^M^M
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: OK
> >  > >  Apr 19 15:24:38 bourdon chat[7556]:  -- got it
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: send (ATDT122^M)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: timeout set to 75 seconds
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: expect (CONNECT)
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: ^M
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: AT&FH0L3^M^M
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: OK^M
> >  > >  Apr 19 15:24:38 bourdon chat[7556]: ATDT122^M^M
> >  > >  Apr 19 15:25:10 bourdon chat[7556]: CONNECT
> >  > >  Apr 19 15:25:10 bourdon chat[7556]:  -- got it
> >  > >  Apr 19 15:25:10 bourdon pppd[7517]: Serial connection established.
> >  > >  Apr 19 15:25:10 bourdon pppd[7517]: Using interface ppp0
> >  > >  Apr 19 15:25:10 bourdon pppd[7517]: Connect: ppp0 <--> /dev/ttySL0
> >  > >  Apr 19 15:25:12 bourdon pppd[7517]: PAP authentication succeeded
> >  > >  Apr 19 15:25:12 bourdon kernel: [ 5337.828000] PPP BSD Compression
> >  > >  module registered
> >  > >  Apr 19 15:25:12 bourdon kernel: [ 5337.920000] PPP Deflate Compression
> >  > >  module registered
> >  > >  Apr 19 15:25:13 bourdon pppd[7517]: local  IP address 82.114.168.53
> >  > >  Apr 19 15:25:13 bourdon pppd[7517]: remote IP address 82.114.168.1
> >  > >  Apr 19 15:25:13 bourdon pppd[7517]: primary   DNS address 65.162.184.33
> >  > >  Apr 19 15:25:13 bourdon pppd[7517]: secondary DNS address 65.162.184.34
> >  > >
> >  > >
> >  > >
> >  > >
> >
> >


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux