Skip to content

How Arch Linux makes me smarter

So I am in my holiday and I cannot for the life of me figure out how to connect to the totally-not-protected free wifi network.

Whenever I try to do something like "wifi-menu" it would fail with the message: "Could not read interface p2p-dev-wlp3s0 flags: No such device"

Great, now that is not super helpful. More googling I found out that the device (ip link) was already busy with a servie that was started by systemctl on bootup, my home network service. I disabled it and rebooted. Still I have issues connecting, this time it will tell me: "IPv4 error: WPA authentification failed." But my netctl file had security=none and the network is non-trusted.

I went and checked with systemctl status -l and saw that there is a wpa_supplicant-service still running. Disabled that one and started the netctl service. Now my internet works! (I am using it right now)

Now what I learned is:

  • Network resources/devices can be busy by a single daemon/script and will not react at all to other connection requests
  • A global wpa_supplicant service will be active for all SSIDs for that specific devie (in my case wlp3s0), even when they have no security.
  • Linux doesn't differ whether a resources is already in use or it's "broken", it will simply return that it cannot reach it.

So once again thanks for everbody keeping Arch alive. You make me smarter! :)

(Not posting this to get points, posting this in case it may help other users)

0 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
4iweb3

Author

54
posts
926
comments
23
media
View profile

3 comments

If you ran Ubuntu with NetworkManager, or even Windows, you wouldn't have to do any of that shit just to connect to the internet. Some might argue that's the smartest option instead of spending time on your holiday fucking around with Linux.

10 points

NetworkManager is rather immature compared to netctl. It may work for simpler configurations, but more advanced configurations are simply better controlled from netctl. "How can that be?" Well for starters, like Apple MAC OSX/Windows, Ubuntu favors the crowd that "I want to do everything with my mouse if I can". It takes much more time to click through all those different dialogs but lots of people like that kind of thing. Click, click, click barbabrubuntutrick.

Contrary to your suggestion, ArchLinux has a simpler way which AnachronGuy discovered...NETCTL. If you take the time to look at it carefully, you configure mostly everything within one text file found within /etc/netctl/. That's if you don't mind typing in a terrifying text editor rather than using a mouse.

Finally, if you are suggesting he uses a different desktop by jumping to another distro, he can get that desktop environment up and installed alongside his other preferred desktop to try it out WITHIN ARCHLINUX. BUT THERE IS NO SIGNIFICANT MOTIVATION TO CHANGE DESKTOP ENVIRONMENTS in AnachronGuy's case. He just wants more control over his network configuration and he definitely has the right tool now with netctl. With that said however, IMHO GNOME is best and not UNITY nor UBUNTU TOUCH. I know gnome likes NetworkManager, but there is no necessity for it and it may be disabled. NetworkManager is disabled for me.

1 points

Sorry, but you DOING THIS with your words is VERY DISTRACTING and, actually, you APPEAR TO BE DOING IT AT RANDOM, so I DIDN'T READ whatever it was you're SAYING.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.