LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   still problem with wvdial on ubuntu 9.04 (https://www.linuxquestions.org/questions/ubuntu-63/still-problem-with-wvdial-on-ubuntu-9-04-a-758484/)

himanee 09-29-2009 12:48 PM

still problem with wvdial on ubuntu 9.04
 
hello, i am a new member here. ofcourse became member to post my problem!


i have ubuntu 9.04. it doesnot allow netconnect cards. i know. i searched and found some links to help me out. i learnt that i first n
eed to install wvdial. so i followed according to the following link
http://acomelectronics.com/GeorgeVit...re_wvdial.html

but still i am facing the problem. i changed the wvdial.conf file according to

http://linuxondesktop.blogspot.com/2...onnect-on.html

still i get following error in the terminal.

ERROR
himanee@himanee-laptop:~$ wvdial
--> WvDial: Internet dialer version 1.60
--> Warning: inherited section [Modem0] does not exist in wvdial.conf
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.


plese help.

WilliamS 09-30-2009 09:15 AM

The error is telling you is that you did not write in one or all of the three missing requirements: username, phone # of ISP, password in /etc/wvdial.conf

First it shows "Cannot get information for serial port", which suggests that you did not first after install run wvdialconf.

I don't remember ever seeing "Warning: inherited section [Modem0] does not exist in wvdial.conf" This suggests that you have done something unusual, and not known to me.

himanee 10-01-2009 04:11 AM

Thanks WilliamS,

i shall ensure once again that i have written all the information correctly. but i did run conf file after installing it. can you make any wild guess what mistake i would have done to get this type of warning?!
regards,
himanee.

himanee 10-01-2009 04:18 AM

sorry i forgot to add one more thing. it detects the modem. when i run "sudo wvdial netconnect" then it connect then suddenly after afew seconds disconnects it again.

himanee@himanee-laptop:~$ sudo wvdial netconnect
--> WvDial: Internet dialer version 1.60
--> Warning: inherited section [Modem0] does not exist in wvdial.conf
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Sep 29 21:13:52 2009
--> Pid of pppd: 6476
--> Using interface ppp0
--> pppd: �r ��r
--> pppd: �r ��r
--> pppd: �r ��r
--> pppd: �r ��r
--> Disconnecting at Tue Sep 29 21:14:09 2009
--> The PPP daemon has died: Authentication error.
--> We failed to authenticate ourselves to the peer.
--> Maybe bad account or password? (exit code = 19)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 19)


i am also giving following output for your information. please help me if you can.

himanee@himanee-laptop:~$ wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp4601': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

WilliamS 10-01-2009 01:50 PM

1. --> Cannot get information for serial port.

2. --> The PPP daemon has died: Authentication error.
--> We failed to authenticate ourselves to the peer.


3. /etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp4601': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor

1&2- Maybe wvdial has a compatibility problem with the modem?


3- /etc/wvdial.conf.tmp4601 is a new one to me, don't know how it could create a tmp file.
I would try reinstalling wvdial and make sure permissions are OK at /etc/wvdial.conf - my practice is to install it as root and then use chmod +xs /usr/sbin/pppd to make it run as user (and a bunch of other chmods).

For comparison, here's what mine does when I connect as user (note that it says nothing of the modem or port):

$ wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Idle Seconds = 600, disabling automatic reconnect.
--> Sending: ATDT8194497775
--> Waiting for carrier.
ATDT8194497775
CONNECT 26400/ARQ/V34/LAPM/V42BIS
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Oct 1 14:35:00 2009
--> Pid of pppd: 3298
--> Using interface ppp0
--> pppd: hó·0[06][08] [06][08]
--> pppd: hó·0[06][08] [06][08]
--> pppd: hó·0[06][08] [06][08]
--> pppd: hó·0[06][08] [06][08]
--> local IP address 142.217.218.235
--> pppd: hó·0[06][08] [06][08]
--> remote IP address 142.217.218.129
--> pppd: hó·0[06][08] [06][08]
--> primary DNS address 142.217.192.8
--> pppd: hó·0[06][08] [06][08]
--> secondary DNS address 142.217.192.9
--> pppd: hó·0[06][08] [06][08]

I'm using Slackware, and have never used wvdial netconnect, I just type in wvdial, but tried wvdial netconnect and it does the same as when I type in just "wvdial". This might mean nothing.


All times are GMT -5. The time now is 02:12 AM.