Internet Connection in Linux via Mobile

Status
Not open for further replies.

Cool G5

Conversation Architect
I installed Linux Mint on my system.
I then went to setup my Nokia 5700 Express Music as a modem for internet.
I followed the steps mentioned in this thread.

I got the following error:

*img452.imageshack.us/my.php?image=errorks6.jpg

Bump...
Help guys :(
 
Last edited:

blueshift

Wise Old Crow
blueshift said:
Ok. now i installed ubuntu.

which phone no. do i have to ask gary? In windows it used to show 90# something..i dont remember exactly.
also my mob is detected on ttyACM0 instead of ttyUSB0 as in the tut.

Ok the dialling number is *99***4#. I entered random username and password.
But it is still not working.

It says wrong username and pwd supplied.

Hurray !

I am now now connected using Gnome PPP program.
Cool G5, try using this program for connecting.
 
Last edited:

deepakchan

Troubleshooter
I just bought an htc s710 pro
Need to know how to connect to the internet thru GPRS on gutsy gibbon.
WM6 is different from WM5
WM6 establishes a connection by itself and creates a new "Local Area Connection" in Windows and that acts as the Internet Gateway. No need to install or configure anything. Such a new connection will automatically be created in Gutsy too?
 

CadCrazy

in search of myself
I m using Idea GPRS on Sony Ericsson W810i . This is how i connect to net in Windows APN : internet Username : Password : Phone no : i.e. i have to enter only APN(Access Point Name). I m not finding anything like apn in this guide.Please help me.
 
Last edited:

gary4gar

GaurishSharma.com
I m using Idea GPRS on Sony Ericsson W810i . This is how i connect to net in Windows APN : internet Username : Password : Phone no : i.e. i have to enter only APN(Access Point Name). I m not finding anything like apn in this guide.Please help me.
This may help
*ubuntuforums.org/showpost.php?p=3548353&postcount=8

Your wvdial.conf should be similar to this
Code:
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
Baud = 230400
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyACM0
Username = a
Password = b
 

CadCrazy

in search of myself
thanks for reply. Should i keep all the other things(username,password,phone no) blank except APN as i do in windows
 

gary4gar

GaurishSharma.com
thanks for reply. Should i keep all the other things(username,password,phone no) blank except APN as i do in windows
Wvdial does not allow username & password to be blank
so use "a" and "b". & same apply for phone number.

Not sure about this, try *99***1#
 

CadCrazy

in search of myself
Ok now one more problem. I use 2 mobiles to connect. One is Tata Indicom & other is idea. I'm now able to connect through both of them but every time i have to edit config file according to type of mobile. How to create two profile and choose any one during connection.
 

gary4gar

GaurishSharma.com
Ok now one more problem. I use 2 mobiles to connect. One is Tata Indicom & other is idea. I'm now able to connect through both of them but every time i have to edit config file according to type of mobile. How to create two profile and choose any one during connection.
Simple!
Just give them a label, common things like Baud rate can go in the [Dialer Defaults] and rest stuff like apn,username in respective labels.
for TATA indicom use [Dialer tata] & for Idea use [Dialer idea]
or something like that

then call the it with name like

Code:
wvdial idea
Code:
wvdial tata
 

praka123

left this forum longback
BTW,network profiles can be made using network-admin command via system>admin>network
 

Cool G5

Conversation Architect
I went to setup Nokia 5700 in Ubuntu 7.10 as per the guide on the first page.
Everything was fine.I also edited the wvdial.conf.But now while connecting, i get the following

Code:
gaurav@Cool-G5:~$ sudo wvdialconf /etc/wvdial.conf 
Editing `/etc/wvdial.conf'. 
 
Scanning your serial ports for a modem. 
 
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud 
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud 
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. 
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud 
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud 
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. 
Modem Port Scan<*1>: S2   S3    
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. 
Modem configuration written to /etc/wvdial.conf. 
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" 
gaurav@Cool-G5:~$ gedit /etc/wvdial.conf 
gaurav@Cool-G5:~$ 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: 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<Err>: Configuration does not specify a valid phone number. 
WvDial<Err>: Configuration does not specify a valid login name. 
WvDial<Err>: Configuration does not specify a valid password. 
gaurav@Cool-G5:~$ sudo gedit /etc/wvdial.conf 
gaurav@Cool-G5:~$ 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: 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<Err>: Configuration does not specify a valid phone number. 
WvDial<Err>: Configuration does not specify a valid login name. 
WvDial<Err>: Configuration does not specify a valid password. 
gaurav@Cool-G5:~$ sudo gedit /etc/wvdial.conf 
gaurav@Cool-G5:~$ 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: 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: ATDT*99# 
WvDial<*1>: Waiting for carrier. 
WvDial Modem<*1>: ATDT*99# 
WvDial Modem<*1>: CONNECT 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: Carrier detected.  Waiting for prompt. 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: PPP negotiation detected. 
WvDial<Notice>: Starting pppd at Mon Mar 24 21:41:20 2008 
WvDial<Notice>: Pid of pppd: 7400 
WvDial<*1>: Using interface ppp0 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: Disconnecting at Mon Mar 24 21:41:28 2008 
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16) 
WvDial<*1>: man pppd explains pppd error codes in more detail. 
WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information. 
WvDial<Notice>: Auto Reconnect will be attempted in 5 seconds 
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. 
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: ATDT*99# 
WvDial<*1>: Waiting for carrier. 
WvDial Modem<*1>: ATDT*99# 
WvDial Modem<*1>: CONNECT 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: Carrier detected.  Waiting for prompt. 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: PPP negotiation detected. 
WvDial<Notice>: Starting pppd at Mon Mar 24 21:41:37 2008 
WvDial<Notice>: Pid of pppd: 7809 
WvDial<*1>: Using interface ppp0 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: Disconnecting at Mon Mar 24 21:41:44 2008 
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16) 
WvDial<*1>: man pppd explains pppd error codes in more detail. 
WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information. 
WvDial<Notice>: Auto Reconnect will be attempted in 10 seconds 
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. 
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: ATDT*99# 
WvDial<*1>: Waiting for carrier. 
WvDial Modem<*1>: ATDT*99# 
WvDial Modem<*1>: CONNECT 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: Carrier detected.  Waiting for prompt. 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: PPP negotiation detected. 
WvDial<Notice>: Starting pppd at Mon Mar 24 21:41:56 2008 
WvDial<Notice>: Pid of pppd: 8136 
WvDial<*1>: Using interface ppp0 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: Disconnecting at Mon Mar 24 21:42:03 2008 
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16) 
WvDial<*1>: man pppd explains pppd error codes in more detail. 
WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information. 
WvDial<Notice>: Auto Reconnect will be attempted in 20 seconds 
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. 
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: ATDT*99# 
WvDial<*1>: Waiting for carrier. 
WvDial Modem<*1>: ATDT*99# 
WvDial Modem<*1>: CONNECT 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: Carrier detected.  Waiting for prompt. 
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
WvDial<*1>: PPP negotiation detected. 
WvDial<Notice>: Starting pppd at Mon Mar 24 21:42:28 2008 
WvDial<Notice>: Pid of pppd: 8775 
WvDial<*1>: Using interface ppp0 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: pppd: 0�[06][08]x�[06][08] 
WvDial<*1>: Disconnecting at Mon Mar 24 21:42:35 2008 
Caught signal 2:  Attempting to exit gracefully... 
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16) 
WvDial<*1>: man pppd explains pppd error codes in more detail. 
WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information. 
WvDial<Notice>: Auto Reconnect will be attempted in 40 seconds 
WvDial<*1>: Disconnecting at Mon Mar 24 21:42:39 2008 
gaurav@Cool-G5:~$

The following is the content of wvdial log found in VAR/LOG :

Code:
Wvdial.conf log file found in var/log/

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.



Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at *open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.

The URL didn't help either.
Help me to proceed further.
 
A

anarchist

Guest
i use pppconfig for internet connection through mobile (Nokia 6233 with data cable), it takes hardly 15sec. to configure it. whereas wvdial takes more time and text files editing to configure. can anybody tell me the difference between wvdial and pppconfig ?
 

gary4gar

GaurishSharma.com
i use pppconfig for internet connection through mobile (Nokia 6233 with data cable), it takes hardly 15sec. to configure it. whereas wvdial takes more time and text files editing to configure. can anybody tell me the difference between wvdial and pppconfig ?
Code:
ppp + intelligence = wvdial
 

Cool G5

Conversation Architect
Please post your wvdial conf:)


Sorry, i forgot wvdial.conf.
Here it is :

Code:
[Dialer Defaults]
Modem = /dev/ttyACM0
Phone = *99#
Username = aa
Password = bbc
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = No
 

Cool G5

Conversation Architect
Guys, i unistalled Ubuntu & installed Fedora 8.I want to do the same thing i.e connect my 5700 & use it as a modem for internet.

Here is the error i face while dialling via wvdial :
Code:
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. 
--> Sending: ATDT*99# 
--> Waiting for carrier. 
ATDT*99# 
CONNECT 
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
--> Carrier detected.  Waiting for prompt. 
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
--> PPP negotiation detected. 
--> Starting pppd at Fri Mar 28 19:26:39 2008 
--> Pid of pppd: 3462 
--> Using interface ppp0 
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> Disconnecting at Fri Mar 28 19:26:46 2008 
--> 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 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. 
--> 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*99# 
--> Waiting for carrier. 
ATDT*99# 
CONNECT 
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
--> Carrier detected.  Waiting for prompt. 
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ 
--> PPP negotiation detected. 
--> Starting pppd at Fri Mar 28 19:26:56 2008 
--> Pid of pppd: 3504 
--> Using interface ppp0 
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
--> pppd: [18]�� ���  
Caught signal 2:  Attempting to exit gracefully... 
--> Terminating on signal 15 
--> pppd: [18]�� ���  
--> Disconnecting at Fri Mar 28 19:27:03 2008 
[root@localhost Gaurav]# clear

Here is the wvdial :

Code:
[Dialer Defaults]

Modem = /dev/ttyACM0

Phone = *99#

Username = aa

Password = bbc

Baud = 460800

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ISDN = 0

Modem Type = Analog Modem

Carrier Check = No
 
Status
Not open for further replies.
Top Bottom