Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-25-2009, 06:55 AM   #1
LQ Newbie
Registered: Jan 2008
Location: Himachal, India
Distribution: openSuSe 10.3, Fedora 6&7
Posts: 10

Rep: Reputation: 0
Question GPRS internet sharing

I have two Desktops. Both running Fedora 9 and connected to each other with a crossover cable. I have a GPRS connection via a USB bluetooth Dongle. I can connect thru rfcomm on Kppp. Assigned static ip's and can ping from one computer to the other.
So far so good but now I want to share the internet connection between the two computers and run into a maze of gateways and DNS and iptables and am spinning around with no clues. Some of the things I do not understand are

1. What gateway does one assign when your computer directly connect to the internet through a GPRS and not through a NIC or router??
2. When I try to load the shared NFS folder, why does it say "could not load the location: internal error"?
3. Is there somewhere I could get a step-by step instruction??

Old 05-01-2009, 03:00 AM   #2
LQ Newbie
Registered: Jan 2008
Location: Himachal, India
Distribution: openSuSe 10.3, Fedora 6&7
Posts: 10

Original Poster
Rep: Reputation: 0
Smile Internet sharing solved!!

Well at last I have managed to solve one of my problems of sharing the internet. I am now writing my experience for those who might stumble upon similar problem.

1. For those who want to use static IPs on a two computer network- e.g. and, there is only one place to setup a gateway and that is on where it names as a gateway (presuming one is using as the computer to connect to the net)

2. In case one is using GPRS connection one has to configure Iptables configuration using ppp0 (instead of eth0 as given in the following link) a very good and simple example for iptables can be found here

3. last but not the least is that unless the nameservers in your /etc/resolv.conf are same as the computer which connects to the internet you will not be able to open the web pages but would be able to ping the websites

4. one more step I copied which is supposed to have NAT running at boot is in the /etc/sysctl.conf
where I changed


Thanks to the forum archives and all the linux Forums where I had posted this problem and found guidance.


PS: I also avoided Network manager as I have read a lot about it being buggy


gprs, home, internet, iptables, network, sharing

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
connecting to internet via gprs ssr_2k6 Fedora 1 12-11-2007 01:13 PM
How to use connect to Internet via GPRS jhandu SUSE / openSUSE 0 01-24-2007 02:22 AM
Trying to connect to Internet via GPRS always fails, why? onorua Linux - Networking 1 01-10-2007 09:35 PM
Internet via GPRS--Bluetooth HP. carboncopy Linux - Networking 0 07-09-2004 05:30 AM
Help!! Internet doesn't work.(GPRS) xRomEo Linux - General 1 10-05-2002 12:45 PM

All times are GMT -5. The time now is 11:52 AM.

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