You are not logged in.

#26 2013-01-18 13:45:19

DarkCerberus
Banned
From: Holsworthy, Devon
Registered: 2011-12-31
Posts: 252

Re: New network naming schema in systemd 197

For those who previously used eth0 for network access - you should use the following commandline

 systemctl enable dhcpcd.service 

This should solve your connection problems as it did on my system.

Note: Don't use the dhcpcd@eth0.service commandline since this messes it up - I know since I've tried it on my system, the one above which I've mentioned first solves the problem for eth0.

Last edited by DarkCerberus (2013-01-18 13:46:10)


Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago.  ---  Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way

Offline

#27 2013-01-19 14:14:11

ashmikuz
Member
Registered: 2013-01-07
Posts: 6

Re: New network naming schema in systemd 197

I am on a new dell inspirion 15r. I managed to boot arch in uefi mode, all works well. The only problem is that the network interfaces have weird names, this does not prevent them to work, but it's sill annoying for me having to remember weird strings.
This is the output I get from lspci|grep -i net:

07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 07)
08:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)

And these are the network interfaces i get from ip link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether e0:db:55:d6:82:4f brd ff:ff:ff:ff:ff:ff
3: wlp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
    link/ether 60:36:dd:5b:a2:70 brd ff:ff:ff:ff:ff:ff

I read online that maybe udev configuration is the answer to my problem, but couldn't manage to understand that i'm supposed to do. Any help will be apreciated...

Last edited by ashmikuz (2013-01-19 16:05:17)

Offline

#28 2013-01-19 14:21:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,654
Website

Re: New network naming schema in systemd 197

https://mailman.archlinux.org/pipermail … 24223.html

Someone should edit the wiki... perhaps I will.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#29 2013-01-19 16:04:55

ashmikuz
Member
Registered: 2013-01-07
Posts: 6

Re: New network naming schema in systemd 197

Thanks! Followed the instructions from the mailing list and linked the rule to /dev/null while keeping a backup...

Offline

#30 2013-01-19 16:27:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,654
Website

Re: New network naming schema in systemd 197

Hmm... you shouldn't need a link to /dev/null although that does work. All you need to do is add the following to /etc/udev/rules.d/80-net-name-slot.rules

# This file masks persistent renaming rules for network devices. If you
# delete this file, /usr/lib/udev/rules.d/80-net-name-slot.rules may
# rename network devices according to ID_NET_NAME_{ONBOARD,SLOT,PATH}
# properties of your network devices, with priority in that order. See
# the output of 'udevadm test-builtin net_id /sys/class/net/$interface'
# for details on what that new name might be.
# 
# http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames

Last edited by graysky (2013-01-19 16:27:30)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#31 2013-01-19 17:56:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: New network naming schema in systemd 197

Merging with the stickied thread on this...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#32 2013-01-21 03:20:32

adeligen
Member
Registered: 2012-09-26
Posts: 21

Re: New network naming schema in systemd 197

I have just re-installed Arch on my ThinkPad e430. I've had no with networking before, everything has just worked out of the box. However, I'm having trouble with eth0 and wlan0 being started on boot. If I run "ifconfig" after startup, all that is shown is lo. Running "wifi-menu" brings up the message "No such interface: wlan0". Doing some googling, I've found running the command "ip link set wlp3s0 up" brings up my wifi-card, and I can proceed to get a connection using netcfg, etc. Why isn't it recognising this as just wlan0 on boot, and is there any downside (other that it being annoying) to this workaround? Below is the output of "lspci | grep -i net"

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 07)

Offline

#33 2013-01-21 03:39:12

Chocapeek
Member
Registered: 2012-08-30
Posts: 15

Re: New network naming schema in systemd 197

Are you following the wiki's Wireless Setup guide?
Check if the module iwlwifi is loaded:

 lsmod | grep iwlwifi

With that feedback from lspci i'd say it isn't.
Possible problems: you're missing udev or linux-firmware.

Again, Arch's wiki is just awesome and if it's not working, you should try looking into it again.
Good luck.

Offline

#34 2013-01-21 03:54:35

jwatte
Member
Registered: 2012-06-22
Posts: 58

Re: New network naming schema in systemd 197

Note that the thread on the mailing list suggests that I can give it my own name:

2) provide your own udev rule that applies a NAME to the interface. As
   long as this rule is ordered lexically before 80-net-name-slot.rules,
   then the upstream rule will have no effect. For example, providing a
   file called 70-net-naming.rules will trump 80-net-name-slot.rules.

https://mailman.archlinux.org/pipermail … 24231.html

I put this in a rule called 20-network.rules in /etc/udev/rules.d, but the system complained that names of kernel devices cannot be changed, and the naming did not take effect.
The rule I had was:

ATTR{idVendor}=="xxxx", ATTR{idProduct}=="xxxx", NAME:="wlan_my"

For the USB vendor/product of my USB wifi adapter.

Also, admin suggested that "most users will have read the mailing list..." -- that's probably not true :-) Most users use computers to get sh*t done, not to use it for its own sake. I use Arch because it is a rolling release distro that's not as annoying as Gentoo. I do not have time for a verbose mailing list in my life; I expect my computer to keep working!

Also, admin suggested that users would have read the output of the update, and taken action. Sometimes, when you update, there are more lines of text than there is scrollback buffer on the console, and even if there isn't, amid all the non-essential spam written from a monthly pacman -Syu, do you really think most users will find some particular line? I don't.

Offline

#35 2013-01-21 04:17:19

adeligen
Member
Registered: 2012-09-26
Posts: 21

Re: New network naming schema in systemd 197

Sorry, this is a bit outside my knowledge of Linux. Looking through that, and other, pages on the Wiki, I seem to have all the network tools I need installed.
Booting from the Arch 2012.12.01 ISO, everything works out-of-the-box. Is there a command I could run to see which drivers have been loaded to compare to my install?

$ lsmod | grep iwlwifi

iwlwifi               125182  1 iwldvm
cfg80211              177109  3 iwlwifi,mac80211,iwldvm

Offline

#36 2013-01-21 04:27:17

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: New network naming schema in systemd 197

It is all about the systemd update.

https://bbs.archlinux.org/viewtopic.php?id=156283

http://www.freedesktop.org/wiki/Softwar … rfaceNames

The 2012.12 ISO still uses the 'old' naming. Right after the install with the updated systemd you have to use
the 'new' naming in your configuration before reboot.

Last edited by henk (2013-01-21 04:32:01)

Offline

#37 2013-01-21 04:36:40

adeligen
Member
Registered: 2012-09-26
Posts: 21

Re: New network naming schema in systemd 197

henk wrote:

It is all about the systemd update.

https://bbs.archlinux.org/viewtopic.php?id=156283

http://www.freedesktop.org/wiki/Softwar … rfaceNames

The 2012.12 ISO still uses the 'old' naming. Right after the install with the updated systemd you have to use
the 'new' naming in your configuration before reboot.

Seems like it always is about systemd! tongue Thanks for the info! I'll update my system/configs accordingly.

Offline

#38 2013-01-21 06:09:10

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,578

Re: New network naming schema in systemd 197

jwatte wrote:

Also, admin suggested that users would have read the output of the update, and taken action. Sometimes, when you update, there are more lines of text than there is scrollback buffer on the console, and even if there isn't, amid all the non-essential spam written from a monthly pacman -Syu, do you really think most users will find some particular line? I don't.

Then you could just open /var/log/pacman.log with your favourite text editor

Offline

#39 2013-01-21 06:18:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: New network naming schema in systemd 197

Merging with the mega thread...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#40 2013-01-21 10:58:22

quazza
Member
Registered: 2009-03-20
Posts: 12

Re: New network naming schema in systemd 197

Hi,

I did a fresh install of 2013 Arch install via USB on my acer aspire one, I setup wifi with no issue using wifi-menu without the need to install any firmware and then choosing my accesspoint etc, completed the rest of the install and rebooted.

Once the system came back up I logged in as root tried to ping google and get unknown host,

lspci | grep net - reveals the network adapter

iwconfig - lists no wireless extensions

I am slightly confused at this stage as to why wireless is working during the install but not upon reboot, I have also rebooted into the install media again and wifi is working with no issues.

Any help would be very much appreciated.

Cheers

Quazza

Offline

#41 2013-01-21 11:02:03

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: New network naming schema in systemd 197

There has been a name change from wlan0 after the systemd 197 update

see this thread https://bbs.archlinux.org/viewtopic.php?id=156283 for details

please use the forums search function before posting


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#42 2013-01-21 11:17:53

quazza
Member
Registered: 2009-03-20
Posts: 12

Re: New network naming schema in systemd 197

HungGarTiger wrote:

There has been a name change from wlan0 after the systemd 197 update

see this thread https://bbs.archlinux.org/viewtopic.php?id=156283 for details

please use the forums search function before posting

Mate your a legend and sorry if my search didn't bring that one up but the problem is now fixed,

Please mark  As SOLVED


Cheers

Quazza

Last edited by quazza (2013-01-21 11:29:28)

Offline

#43 2013-01-21 12:23:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: New network naming schema in systemd 197

You mark your own threads as solved by editting your first post and changing the title.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#44 2013-01-21 17:17:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: New network naming schema in systemd 197

Merging with the stickied thread...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#45 2013-01-21 19:30:55

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

Re: New network naming schema in systemd 197

I have installed net-tools and try to enable my wifi but i get this error.

Offline

#46 2013-01-21 19:41:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: New network naming schema in systemd 197

Merging with the main thread: read back through it and choose your option for the new systemd network naming schema


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#47 2013-01-21 19:41:36

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

Re: New network naming schema in systemd 197

maybe because the systemd new naming. But how i should instead configure netcfg?

Offline

#48 2013-01-21 19:43:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: New network naming schema in systemd 197

netcfg has a wiki page: please read it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#49 2013-01-21 21:01:56

Dustbin
Member
From: The Netherlands
Registered: 2011-12-07
Posts: 124

Re: New network naming schema in systemd 197

Hiya,

After a full system update, my network manager (NetworkManager with nm-applet) doesn't show any wireless options anymore:

oiyh5.png

When I choose 'Edit connections' it does show up and I can edit it to connect automatically, but it doesn't work, even after a reboot...

2s94yfp.png

I've searched high and low on the forums, but nobody seems to have this problem...

Can anyone help?


If the Matrix was real, it would run on Arch...

Offline

#50 2013-01-21 21:05:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: New network naming schema in systemd 197

Did you read the post-upgrade message for systemd 197?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB