galrub |
11-30-2009 05:28 AM |
serial GPRS modem + wvdial + fix APN + big headache
Hello all,
system: openSUSE 11.? server (no gui)
so to make long story short: I'm using wvdial to dial the GPRS modem the output seems to indicate ok
Code:
linux-fepu:~ # wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT
AT
OK
--> Sending: AT+CSQ
AT+CSQ
+CSQ: 15,0
OK
--> Sending: AT&D1&C1&S1
AT&D1&C1&S1
OK
--> Sending: AT+CGDCONT=1,"IP","fixvpn.gr.hu"
AT+CGDCONT=1,"IP","fixvpn.gr.hu"
OK
--> Sending: AT*ENAD=1,"GPRS 1","","",1,0,0
AT*ENAD=1,"GPRS 1","","",1,0,0
*ENAD: 1, 1
OK
--> Modem initialized.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Nov 30 12:09:17 2009
--> Pid of pppd: 4682
--> Using interface ppp0
--> pppd: [18]¸[06][08]h¸[06][08]¸[06][08]¸[06][08]
--> pppd: [18]¸[06][08]h¸[06][08]¸[06][08]¸[06][08]
--> local IP address 10.64.64.64
--> pppd: [18]¸[06][08]h¸[06][08]¸[06][08]¸[06][08]
--> remote IP address 10.112.112.112
--> pppd: [18]¸[06][08]h¸[06][08]¸[06][08]¸[06][08]
also ifconfig seem to indicate that ppp0 is up:
Code:
...
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.64.64.64 P-t-P:10.112.112.112 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
there is an unplugged eth card on the machine.
the APN creates, using T-Mobil, a direct VPN access to company network.
but when I try to ping another computer in the network I get an "Host Unreachable" message...
any Ideas?
G
|