stefaniobrunhara
(usa CentOS)
Enviado em 12/08/2016 - 22:07h
instalei o drive
yum --enablerepo=elrepo install kmod-3c59x
Tentei
# insmod 3c59x.ko
insmod: ERROR: could not load module 3c59x.ko: No such file or directory
# insmod 3c59x
insmod: ERROR: could not load module 3c59x: No such file or directory
Ai forcei passando o path de onde esta o drive
insmod /usr/lib/modules/3.10.0-327.22.2.el7.x86_64/weak-updates/3c59x/3c59x.ko
então o drive subiu
# lsmod |grep 3c5
3c59x 52892 0
mii 13934 2 3c59x,r8169
Veja tenho 3 placas
# lspci |grep -i eth
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 01)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
02:02.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
[root@localhost stf]# ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.253 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::21c:c0ff:fe0d:26cc prefixlen 64 scopeid 0x20<link>
ether 00:1c:c0:0d:26:cc txqueuelen 1000 (Ethernet)
RX packets 1576209 bytes 127511735 (121.6 MiB)
RX errors 0 dropped 29006 overruns 0 frame 0
TX packets 2171211 bytes 3244187168 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp2s1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.253 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:1a:3f:4e:8d:9f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Loopback Local)
RX packets 5816 bytes 318854 (311.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5816 bytes 318854 (311.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Duas subiram a 3 não, ai tentei.
# ifconfig enp2s2 10.10.1.1
SIOCSIFADDR: Dispositivo inexistente
enp2s2: ERROR while getting interface flags: Dispositivo inexistente
# ifconfig enp1s2 10.10.1.1
SIOCSIFADDR: Dispositivo inexistente
enp1s2: ERROR while getting interface flags: Dispositivo inexistente
# ifconfig enp3s2 10.10.1.1
SIOCSIFADDR: Dispositivo inexistente
enp3s2: ERROR while getting interface flags: Dispositivo inexistente
# ifconfig enp3s1 10.10.1.1
SIOCSIFADDR: Dispositivo inexistente
enp3s1: ERROR while getting interface flags: Dispositivo inexistente
# ifconfig enp2s2 10.10.1.1
SIOCSIFADDR: Dispositivo inexistente
enp2s2: ERROR while getting interface flags: Dispositivo inexistente
Tem que ter em algum lugar o nome que será dado a placa