Skip to content

u/UselessBread

In this archive from Aug 2012 to Jan 2020

2
posts
44
comments
1
media
505
score

Does it only say:

eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000

Because there should be a wireless interface as well.

Are you even using Arch Linux? Because you should have a name like enp3s0 or something instead of eth0 in that case.

And please just run and post journalctl -xu netctl@eduroam.service (Or systemctl status netctl@eduroam.service should probably be enough), I don't believe that your log is empty, so maybe you just missed the relevant bits (the -u only gives you the stuff from the netctl@eduroam.service unit, so we would find it with that command).

Maybe it says something like The interface (wlan0) is already in use, maybe it says Profile 'eduroam' does not exist or is not readable?

Also, where is your netctl profile? /etc/netctl?

1 points

Output of journalctl -xu netctl@eduroam.service and ip link would be appreciated.

Did you create a netctl profile? Because it doesn't sound like it. There is a package in the AUR that will provide a sample configuration, but in case you don't want that, I'll give you what's in there:

Connection='wireless'
Interface=<NETWORK INTERFACE> # ex: wlp3s0
Security='wpa-configsection'
Description="eduroam network"
IP='dhcp'
TimeoutWPA=30
WPAConfigSection=(
    'ssid="eduroam"'
    'key_mgmt=WPA-EAP'
    'eap=TTLS'
    'proto=WPA2'
    'phase2="auth=PAP"'
    'anonymous_identity="anonymous@<UNIVERSITY>.<TLD>"' # ex: tu-dresden.de
    'identity="<ID>@<UNIVERSITY>.<TLD>"' # ex: s4234381@tu-dresden.de
    'ca_cert="/usr/share/ca-certificates/trust-source/mozilla.trust.crt"'
    'password="<YOUR-SECRET>"'
)

plop that (with your user data) into /etc/netctl/ with a name like wlan0-eduroam

Oh I forgot to mention that you should then start that profile.

netctl list

will give you a list of profiles and

netctl start [profile-name]

will start a profile

If you want systemd to control that you can then

systemctl enable --now netctl@[profile-name].service
2 points

Nooo, prepend big blocks of code with four spaces

Description='something'
Interface=wlan0
Connection=wireless
Security='wpa_config'
WPAConfigFile='/etc/wpa_supplicant/wpa_supplicant.conf'
IP=dhcp
ESSID=eduroam

because if you use the backticks everything gets cramed into a single line:

network={ ssid="eduroam" key_mgmt=WPA-EAP pairwise=CCMP group=CCMP eap=PEAP proto=WPA RSN ca_cert="/etc/wpa_supplicant/ca.pem" identity="something" anonymous_identity="something" domain_suffix_match="something" phase2="auth=MASCHAPV2" password="something" }

And here with four spaces before each line:

network={
ssid="eduroam"
key_mgmt=WPA-EAP
pairwise=CCMP
group=CCMP
eap=PEAP
proto=WPA RSN
ca_cert="/etc/wpa_supplicant/ca.pem"
identity="something"
anonymous_identity="something"
domain_suffix_match="something"
phase2="auth=MASCHAPV2"
password="something"
}

Use backtick for inline code like pacman -S abs And quadruple spaces for code blocks.

The greater than sign > is used for quotes.
For instance

As for text blocks

3 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.