Results 1 to 4 of 4
Hey Guys,
I dual boot slack 12.1 with WinXP. But whenever I log into slack (after restarting from xp) my net connection is never working since XP holds onto the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-01-2008 #1Just Joined!
- Join Date
- May 2006
- Location
- San Jose, CA
- Posts
- 67
IP release and renew in slack
Hey Guys,
I dual boot slack 12.1 with WinXP. But whenever I log into slack (after restarting from xp) my net connection is never working since XP holds onto the IP it obtained from my router. Is there a release/renew command in slack? After searching around the net I came across these particular commands
ifdown eth0
ifup eth0
(Another command "pump" was mentioned here in these forums also)
But whenever I try to issue the following commands (as a su) I get "No such Command" error. I made sure that eth0 is "up". Also doing dhcpcd eth0 just times out.
Another side query does the lo interface needs to be taken down? Or just let it run.. Any help greatly appreciated.
- 07-02-2008 #2Just Joined!
- Join Date
- Jul 2008
- Posts
- 2
use ifconfig
you can also restart all the interfaces with:Code:ifconfig eth0 down ifconfig eth0 up
(the commands have to be executed as root)Code:sh /etc/rc.d/rc.inet1 restart
- 07-02-2008 #3
If those commands don't do anything, try this(also as root):
Code:/sbin/ifconfig eth0 down /sbin/ifconfig eth0 up
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 07-02-2008 #4Just Joined!
- Join Date
- May 2006
- Location
- San Jose, CA
- Posts
- 67
If I have it right ifconfig eth0 up/down just brings the interface up or down (start/stop).. doesn't really do much else with it. I tried restarting my interfaces with the following command but that didn't help my case either.
I am able to get an ip through dhcpcd if I wait long enough for the ip assigned to windows to drop.Code:bash-3.1# sh /etc/rc.d/rc.inet1 restart Polling for DHCP server on interface eth0: No carrier detected on eth0. Reducing DHCP timeout to 10 seconds. dhcpcd: MAC address = <mac address here>
Edit: Found my mistake I had declared a different MAC address in my rc.d/inet1.conf
.


Reply With Quote
