Jack wrote:
>
> I'd suggest checking the wiki for network setup, but it's still down,
> and (of course) I can't currently find the URL for the status page. 
> General searching for "consistent network naming" or "persistent
> network naming" is also likely to find some helpful pages (among the
> not so helpful...)
>
> If you know the kernel module you use for ethernet (even if it's built
> in) you can search for that in dmesg.  For example, my dmesg includes
> "[   19.528285] r8169 0000:19:00.0 enp25s0: renamed from eth0"  If
> you're not sure, lspci can help: mine includes "19:00.0 Ethernet
> controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI
> Express Gigabit Ethernet Controller (rev 15)"  so you could find the
> PCI address for your network card and search for that in dmesg.  (19
> hex is 25 decimal to get the network name)


Yep, your info helped.  Oh, Gentoo wiki is up and that helped too.  I
was able to access the install docs and print it for reference.  Anyway,
I removed eudev, emerged udev and rebooted, since it names the devices
during boot up, I thought that made sense.  When I got booted up,
naturally the network didn't work.  To make it easy I just logged into
KDE.  In a Konsole I ran both ip a and ifconfig.  Both agreed the
network was named enp3s0.  I then simply renamed the old net.eth0 file
to net.enp3s0.  After that, it came up but it didn't know to use DHCP
but did try it as a last resort.  That will slow things down so I went
digging for the file, /etc/conf.d/net, and changed the name of the
network to the new deal.  Once all this was done, I ended up with this
and it trying DHCP first.


root@fireball / # dmesg | grep e1000
[    0.531129] pci 0000:06:00.0: reg 0x30: [mem 0xfe100000-0xfe13ffff pref]
[    0.531486] pci 0000:00:15.0:   bridge window [mem 0xfe100000-0xfe1fffff]
[    0.568155] pci 0000:00:15.0:   bridge window [mem 0xfe100000-0xfe1fffff]
[    0.569693] pci_bus 0000:06: resource 1 [mem 0xfe100000-0xfe1fffff]
[    0.814373] e1000: Intel(R) PRO/1000 Network Driver
[    0.814432] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.814510] e1000e: Intel(R) PRO/1000 Network Driver
[    0.814566] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.814775] e1000e 0000:03:00.0: Interrupt Throttling Rate (ints/sec)
set to dynamic conservative mode
[    0.901776] e1000e 0000:03:00.0 eth0: (PCI Express:2.5GT/s:Width x1)
68:05:ca:42:17:39
[    0.901855] e1000e 0000:03:00.0 eth0: Intel(R) PRO/1000 Network
Connection
[    0.901925] e1000e 0000:03:00.0 eth0: MAC: 3, PHY: 8, PBA No: E46981-008
[    9.795053] e1000e 0000:03:00.0 enp3s0: renamed from eth0
[  275.422120] e1000e 0000:03:00.0 enp3s0: NIC Link is Up 1000 Mbps Full
Duplex, Flow Control: Rx/Tx
root@fireball / # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
    link/ether 68:05:ca:42:17:39 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.100/24 brd 192.168.0.255 scope global dynamic
noprefixroute enp3s0
       valid_lft 7134sec preferred_lft 6234sec
    inet6 fe80::1eef:2ca0:c286:9eec/64 scope link
       valid_lft forever preferred_lft forever
3: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
default qlen 1000
    link/ether 94:de:80:cc:0c:39 brd ff:ff:ff:ff:ff:ff
    altname enp4s0
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
root@fireball / #


I'm mostly posting this just on the off chance someone else runs into
this and needs some guidance, I sure did.  o_O  Oh, don't forget to
remove the old network and add the new network to the default runlevel
as it should be. 

So, thanks Jack for the help.  The wiki coming up helped to but you got
me started by knowing what I should look for and where.  I think I could
have done this without the wiki and just the info you provided.  As a
bonus, I have the new network name. 

Dale

:-)  :-) 

Reply via email to