You are not logged in.

#1 2013-06-09 21:12:02

arobson73
Member
From: uk
Registered: 2013-01-19
Posts: 34

lost netcfg after todays upgrade

previously to start my wifi i have always run wifi-menu command. someonehow i seem to have lost it after upgrading today. i only have a wifi connection on this computer. it seems if i install netcfg from aur it has dependencies so tricky to install it (without a wifi). i have a spare computer im using now to write this forum post that is fully working.
is there a way to get my wifi connection going again, or will i need to install each of those dependencies manually ?
i would have though net tools would be part of base system , maybe i deleted it ?

Offline

#2 2013-06-09 21:14:23

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

Re: lost netcfg after todays upgrade

Offline

#3 2013-06-09 21:14:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

If you have wpa_supplicant and dhcpcd (or dhclient) then you can simply connect manually to fix things.  The wireless wiki page can walk you through this.

For the future, you should keep an alternative means of connecting on your computer.  I'm not very faithful to my network management system, so I actually keep connman-git, networkmanager, wicd, and netctl on my computer.

Offline

#4 2013-06-09 21:52:30

arobson73
Member
From: uk
Registered: 2013-01-19
Posts: 34

Re: lost netcfg after todays upgrade

karol, i don't have a connection so cannot install this netctl.

i tried
ip link set wlp6s4 up
ip link show dev wlp6s4

gives mtu 500 qdisc mq state DOWN mode DEFAULT qlen 1000

dhcpd wlp6s4

gives version starting
wlp6s4 : waiting for carrier
timed out

Offline

#5 2013-06-09 21:56:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

The interface is still down after you tried to up it up.  It it being blocked by rfkill or something?  Also, simply running dhcpcd on the interface without associating with a network is surely not going to work.  Did you try to read the manual connection instructions on the arch wiki like I mentioned above? 

Also, when you include comand output into a post, you need to use code tags

Offline

#6 2013-06-09 22:00:15

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

Re: lost netcfg after todays upgrade

You obviously are connecting to the internet in some way as you're posting on this forum, so maybe you can download netctl and its dependencies and move them to the other computer.

The link was meant as an explanation of what happened, why netcfg disappeared.

Offline

#7 2013-06-09 23:15:11

arobson73
Member
From: uk
Registered: 2013-01-19
Posts: 34

Re: lost netcfg after todays upgrade

im using
https://wiki.archlinux.org/index.php/Ne … figuration
Manual connection at boot using systemd
i created the file network.service, but it just fails.
with hardly any useful info. (code exited with status 255).

karol, all those other files have dependencies themselves.

is there a program i can download (full source and build) outside of the repos that will enable an internet connection. once i have that the i can use repos to recover.??

Offline

#8 2013-06-10 00:16:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

So are you trying to use your "network.service" at the same time as netctl?  If that is the case, it is not surprising that it is failing.

Offline

#9 2013-06-10 00:55:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: lost netcfg after todays upgrade

Try https://wiki.archlinux.org/index.php/Be … e#Wireless instead. I think the wiki page on configuring the connection manually is missing essential steps. (It may work fine for a wired connection but I don't see how it can possibly work for wireless. Then again, I've never actually tried to follow it so I could be missing something.) The Beginners' Guide describes two methods of associating. One uses netctl. You will obviously want to move on to the alternative.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2013-06-10 01:37:58

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

I see you are using netcfg and not netctl... I didn't notice that earlier.  Netcfg is no longer in the repos and has been replaced by netctl.  This was also in the news, which you should read from time to time.

Offline

#11 2013-06-10 01:42:43

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

Re: lost netcfg after todays upgrade

WonderWoofy wrote:

Netcfg is no longer in the repos and has been replaced by netctl.  This was also in the news, which you should read from time to time.

I already told him that :-)
https://bbs.archlinux.org/viewtopic.php … 9#p1285789

Offline

#12 2013-06-10 08:34:07

arobson73
Member
From: uk
Registered: 2013-01-19
Posts: 34

Re: lost netcfg after todays upgrade

i do not have either netctl or netcfg. can you just answer facts instead of jumping to conclusions. 
i might try this network manager since that can be downloaded as complete package outside of the repo via my laptop to usb stick.

cfr, yeah i think you might be right

Offline

#13 2013-06-10 13:37:15

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

I am not understanding why you cannot conntect manually with wps_supplicant and dhcpcd.  Are missing those packages as well?  Installing networkmanager by downloading the package sounds like a terrible idea, as you will then have to manually download all the deps as well.  I'm not sure how you think netctl comes... it too is a package, but it is a collection of scripts, which make its dependencies much much less.

Offline

#14 2013-06-10 19:44:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: lost netcfg after todays upgrade

The problem, I think, is the instructions. The network configuration page misses out the step which associates with a particular network i.e. it goes straight from bringing the interface up to requesting an ip address. That's why I suggested the Beginners' Guide which includes the association step in its description of the "alternative" connection strategy.

Perhaps I've misread the network configuration wiki but, even if I have, I think the Beginners' Guide offers clear instructions and may be easier to follow.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#15 2013-06-10 20:36:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

@cfr, that is because you are looking at the "network configuration" page, for wireless you need to look at the "wireless" page (and then scroll past all the vendor specific crap that should really have its own page).  There you will find correct instructions for association and what have you.

Offline

#16 2013-06-10 21:18:41

arobson73
Member
From: uk
Registered: 2013-01-19
Posts: 34

Re: lost netcfg after todays upgrade

oh well , got it working. i installed netctl manually, which was not too bad in the end, just 3 packages.
pacman -U to install them.
i then read the netctl stuff, created a profile, but could not get it to start at all from

sudo netctl start profile

so then i looked at beginners guide and this suggested to do

sudo ip link set wlp6s4 up
sudo wifi-menu wlp6s4

that brought it up.

Last edited by arobson73 (2013-06-10 21:22:27)

Offline

#17 2013-06-10 22:43:32

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: lost netcfg after todays upgrade

WonderWoofy wrote:

@cfr, that is because you are looking at the "network configuration" page, for wireless you need to look at the "wireless" page (and then scroll past all the vendor specific crap that should really have its own page).  There you will find correct instructions for association and what have you.

Aha. That makes sense. I just followed the link the OP referred to.

Even so, the OP was still following instructions with a missing step, given that the OP was using wireless. Even if those instructions work fine for, and are intended to be used with, wired.

But you are right that I was confused by it so thanks for pointing that out.

EDIT: Do you think the Network Configuration page should include a note to the effect that it doesn't cover wireless networking? After all, a wireless network is still a network.

Last edited by cfr (2013-06-10 22:46:29)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#18 2013-06-10 23:02:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: lost netcfg after todays upgrade

A note might indeed be a handy thing for new users. I think that it is just assumed that most people would understand that there is going to be obvious additional steps involved in connecting to wireless, but after reading all kinds of posts around here concerning wireless, I am starting to think that this is actually not common knowledge. 

I think maybe something towards the beginning (or at the beginning) of the network configuration wiki page that states that the instructions are specific to wired network connectivity and wireless users should go to the wireless page.

Offline

#19 2013-06-11 00:16:05

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: lost netcfg after todays upgrade

It seemed fairly clear to me something was missing - I just didn't realise it was intentional. (And I knew the Beginners' Guide covered it so I looked there.) But to be fair "network configuration" does typically include wireless and there is mention of wireless on that page e.g. wired with fallback to wireless etc. Apart from anything else, it would make things quicker to find i.e. even if it is obvious this isn't right for wireless, you have to read through some of the page to realise that.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB