2010/11/28

How to use nokia3110c for access internet via edge on linux

Sometime when your internet down you must be find instead device for access internet. Today I have new knowledge (but old knowledge for someone) and easy to connect to internet by use nokia3110c or GSM phone. In this case I'm using nokia3110c.
And Follow me step by step:

1. Connect your mobile to PC via USB and choose nokia mode.

2. Open terminal and typing command below

$: wvdialconf /etc/wvdial.conf

3. Now, your linux has finding modem. And you have to open file wvdial.conf for edit.

$: vi /etc/wvdial.conf

4. Delete all config in /etc/wvdial.conf and intead config as follows this

[Dialer Defaults]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
Phone = *99#
New PPPD = yes
ISDN = 0
Username = ”
Password = ”
Baud = 460800


5. save and exit to your terminal.
6. And then you can use command wvdial for connect to modem.

$: wvdial

output
--> 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. Starting PPP immediately.
--> Starting pppd at Sun Nov 28 20:22:24 2010
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 5070
--> Using interface ppp0
--> pppd: p[08]� 0[10]�
--> pppd: p[08]� 0[10]�
--> pppd: p[08]� 0[10]�
--> local IP address 1.47.121.97
--> pppd: p[08]� 0[10]�
--> remote IP address 10.6.6.6
--> pppd: p[08]� 0[10]�
--> primary DNS address 124.40.237.228
--> pppd: p[08]� 0[10]�
--> secondary DNS address 124.40.237.236
--> pppd: p[08]� 0[10]�

7. Enjoy to world wide web
.
Bye