You are not logged in.
Pages: 1
Hi guys,
having a little newbie troubles here with my network interfaces.
I managed to install the wifi driver and get my wired connection to work
[peter@antartica ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether 00:25:bc:de:dc:42 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 1000
link/ether 00:25:00:4c:e2:96 brd ff:ff:ff:ff:ff:ffNext, i renamed enp0s10 to net01 and wlp3s0 to wifi01 with
# ifrename -i enp0s10 -n net01
Then set net01 to dhcp with
# dhcpcd net01
Ok fine, it get's the ip address, I'm online, yay!
BUT: When i reboot, net01 is again enp0s10, it's down and i have to do the procedure to set it up with ip link, gather dhcp and rename it all over again.
Completly the same thing for wlp3s0(aka wifi0). Works just fine with wicd but when i reboot i have to modprobe the wl module again, set it up with ip link and so on.
Is there any trick to tell arch to do this on it's own?
Please be gentle, 24h Arch user here
Thanks guys.
Offline
No tricks, just basic configuration as described in the wiki.
Offline
Thanks.
But i followed the instructions on the wiki, created the config file /etc/iftab
# Match on MAC address
net0 mac 00:25:bc:de:dc:42
wifi0 mac 00:25:00:4c:e2:96did
# ifrename -c /etc/iftab
and enabbled dhcpcd
# systemctl enable dhcpcd@net0
But still, if i reboot the system, the network interfaces are back to enp0s10 && wlp3s0, also both interfaces are down by default.
Am i missing something?
Offline
Hey
i guess you have to run
ifrename -c /etc/iftabon every boot. You could create a systemd service.
Did you try the Udev Version?
Cheers
Paul
Offline
Why do you want to rename these in the first place? And if you are going to rename them, why not rename them to the old standard eth0 wlan0? Why "net01". In any case, you should use udev, not a service to run ifrename.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I didn't choose the standard names like eth0 because of this quote on the wiki:
Note: When choosing the static names it should be avoided to use names in the format of "ethX" and "wlanX", because this may lead to race conditions between the kernel and udev during boot. Instead, it is better to use interface names that are not used by the kernel as default, e.g.: net0, net1, wifi0, wifi1. For further details please see the systemd documentation.
Anyway, thank you two, i'll give udev a try
Offline
Pages: 1