When it comes to turning Puppy into a router, ShareInternet starts where the Network Wizard leaves off. Once you have at least 2 interfaces up and running and appropriately configured, run ShareInternet and it will run the firewall configured to protect your Internet interface, and dnsmasq to provide dhcp to your local interface(s).

ShareInternet works with ethernet, wifi, and ppp interfaces. So it could be used to share a wireless hot-spot with a local lan, or even a "mobile phone as a modem" with a local wifi network. (I use it when traveling so that 2 laptops can be surfing the web at the same time, via 1 mobile phone.)

NOTE: Since the changes from 2.2.4 to 2.2.5 are mostly cosmetic;
If you have, or can easily install, 'dnsmasq' use 2.2.5, else use 2.2.4.
If your 'iptables' complains, try 2.2.6, (like 2.2.5 has no 'dnsmasq').

gyro

Edit: Updated to 1.2
Rox-app is now in /root/my-roxapps.
If it finds 2 active appropriate interfaces, it attempts to use them.
Edit2: Updated to 1.3
Upgraded dnsmasq to 2.46.

Edit3: Updated to 1.4
Has facility to be started at boot time, Puppy boots as router.
Has facility to load custom iptables rules.

Edit4: Updated to 2.0
No more configs. It works it out itself.
Only configuration possible is to get it to be run automatically at boot time.
A version 2.1 is planned to provided a config utility for setting up of starting at boot time.

Edit9: attached shareInternet 2.2.5.
Removed dnsmasq from the pet. If dnsmasq is not present in the current puppy, then it must be installed separately. This means that shareInternet should work on virtually any puppy.
Moved the Rox app to "/root/my-applications".
Fixed the "serverExample".
(Actually, I don't use this any more. I use a small wi-fi router from a cell-phone supplier.)

I'm having a problem. I have 'puppypc7' out in my shed wirelessly connectected to my network. I ran linux firewall from the menu, tried to configure your package but my firewall does not showup in your gui. Do I need something else, like 'bridge-utils'?

I want to connect my 486 to my network thru puppypc7, it is a crossover ethernet connection directly to puppypc7. The 486 is configured fine, I can connect by other means, so the prob is with puppypc7. 4.1.2 installed, installed ShareInternet 1.4, tried to configure firewall. Any ideas?

Uninstall ShareInternet and then install ShareInternet.
Issue an "ifconfig" command in a console window, and ensure that both network interfaces are UP.
Click on the shareInternet icon in /root/my-roxapps.
It should show a dialog to allow you to select which interface connects to the Internet, for you this would be the interface that is not connected to the 486.
The icon should then get a green dot on it to indicate that all is up and running.
Click on the icon again and the firewall and dnsmasq will be shut down.

Explanation:
ShareInternet is quite dynamic about which 2 interfaces are used, and at startup it attempts to find the 2 that are UP. Once it's done this it needs to run /etc/rc.d/rc.firewall on the current 2 interfaces. But the rc.firewall produced by the Puppy firewall wizard has no facility to be told at runtime which interfaces to use. So ShareInternet installs a version of rc.firewall that imports the file /etc/rc.d/FWINTERFACES, which defines "DYNAMIC_INTERFACES" and "INTERNAL_INTERFACES". ShareInernet can run this rc.firewall with any interfaces by rewriting /etc/rc.d/FWINTERFACES.

Just thought of another couple of things.
Puppy's rc.network is very conservative about bringing up ethernet interfaces. They must be physically connected to a device that is powered up. (Fortunately I happen to have a spare ethernet switch to use in this situation.)
So either power on the 486 and connect it to puppy7 before you boot puppy7.
Or, run rc.network on puppy7 after you connect the 486 and power on the 486, but before you click on the shareInternet icon.

Depending what OS is running on the 486, you may need to reboot the 486 after you get the green dot on the shareInternet icon on puppy7.

everything is up, eth0 is up on puppypc7 and bluflops486.
I'm using blueflops because it is fast. A minimal console based distro with 'Links' gui browser and irc. I like it. Very easy to set up, comes with a setup progran. eth0 on the 486 is searching for an IP but I have no dialog in the ShareInternet GUI.

Hold the phone! Got the green light! I might have to restart udhcp on the 486, got 2 blinkys

Not getting an IP for eth0 on my pupppc7 . Do i need to configure that? say static of 192.168.1.1?

If I open ~/File-Sharing/Setup-Sharing and choose to find shared folders it only searches on the "192.168.1.x" network. My main network is "192.168.33.1" (remember???) . Guessing if I change the 486 network to "192.168.34.x" or greater it might work, I'll try that.

Easily reconfigured this puppypc7 to 192.168.44.1 (486 still online after restarting network ). No joy with sharing... I'll do some searching...

If I open ~/File-Sharing/Setup-Sharing and choose to find shared folders it only searches on the "192.168.1.x" network.

I've just had a quick look at the script run by ~/File-Sharing/Setup-Sharing. It always looks in the local network defined by the first IP address it finds in the output from "ifconfig". Would need to change the software to do something different.
But even more significantly it is not using Windows folder sharing. It's looking for FTP servers, something completely different. If it's Windows folder sharing you want, then you will need to use "samba" on Puppy.

I've used "samba" on a Fedora 9 machine, but never Puppy.

If you're trying to do Windows folder sharing through a router (puppy7), then I'm not sure there is any chance.

If you are trying to use this Puppy share facility and already have servers setup on puppies on your main network, and you are trying to use the 486 as a client. This should work. But the scanning won't work from the 486, you will have to define your servers manually.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum