You are not logged in.

#1 2008-05-14 09:46:05

mugen
Member
Registered: 2008-05-14
Posts: 51

rc.conf for GPRS

What is setting for rc.conf if i want to use GPRS (using a mobile connectec through USB data cable) for internet .I am using Wvdial it shows connected but ping doesnt work.It says it uses PPP0 interface for connection.

Offline

#2 2008-05-14 10:07:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rc.conf for GPRS

Try this: http://wiki.archlinux.org/index.php/Blu … GPRS_Howto . Just ignore the bluetooth stuff.

Anytime I've used GPRS, I set it up outside rc.conf, using /etc/ppp/*.

Offline

#3 2008-05-14 10:19:00

mugen
Member
Registered: 2008-05-14
Posts: 51

Re: rc.conf for GPRS

See at the end they have given some output i get similar output so i think i am connected but when i ping it says unknown host thats y i thought some rc.conf settings should be changed .Also i am using 'eth0="DHCP"' in rc.conf is is correct ?

Offline

#4 2008-05-14 10:28:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rc.conf for GPRS

eth0 has nothing to do with your GPRS connection. You should deactivate it during testing to avoid routing conflicts. Make sure your /etc/resolv.conf is correct when ppp0 is connected - you can automate this if necessary

Offline

#5 2008-05-14 10:37:12

mugen
Member
Registered: 2008-05-14
Posts: 51

Re: rc.conf for GPRS

I checked wiki beginner's guide in that they have given settings of /etc/resolv.conf only for static IP , i dont think GPRS gives any static IP

Offline

#6 2008-05-14 10:59:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rc.conf for GPRS

When your connection is up, ping an IP address - that should work. If it does, create a new resolv.conf file using the primary and secondary DNS addresses as given in your ppp output. You should then be able to ping a domain name.

Exhaustive ppp docs available all over the net e.g. here: http://tldp.org/FAQ/PPP-FAQ.html

Offline

#7 2008-05-14 12:49:22

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: rc.conf for GPRS

Use opendns for your resolv.conf: http://www.opendns.org/

GPRS is an independent connection, so rc.conf does not matter. What matters is you have the ppp module loaded, a correct wvdial.conf, and that wvdial is able to dial on the port.


I need real, proper pen and paper for this.

Offline

#8 2008-05-14 16:42:08

mugen
Member
Registered: 2008-05-14
Posts: 51

Re: rc.conf for GPRS

Its working ... Thanks a lot

Offline

Board footer

Powered by FluxBB