You are not logged in.
Pages: 1
i have network card in my pc, but i use usb modem for internet. i add eth1="dhcp" in rc.conf, every time i need to type in terminal "dhcpcd eth1" then i can get work my internet. is that edit anything can skip that step?
Offline
a quick fix would be to add
dhcpcd eth1
to the file: rc.local
Offline
do you have network set in your daemons array?
Offline
Silly question - did you add eth1 to the INTERFACES array in rc.conf?
Offline
Silly question - did you add eth1 to the INTERFACES array in rc.conf?
I had the same silly question.
Offline
you should have something along the lines of this:
lo="lo 127.0.0.1"
eth1="dhcp"
INTERFACES="lo eth1"
Offline
you should have something along the lines of this:
lo="lo 127.0.0.1"
eth1="dhcp"
INTERFACES="lo eth1"
Hrmm... no that's not quite it either... There's no need for 'lo' so you can ditch that along with the lo="blah" statement. Also, the INTERFACES is an array declaration, so it should look like this:
eth0="dhcp"
INTERFACES=(eth0)
thayer williams ~ cinderwick.ca
Offline
As long as eth1 is listed before lo, then you should get auto connection
make sure that the same applies in INTERFACE, ie (eth1 lo) and not vice versa
Offline
That is incorrect, rusty.
The order of network interface entries in /etc/rc.conf is irrelevant. Also, as already noted by thayer, lo is no longer required in /etc/rc.conf.
Offline
Pages: 1