Hi.
I am using Debian 4.9.130-2 over a laptop I would have though that ip a output would show the wired interface, whether or not it is plugged, since the card seem to be on board(see dmidecode). All the command I will show will be running while not being plugged to the port (USB or Ethernet)
dmidecode:
Code:
root@poirot:/usr/lib/NetworkManager# dmidecode -t baseboard
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: X751MA
Version: 1.0
Serial Number: BSN12345678901234567
Asset Tag: ATN12345678901234567
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: MIDDLE
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Handle 0x0008, DMI type 10, 10 bytes
On Board Device 1 Information
Type: Video
Status: Enabled
Description: VGA
On Board Device 2 Information
Type: Ethernet
Status: Enabled
Description: GLAN
On Board Device 3 Information
Type: Ethernet
Status: Enabled
Description: WLAN
ip a:
Code:
root@poirot:/usr/lib/NetworkManager# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 30:52:cb:05:62:28 brd ff:ff:ff:ff:ff:ff
inet 192.168.43.118/24 brd 192.168.43.255 scope global dynamic wlp2s0
valid_lft 2278sec preferred_lft 2278sec
inet6 fe80::9aaa:efa5:bd68:b09b/64 scope link
valid_lft forever preferred_lft forever
Here is lspci -k output:
Code:
lspci -k
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Kernel driver in use: i915
Kernel modules: i915
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor E3800 Series SATA AHCI Controller
Kernel driver in use: ahci
Kernel modules: ahci
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Power Control Unit
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
Subsystem: ASUSTeK Computer Inc. Atom Processor E3800 Series SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
Subsystem: Lite-On Communications Inc RTL8723BE PCIe Wireless Network Adapter
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
Should'nt it contain the Ethernet port hardware?
Here is the lshw in case you need it:
Code:
root@poirot:/usr/lib/NetworkManager# lshw -c Network
*-network
description: Interface réseau sans fil
produit: RTL8723BE PCIe Wireless Network Adapter
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:02:00.0
nom logique: wlp2s0
version: 00
numéro de série: 30:52:cb:05:62:28
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8723be driverversion=4.9.0-8-amd64 firmware=N/A ip=192.168.43.118 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:18 portE/S:e000(taille=256) mémoire:d0600000-d0603fff
As I said, I thought the interface should show up (but not running) even when not plugged in.
I first thought it could be because of the allow-hotplug in etc/network/interfaces:
see
https://lists.debian.org/debian-doc/.../msg00010.html
Then, I thoudht I may be a problem of conflict betwen nm and ifupdown. I tried to let NetWorkManager do all the work:
My current interfaces file:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
#auto eth0
# allow-hotplug eth0
# iface eth0 inet dhcp
My current NM configuration file:
Code:
cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dhcp=dhclient
dns=dnsmasq
[ifupdown]
managed=false
My Net-Work manager version is 1.6.2.
I would like to be sure, is that normal that I can't see my Ethernet interface except when it work?(when plugged with USB adapter). If it's normal, do you have any idea to fix the problem?
When I am pluging-in an ethernet cable in the ethernet port directly, nothing happens. Nothing is logged in journalctl.
When I use a USB adaptor, everything work as expected instantly and automatically (journalctl shows the plug event, interface show up and is running, net works perfectly).
I have no ethernet modem in my apartment. So it could take sometimes before I can run commands while the cable is being plugged.
Thanks for your time, and sorry for my English,
Have a nice day.