The Mission

A home for all kinds of Puppy related projects
Message
Author
User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#31 Post by ecomoney »

They are both (actually 3 of them now as there was another XP failure this morning) diskless. The setup of the cybercafe as it is is described here

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

if you would like some bedtime reading

Therefore there is no way of storing the xorg/network settings for the machine. This would go again both puppies mission (of "just working"), and the requirements of the Seamans mission (that non-technical staff will be able to just plug any old machine in via ethernet and it "just works").

gposil, you are a very talanted programmer, and (far more importantly to my mind) put your talents into areas where they will be of most benefit...would you take a look at the XORG and rc.init scripts to solve these problems for everyone?
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:

#32 Post by ecomoney »

As an update...Ive just recieved this email from Phil, who is the charity manager at the Mission. Hes given me permission to quote him for now (I will be enrolling him at some point though).
Hi Rob

Just a note to confirm where we are.
We now have three desktops working on linux via the smoothwall. They are being controlled via the laptop in the shop. We will leave the machines working over the weekend and see what happens. Issues still to be resolved.

On Saturday and Sunday there will be no one at the Centre who knows how to start up the machines if they are switched off. I will try to pop in if I can but I don't work weekends. The shortcut from switch on to the correct screen is important.
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
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#33 Post by gposil »

ecomoney said:
would you take a look at the XORG and rc.init scripts to solve these problems for everyone?
Yes, Rob, i'll look into it...
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

first user

#34 Post by raffy »

Good work. :D

Looks like your first Puppy Linux user in the Mission is a seaman from the Philippines, or if not, definitely an Asian.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

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

#35 Post by ecomoney »

How have you been getting on? It would be great to re-install the entire cybercafe tomorrow...but I can only do this with the display and connection issues fixed.
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:

#36 Post by ecomoney »

Yes, quite a large proportion of the cafe clientelle are from Indonesia/Philippines (Obviously no "Scunny Puppy" would be suitable here :lol: ). Raffy, would you translate some signs/posters about the Mission project please?

I was about to set off today, but unfortunately no movement on the xorgwizard problem.....Im going to give them a call and put it off for now.
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:

#37 Post by ecomoney »

I solved the problem of the xorgwizard running all the time

Code: Select all

rm /usr/sbin/xorgwizard
:lol: 8)

What was happening was the xorgwizard was detecting that it was running on different machines (even though the hardware is identical) and trying to recreate a new /etc/X11/xorg.conf file. This is the file that stores the configuration of the video/mouse/keyboard for a specific computer. Deleting the script that recreates it simply causes the startup script that (somewhere) calls it to fail (silently) and puppy's Xwindows starts up using the one that is already there.

@gposil

Now Ive found a "workaround" for this particular case, perhaps you would add your welcome contribution to this thread when it is ready. As Ive explained on there, its something that puppy needs to do by default as a "just works" distro. I think it would also be very useful for the HanSamBenKids Educational Puppy which is aimed particularly at users with limited levels of computer skill/intolerance for code! I would be very happy to test it at the cybercafe/local schools/generally on the my stock I have for recycling.

Ive now managed to get an interim billing solution sorted for the cybercafe which runs using JAVA. As a result of this and "fixing" (in the loosest possible sense) the xorgwizard problem, Ive been allowed to transfer the rest of the cybercafe over to linux! :D

the intrim solution Ive found (while we develop one the charges laptop users too!) is CafePilot. It works fairly well from a p400/192mb laptop computer behind the main desk, connected to the smoothwall by some mains ethernet adaptor plugs and running puppy 4.2.1. The laptop was given to me because the hard drive had literally been ripped out (socket and all), so at the moment it is running from a 1gb usb pendrive and boots from a 4.2.1 CD. Ive hacked a little script in /root/Startup to launch the CafePilot server at startup. This is really useful as the people on the desk can see how many computers are in use at any one time, and how long each user has left on it....something they couldnt do before. On drawback is that at the moment all the accounts (passwords to get on) have to be created by hand, which is proving troublesome for the Phil (the Charity Manager at the cybercafe) to type in hundreds of each week....never mind think of them.

Anyway, unfortunately, I left the icewm workspaces on the setup, and today when Phil was demoing the billing system to a committee member he went into the cafe and found that two Russians had found a way of using them to bypass the billing system and were using the cybercafe for free! :oops:

Ive now got to do a remaster (its 7:45am here and Ive been up all night) and drive the 25 miles to Immingham to to deliver it for 9am when the cybercafe opens. :evil: Im also (if my sleep deprived brain allows) going to try and make it so I can update the puppy image held on the netboot server from home, so as to save my carbon footprint.
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:

#38 Post by ecomoney »

Ok the latest update....the cafe is now running 100% puppy linux!!!

Most of the time. Weve been suffering a lot of dropouts of network connections because of the old wiring in the place. The telephone wire that runs from the wall socket is over forty meters long (weve only just discovered where it comes into the building). This is frequently causing the main internet connection to the cybercafe to stop

Ive also tried using mains ethernet adaptors to provide the staff on the front desk with a pc which they can generate passcodes and check howm many machines are free. This didint work as we discovered that the fridges from the bar was causing electricity spikes, removing the sitecafe server from the network and making the cybercafe free to use!

Of course, many of the staff at the centre are non-too pleased with the failures, and I fear they are blaming the Linux system for the unreliability of the setup for which they are having to deal with the dissatisfied customers, even though its that which has by far caused the most "downtime" so far. Whatever, I have to get it fixed before the Puppy Linux system stands a chance.

Ive already ran a 40 meter ethernet cable from the front desk to the server room over the stairs (which involved drilling through two walls and took four hours!). This replaced the mains adaptors we were using and solves the problem with connectivity between the smoothwall and the computer on the front desk running the cafepilot server. However now we need to move the modem to the front desk (where the wall socket for its dedicated line actually is). This means I will need another ethernet cable from the server room to the desk.

I was going to put ethernet plugs on the telephone lead (which stretches from the front desk to a joiner in the server room, and then up the stairs into the office). but I am told that only four of the wires inside a standard 8 wire ethernet port are actually needed (pins 1,2,3 and 6). Im going to splice another ethernet cable into both ends of this, joining pins 4,5, 7 and 8 joined to the wires for 1,2,3 and six. This will mean I can use one ethernet wire for the two connections, and I can leave the telephone wire as a fallback should I do something wrong! :D

I will be having a practice today :D

I also have to get the webcams and the earphones working for the visit by the senior management on tuesday (5 days away) as currently the Seafarers families back home cant see and talk to them from the cybercafe while they are away. Webcams are a nightmare under linux!

Another problem they have (which Ive tried to explain about in the new MUT interface thread) is that nothing happens in Puppy linux when a Pendrive is plugged in. Its extremely irritating for new linux users though as it assumes prior linux knowledge (how to mount a pendrive, what utility to use etc). Its another classic example of hoe (some) developers think something is a "feature" but the new linux users (who Puppy is aimed at) believe it to be "broken". I also visited a cybercafe in Cornwall this weekend running some Puppy Linux computers, where they had exactly the same usability problems which prevented people using their pendrives.

Im going to need to find out some way of hacking puppy to automatically mount and pop up a rox window with the users files on it when a pendrive is inserted. It will also need to automatically add (and remove) a symlink from /root/ and preferably make a shortcut in the gtk file open dialog. This way the seafarers can send and recieve pictures of their families from abroad, and upload thier pictures to their facebook profiles and email attachments for their families to see.

Any help/advice/observations with these problems gratefully recieved.
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
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#39 Post by Aitch »

Rob

Re USB mounting, see last post in this thread, then go back up, if suitable, as it's a very old thread

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

good luck, & well persevered!!

Aitch :)

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

Meetings.....

#40 Post by ecomoney »

Today I met with the Chairmen of the Board of Directors of the Humber Merchant Seamans Welfare Association. I gave him an update as to how the Project was progressing. I explained such things as managers are interested in, such as how long the computers would last, how much he would need to pay and worry about legally in terms of liciences, along with how much longer the Cybercafe was going to be available (uptime) and how easy and cheap it would be to maintain.

I also explained to him that "deadlines" in open source projects are entirely a non-technical concept. Although we now have a billable cybercafe system, it still has issues regarding usability (pendrives/cd access), charging for laptops (we currently "hire" ethernet wires to connect to a hub and have turned wireless off!). Providing these issues are resolved, I am sure it will be adopted across the Seamans missions around the country....and word of Puppy Linux will travel the seven seas.

The meeting was held at the Hull Cybercafe (currently 100% XP, talked about with picshere). One of my tasks for today was to show them the system that was in use in Immingham. I heard that they were still experiencing a lot of downtime and securiy problems, so I decided to give them the option of booting Puppy linux on every Computer in the centre, sans billing system. 8)

I had prepared some CD's with much help from several people the previous night/that morning that I had hoped would have been able to boot in any one of the computers, that would automatically netboot any of the other computers on the network...this way effectively Linuxing the entire cybercafe in about 20 minutes.

Unfortunately these hadnt burnt correctly and would not work on any of the CD drives there! (I must stop getting my CD's from the £1 shop). Instead of that, I employed a bit of creative thinking, of how to get this done. In the accountants office there is a second computer used exclusively for internet browsing/email (the accountancy PC is Running XP, and is therefore not compatible with the Internet so it has no connection :wink: ).

1 I installed Seekers Puppy Linux installer for Windows 98/ME/2000/XP.

2 I then replaced the pup_421.sfs file that it installed with the pup_421.sfs I use for the cybercafe.

3. Once I had this booting, and it had been booted to create a pup_save.2fs file, I installed the modified tftp netboot server package I created from MagicZaurus's package (here). Into this I put a copy of the netboot initrd.gz and vmlinuz files from the Immingham cybercafe.

4. As the other PC's had an "F12 Network Service Boot" option when the HP Bios Screen came up upon poweron, the instructions to the staff consisted of "Press F12 for Puppy Linux when there is a big "HP" on the screen. It will make the computer work again."

In total it took about two hours to provide Linux to all 15 computers at the Hull centre, instead of 20 minutes. It would probably have taken two days with Windoze XP :lol:

This has given me an idea for refining the system in use at the cybercafe to make it an All-Puppy affair, which will make it a lot more flexible, and will be quicker and easier to set up. It would also mean that the Billing system would be puppy linux based, and hopefully I can make good then on this offer of £150 for its creation.

"Squid" funnily enough, sounds like the way to go...

Im really happy that the system has reached this level of completeness, it certainly would never have been possible without the goodwill and voluntary assistance and expertise of a great many people. Many thanks to everyone who has contributed.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#41 Post by cthisbear »

Yes....congratulations to all.

A worthy project.

Chris.

MagicZaurus
Posts: 107
Joined: Mon 05 Jan 2009, 17:35

#42 Post by MagicZaurus »

Great! Progress in the right direction.

From what I remember these are the things which still require some work:

- Internet sharing / Using Puppy Linux as the router with 2 network interfaces for inside and outside world

- On the fly mounting of sfs-files over NFS

- Billing system

Anything else missing? I expect billing and internet sharing are more important than the on the fly mounting.

Squid is a proxy server. I don't think it's good to use for the billing system, but it can help you to reduce internet traffic if many of the clients are accessing the same websites.

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

#43 Post by ecomoney »

Hi MZ, currently the cybercafe is set up like this

Code: Select all

            Telephone Socket
                      |
                      |
               [ADSL Modem]
                 |       |
                 |       |
                 |      [Admin PC]
                 |
                 |
            [Smoothwall]
                 |
                 |
            [24 Port HUB]
         |  |  |   |  |  |  |
               [Cybercafe PC's]
To a simpler system like this

Im wanting to reconfigure the cybercafe system to this kind of arrangement

Code: Select all

          Telephone Socket
                      |
                      |
             [ADSL Modem]
            /         |        \\
           /          |         \  \
         /       [Admin PC  \    \
       PC                          PC  PC

This will make it easier to set up 2/3 pc systems as are used in many shops abroad etc. For larger setups a hub can be added to the adsl modem create more ethernet sockets for cybercafe P.C.'s. The machines all netboot automatically from the Admin PC, and dhcp is handled by the ADSL modem. This is a more explandable/simpler system if no Smoothwall specific functions are required (and they havnt been so far). I also cant get any Smoothwall experts interested in developing a mac addressed based billing system (that will handle people who come in with laptops to use the ethernet).

What would be really handy is to know how to "discover" the i.p. address of the admin computer with the tftp server. That way NFS shares could be set up (which would lower the hardware requirements of the client machines considerably). Currently as a billing system were using cafepilot, which also needs an i.p. address of the admin machine on which its server runs to authentyicate logins.

Cafepilot is rather a large java based program, and is a little large and cumbersome. It also requires software on the client p.c.'s so does not handle people who bring laptops in to connect. I would like eventually to use the admin machine to host a "captive portal" system to which all URL/http requests are redirected for authentication. After authentication the admin machine would also handle session timing. I believe NMAP can be used to discover services/open ports on a network, which could run as part of the clients startup.

For internet connection sharing...it would be nice to have the option of running the cybercafes "through" the admin machine, which would perhapss even be necessary for it to enable mac address filtering.

At the meeting, the two issues that were identified that need to be resolved fully before the system can go "live" throughout the other Missions is mac address filtering, and automatically mounting and adding rox shortcuts when people plug in pendrives. Currently people need to be supervised by a trained member of staff to do upload/download from/to memory sticks.
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
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#44 Post by Aitch »

Hi Rob

This any use?

http://blog.taragana.com/index.php/arch ... -on-linux/

http://blog.taragana.com/index.php/arch ... re-fedora/

Can't you just query the router?

sounds from your description very close to internet shared thin client

maybe raffy has some tips?

Aitch :)

MagicZaurus
Posts: 107
Joined: Mon 05 Jan 2009, 17:35

#45 Post by MagicZaurus »

Getting the IP of the Admin PC could be done by passing it as a boot parameter during the netbooting.

But there is a problem with running DHCP on the ADSL modem. The Admin PC with TFTP server is also running a DHCP server. During the initial IP request from the PXE-ROM of the network card this doesn't matter, as the ADSL modem doesn't give a correct reply. But when the system is up and the client request for an IP there will be a race condition between the ADSL modem and the Admin PC. Whichever is faster will pass the IP to the client. It's not good to have 2 DHCP server in one network.

The technical correct way would be to configure the ADSL modem to provide the link to the TFTP server on the Admin PC and not run the DHCP on the Admin PC. But most of the simple ADSL modems given from the ISPs don't have this function. So the second best way is to disable the DHCP of the ADSL modem and run the DHCP on the Admin PC.

For the billing system based on MAC filtering I only see it feasable if the traffic flows through the Admin PC to the ADSL modem. That's the only way to take control of who is allowed to access the outside world. It's possible to do that remotely with some high-end routers, but not with the simple routers inside the ADSL modems for home use.

I found that if you use 'Setup Firewall' in Puppy 4.1.2 and go for manual configuration and not automatic, there is actually a possibility to activate internet sharing. So far couldn't test it, as my laptop doesn't have 2 network interfaces. I will try to find some cheap 2nd hand PCMCIA network card to test it.

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

#46 Post by ecomoney »

MZ, Aitch, thank you for your continued help. General networking theory is a bit of a black hole which I need to learn a lot more about. At the moment this is what I currently (think I) understand.

-A TFTP server "offers" boot files (initrd.gz and vmlinuz) out to any computer on the network that requests it (i.e. "boot from network" is selected in the bios)

- A DHCP server is something that assigns a computer on the network with an ip address...so it can gain access to the internet. It can be done by a router, or by any computer connected to the network. When a computer connects via DHCP, its "internet" is delivered via the Computer which gave it its i.p. address.

One of the "features" I wish to implement of this cybercafe system is also that very little networking knowledge is assumed. Computer expertise is expensive (unless its gained from open source forums!), and I would like this system to be able to be used/setup/operated by staff who have very low levels of computer expertise. Reconfiguring routers (or even knowing the passwords for them :wink: ) is something I would prefer to avoid anyone working this system needing to do. Another "feature" of this system is that it can be set up with commonly available computers (as old as possible) and networking components.

To manage billing, the Admin computer not only has to be a TFTP netboot server, but also control/filter internet access. An instruction like "Make sure this computer is switched on first and then everything else will work" is at a level where most of the cybercafe staff would be able to comprehend :D

MZ, you mentioned a "race condition" when there are two DHCP servers on the same network...with whichever can supply an i.p. address fastest becoming the one which takes priority for supplying the "internet" to the other computers connected to the network. Either the ADSL router, or a PC (the Admin PC in this example) can supply i.p. addresses and the "internet". I notice with many routers, there is a short delay when running the Puppy Ethernet Connection wizard anr requesting an i.p. address from the router (pressing the autoDHCP" button. Puppy is configured to try for 60 seconds when requesting an i.p. address from the ethernet network it is connected to.

Putting aside the conventional networking wisdom about running two DHCP servers on the same network for a moment (which I can understand is wise), would the admin PC in this example be able to *consistently* supply I.P. addresses from a DHCP server running on it faster (i.e. in preference to) a box standard ADSL router?

If this were the case, I am thinking that the Admin PC on this network could boot first, gaining its I.P. address from the router. Once internet access to the admin machine is established, it could start its own (faster) DHCP server. Requests for i.p addresses/internet connections from computers on the network (both netbooted clients and laptops that people brought in) would then be made via the admin machine in preference to the ADSL router.

The admin machine could then act as a "Gateway" (let me know if Im using the correct terminology), redirecting all web page requests to a page requiring login with a ticket number before it starts to route them to the client P.C. (Could puppies inbuilt Monkey Webserver be used to host this "captive portal"?).

Using this method (if it will work consistently and reliably), then it would simply be a matter of the cybercafe staff knowing to switch on the admin machine first. Anything else the plug in and set to boot from the network will then "just work", as well as any Windows/Mac laptops.

MZ I am happy to conduct any tests that you need more information on. I also have several pcmcia network adaptors I would be happy to send you if you PM me with your whereabouts.
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:

#47 Post by ecomoney »

Ive done some reading on the subject

http://in.answers.yahoo.com/question/in ... 102AAK2T9c

If the admin computer were to effectively "take over"/"perform faster" the issue of i.p. addresses to clients, then it would need to use a different range of i.p. addresses (a different "subnet") to the one that it got from the ADSL router. Could it do that by inspecting the i.p. address it recieved from the ADSL router on bootup, and setting its DCHP servers to issues i.p.'s from a different range?

i.e. ADSL router is configured to issue i.p. addresses in the range of 192.168.0.2-255, the Admin machine would then see the address it has been given, and start its (faster) DHCP server to issue addresses in the range 192.168.1.1-255?

That way, any computer that was started with DHCP on bootup would gain its "internet" via the Admin computer (and have that connection filtered based upon a valid login). Otherwise if the Admin machine was not switched on, the system would "fallback" to having their internet being supplied by the ADSL router. This would mean that the cybercafe would still be available (not through netbooting but perhaps by booting from CD/usb) without any billing being available. This would be much preferred to there being no internet connection at all as the cybercafe operator could at least tap on peoples shoulders asking them to pay up! :D
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
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#48 Post by Aitch »

Rob

For a deeper understanding try;

http://www.linuxtopia.org/online_books/ ... tcpip.html

http://www.linuxtopia.org/online_books/ ... esses.html

http://www.linuxtopia.org/online_books/ ... uting.html

I also saw this in the configuring kernel section,, which may be worth a read
Networking options --->
[*] TCP/IP networking

Gateways

You have to enable this option if your system acts as a gateway between two networks or between a LAN and a SLIP link, etc. It doesn't hurt to enable this by default, but you may want to disable it to configure a host as a so-called firewall. Firewalls are hosts that are connected to two or more networks, but don't route traffic between them. They're commonly used to provide users with Internet access at minimal risk to the internal network. Users are allowed to log in to the firewall and use Internet services, but the company's machines are protected from outside attacks because incoming connections can't cross the firewall (firewalls are covered in detail in Chapter 9 ):
Note: By the you get it sorted, they'll have to lay in a fibre optic to keep pace with all your web traffic :wink: :D

HTH

btw the main site is a gem...

http://www.linuxtopia.org/index.html

Aitch :)

MagicZaurus
Posts: 107
Joined: Mon 05 Jan 2009, 17:35

#49 Post by MagicZaurus »

I would presume that there is no way to guarantee that the Admin PC is always a faster DHCP server than the ADSL modem. There are hundreds of different ADSL modems in the market and there is no way to know how they all work.

Some explanation why we need a DHCP server on the Admin PC. When the client PC boots the network card first needs to get an IP address and the information where the TFTP server is located. So the network card makes a broedcast request. In that case either the ADSL modem or the Admin PC replies faster. In case of the ADSL modem there is no attached information about the TFTP server provided and the network card can just drop that reply and will wait for a reply which includes a TFTP server information to start the netbooting. Because the ADSL modem doesn't provide the TFTP server information it is required to run an additional DHCP server on the Admin PC in order to get netbooting working.

After Puppy is booted it will request for an IP from the DHCP server again and now it really depends who responds faster. Most likely it might even be the ADSL modem which is faster, as the client is directly wired to the ADSL modem. Which is ok, as long as no billing/mac-filtering is required.

As mentioned in your link, it is still possible to run 2 DHCP server as long as the issued IP addresses don't overlap. But there is no control which DHCP server will issue the IP to the client.

In my opinion the only safe/feasable way is to put the Admin PC between the ADSL modem and the client network.

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

#50 Post by ecomoney »

@ Aitch, thank you for those links, thats my bedtime reading for a few nights sorted out. Theres always something new to learn, I doubt I will ever get senile in my old age if I continue to work my brain like this.

The thing about the kernel you mention...Ive always wondered why the internet connection sharing code in the firewall wizard doesnt seem to work...could it be that Puppies kernel is compiled with this option turned off? How would we find out?

MZ, Thanks for the explaination. This method does seem a little convoluted. The idea is to get around the need to install software on the machines that people bring in. The netboot clients could have their boot image configured quite easily to have their sessions authenticated from the admin computer...but this wouldnt apply by machines that were connected via ethernet.

Since most modern laptops have a wireless facility, I think it would be sufficient to have a usb wireless dongle (or internal pci) connected to the admin machine (or even, with some programming the netboot clients). This would provide for laptops by producing a hotspot, via which all requests for internet connectivity would be directed through a "captive portal" for authentication. All this would need some fancy programming...but we do have a budget for this. Overall I want this setup to be as "just works" as possible.

Today Im going over to the Cybercafe today in Immingham to attempt to take the Smoothwall out of the equation and give the netbooting duties to the administration machine. I wll let you know how this goes.

Thank you all for your continued support. :)
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Post Reply