Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13206 - netcfg 2.1.2-1 gives bad arguments to dhcpcd

Attached to Project: Arch Linux
Opened by Nick Martin (nijm) - Wednesday, 11 February 2009, 16:50 GMT
Last edited by James Rayner (iphitus) - Monday, 16 February 2009, 10:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Obtaining an IP address with dhcp using netcfg causes an error. netcfg is giving bad arguments to dhcpcd. Can't bring up a network using dhcp. It gives the following error message:

dhcpcd: invalid option -- 'q'

The problem is on line 45 of /usr/lib/network/ethernet.subr:
if ! dhcpcd -qL -t $DHCP_TIMEOUT $DHCP_OPTIONS $INTERFACE; then

I checked the man page. -q isn't a dhcpcd option. Should be:
if ! dhcpcd -t $DHCP_TIMEOUT $DHCP_OPTIONS $INTERFACE; then

Steps to reproduce:
Configure a network to use dhcp. netcfg <network_name>

Package Version: netcfg 2.1.2-1
This task depends upon

Closed by  James Rayner (iphitus)
Monday, 16 February 2009, 10:52 GMT
Reason for closing:  Not a bug
Comment by Nick Martin (nijm) - Wednesday, 11 February 2009, 23:00 GMT
I should also mention that the same thing happens when you try to bring the network down. So I think there's a second line affected in ethernet.subr
Comment by James Rayner (iphitus) - Monday, 16 February 2009, 10:52 GMT
Please update your dhcpcd, you have an old version

Loading...