FS#12069 - netcfg not bringing up ethernet interface automatically
Attached to Project:
Arch Linux
Opened by janis (Stalafin) - Monday, 10 November 2008, 02:17 GMT
Last edited by James Rayner (iphitus) - Monday, 16 February 2009, 11:01 GMT
Opened by janis (Stalafin) - Monday, 10 November 2008, 02:17 GMT
Last edited by James Rayner (iphitus) - Monday, 16 February 2009, 11:01 GMT
|
Details
Description:
netcfg does not bring up the ethernet (eth0) interface automatically when trying to access an ethernet. Hence, it cannot connect to the ethernet: $ sudo netcfg2 ethernet :: ethernet up [BUSY] eth0: timed out - DHCP IP lease attempt failed [FAIL] The interface has to be brought up manually, upon which netcfg does connect properly: $ sudo ifconfig eth0 up $ sudo netcfg2 ethernet :: ethernet up [DONE] Additional info: netcfg version: $ pacman -Qs netcfg local/netcfg 2.1.2-1 The associated ethernet network profile has been attached, as well as rc.conf. |
This task depends upon
in my rc.conf i have:
"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#INTERFACES=(eth0)
#gateway="default gw 192.168.0.1"
#ROUTES=(!gateway)
NETWORKS=(!menu pppoe !router)
"
and my pppoe file in /etc/network.d :
"
CONNECTION="ppp"
INTERFACE=eth0
PEER="provider"
"
but router (ethernet-static):
"
CONNECTION="ethernet"
DESCRIPTION="Router Network Profile"
# Network Settings
INTERFACE=eth0
IP="static"
IFOPTS="192.168.254.11 netmask 255.255.255.192 broadcast 192.168.254.63"
GATEWAY=192.168.254.1
"
brings the iface up.