I am using ppp
via wvdial
, script looks like that (commented lines have been removed):
[Dialer t-mobile]
New PPPD = yes
Phone = *99#
Modem = /dev/ttyUSB0
Modem Type = USB Modem
Baud = 460800
ISDN = 0
Username = “blank”
Password = “blank”
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","internet"
Stupid mode = 1
Auto DNS = yes
And when I wvdial t-mobile
it acts like it would work:
sudo wvdial t-mobile
--> Ignoring malformed input line: "; [Dialer Defaults]"
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Jun 20 16:26:23 2015
--> Pid of pppd: 3228
--> Using interface ppp0
--> pppd: ▒▒v▒▒o
--> pppd: ▒▒v▒▒o
--> pppd: ▒▒v▒▒o
--> pppd: ▒▒v▒▒o
--> pppd: ▒▒v▒▒o
--> pppd: ▒▒v▒▒o
--> local IP address 100.88.98.150
--> pppd: ▒▒v▒▒o
--> remote IP address 10.64.64.64
--> pppd: ▒▒v▒▒o
--> primary DNS address 213.158.199.1
--> pppd: ▒▒v▒▒o
--> secondary DNS address 213.158.199.5
--> pppd: ▒▒v▒▒o
ifconfig
for this interface:
ppp0 Link encap:Point-to-Point Protocol
inet addr:100.88.98.150 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:128 (128.0 B) TX bytes:185 (185.0 B)
So script seems to be working, but it doesn't... no internet either way... not pinging (even ip adresses), HTTP server is not responding on 100.88.98.150
.
Any idea what could be wrong?
Btw. 10.*
and 100.*
are both local/reserved adresses... so I don't really understand that... maybe I just don't have enough money on card? I have no way to check it.