D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] 3 mobile wvdial.conf woes...

 

Hi all,

After looking around at various data plan, etc, I decided I would go for 
Three's "Broadband Lite" package for my phone.

I am trying to get both USB and Bluetooth connections working.

Currently I have /dev/rfcomm0 up and running, and my wvdial.conf is as such:

[Dialer Defaults]
Init1=ATZ
Init2=ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3=AT+CGDCONT=1,"IP","mobile.three.co.uk","",0,0
modem=/dev/rfcomm0
Baud=460800
Modem Type=Analog Modem
ISDN=0
Phone = *99#
Username = user
Password = passwd
New PPPD = yes
Stupid Mode = 1

Now, when I try "wvdial" from the commandline (as root), I get:

--> 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
--> Sending: AT+CGDCONT=1,"IP","mobile.three.co.uk","",0,0
AT+CGDCONT=1,"IP","mobile.three.co.uk","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Jan 8 14:56:12 2009
--> Pid of pppd: 8727
--> Using interface ppp0
--> pppd: ا[06][08][18]�[06][08][08]�[06][08]
--> pppd: ا[06][08][18]�[06][08][08]�[06][08]
--> pppd: ا[06][08][18]�[06][08][08]�[06][08]
--> pppd: ا[06][08][18]�[06][08][08]�[06][08]
--> pppd: ا[06][08][18]�[06][08][08]�[06][08]
--> pppd: ا[06][08][18]�[06][08][08]�[06][08]
--> Disconnecting at Thu Jan 8 14:56:16 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.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot open /dev/rfcomm0: Input/output error
--> Cannot get information for serial port.

I get the same thing when I try with /dev/ttyACM0 (ie my phone's USB 
connection).

Any thoughts?
Grant. :)

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html