Forum › Forums › Orphaned Posts › antiX-17 “Heather Heyer, Helen Keller” › eth0 eth1 name swap
- This topic has 9 replies, 5 voices, and was last updated Apr 17-3:50 pm by fungalnet.
-
AuthorPosts
-
January 22, 2019 at 5:17 am #17170Member
roland
ver 17, fully updated on an ACER travelmate. Why does boot try to swap the names for eth0 and eth1? When a name exists it can’t swap them so network connexion then fails. Easily fixed with Ceni but why? I find Ceni very useful to fix network connection problems and Wicd almost useless, I can rarely even see the list of networks detected. Any comments? What am I doing wrong?
January 22, 2019 at 6:41 am #17180Anonymous
January 23, 2019 at 4:57 pm #17301Member
roland
::guess you “moved” with the first installation
Not sure what you mean by your question.
This is a first installation of Heather Heyer on this laptop, overwriting Berta Catheres 16.3 to try and fix boot hangs. Not entirely successful but better.
I am in an area of Madrid with many visible networks, 2 available to me with passwords. eth0 is wireless interface, eth1 cabled ethernet and not used. Sometimes on boot I see a message advising the names have been swapped unsuccessfully, name already exists. Usually the default network is then not connected automatically, I have to do it manually with Ceni.
This is not a problem really, more a curiosity. I know very little of networking, just enough to get by.
January 23, 2019 at 5:34 pm #17302Forum Admin
BitJam
::ver 17, fully updated on an ACER travelmate. Why does boot try to swap the names for eth0 and eth1?
There is supposed to be a file with a name like /etc/udev/rules.d/70-persistent-net.rules which keeps your network names consistent across boots. Is that file there? It *might* have been moved to somewhere under /lib/. I think this file is created and updated by 80-persistent-net-generator.rules.
Context is worth 80 IQ points -- Alan Kay
February 2, 2019 at 1:44 am #18378Member
roland
::Yes such a file does exist and appears to contain presets referring to eth0 and eth1.
Now that ver 17 has stabilised on this laptop many problems seem to gave gone away or occur only very infrequently such as a one I reported with both ver 16 and 17 concerning boot hangs.
However I have to remark that Berta Caceres 16.3 is still my preferred release.
February 2, 2019 at 2:28 am #18382Anonymous
::I can very well imagine that you are having problems with …
… Wicd almost useless, I can rarely even see the list of networks detected.
Your interfaces are messed up (or your statements) — that’s your problem.
computer@computer ~ $ ifconfig eth0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00 UP BROADCAST MULTICAST MTU:1500 Metrik:1 RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0 TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B) Interrupt:17 Speicher:d4400000-d4420000 lo Link encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:65536 Metrik:1 RX-Pakete:4622 Fehler:0 Verloren:0 Überläufe:0 Fenster:0 TX-Pakete:4622 Fehler:0 Verloren:0 Überläufe:0 Träger:0 Kollisionen:0 Sendewarteschlangenlänge:1 RX-Bytes:345950 (345.9 KB) TX-Bytes:345950 (345.9 KB) wlan0 Link encap:Ethernet Hardware Adresse 11:11:11:11:11:11 inet Adresse:192.168.4.99 Bcast:192.168.4.255 Maske:255.255.255.0 inet6-Adresse: fe20::5e66:11ef:efc2:bc66/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX-Pakete:89271 Fehler:0 Verloren:0 Überläufe:0 Fenster:0 TX-Pakete:18278 Fehler:0 Verloren:0 Überläufe:0 Träger:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX-Bytes:30624371 (30.6 MB) TX-Bytes:2934999 (2.9 MB)You can’t have
eth0 is wireless interface, eth1 cabled ethernet
as ‘eth0′ stands for ‘ethernet, the 1st interface’ (== 0; counting starts always with 0, NOT with 1!).
And so:
eth0 is always the 1st Ethernet card in your PC, eth1 is the 2nd and so on.
wlan0 is the 1st WLAN card on your computer, wlan1 is the 2nd and so on.
February 2, 2019 at 2:21 pm #18394Member
roland
::Yes I think you are right. How do I un-mess them up? These names were generated by the install procedure
which I did from a CD. I noticed a Wlan0 which is not used as far as I can see although I tried to make it do so without success. It insists on eth0 for wired and eth1 for wireless.April 15, 2019 at 4:37 am #20498Member
fungalnet
::this is old and unsolved?
# ifconfig eth1 down # ifconfig wlan0 up # dhcpcd wlan0then configure wpa_supplicant
The wifi connection is with an onboard wifi card or is it like a cable connection to a separate wifi modem/repeater thing?
For eth1 to be configured (misconfigured) the system sees it as a second cable connection. If it is an onboard wifi card is there available firmware for it? How about non-free misc-firmware (It has been a while and I am on Obarun now, no access to antix, as the mirrors have failed I gave up).- This reply was modified 4 years ago by fungalnet.
anti-X - Adélie - obarun - systemd Free Space
April 16, 2019 at 11:23 am #20525Member
roland
::Thanks for that info about ifconfig, very helpful, now I understand something about what is going on and can resolve the kind of problems I have been getting.
April 17, 2019 at 3:50 pm #20545Member
fungalnet
::I don’t use wicd or connman or network manager, I always use dhcpcd and it is 100% reliable, light, and fast.
I am glad to have helped, it is a rare occasion that I can 🙂anti-X - Adélie - obarun - systemd Free Space
-
AuthorPosts
- You must be logged in to reply to this topic.