LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-30-2009, 06:28 AM   #1
galrub
Member
 
Registered: Sep 2006
Posts: 41

Rep: Reputation: 15
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
 
Old 11-30-2009, 11:01 PM   #2
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 51
It seems like DNS problem.

Edit your /etc/resolv.conf,

Enter this DNS (OpenDNS)

Code:
nameserver 208.67.220.220
nameserver 208.67.222.222
Retry wvdial, retry ping.

HTH
 
Old 12-01-2009, 04:35 AM   #3
galrub
Member
 
Registered: Sep 2006
Posts: 41

Original Poster
Rep: Reputation: 15
Hmm, it doesn't help, it still doesn't ping, I also tried adding the ip given to the sim card by t-mobile.

is there something I need to kno w regarding that fix IP? any ideas?

Thanks a lot,
G
 
  


Reply

Tags
gprs, serial, wvdial


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wvdial.conf - - Ubuntu 9.04 -- GPRS Motorola L9 -- Lenovo 3000 series G430 sanjayt70 Linux - Newbie 1 09-26-2009 02:35 PM
Wvdial + Airtel Gprs + Fedora kulr Linux - Networking 0 09-01-2008 03:21 AM
wvdial in GPRS, PPP daemon has died. (exit code = 10) kcarun Linux - Networking 12 04-30-2007 11:05 AM
A big headache TheGreenGenie Linux - Newbie 5 11-23-2006 12:56 AM
wvdial fails to respond with AIRTEL (GPRS) anindyanuri Linux - Networking 0 10-16-2005 12:36 PM


All times are GMT -5. The time now is 08:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration