Results 1 to 6 of 6
Hello everyone,
I often switch my machine's connection between two seperate networks for various reasons I won't go into, but I was wondering if there's a way to explicitly request ...
- 09-20-2005 #1
Explicit DHCP request
Hello everyone,
I often switch my machine's connection between two seperate networks for various reasons I won't go into, but I was wondering if there's a way to explicitly request an IP address from a DHCP server without rebooting.
Thanks in advance!
- 09-20-2005 #2
You can just start your networking again, depending on distro try:
service network restart
or
/etc/init.d/network restart
do either as root.Linux user #126863 - see http://linuxcounter.net/
- 09-20-2005 #3Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Or, if you use BSD style init:
/etc/rc.d/network restart
or
/etc/rc.d/dhclient restart
...or something similar
- 09-20-2005 #4Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
Slackware: # dhcpcd -kn
** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **
- 09-20-2005 #5
I must have screwed something up pretty bad...now I can't do any networking at all, and even if I reboot, eth0 is still down on startup...What did I do?
Thanks in advance for the help.
- 09-20-2005 #6Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
# ifconfig eth0 up
#dhcpcd
# dhcpcd -n
# ifconfig eth0** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **


Reply With Quote
