"Just Works" Configuration of Ethernet at bootup
Great stuff, tubby! I'll test it soon.tubby wrote:Try adding to your /startup dir
dhclient
dhclient-script
dhcpcd (symlink to dhclient)
dhcpd
All downloadable from the ibiblio packages.
Worked ok for me on a frugal install, found and connected to ETH0.
You may not need all of the above but i went for belt and braces.
I want to make an idiot-proof Puppy (spot the Catch-22). Something that works out of the box for new computer users - "age" be damned - with no interest or inclination to command-line or scripting (or wizards), will resume intact after improper shutdowns (yay Silver Puppy's thread and pet - sorry off-topic) etc etc.
Regarding nooby's request for a compromise in automatic ethernet at bootup - just how hard would it be to include the option in the typical live-cd startup options of keyboard, locale, Xorg and mouse?
shinobar at the Puppy Linux Japanese Team has released this little gem for puppy4 (http://www.murga-linux.com/puppy/viewtopic.php?t=51630) - is this what you were thinking, nooby and ecomoney, for automatic LAN connection?
shinobar wrote:It automatically starts up the desktop with 800x600 screen size, Universal timezone, us-English keyboards.
You can change the first setup with one window.
The network connection is also automatic in case an eth0 interface is found and DHCP is available.
Quick setup Puppy is easy to make up based on any Puppy v4.x.
Download firstsetup-0.4en.pet from here.
Follow the document.
I think as Pwireless2 matures it will become the default networking app in Puppy/Quirky. It is coming along nicely.jemimah wrote:The secret of Puppeee and Pwireless2 is to use the latest Dhcpcd. All you need to to is start it and it will know which interfaces have a carrier and automatically request an IP - no configuration necessary, works on both wired or wireless networks.
Puppy Linux Blog - contact me for access
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Can we have a version we could toss in the startup folder without a gui, so it does that in the background unknown to users. And if users want to manually set they could run the default Pwireless2 GUI?jemimah wrote:The secret of Puppeee and Pwireless2 is to use the latest Dhcpcd. All you need to to is start it and it will know which interfaces have a carrier and automatically request an IP - no configuration necessary, works on both wired or wireless networks.
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 :)
Actually, you could already do that with the latest version. Just delete gtrayicon from the startup folder. The frontend and backend are completely separate. I experimented this version with putting the Pwireless2 daemon startup in /etc/init.d but I think I'm going to move it back to /root/Startup because for some reason it adds like 15 seconds to shutdown time, at least on my machine.
the /startup stuff would get killed along with other X apps but init.d daemons are left running (part of the reason for dirty shutdowns on full installs.)Pwireless2 daemon startup in /etc/init.d but I think I'm going to move it back to /root/Startup because for some reason it adds like 15 seconds to shutdown time, at least on my machine
mike
sounds nice but as a noob I have no clue on what it is.The secret of Puppeee and Pwireless2 is to use the latest Dhcpcd.
using google it says it is something in the terminal that one call up writing Dhcpcd
I should write that down on a paper and test it then.
Just now I try to trippleboot so will take some time.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
Hmmm .....
jemimah,
Startup and init.d scripts are handled differently. For startup scripts, you can just specify-n-forget ... but you may want to implement re-entrant possibility for daemons should X is restarted. For init.d, they should have (minimum) start & stop option flags to be handled by rc.sysinit and rc.shutdown. Please look at CUPS init.d script as an example ... Most of my newer scripts with auto-start ability are able to handle both Startup and init.d invocation ...
Rgds
Not necessarily all startup stuffs will be ... daemonized ones without display hooking won't be (ex: daemonized wpa_supplicant doesn't get killed) ... I did have an idea a couple of moons ago to resolve dirty shutdowns for all cases of installs ... Maybe we can pursue it after our next little project is done ?mikeb wrote: the /startup stuff would get killed along with other X apps but init.d daemons are left running (part of the reason for dirty shutdowns on full installs.)
jemimah,
Startup and init.d scripts are handled differently. For startup scripts, you can just specify-n-forget ... but you may want to implement re-entrant possibility for daemons should X is restarted. For init.d, they should have (minimum) start & stop option flags to be handled by rc.sysinit and rc.shutdown. Please look at CUPS init.d script as an example ... Most of my newer scripts with auto-start ability are able to handle both Startup and init.d invocation ...
Rgds
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
The thing about the thing, lol Ok i'll stop messing around, to compile the latest Dhcpcd in 2.14X I would have to update glibC, I was lucky enough to do it once, when I changed it from 2 series to 3 series, but anything past that I think I would be pushing it, So that means no auto start for 2,3 series, hmmmm I think we need a different work around for this.jemimah wrote:The secret of Puppeee and Pwireless2 is to use the latest Dhcpcd. .
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 :)