|
sudo lspci -knn|grep Eth* 02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364] (rev 12) 05:04.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
sudo lsusb Bus 007 Device 003: ID 1c4f:0003 SiGma Micro HID controller Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
sudo nmcli dev list|grep eth GENERAL.DEVICE: eth2 GENERAL.TYPE: 802-3-ethernet GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1e.0/0000:05:04.0/net/eth2 GENERAL.IP-IFACE: eth2 CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 226544c9-6fc1-ece7-546d-3ee32748889b | Ifupdown (eth2) GENERAL.DEVICE: eth1 GENERAL.TYPE: 802-3-ethernet GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/eth1
sudo nmcli nm RUNNING STATE WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running connected enabled enabled enabled disabled
sudo ifconfig -a eth1 Link encap:Ethernet HWaddr 00:1d:60:00:a8:44 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17
eth2 Link encap:Ethernet HWaddr 00:1d:60:02:80:11 inet addr:192.168.16.102 Bcast:192.168.16.255 Mask:255.255.255.0 inet6 addr: fe80::21d:60ff:fe02:80c6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4580 errors:0 dropped:0 overruns:0 frame:0 TX packets:3981 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3049603 (3.0 MB) TX bytes:731450 (731.4 KB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1758 errors:0 dropped:0 overruns:0 frame:0 TX packets:1758 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:173255 (173.2 KB) TX bytes:173255 (173.2 KB)
wlan1 Link encap:Ethernet HWaddr 00:15:af:28:7b:11 inet addr:192.168.16.107 Bcast:192.168.16.255 Mask:255.255.255.0 inet6 addr: fe80::215:afff:fe28:7b0f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:563 errors:0 dropped:0 overruns:0 frame:0 TX packets:73 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:49516 (49.5 KB) TX bytes:12433 (12.4 KB)
sudo route -nv Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.16.1 0.0.0.0 UG 0 0 0 eth2 192.168.16.0 0.0.0.0 255.255.255.0 U 1 0 0 eth2 192.168.16.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan1
sudo cat /etc/udev/rules.d/70-persistent-net.rules # This file maintains persistent names for network interfaces. # See udev(7) for syntax. # # Entries are automatically added by the 75-persistent-net-generator.rules # file; however you are also free to add your own entries.
# PCI device 0x1969:0x1048 (atl1) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:8c:56:8a:11", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x11ab:0x1faa (ndiswrapper) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:5b:11:af:ce", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# PCI device 0x11ab:0x4364 (sky2) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1d:60:00:a8:11", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x10ec:0x8167 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1d:60:02:80:11", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# USB device 0x:0x (rtl8187) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:af:28:7b:11", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
sudo cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq
no-auto-default=00:1E:8C:56:8A:B9,
[ifupdown] managed=true
3.13.0-24-generic进不了,显示
|