You are not logged in.
Pages: 1
Hello everyone,
I just installed arch on my new dell laptop.
My cable ethernet adapter (not the wirekless one) - eth1 - is set to use dhcp,
however, dhcpcd doesn't work for me for some reason:
dhcpcd eth1
doesnt get the address, it times out
dhclient, on the other hand, works pretty well out of the box. When I issue
dhclient eth1
it gets me IP address in like 2 seconds.
The problem is I have to type this command every time I want my LAN connection to work,
because running
/etc/rc.d/network restart
returns error: /sbin/dhcpcd: file was not found
which is obvious since I don't use dhcpcd,
so how do I tell my system to invoke dhclient instead of dhcpcd ???
Thanks for your answers and sorry for my bad english...
Offline
Do you have in rc.conf eth1 or eth0=(dhcp) ?
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
in my rc.conf I have eth1="dhcp"
Offline
fork the network script and replace dhcpcd with dhclient (don't forget to create a conf.d/dhclient)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
You mean edit the network script directly? ok
and what should conf.d/dhclient look like?
Offline
not edit it, fork it, so that you still have the original script in place, just in case.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Pages: 1