You are not logged in.

#1 2008-11-09 12:44:24

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

netcfg2 and bringing up ethernet interface by hand - ifconfig up

I am using netcfg2 to connect to my various networks. If I want to connect to wireless networks, everything works nice and flawlessly. If I want to connect to an ethernet though, netcfg2 cannot connect to it, unless I manually bring up the interface.

Here is the error output:

$ sudo netcfg2 ethernet
:: ethernet up                                                           [BUSY] eth0: timed out
                - DHCP IP lease attempt failed                           [FAIL]

And then after a successful ifconfig eth0 up:

$ sudo ifconfig eth0 up
$ sudo netcfg2 ethernet
:: ethernet up                                                           [DONE]

I remember things to be different a couple of netcfg2 versions ago. What has changed? And can't this bringing up an network interface be integrated into netcfg2 somehow?

Offline

#2 2008-11-09 21:35:19

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: netcfg2 and bringing up ethernet interface by hand - ifconfig up

Same problem here, not with netcfg2 though but with the standard network script :S


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#3 2008-11-09 22:10:26

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg2 and bringing up ethernet interface by hand - ifconfig up

Could you file a bug so that I can make sure this works in the next release? http://bugs.archlinux.org

In the meantime, you could probably workaround it by adding PRE_UP="ifconfig eth0 up"

Offline

#4 2008-11-10 02:18:57

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: netcfg2 and bringing up ethernet interface by hand - ifconfig up

iphitus wrote:

Could you file a bug so that I can make sure this works in the next release? http://bugs.archlinux.org

In the meantime, you could probably workaround it by adding PRE_UP="ifconfig eth0 up"

I have filed a bug report and attached rc.conf and the associated network profile:
http://bugs.archlinux.org/task/12069


I don't know if you need any info about my system... It's basically a Thinkpad X60s... all Intel stuff in there...


Hope it helps! smile

Offline

Board footer

Powered by FluxBB