Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 05:59
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
"Just Works" Configuration of Ethernet at bootup
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
tubby

Joined: 24 Jan 2009
Posts: 317

PostPosted: 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
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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
View user's profile Send_private_message 
Puppyt

Joined: 09 May 2008
Posts: 568
Location: Gatton, Queensland

PostPosted: 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. Laughing


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
View user's profile Send_private_message Visit_website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: 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
View user's profile Send_private_message Visit_website MSNM 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send_private_message 
Puppyt

Joined: 09 May 2008
Posts: 568
Location: Gatton, Queensland

PostPosted: 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
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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
View user's profile Send_private_message 
Puppyt

Joined: 09 May 2008
Posts: 568
Location: Gatton, Queensland

PostPosted: 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
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7836
Location: qld

PostPosted: 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.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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 Very Happy

mike
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10827
Location: Ontario Canada,Sydney Australia

PostPosted: 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 Smile
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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
View user's profile Send_private_message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 3 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0883s ][ Queries: 13 (0.0117s) ][ GZIP on ]