serial GPRS modem + wvdial + fix APN + big headache
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.