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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To James Rayner (iphitus)
Architecture i686
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  James Rayner (iphitus)
Monday, 16 February 2009, 11:01 GMT
Reason for closing:  Fixed
Comment by Vlad George (DonVla) - Sunday, 11 January 2009, 15:15 GMT
i have a similar problem here, but not using "ethernet" but "ppp":
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.
Comment by James Rayner (iphitus) - Monday, 16 February 2009, 11:01 GMT
netcfg in git has fixed this.

Loading...