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#24753 - [netcfg] ethernet-static fails

Attached to Project: Arch Linux
Opened by Philipp (hollunder) - Friday, 17 June 2011, 10:23 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 03 July 2011, 17:16 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Doesn't start with 'invalid argument', apparently refering to the gateway, but I can't see the problem.

Additional info:
* package version(s)
netcfg v2.5.5

* config and/or log files etc.
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='143.205.216.123'
GATEWAY='143.205.216.255'
DNS=('143.205.64.51','143.205.64.52','143.205.176.16','143.205.176.17')

Steps to reproduce:
$ sudo NETCFG_DEBUG="yes" netcfg ethernet-moheim-static
DEBUG: Loading profile ethernet-moheim-static
DEBUG: Configuring interface eth0
:: ethernet-moheim-static up
DEBUG: status reported to profile_up as:
DEBUG: Loading profile ethernet-moheim-static
DEBUG: Configuring interface eth0
DEBUG: ethernet_iproute_up ifup
DEBUG: ethernet_iproute_up ip addr add 143.205.216.123/24 brd + dev eth0
DEBUG: ethernet_iproute_up ip route add default via 143.205.216.255
RTNETLINK answers: Invalid argument
> Adding gateway 143.205.216.255 failed
DEBUG: profile_up connect failed
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Sunday, 03 July 2011, 17:16 GMT
Reason for closing:  No response
Comment by Andrea Scarpino (BaSh) - Friday, 17 June 2011, 15:31 GMT
not a bug.

DNS=('143.205.64.51','143.205.64.52','143.205.176.16','143.205.176.17')
should be
DNS=('143.205.64.51' '143.205.64.52' '143.205.176.16' '143.205.176.17')
Comment by Rémy Oudompheng (remyoudompheng) - Friday, 17 June 2011, 16:08 GMT
invalid DNS entry seems unrelated to the problem: your gateway address looks like a broadcast address, which is weird.
Comment by Andrea Scarpino (BaSh) - Friday, 17 June 2011, 16:32 GMT
oh Rémy is right, I guess it should 143.205.216.1?

Loading...