You are not logged in.
Pages: 1
I am running Arch on my laptop and I love it. I was wondering if there was a way to make the computer automatically run dhcpcd on eth0 when a cable is plugged in (Sometimes I have to move the computer and having to restart or manually run dhcpcd eth0 when I plug back in is a pain. Also, if I unplug my mouse for any reason, I have to restart the computer to get it back. How can I fix this?
Thanks,
Nathan
Offline
I am running Arch on my laptop and I love it. I was wondering if there was a way to make the computer automatically run dhcpcd on eth0 when a cable is plugged in (Sometimes I have to move the computer and having to restart or manually run dhcpcd eth0 when I plug back in is a pain.
Install ifplugd
pacman -S ifplugd
add ifplugd to DAEMONS= array in rc.conf.
Offline
thanks man!
Offline
Should that work for the mouse too or just the internet?
Offline
Should that work for the mouse too or just the internet?
Read about it. As a general rule, don't just blindly do things people tell you to do on the forums, you won't learn anything that way.
Anyhow, if you'd read the description of what you installed on your system you'd know the answer to that question.
Here's how you could have done that:
$pacman -Ss ifplugd
extra/ifplugd 0.28-3
A daemon which brings up/down network interfaces upon cable
insertion/removal.
$ pacman -Qi ifplugd
Name : ifplugd
Version : 0.28-3
URL : http://0pointer.de/lennart/projects/ifplugd
.........
Description : A daemon which brings up/down network interfaces upon cable
insertion/removal.
The suggestion box only accepts patches.
Offline
Pages: 1