You are not logged in.

#1 2011-08-08 14:28:04

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

[Solved]Can't use netcfg after upgrade

After a recent pacman -Syu (don't exactly recall what was upgraded I'm afraid) my desktop network will no longer start at boot using network-profiles.  I get the following error:

Error: an inet prefix is expected rather than "gateway".

I tried uninstalling and reinstalling netcfg in case the example scripts had changed - which they had. They added a commented out "routes" option. There was also a commented out section for ipv6

Apart from that, however, it seems the same.

I'm also getting a similar problem with the wireless on my laptop - i.e. a config error message that wasn't there before - but I'm hoping that solving this will give me clues as to how to solve that.

I can get my network working using the old school rc.conf approach, but I'd rather not as this always throws up the deprecated warning.

Any ideas why this isn't working?

Last edited by phunni (2011-08-09 09:51:18)

Offline

#2 2011-08-08 14:30:14

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Solved]Can't use netcfg after upgrade

HAve you merged the rc.conf with the rc.conf.pacnew that you would have gotten after the said upgrade?

Always pay attention to the pacman output and also read the announcements : http://www.archlinux.org/news/changes-t … cklisting/
http://www.archlinux.org/news/deprecation-of-net-tools/

http://www.archlinux.org/news/netcfg-266-release/


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-08-08 14:32:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved]Can't use netcfg after upgrade


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-08-08 15:01:44

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: [Solved]Can't use netcfg after upgrade

Inxsible wrote:

HAve you merged the rc.conf with the rc.conf.pacnew that you would have gotten after the said upgrade?

My apologies - I have now and that has fixed it.  I will learn from this mistake :-)

Offline

#5 2011-08-09 09:19:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]Can't use netcfg after upgrade

Please mark as solved.

Offline

Board footer

Powered by FluxBB