Benvingudes i benvinguts al portal Linkat

La Linkat és la distribució educativa de GNU/Linux que ha iniciat i ofereix el Departament d'Educació a la comunitat educativa. Es tracta d'un projecte de programari lliure que permet als centres educatius, però també a tota la societat, tenir accés de forma legal, gratuïta i amb suport tècnic professional, a un conjunt molt ampli d'aplicacions: educatives, d'ofimàtica, d'Internet, multimèdia...

Problema amb Ethernet  Final

  • Faig servir Ubuntu 18.04 i cada vegada que faig una aturada temporal, en tornar entrar, perdo connexió a Internet. He mirat a algun forum extern, però no me'n surto. Algú s'ha trobat amb aquest problema? Em podeu ajudar, ja que cal reiniciar i es torna molt feixuc. Merci!
  • Hola,

    Quan tornis a iniciar sessió, prova de seleccionar un altre cop la xarxa on vols connectar des de la icona del Network Manager que es troba al costat del rellotge.

    Salut.

    Projecte Linkat
  • Hola,

    Pots passar la sortida de l'ordre:

    Code

    lspci


    És per veure quin hardware tens.

    :)


    Joan de Gracia
  • 00:00.0 Host bridge: Intel Corporation Intel Kaby Lake Host Bridge (rev 05)
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
    00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
    00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
    00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
    00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
    00:1c.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #6 (rev f1)
    00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
    00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
    00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
    00:1d.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #10 (rev f1)
    00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
    00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
    00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
    00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
    01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
  • Hola,

    Al llistat que ens has proporcionat no sóc capaç de veure l'adaptador wifi. Es tracta d'un portàtil o d'una estació de sobretaula? La connexió és només per ethernet o bé per wifi?

    Gràcies


    Joan de Gracia
  • Salutacions, Joan. Es tracta d'un PC de sobretaula, amb conncexió només per cable.
    Si et calen altres dades, ja em diràs.
    Mersi.
  • Hola,


    He trobat aquesta pàgina:

    https://askubun…-after-suspend

    Proposa dues solucions:

    1- Fer servir el kernel 4.13. Pel que diuen el problema que reportes és exclusiu del kernel 4.15 (no passa amb el 4.13).

    2- Fer servir la recepta següent:

    Code

    This happened to me as well with a Gigabyte-B250M-DS3H motherboard after upgrading from Ubuntu 16.04 to 18.04 on July 28, 2018. The kernel is 4.15.0-29-generic.

    The result of sudo lshw  -C network showed RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller, while it showed that r8169 is the driver used.

    What finally worked was installing the driver specific to the Ethernet controller (big surprise):

    sudo apt install r8168-dkms

    and then restarting the computer (Thanks andypotter). I did not have to blacklist r8169, but I did still have to create a script in /lib/systemd/system-sleep/ that I called r8168-refresh-after-suspend(a la Paulo's advice) that would remove and reinsert r8168:

    #!/bin/bash

    # is the state (pre or post)
    # is the action (suspend)

    case / in
    pre/suspend)
      modprobe -r r8168
    ;;
    post/suspend)
      modprobe -i r8168
    ;;
    esac

    and, of course, make it executable with:

    sudo chmod +x /lib/systemd/system-sleep/r8168-refresh-after-suspend

    This worked like a charm. So, this is still an issue in the 4.15.0-29 kernel, but the band-aid fix still works.



    A veure si et serveix i ja ens diràs quina solució has acabat aplicant.


    Sort,

    Joan
  • 0 usuaris

Aquesta llista mostra els usuaris actius durant els darrers 20 minuts.