How do I share my internet connection?

Booting, installing, newbie
Message
Author
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#31 Post by Flash »

It's a thread that starts out with a question and eventually arrives at an answer. That's what this forum is for. It doesn't quite qualify as a howto. :)

Would anyone care to clean it up and contribute a "how I did it" to the Howto section?

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

Howto

#32 Post by ecomoney »

I would love to, if Id actually learned how to do it. As a networking newb I still cant figure this out. Its had over 1600 page views so is obviously a very popular subject. Guess I will have to wait for the wizard to hopefully be included in a future version, or firestarter to be properly compiled.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

Easy internet connection sharing

#33 Post by ecomoney »

Just some news, Gekko has successfully compiled a .pup to easily share the internet connection between two ethernet ports on a puppy pc. It can be found here

http://www.murga-linux.com/puppy/viewtopic.php?t=15129

Currently it is in BETA but, judging by the fact that this post is here, its working ;-)
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#34 Post by Sage »

In the UK at least, one can observe by the junk piles outside folks' houses, that many are renewing their central heating systems at this time, hopefully with condensing combi boilers. It occurs to me that, whilst the plumber has your floorboards up, this would be an excellent time to slip in some TP network cables and a few dozen ports around the house? Wired networks are a lot less bovver than wireless, and, as I indicated earlier, are as secure as a wire-guided missile.

User avatar
RobertB
Posts: 145
Joined: Tue 03 Jan 2006, 01:06
Location: Big D
Contact:

Re: Easy internet connection sharing

#35 Post by RobertB »

ecomoney wrote:Just some news, Gekko has successfully compiled a .pup to easily share the internet connection between two ethernet ports on a puppy pc. It can be found here

http://www.murga-linux.com/puppy/viewtopic.php?t=15129

Currently it is in BETA but, judging by the fact that this post is here, its working ;-)
Thanks for the info! I'll see if I have time to try it out tonight... the only problem is that I have one ethernet card and a dial-up connection. Dollars to donuts it doesn't account for such an old-school setup... but it never hurts to try.

User avatar
vodsonic
Posts: 20
Joined: Sat 21 Oct 2006, 03:10
Location: The South, USA

Re: Internet Connection Sharing

#36 Post by vodsonic »

I connect to the internet via dialup with a machine running Puppy. I'm trying to share my internet connection with one other computer, which runs SuSE 10.0

I connected the two machines' NICs with a crossover cable. Both NICs are embedded.

After setting up firewall on the Puppy box to enable internet sharing, I followed the instructions below without much trouble.

[quote="bobbyok"]
First- Set up your server machine{the one with the modem and either the firewall enabled sharing or the modified rc.local}.
Second- Fire up your client machine and go to the network wizard. Click on eth0{or whatever your eth is designated}. Click on static IP.
Enter your IP address = I use 192.168.0.10 for the laptop. This will be the IP address of your client machine...click ok. Enter your netmask = should pop up 255.255.255.0 automatically..click ok. Enter your default router = the IP address of your server machine. I have a very simple home network so mine is 192.168.0.1...click ok. Enter the IP address of a nameserver for resolving DNS names = the primary DNS IP of your internet service provider...click ok. That's it. Go to googling!
In my case I use att worldnet. I typed worldnet primary dns into google and the DNS numbers popped right up in the search. You can find most DNS numbers by going to your ISP's support webpage or simply call them and ask.
[/quote]

The SuSE box shows the NIC as active, but can't ping the Puppy box (says, "Destination host unreachable"). When I enable IP forwarding on the SuSE box, it just says "Network unreachable" when I try to ping the Puppy box.

I know how to change network settings under Linux, but don't feel like I understand all of the underlying workings very well. Also, I feel somewhat in the dark because Puppy doesn't seem to support ipconfig, so I'm not sure how to change network settings from the command line.

I don't plan to use the internet much at all on the SuSE box, but I use it to rip my CDs, so I want grip, running on the SuSE box, to be able to access Freedb to get tag information.

When setting up the firewall, I go with the default options offered by the wizard in Puppy. I don't select any services to be made available to remote hosts except ssh, which is the only one selected by default. Otherwise, I just select the obvious choices for sharing a dialup connection.

As I mentioned above, I don't know how to manually configure the network in Puppy, so I use the Network wizard to set the IP address, etc. by clicking the "Static IP" button and entering the information at the prompts. I've tried setting this up 2 ways, one leaving the DNS field blank, and one by entering the DNS servers from my ISP.

Is there something obvious that I'm missing?
Puppy 2.13 on 512MB flash drive
running on VIA C3-powered barebones box
(& occasionally on Thinkpad)

Post Reply