Simple DHCP Internet Connection Sharing [BETA]
Simple DHCP Internet Connection Sharing [BETA]
Hi All
If you thought puppy was the only mini-linux distro that didnt have a router function...
We have the holy grail! Simple internet connection sharing for puppy!
Start by installing two ethernet network cards into your puppy computer, then run this .pup.
The modem where the internet is coming from should be plugged into eth0, and the computer that the connection is being shared to into eth1. If it doesnt work, youve got it the wrong way round! Internet connection sharing is enabled a bootup, so you will need to restart your computer to activate it, and to try it in both directions if it doesnt work the first time. You will notice on bootup the "configuring network" section takes a bit longer. Run the standard puppy DHCP networking wizard (under configuration off the dektop, or wizard wizard on setup from the start button).
We also have it on good authority it is possible to attach a hub to eth1 to link up more computers, and possible to have a webserver setup on the machine thats doing the sharing to have a simple home website, discussion board or other internet based apps.
We dont have a clue how this works, so please dont ask us for support. The Dotpup was compiled voluntarily by Gekko for use by us, we have it working in our office (meaning we dont have to rewire our house, thanks Gekko!).
You can download this from our public mirror here.
http://www.ecomoney.eu/puppy/pups/netwo ... riends.pup
We hope to work with Gekko to make this capable of sharing the internet from several ethernet cards (common or cheaply available) in order to make puppy capable of supplying the internet to 2+ computers simultaneously without the need of an expensive hub.
At under 60k, this would add a big piece of functionality to a standard puppy with a very minimal footprint. There are so many other mini-linuxes designed especially for this yet it is the only thing puppy cannot do out of the box. Its a big niche. This would make it the only linux distro that would act as a router *and* a working computer for older kit
If you thought puppy was the only mini-linux distro that didnt have a router function...
We have the holy grail! Simple internet connection sharing for puppy!
Start by installing two ethernet network cards into your puppy computer, then run this .pup.
The modem where the internet is coming from should be plugged into eth0, and the computer that the connection is being shared to into eth1. If it doesnt work, youve got it the wrong way round! Internet connection sharing is enabled a bootup, so you will need to restart your computer to activate it, and to try it in both directions if it doesnt work the first time. You will notice on bootup the "configuring network" section takes a bit longer. Run the standard puppy DHCP networking wizard (under configuration off the dektop, or wizard wizard on setup from the start button).
We also have it on good authority it is possible to attach a hub to eth1 to link up more computers, and possible to have a webserver setup on the machine thats doing the sharing to have a simple home website, discussion board or other internet based apps.
We dont have a clue how this works, so please dont ask us for support. The Dotpup was compiled voluntarily by Gekko for use by us, we have it working in our office (meaning we dont have to rewire our house, thanks Gekko!).
You can download this from our public mirror here.
http://www.ecomoney.eu/puppy/pups/netwo ... riends.pup
We hope to work with Gekko to make this capable of sharing the internet from several ethernet cards (common or cheaply available) in order to make puppy capable of supplying the internet to 2+ computers simultaneously without the need of an expensive hub.
At under 60k, this would add a big piece of functionality to a standard puppy with a very minimal footprint. There are so many other mini-linuxes designed especially for this yet it is the only thing puppy cannot do out of the box. Its a big niche. This would make it the only linux distro that would act as a router *and* a working computer for older kit
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
server and hub
Congratulations, ecomoney and gekko!
Some folks may advise to use a low-power PC for connection sharing and a more powerful one for the server - I dont really know how valid this point is. I guess if the website is for the local network only, then any PC in the LAN can do it.
There's a LampPup ISO based on Puppy 1.09CE that I uploaded to http://bexa.org/pup - this should make available a ready website at 192.168.0.100 or localhost. Look in 192.168.0.100/courses for the DokeOs install. This should be easy to install to hard disk, or used as live CD with pup001 on the hard disk.
Yes, the hub multiplies the available shared connection, and hubs should be inexpensive, used ones especially - it can be a plain hub (not necessarily a switching hub).We also have it on good authority it is possible to attach a hub to eth1 to link up more computers, and possible to have a webserver setup on the machine thats doing the sharing to have a simple home website, discussion board or other internet based apps.
Some folks may advise to use a low-power PC for connection sharing and a more powerful one for the server - I dont really know how valid this point is. I guess if the website is for the local network only, then any PC in the LAN can do it.
There's a LampPup ISO based on Puppy 1.09CE that I uploaded to http://bexa.org/pup - this should make available a ready website at 192.168.0.100 or localhost. Look in 192.168.0.100/courses for the DokeOs install. This should be easy to install to hard disk, or used as live CD with pup001 on the hard disk.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
Lamppup
Hi Raffy
Could this package be used on your Lamppup to make it into an internet connection sharing machine, and a webserver for moodle applications/course materials?
Could this package be used on your Lamppup to make it into an internet connection sharing machine, and a webserver for moodle applications/course materials?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
http://www.gentoo.org/doc/en/home-router-howto.xmlConnect Another LAN (or two or three or ...)
Sometimes you have need of connecting the router to another LAN. Maybe you want to hook up a group of friends temporarily, or you're a neat freak and want to section off different groups of computers, or you're just really really bored. Whatever the reasons, extending the router to other LAN networks should be pretty straightforward. In the following examples, I will assume that this new network is connected via a third ethernet card, namely eth2.
First you need to configure the interface. Just take the instructions in the 4.1 code listing and replace eth0 with eth2 and 192.168.0 with 192.168.1.
Then you need to tweak dnsmasq to service the new interface. Just edit the /etc/conf.d/dnsmasq file again and append -i eth2 to DNSMASQ_OPTS; using -i multiple times is OK. Then edit /etc/dnsmasq.conf and add another line like the dhcp-range line in the 5.1 code listing, replacing 192.168.0 with 192.168.1. Having multiple dhcp-range lines is OK too.
Finally, see the rules in the 5.2 code listing and duplicate the rules that have -i ${LAN} in them. You may want to create another variable, say LAN2, to make things easier.
Mainly relevant to Puppy, not entirely.
Any PC
ecomoney:
Moodle is one of the better LMS (learning mgt system), and DokeOS is another. For a small LAN and very short courses, DokeOS should be fairly useful. And DokeOS has been rated as usable by teachers without need for formal training (DokeOS is also Claroline). DokeOS is also able to handle SCORM (standard) courseware - see its Learning Path deployment. (Dont forget the access codes: username = admin and password = eminima, which can be changed later; there is no MySQL password for user root).
Hey, Gekko, that's a very good site for understanding the technique of connection sharing. Thanks a lot.
Any PC in the LAN with 2 ethernet cards should be able to handle this dotpup and act as a connection sharing machine. In the case of the Lamppup, its eth0 is set to 192.168.0.100 at boot-up via /etc/rc.d/rc.local, and this is easy to change.Could this package be used on your Lamppup to make it into an internet connection sharing machine
Moodle is one of the better LMS (learning mgt system), and DokeOS is another. For a small LAN and very short courses, DokeOS should be fairly useful. And DokeOS has been rated as usable by teachers without need for formal training (DokeOS is also Claroline). DokeOS is also able to handle SCORM (standard) courseware - see its Learning Path deployment. (Dont forget the access codes: username = admin and password = eminima, which can be changed later; there is no MySQL password for user root).
Hey, Gekko, that's a very good site for understanding the technique of connection sharing. Thanks a lot.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
- Nathan F
- Posts: 1764
- Joined: Wed 08 Jun 2005, 14:45
- Location: Wadsworth, OH (occasionally home)
- Contact:
This is awesome, many thanks to Gekko for making it happen.
Hey Raffy - I have the Puppy 2 versions of the lampp server packages compiled now. I just have to write the post install scripts and make the basic configurations all a little more sane, then upload the packages. So you can expect this to be happening pretty soon. MySQL won't run in 2.13 or older, however, because of a bug in how files are saved to the personal storage file. There are workarounds but it is better to wait for 2.14.
Nathan
Hey Raffy - I have the Puppy 2 versions of the lampp server packages compiled now. I just have to write the post install scripts and make the basic configurations all a little more sane, then upload the packages. So you can expect this to be happening pretty soon. MySQL won't run in 2.13 or older, however, because of a bug in how files are saved to the personal storage file. There are workarounds but it is better to wait for 2.14.
Nathan
Bring on the locusts ...
2.02
Just a word of caution
I tried this with our default 2.02 install and it wouldnt work, in fact it disabled the ethernet internet connection entirely. Think that Brendan is testing it on previous versions.
I tried this with our default 2.02 install and it wouldnt work, in fact it disabled the ethernet internet connection entirely. Think that Brendan is testing it on previous versions.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Work hard
We work you hard, but the rewards are high
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
http://www.ecomoney.eu/puppy/pups/netwo ... riends.pup
Bandwidth Limit Exceeded
anyone got a mirror?
Bandwidth Limit Exceeded
anyone got a mirror?
- john biles
- Posts: 1458
- Joined: Sun 17 Sep 2006, 14:05
- Location: Australia
- Contact:
Hello ecomoney and the long gone Gekko who I hear has started his own Linux version based on slackware.
I have to thank MaZZly for posting that he can't download the dotpup as without this posting, I wouldn't have found the link to download this great dotpup which had my 2 PC's connected in seconds. excellent!
I will be including this dotpup in the next TEENpup.
All appears to be working fine in TEENpup 2.14 which is baded on Puppy 2.14
I have to thank MaZZly for posting that he can't download the dotpup as without this posting, I wouldn't have found the link to download this great dotpup which had my 2 PC's connected in seconds. excellent!
I will be including this dotpup in the next TEENpup.
All appears to be working fine in TEENpup 2.14 which is baded on Puppy 2.14
Legacy OS 2017 has been released.
now i have my internet up and running again since i reinstalled puppy
could anyone tell me the iptalbes commands to forward port XXX to 192.168.0.2:XXX when WAN(internet) is eth0 and LAN(network) is eth1
please tell me the specific commands instead of giving me a link to some "explain" iptables site im lazy
could anyone tell me the iptalbes commands to forward port XXX to 192.168.0.2:XXX when WAN(internet) is eth0 and LAN(network) is eth1
please tell me the specific commands instead of giving me a link to some "explain" iptables site im lazy
I know, its one of those small things that could potentially double (or triple) the number of Puppy computers in a house. Puppy users could use it to set up other computers for their friends too, or to keep their windows computer online while they felt their way around Puppy Linux for the first time. Has anyone reading ever been in family home where there are five people fighting over one computer in an evening?
Its definitely something simple and small, but something so useful that no one could argue about being included in the "mainstream" puppy to help it achieve its aims. All it would need is some simple UI skills and a basic knowledge of networking
Its definitely something simple and small, but something so useful that no one could argue about being included in the "mainstream" puppy to help it achieve its aims. All it would need is some simple UI skills and a basic knowledge of networking
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Hi Mazzly, sorry yes, I only have limited bandwidth on my server, if demand exceeds supply then you get this message. Servage (my wonderful host...not) have just upped my bandwidth to 750gb per month, but then puppy linux's popularity on on the rise what with the recession.
Im sorry all you can do is if it doesnt work, try tommorow
Im sorry all you can do is if it doesnt work, try tommorow
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Boy it takes you a long time to answer his question, 17 months,lol that has to be a new record, lol I guess one more day wouldn't kill him, lolecomoney wrote:Hi Mazzly, sorry yes, I only have limited bandwidth on my server, if demand exceeds supply then you get this message. Servage (my wonderful host...not) have just upped my bandwidth to 750gb per month, but then puppy linux's popularity on on the rise what with the recession.
Im sorry all you can do is if it doesnt work, try tommorow
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)