leahneukirchen / ignite

OBSOLETE: use Void Linux
Other
66 stars 12 forks source link

sv/eth0: make sure eth0 interface is up #16

Closed c00kiemon5ter closed 11 years ago

c00kiemon5ter commented 11 years ago

this could also be done as

ip link set dev eth0 up

not sure which is more standard. ip belongs to iproute2 ifconfig belongs to net-tools

leahneukirchen commented 11 years ago

ifconfig is deprecated and not in core, use ip.

However, I think dhcpcd already sets the interface up? At least, I can set it down here, start the dhcpcd process and it sets it up.

c00kiemon5ter commented 11 years ago

net-tools/ifconfig is in core, but not in base anymore. So, I guess you're right, ip would be better.

I had tested getting the interface down and restarting the service and I was 100% sure that it wasn't upped. I tried twice! Testing again now, seems that dhcpcd does bring the interface up. So, I'm closing this for now. Thanks