 |
antiX-forum Forum for users of antiX linux. "Mean and Lean"
|
| 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! |
| View previous topic :: View next topic |
| Author |
Message |
UnicornRider

Joined: 24 Oct 2007 Posts: 40
|
Posted: Sun Dec 23, 2007 6:17 pm Post subject: |
|
|
I'll leave the draft as is (read: on the server), but try to figure out a better solution within the next (boring) days  _________________ The limits of my code are the limits of my system.
|
|
| Back to top |
|
 |
UnicornRider

Joined: 24 Oct 2007 Posts: 40
|
Posted: Sun Dec 23, 2007 8:01 pm Post subject: 2nd draft |
|
|
Maybe I should focus on coding rather than posting
# 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 |
|
 |
anticapitalista Site Admin

Joined: 11 Sep 2007 Posts: 1026 Location: Greece
|
Posted: Sun Dec 23, 2007 11:04 pm Post subject: |
|
|
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 |
|
 |
UnicornRider

Joined: 24 Oct 2007 Posts: 40
|
Posted: Mon Dec 24, 2007 10:08 am Post subject: |
|
|
| 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  _________________ The limits of my code are the limits of my system.
|
|
| Back to top |
|
 |
oldlongbeard
Joined: 28 Jan 2008 Posts: 4
|
Posted: Mon Jan 28, 2008 8:28 pm Post subject: I could use help, as DHCP hang fix isn't working for me?? |
|
|
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 |
|
 |
anticapitalista Site Admin

Joined: 11 Sep 2007 Posts: 1026 Location: Greece
|
Posted: Mon Jan 28, 2008 9:22 pm Post subject: |
|
|
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 |
|
 |
oldlongbeard
Joined: 28 Jan 2008 Posts: 4
|
Posted: Tue Jan 29, 2008 1:43 am Post subject: Thanks, Anti - that worked |
|
|
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 |
|
 |
anticapitalista Site Admin

Joined: 11 Sep 2007 Posts: 1026 Location: Greece
|
Posted: Tue Jan 29, 2008 2:07 am Post subject: |
|
|
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 |
|
 |
|
|
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
|