I am trying to get internet connection form usb 3g dongle for Raspberry pi 2 B. I have tried with wvdial.conf and usb_modeswitch.conf. I have got ip address from ppp0 but i am not getting internet connection. and even i tried with sakis3g, here also same result and no internet connection. Below i have pasted my configurations. If any one worked on this pleas let me know where i am wrong?
1)
pi@raspberrypi:~ $ lsusb
Bus 001 Device 005: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
2)
file : /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","TATA.DOCOMO.INTERNET"
Stupid Mode = 1
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Username = { }
Password = { }
Baud = 460800
3)
pi@raspberrypi:~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:46:f5:a0
inet addr:192.168.2.174 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fe46:f5a0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21866 errors:0 dropped:0 overruns:0 frame:0
TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1933201 (1.8 MiB) TX bytes:71065 (69.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:528 errors:0 dropped:0 overruns:0 frame:0
TX packets:528 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42672 (41.6 KiB) TX bytes:42672 (41.6 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:100.84.67.20 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:158 (158.0 B) TX bytes:221 (221.0 B)
wwan0 Link encap:Ethernet HWaddr 02:50:f3:00:00:00
inet addr:169.254.12.135 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::edd:24ae:b709:88d8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:22395 (21.8 KiB)
Any help is appreciated......
and what is difference between connecting GSM modem and usb 3g dongle to raspberry pi for internet connection?