antiX-forum Forum Index antiX-forum
Forum for users of antiX linux. "Mean and Lean"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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
Goto page Previous  1, 2
 
Post new topic   Reply to topic    antiX-forum Forum Index -> antiX-M7 Lysistrata
View previous topic :: View next topic  
Author Message
UnicornRider



Joined: 24 Oct 2007
Posts: 40

PostPosted: Sun Dec 23, 2007 6:17 pm    Post subject: Reply with quote

I'll leave the draft as is (read: on the server), but try to figure out a better solution within the next (boring) days Cool
_________________
The limits of my code are the limits of my system.
Back to top
View user's profile Send private message Visit poster's website
UnicornRider



Joined: 24 Oct 2007
Posts: 40

PostPosted: Sun Dec 23, 2007 8:01 pm    Post subject: 2nd draft Reply with quote

Maybe I should focus on coding rather than posting Cool

# 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.
Back to top
View user's profile Send private message Visit poster's website
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1026
Location: Greece

PostPosted: Sun Dec 23, 2007 11:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
UnicornRider



Joined: 24 Oct 2007
Posts: 40

PostPosted: Mon Dec 24, 2007 10:08 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
oldlongbeard



Joined: 28 Jan 2008
Posts: 4

PostPosted: Mon Jan 28, 2008 8:28 pm    Post subject: I could use help, as DHCP hang fix isn't working for me?? Reply with quote

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.
Back to top
View user's profile Send private message
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1026
Location: Greece

PostPosted: Mon Jan 28, 2008 9:22 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
oldlongbeard



Joined: 28 Jan 2008
Posts: 4

PostPosted: Tue Jan 29, 2008 1:43 am    Post subject: Thanks, Anti - that worked Reply with quote

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
Back to top
View user's profile Send private message
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1026
Location: Greece

PostPosted: Tue Jan 29, 2008 2:07 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> antiX-M7 Lysistrata All times are GMT + 3 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Chest


Powered by phpBB
Hosted by FreeForums.org