eth0: Link is down - a kabel wpięty

Masz problemy z siecią bądź internetem? Zapytaj tu
aeven43
Posty: 1
Rejestracja: 22 stycznia 2019, 22:03

eth0: Link is down - a kabel wpięty

Post autor: aeven43 »

Sprzęt to EeeBox B202 -mini pc na podzespołach laptopowych.

Problem jest taki że debian(8.11) nie może połączyć się z siecią na eth0. Niby jest wszystko dobrze, widzi kartę, sterowniki działają, a cały czas nie widzi wpiętego kabla w kartę sieciową. Jest tak jak był by kabel odłączony. Na switchu też nie pali się lampka. Ale jak uruchamiam ponownie komputer to podczas ładowania biosu lampka od switcha się zapala jak bym podłączył kabel. A gaśnie gdy uruchamia się linux. Na windowsie XP wszystko działa poprawnie. A kabel jest cały czas podłączony. WiFI działa dobrze.

Mi się już pomysły skończyły. Nie wiem co jest grane. Dodam że próbowałem jeszcze ubuntu i debiana 9 i jest identycznie.

uname -a

Kod: Zaznacz cały

Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.51-3 (2017-12-13) i686 GNU/Linux
cat /sys/class/net/eth0/carrier cat /sys/class/net/eth0/operstate

Kod: Zaznacz cały

down
cat /etc/network/interfaces

Kod: Zaznacz cały

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
        wpa-ssid home4
        wpa-psk xxxxxxx

auto eth0
iface eth0 inet dhcp
lspci

Kod: Zaznacz cały

00:00.0 Host bridge: Intel Corporation Mobile 945GSE Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 11)
02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
ip a show

Kod: Zaznacz cały

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    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
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:25:d3:84:72:8d brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.14/24 brd 10.0.0.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::225:d3ff:fe84:728d/64 scope link
       valid_lft forever preferred_lft forever
4: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:26:18:e7:4e:f7 brd ff:ff:ff:ff:ff:ff
lshw -C network

Kod: Zaznacz cały

*-network
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 01
       serial: 00:25:d3:84:72:8d
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.16.0-4-686-pae firmware=N/A ip=10.0.0.14 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:fbff0000-fbffffff
  *-network
       description: Ethernet interface
       product: JMC250 PCI Express Gigabit Ethernet Controller
       vendor: JMicron Technology Corp.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eth0
       version: 11
       serial: 00:26:18:e7:4e:f7
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msix msi bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=jme driverversion=1.0.8 duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:44 memory:fbefc000-fbefffff ioport:ec80(size=128) ioport:e800(size=256)
dmesg | grep -i 'jme\|eth'

Kod: Zaznacz cały

[    1.451165] jme: JMicron JMC2XX ethernet driver version 1.0.8
[    1.451284] jme 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[    1.455719] jme 0000:01:00.0 eth0: JMC250 Gigabit Ethernet chiprev:11 pcirev:11 macaddr:00:26:18:e7:4e:f7
[   21.879061] jme 0000:01:00.0: irq 44 for MSI/MSI-X
[   21.904597] jme 0000:01:00.0 eth0: Link is down
[   21.904738] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
ethtool eth0

Kod: Zaznacz cały

Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pg
        Wake-on: g
        Current message level: 0x000020c6 (8390)
                               probe link rx_err tx_err hw
        Link detected: no
lsmod | grep jme

Kod: Zaznacz cały

jme                    38993  0
mii                    12595  1 jme
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: eth0: Link is down - a kabel wpięty

Post autor: dedito »

Spróbuj wyłączyć autonegocjację prędkości linku i ustaw np. 100Mbps, full duplex (100baseT/Full)
ODPOWIEDZ