Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

dhcpclient hangs on boot

Post comments, problems, help here.

Postby UnicornRider on Sun Dec 23, 2007 5:17 pm

I'll leave the draft as is (read: on the server), but try to figure out a better solution within the next (boring) days 8)
The limits of my code are the limits of my system.
User avatar
UnicornRider
 
Posts: 40
Joined: Wed Oct 24, 2007 8:34 am

2nd draft

Postby UnicornRider on Sun Dec 23, 2007 7:01 pm

Maybe I should focus on coding rather than posting 8)

# http://penguin.ch/plan_b/scripts/x_files/planb_init.sh
# http://penguin.ch/plan_b/scripts/x_files/planb_rc-5.sh

Similar to other boot codes of mine, (only) if present, mean dhcX disables "automatic networking" and launches the DHCP client via /etc/rc.local. If the boot code gets removed, the according changes will be undone at reboot.

At least, the "new" code implements consistent behaviour (as well as the detail work I consider "not the worst of styles" ...). - If not met with opposition, I'll move the updates to the main code branch (latest at the 27.12.07).
The limits of my code are the limits of my system.
User avatar
UnicornRider
 
Posts: 40
Joined: Wed Oct 24, 2007 8:34 am

Postby anticapitalista on Sun Dec 23, 2007 10:04 pm

Thanks.

I tried the new scripts and they work ok.
One point is that on boot it gives a message saying it is looking for /opt/scribbles/boincinit.sh

antiX doesn't have/need (by default) the boinc stuff, so I suppose it can simply be commented out from the planb_rc5.sh?
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Postby UnicornRider on Mon Dec 24, 2007 9:08 am

anticapitalista wrote:One point is that on boot it gives a message saying it is looking for /opt/scribbles/boincinit.sh


Fixed - http://penguin.ch/plan_b/scripts/x_files/planb_rc-5.sh

anticapitalista wrote:I suppose it can simply be commented out from the planb_rc5.sh?


You're free to change my code used in your system - as long as you keep track of your changes yourself :wink:
The limits of my code are the limits of my system.
User avatar
UnicornRider
 
Posts: 40
Joined: Wed Oct 24, 2007 8:34 am

I could use help, as DHCP hang fix isn't working for me??

Postby oldlongbeard on Mon Jan 28, 2008 7:28 pm

I got the MEAN code into menu.lst, and dhclient & added to /etc/rc.local. I reboot, and wireless does not hook up after login, and when I look at rc.local, the added line isn't there. I verified it was there before reboot, and every time I re-boot, it's gone. Hints- I have to be ROOT to change rc.local. I tried to run dhclient from a terminal, and it required me to be ROOT again. How do I get this fix to work without being ROOT??

Thanks in advance. I have tried all I can think of, so I am at your mercy.

Greg, in Western Lower Michigan.
oldlongbeard
 
Posts: 6
Joined: Mon Jan 28, 2008 7:24 pm

Postby anticapitalista on Mon Jan 28, 2008 8:22 pm

Hello oldlongbeard.
Try adding this line to the /boot/grub/menu.lst

mean dhcX
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Thanks, Anti - that worked

Postby oldlongbeard on Tue Jan 29, 2008 12:43 am

I guess I just didn't quite understand. Added mean dhcX to menu.lst, and it works great.
This is my 4th machine with AntiX on it. It is an older Compaq Armada M300, 500Mhz laptop with 192Mb RAM. I used some of Macondo's tricks to lighten up things that load at boot. (Thanks, Macondo!). It will boot to login screen in under 1 minute!! I Love it. It just plain works. Spartan desktop is nice,too, although I do have Conky covering some real estate.... it doesn't hog too much RAM, or CPU.
Nice work, Anti- another keeper!
(I sold my newer lappy with XP on it to my Niece. She gave me this older one that she didn't use any more, as the Bloat of Windows was too much for it.... boot time to desktop in WinXP was between 9 and 10 minutes!!-- - She's going to DIE when I show it to her running AntiX in under a minute!!)

Greg in Michigan
oldlongbeard
 
Posts: 6
Joined: Mon Jan 28, 2008 7:24 pm

Postby anticapitalista on Tue Jan 29, 2008 1:07 am

Glad all is well oldlongbeard. That dhcX part of the cheatcode is a new one that came with antiX-M7.01 (and not M7 if I remember correctly).
Full thanks for that go to UnicornRider, in fact for all the cheatcode scripts in antiX.

Macondo's tips are great and I'm sure your niece will be well jealous of antiX. You know you might be able to 'convert' her to it.

Oh about conky. If you don't want it you can switch it off via the fluxbox menu>Wm's>conky on/off.

Enjoy antiX!
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Previous

Return to antiX-M7 Lysistrata

Who is online

Users browsing this forum: No registered users and 0 guests

cron