Sunday, June 12, 2011

use N70 access 3G modem connect to Internet on Fedora

We use wvdial to complete the task

1. install wvdial by using #yum install wvdial
2. configure configuration file in /etc/wvdial.con

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","hellowww"                   (for  hello use hellowww, netfone use Internet, qb use wap)
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1#
Password = A
Username = B
Stupid Mode = 1






3 then run the command to connect #wvdial
4, result it will create a new ppp0 interface
[root@xtrr dara]# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol 
          inet addr:10.27.28.71  P-t-P:10.6.6.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2335 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1939 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2291472 (2.1 MiB)  TX bytes:698637 (682.2 KiB)



----------------------------------------------------------------------------------------------------------

No comments:

Post a Comment