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!

How do I bypass DHCP during bootup?

 
Post new topic   Reply to topic    antiX-forum Forum Index -> antiX-M7 Lysistrata
View previous topic :: View next topic  
Author Message
glenn69



Joined: 11 Nov 2007
Posts: 2

PostPosted: Sun Nov 11, 2007 3:13 am    Post subject: How do I bypass DHCP during bootup? Reply with quote

During bootup I eventually get to a series of messages stating that DHCP is being searched.
ex...

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval X
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval X
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval X
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval X
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval X

Sometimes I boot without an internet connection, however this step seems to keep repeating hoping for a connection. A couple minutes pass before it gives up.

How can I bypass this step for the times that I don't need a connection? I want it to do the search only when I am connected via ethernet.

thanks
Back to top
View user's profile Send private message
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1043
Location: Greece

PostPosted: Sun Nov 11, 2007 3:36 am    Post subject: Reply with quote

Welcome to antiX

To answer your question use the
mean
cheatcode at the grub menu.

Once in X, open a terminal, su to root and type
dhclient
_________________
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
.ee



Joined: 12 Nov 2007
Posts: 19

PostPosted: Mon Nov 19, 2007 5:06 am    Post subject: Reply with quote

Yes, it works. However, it would be still nice to have network on (I am on DHCP) immediately after booting without opening the root terminal etc.

It is a small thing, but it works without problem in most other distors I tried before (perhaps except Puppy where I had to configre the network with a few clicks).
Back to top
View user's profile Send private message
r3bol



Joined: 14 Sep 2007
Posts: 48

PostPosted: Mon Nov 19, 2007 6:59 pm    Post subject: Reply with quote

Is it possible to write a bash script that automates typing dhclient and have it execute after boot under root privileges?
Back to top
View user's profile Send private message
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1043
Location: Greece

PostPosted: Mon Nov 19, 2007 9:18 pm    Post subject: Reply with quote

.ee

It is a pain in the neck for some users, but not for all. There must be some problem with dhcp. You could try re-installing it again, see this thread.

http://antix.freeforums.org/viewtopic.php?t=119

r3bol,

That would be nice, I don't know how to though, maybe someone else will.
_________________
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 Nov 19, 2007 10:08 pm    Post subject: Reply with quote

r3bol wrote:
Is it possible to write a bash script that automates typing dhclient and have it execute after boot under root privileges?


What happens if you add the appropriate command, e.g. dhcpclient &, to /etc/rc.local and reboot the whole system ...?
_________________
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
r3bol



Joined: 14 Sep 2007
Posts: 48

PostPosted: Tue Nov 20, 2007 3:18 pm    Post subject: Reply with quote

seems to work! Very Happy
...except the command is dhclient &
Back to top
View user's profile Send private message
UnicornRider



Joined: 24 Oct 2007
Posts: 40

PostPosted: Tue Nov 20, 2007 3:31 pm    Post subject: Reply with quote

r3bol wrote:

except the command is


Hey, I'm only guessing - DHCP is one of the daemons I kill on sight Razz
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> antiX-M7 Lysistrata All times are GMT + 3 Hours
Page 1 of 1   

 
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