Author |
Message |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Tue 26 Jan 2010, 11:58 Post subject:
|
|
Quote: | The secret of Puppeee and Pwireless2 is to use the latest Dhcpcd. |
sounds nice but as a noob I have no clue on what it is.
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
|
Back to top
|
|
 |
Patriot

Joined: 15 Jan 2009 Posts: 734
|
Posted: Tue 26 Jan 2010, 12:16 Post subject:
|
|
Hmmm .....
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.) |
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 ?
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
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 26 Jan 2010, 12:39 Post subject:
|
|
Yep that's likely what the problem is - needs a stop option. Back to work for me...
[Edit - yup, that solves it. Thanks for the hint - I should have realized that... ]
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11331
|
Posted: Tue 26 Jan 2010, 13:34 Post subject:
|
|
Actually I do find a little quirk in that I have a mini script to check battery status in startup but even though exec and & is used delayedrun hangs around
mike
ps I fix the dirtiness for full installs but for frugal although this is handled the union prevents cleanliness
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11249 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 26 Jan 2010, 19:19 Post subject:
|
|
jemimah wrote: | The secret of Puppeee and Pwireless2 is to use the latest Dhcpcd. . |
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.
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
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Tue 26 Jan 2010, 21:01 Post subject:
|
|
So..."getting online" in general needs to be easier?
In two reviews, this is mentioned. Both are on the front page of google, under "puppy linux review"
http://lifehacker.com/307542/taking-puppy-linux-for-a-walk
http://discuss.extremetech.com/forums/thread/1004423950.aspx
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Tue 26 Jan 2010, 21:46 Post subject:
|
|
That's what the Pwireless2 project attempts to correct. Unfortunately, connecting wireless on Linux is really freaking complicated! Fixing a problem for one person, breaks things for another. And it seems as if every device driver acts a little differently, and there are way too many combinations of encryption types to feel like the problem is ever adequately solved. [/rant]
If anyone feels motivated, I could always use more help.
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11249 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 26 Jan 2010, 21:54 Post subject:
|
|
I'd be happy with a autolan connection that searches for eth0 and if it doesn't find a live connection it then looks for eth1 without updating Dhcpcd. Wireless is and will always be a pain, probably better to have something autostart very well than nothing at all. And jemimah your doing a great job
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, 22:32 Post subject:
|
|
With the old dhcpcd you might be able to just start up a dhcpcd for each wired interface, whether it's up or not, and it will just wait for a carrier (not confirmed since I don't have an ethernet cable with me.)
I don't think you can safely assume wired interfaces are necessarily named eth*. And you have to figure out what you want to do when someone needs a static IP.
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11249 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 26 Jan 2010, 22:41 Post subject:
|
|
I just downloaded bitdefender 2010 live cd, based on knoppix Linux http://download.bitdefender.com/rescue_cd/BitDefenderRescueCD_v2.0.0_3_08_2009.iso its 230mb, anyways it connect to the internet and downloaded virus definitions before it even made it to desktop:) it couldn't recognize my 19"lcd lol but I had 17crt and plugged that in and it was fine.
puppy would be better as a base, if we could figure the auto-connect stuff out.
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
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5089 Location: Arizona, U.S.A.
|
Posted: Wed 27 Jan 2010, 13:12 Post subject:
|
|
All Puppy needs is a script that does what clicking the eth0 button does.
Then it needs to do what clicking the DHCP button does, and it`s done...
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11249 Location: Ontario Canada,Sydney Australia
|
Posted: Wed 27 Jan 2010, 14:31 Post subject:
|
|
sunburnt wrote: | All Puppy needs is a script that does what clicking the eth0 button does.
Then it needs to do what clicking the DHCP button does, and it`s done... |
hmmm that's what I said, its been the same routine with at least 10 pc's I've tried, even with a USB2LAN stick, it showed up as eth1, or my other pc that has a built in lan on the motherboard and a pci lan card is still eth1 for the card, really if it searches for eth0ð1, that would be at least 90% of the market, good enough
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
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Fri 29 Jan 2010, 06:52 Post subject:
|
|
Stardust is one of the few that just works with my Acer D250 wireless but it failed doing wired LAN.
But that could be temporarily. Some linux usb does shut down the LAN card and one have to reactivate it through Windows win7 to get it going.
How could one do that from Stardust or any other puppy?
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11249 Location: Ontario Canada,Sydney Australia
|
Posted: Fri 29 Jan 2010, 07:19 Post subject:
|
|
I had a usb2lan stick running on 2.14X, just plug it in first then bootup and run the network manager.
It won't work if you already booted and then plugged it in, so remember plug in then bootup.
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
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Fri 29 Jan 2010, 07:26 Post subject:
|
|
I used this search and failed to find a thread for it.
http://www.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=usb2lan&sa=Search&cof=FORID%3A0
Could one not build that into every puppy?
And to take up a whole mem stick for just one function?
Could you link to it?
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
|