I’ve been struggling with this for the last day or so but just couldn’t find a solution.
The problem is that I want to connect to the internet with my Nokia N80 via wvdial witht the usb cable. I’m using opensuse 11.0 with kde 3.5. But this doesn’t work I get a exit code = 16 error. How I did the config.
Step 1:
linux-gv89:/ # wvdialconf create
Editing `create’.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
ttyS4<Info>: No such device or address
Modem Port Scan<*1>: S4
ttyS5<Info>: No such device or address
Modem Port Scan<*1>: S5
ttyS6<Info>: No such device or address
Modem Port Scan<*1>: S6
ttyS7<Info>: No such device or address
Modem Port Scan<*1>: S7
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 – OK
ttyACM0<*1>: ATQ0 V1 E1 Z – OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 – OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 – OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 – OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 – OK
ttyACM0<*1>: Modem Identifier: ATI – Nokia
ttyACM0<*1>: Speed 4800: AT – OK
ttyACM0<*1>: Speed 9600: AT – OK
ttyACM0<*1>: Speed 19200: AT – OK
ttyACM0<*1>: Speed 38400: AT – OK
ttyACM0<*1>: Speed 57600: AT – OK
ttyACM0<*1>: Speed 115200: AT – OK
ttyACM0<*1>: Speed 230400: AT – OK
ttyACM0<*1>: Speed 460800: AT – OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 – OK
Found an USB modem on /dev/ttyACM0.
create<Warn>: Can’t open ‘create’ for reading: No such file or directory
create<Warn>: …starting with blank configuration.
Modem configuration written to create.
ttyACM0<Info>: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”
Now my wvdial.conf is as follows:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
New PPPD = yes
Modem = /dev/ttyACM0
Baud = 115200
Username =mtn
Password =mtn
Phone = *99#
ISDN=0
Idle Seconds = 300
carrier check = 0
Stupid Mode = 1
ISDN = 0
Auto DNS = 1
When I dial I get the following response:
linux-gv89:/etc # wvdial
→ WvDial: Internet dialer version 1.60
→ 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.
→ Idle Seconds = 300, disabling automatic reconnect.
→ Sending: ATDT99#
→ Waiting for carrier.
ATDT99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%}"}&} }*} } g}%~
→ Carrier detected. Starting PPP immediately.
→ Starting pppd at Mon Aug 17 14:13:18 2009
→ Pid of pppd: 3602
→ Using interface ppp0
→ pppd: �[7f]
→ pppd: �[7f]
→ pppd: �[7f]
→ pppd: �[7f]
→ pppd: �[7f]
→ pppd: �[7f]
→ Disconnecting at Mon Aug 17 14:13:21 2009
→ The PPP daemon has died: A modem hung up the phone (exit code = 16)
→ man pppd explains pppd error codes in more detail.
→ Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
The content of the messages file is:
Aug 17 14:13:18 linux-gv89 pppd[3602]: Plugin passwordfd.so loaded.
Aug 17 14:13:18 linux-gv89 pppd[3602]: pppd 2.4.4 started by root, uid 0
Aug 17 14:13:18 linux-gv89 pppd[3602]: Using interface ppp0
Aug 17 14:13:18 linux-gv89 pppd[3602]: Connect: ppp0 <–> /dev/ttyACM0
Aug 17 14:13:18 linux-gv89 pppd[3602]: PAP authentication succeeded
Aug 17 14:13:18 linux-gv89 pppd[3602]: LCP terminated by peer
Aug 17 14:13:20 linux-gv89 pppd[3602]: Connection terminated.
Aug 17 14:13:20 linux-gv89 pppd[3602]: Modem hangup
Aug 17 14:13:20 linux-gv89 pppd[3602]: Exit.
Aug 17 14:13:22 linux-gv89 syslog-ng[1879]: STATS: dropped 0
I have been searching for the correct configuration but could not find one that solved my problem.
Hi
A couple of things, add to your /etc/ppp/peers/<your_config> the
following options;
debug debug debug
dump
Yes three debug, it will provide a bit more detail, the dump option
will provide where options are coming from then read through
the /etc/ppp/options file to see the comments on what they do.
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 5 (i586) Kernel 2.6.31-rc5-git3-2-desktop
up 18:45, 2 users, load average: 0.10, 0.07, 0.01
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME
> The problem is that I want to connect to the internet with my Nokia N80
> via wvdial witht the usb cable. I’m using opensuse 11.0 with kde 3.5.
> But this doesn’t work I get a exit code = 16 error. How I did the
> config.
Have you tried to establish a connection by disabling the cell phone PIN
number request, first?
Thanks for the speedy replies. I did what malcolmlewis said and what new I can see is no qouted text in ‘rcvd [LCP ConfReq id=0x1]’.
Now other thing I can connect to the internet with my phone. Then I have been able to connect to the internet with this phone in the past. The truth is that I connected on Saterday with gnome. Don’t know if there is a difference between gnome and kde is this respect. To my knowledge the two wvdial.conf files are the same. I didn’t do anything funny. I just edited the wvdial.conf file and I was up and running.