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
topic title: How do I bypass DHCP during bootup?
8 posts
• Page 1 of 1
-
Posts: 2
- Joined: 11 Nov 2007
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
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
To answer your question use the
mean
cheatcode at the grub menu.
Once in X, open a terminal, su to root and type
dhclient
-
Posts: 20
- Joined: 12 Nov 2007
#3
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).
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).
-
Posts: 48
- Joined: 14 Sep 2007
#4
Is it possible to write a bash script that automates typing dhclient and have it execute after boot under root privileges?
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#5
.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.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/viewtopic.php?t=119"
linktext was:"antix.freeforu ms.org/viewtopic.php?t=119"
====================================
r3bol,
That would be nice, I don't know how to though, maybe someone else will.
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.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/viewtopic.php?t=119"
linktext was:"antix.freeforu ms.org/viewtopic.php?t=119"
====================================
r3bol,
That would be nice, I don't know how to though, maybe someone else will.
-
Posts: 41
- Joined: 24 Oct 2007
#6
What happens if you add the appropriate command, e.g. dhcpclient &, to /etc/rc.local and reboot the whole system ...?r3bol wrote:Is it possible to write a bash script that automates typing dhclient and have it execute after boot under root privileges?
-
Posts: 48
- Joined: 14 Sep 2007
#7
seems to work! __{{emoticon}}__
...except the command is dhclient &
...except the command is dhclient &
-
Posts: 41
- Joined: 24 Oct 2007
#8
Hey, I'm only guessing - DHCP is one of the daemons I kill on sight __{{emoticon}}__r3bol wrote: except the command is