Author |
Message |
tubby
Joined: 24 Jan 2009 Posts: 317
|
Posted: Sun 24 Jan 2010, 14:33 Post subject:
|
|
Well this pensioner has done some digging and there is an autoconnect.pet already in the ibiblio reps.
Surely this could be your starting point.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11104
|
Posted: Sun 24 Jan 2010, 16:55 Post subject:
|
|
Quote: | Well this pensioner has done some digging and there is an autoconnect.pet already in the ibiblio reps. |
yes someone did do this recently but my dodgy memory could not remember who or where...from what I remember he made a remaster with it included it it was working just fine.
mike
|
Back to top
|
|
 |
Puppyt
Joined: 09 May 2008 Posts: 780 Location: Gatton, Queensland
|
Posted: Sun 24 Jan 2010, 20:14 Post subject:
|
|
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.  |
Great stuff, tubby! I'll test it soon.
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?
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Sun 24 Jan 2010, 20:15 Post subject:
|
|
Is this for ethernet, I believe its a program for automatically connecting to wireless
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sun 24 Jan 2010, 20:38 Post subject:
|
|
Hi ecomoney; How`s it going?
LanPuppy did exactly this, it got the gateway config from the router
wrote it to /etc/resolv.conf , and did auto-setup of networking at boot.
|
Back to top
|
|
 |
Puppyt
Joined: 09 May 2008 Posts: 780 Location: Gatton, Queensland
|
Posted: Sun 24 Jan 2010, 20:43 Post subject:
|
|
sunburnt wrote: | LanPuppy did exactly this, it got the gateway config from the router... |
Thanks sunburnt! Downloading now - missed my radar completely but is now much appreciated.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11104
|
Posted: Sun 24 Jan 2010, 22:50 Post subject:
|
|
Quote: | Is this for ethernet, I believe its a program for automatically connecting to wireless |
nope Lan routers/modems...by the nature of the roaming beastie i don't think auto wireless would be quite as feasible.....mainly due to the common use of encrypted networks.
mike
|
Back to top
|
|
 |
Puppyt
Joined: 09 May 2008 Posts: 780 Location: Gatton, Queensland
|
Posted: Mon 25 Jan 2010, 12:28 Post subject:
|
|
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. |
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Mon 25 Jan 2010, 19:50 Post subject:
|
|
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.
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Mon 25 Jan 2010, 19:55 Post subject:
|
|
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. |
I think as Pwireless2 matures it will become the default networking app in Puppy/Quirky. It is coming along nicely.
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11104
|
Posted: Mon 25 Jan 2010, 21:16 Post subject:
|
|
Quote: | 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. |
yer can't beat good software
mike
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 26 Jan 2010, 00:35 Post subject:
|
|
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. |
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?
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games 
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 26 Jan 2010, 00:45 Post subject:
|
|
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.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11104
|
Posted: Tue 26 Jan 2010, 06:43 Post subject:
|
|
Quote: | 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.)
mike
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 26 Jan 2010, 11:06 Post subject:
|
|
I tried kill -9ing them in the shutdown scripts, but that was ineffective. Probably further research is necessary, since it would be nice if restarting X didn't take you offline.
|
Back to top
|
|
 |
|