Many thanks to GeorgeVita!
I had exactly the same problem on my Asus Eee PC 901.
Many thanks to GeorgeVita!
I had exactly the same problem on my Asus Eee PC 901.
hello,
i am a new member here and also not quite well known to ubuntu 9.04. i have successfully installed wvdial on ubuntu 9.04 but it is still giving problem to connect a netconnect modem. here are the errors occurring. can somebody please help me? i have changed wvdial.conf and usbswitch.conf appropriately. also in lsusb it detects the device with correct vendor id and product id.
himanee@himanee-laptop:~$ wvdialconf /etc/wvdial.conf
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.tmp6501': 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"
himanee@himanee-laptop:~$ sudo wvdial
[sudo] password for himanee:
--> 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.
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 Fri Oct 2 16:09:16 2009
--> Pid of pppd: 6520
--> Using interface ppp0
--> pppd: �T][08]�R][08]
--> pppd: �T][08]�R][08]
--> pppd: �T][08]�R][08]
--> pppd: �T][08]�R][08]
--> Disconnecting at Fri Oct 2 16:09:24 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)
Hi himanee, welcome to this forum!
Usually a Huawei modem can be used with network manager, so as you have the 'real modem mode' try: right click on network manager icon, edit connections, mobile broadband, add, select country/provider.
Alternative solution: wvdial
Auto configuration needs root user: sudo wvdialconf
but you don't need it now. Just edit your /etc/wvdial.conf file:
Copy the following data into gedit window:Code:gksudo gedit /etc/wvdial.confReplace above your username and password (for your internet provider) and ask them if they need a specific APN (if so you must remove semicolon from Init3 line and replace the word internet with the suggested one).Code:[Dialer Defaults] Modem = /dev/ttyUSB0 Modem Type = Analog Modem Baud = 460800 ISDN = 0 Phone = "#777" Init1 = ATZ Init2 = AT&F E0 V1 X1 &D2 &C1 S0=0 ; Init3 = AT+CGDCONT=1,"IP","internet" Stupid Mode = Yes Username = <YourNumber> Password = <YourPassword>
Connect using sudo wvdial and remove 'offline mode' from firefox (ALT+F W).
Post any progress to follow up.
Regards,
George
Hi SanoTwo, thanks for your test & trigger on above post!
>>> to install 'offline' wvdial on Ubuntu 9.10 4 .deb packages needed:
1. libwvstreams4.6-base_4.6-2_i386.deb
2. libwvstreams4.6-extras_4.6-2_i386.deb
3. libuniconf4.6_4.6-2_i386.deb
4. wvdial_1.60.1+nmu2ubuntu1_i386.deb
Which can be downloaded to desktop and double click 1st to install. When finished continue with the 2nd, 3rd, 4th (in above series 1-2-3-4 one by one).
Warning: above links and my wvdial910.zip file are for Ubuntu 9.10 running on i386 architecture. For other you must find appropriate packages.
Note 1: Above solution is for those that do not have other internet connection to the ubuntu PC (cannot use synaptic).
Note 2: although pppd and pppconfig are included into Ubuntu 9.10 release, wvdial method is more documented in a lot of Howtos.
Note 3: Above file links are valid as per 8-NOV-09
Regards,
George
Thanks George. Actually I am running 9.04 but I have not had the time to solve the issue.
-for the thread- I was using this page, https://help.ubuntu.com/community/Di...to/SetUpDialer , and see that I also had a printing issue (w/ my XP machine for some reason).
Got it going now and turned on the Update Manager to make my installation "whole" I hope.
Note: For some reason, 8.10 and 9.04 didn't like some of my hardware. Stuff that was available running the Live CD wasn't installed w/ either of the above distros on two separate machines. gparted is one that wasn't installed. Otherwise, I'm posting now on 9.04 through a dialup ext. modem that wasn't installed when I originally loaded 9.04. Maybe that's the reason Network Manager wasn't available for me to use.
Last edited by SanoTwo; November 9th, 2009 at 08:14 AM.
Still failing after all these years?
Who is this system for?
Mark S. This is absurd.
There must be a simpler way, or I'd be glad to use an older version of Ubuntu or figure out some other distribution in order to have working dialup.
Don't discount the lowballers, je vous en prie!
Many Thanks to GeorgeVita for the wvdial info to get Ubuntu 9.10 connected to the Internet.
Tom, USA
Bookmarks