[Risolto]Blocco della rete dopo sospensione con Ubuntu 16.10
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
[Risolto]Blocco della rete dopo sospensione con Ubuntu 16.10
Sono da poco entrato nel mondo Linux e ho istallato su un HP EliteBook 6930p Ubunto 16.10.
Tutto bene fino a qualche giorno fa quando il pc è andato in sospensione per un paio d'ore e al suo risveglio è sparita l'icona in alto a destra della rete wifi e non si collega più ad internet ne via wifi ne via cavo.
Seguendo le indicazioni nei vari post dei forum ho visto che:
con il comando: ' sudo lshw -c network' la risposta è
*-network DISABLED
description: Ethernet interface
poi ci sono le descrizioni della scheda
*-network DISABLED
description: Wireless interface
poi ci sono le descrizioni della scheda
con il comando: ' sudo rfkill list' la risposta è
1: phy0: Wireless LAN
Soft bloched: no
hard blocked: no
2: hp-wifi: Wireless LAN
Soft bloched: no
hard blocked: no
il Bluetooth sembra ok
ho provato a digitare 'iwconfig' e la risposta è stata:
lo no wireless extensions
.....
enp0s25 no wireless extensions
network-manager non funziona e non riesco ad istallarlo.
Potete suggerirmi cosa fare ??
Grazie
- magozurlinux
- Accecante Asceta
- Messaggi: 24913
- Iscrizione: mercoledì 17 marzo 2010, 17:44
- Desktop: ubuntu
- Distribuzione: Ubuntu 22.04.3 LTS x86_64
- Sesso: Maschile
- Località: Pisa
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Da terminale postami questi comandi:
Codice: Seleziona tutto
lspci -nn | grep -i net
Codice: Seleziona tutto
sudo ifconfig -a
Codice: Seleziona tutto
iwconfig
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
sb@HP:~$ lspci -nn | grep -i net
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
02:00.0 Network controller [0280]: Intel Corporation Ultimate N WiFi Link 5300 [8086:4236]
sb@HP:~$ sudo ifconfig -a
[sudo] password di sb:
enp0s25: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 78:e7:d1:02:33:95 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
device interrupt 22 memory 0xd8800000-d8820000
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 1 (Loopback locale)
RX packets 25168 bytes 1515120 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25168 bytes 1515120 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wls1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:21:6a:8d:fd:8c 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
sb@HP:~$ iwconfig
enp0s25 no wireless extensions.
lo no wireless extensions.
wls1 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
- thece
- Tenace Tecnocrate
- Messaggi: 12949
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Un paio di cose:
- come avrai già sicuramente visto in giro per il Forum, per rendere più comprensibile la discussione dovresti formattare correttamente sia i comandi, sia i relativi output racchiudendoli tra i tag [ code ] ... [ /code ] (scritti senza spazi) in modo da ottenere qualcosa del genere
Codice: Seleziona tutto
COMANDO
...
OUTPUT
Sei invitato a modificare il tuo precedente post.
- quando ti viene richiesto di postare un output riportalo integralmente. Quello che a te potrebbe sembrare irrilevante magari per chi ti sta aiutando non lo è
Hai le schede di rete disabilitate. Prova a riabilitarle con i comandi
Codice: Seleziona tutto
sudo ifconfig enp0s25 up
Codice: Seleziona tutto
sudo ifconfig wls1 up
Codice: Seleziona tutto
ifconfig
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
provo ad eseguire quanto mi hai detto...... iniziando da questo
Codice: Seleziona tutto
sb@HP:~$ sudo ifconfig enp0s25 up
[sudo] password di sb:
[code]sb@HP:~$ sudo ifconfig wls1 up
[code]sb@HP:~$ ifconfig
enp0s25: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 78:e7:d1:02:33:95 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
device interrupt 22 memory 0xd8800000-d8820000
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 1 (Loopback locale)
RX packets 36780 bytes 2211840 (2.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 36780 bytes 2211840 (2.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wls1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:21:6a:8d:fd:8c 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
Spero sia come richiesto..... contrariamente dimmi dove devo modificare.
Provvedo per il precedente !! abbi un po' di pazienza ma imparo veloce
Grazie attendo vostre news
- thece
- Tenace Tecnocrate
- Messaggi: 12949
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Non esagerare. Nessuno è nato " imparato "Stefano_71 [url=http://forum.ubuntu-it.org/viewtopic.php?p=4974978#p4974978][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: grazie e scusa la mia incompetenza
Entrambe le schede di rete sono nuovamente abilitate. Prova a ricollegarti alle tue reti come fai di solito
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
sb@HP:~$ sudo lshw -c network
[sudo] password di sb:
*-network
description: Ethernet interface
product: 82567LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 03
serial: 78:e7:d1:02:33:95
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=1.8-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:32 memory:d8800000-d881ffff memory:d8824000-d8824fff ioport:70e0(size=32)
*-network
description: Wireless interface
product: Ultimate N WiFi Link 5300
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wls1
version: 00
serial: 00:21:6a:8d:fd:8c
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-46-generic firmware=8.83.5.1 build 33692 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:31 memory:d8600000-d8601fff
sb@HP:~$ sudo rfkill list
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
6: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
e l'output è cambiato .
Ma il risultato è sempre il solito non vedo le due frecce in alto a destra che indicano wifi e il pc non si collega ad internet
- thece
- Tenace Tecnocrate
- Messaggi: 12949
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Prova a riavviare Network ManagerStefano_71 [url=http://forum.ubuntu-it.org/viewtopic.php?p=4974984#p4974984][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: Ma il risultato è sempre il solito non vedo le due frecce in alto a destra che indicano wifi e il pc non si collega ad internet
Codice: Seleziona tutto
sudo /etc/init.d/network-manager restart
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
sb@HP:~$ sudo /etc/init.d/network-manager restart
[sudo] password di sb:
- thece
- Tenace Tecnocrate
- Messaggi: 12949
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
- thece
- Tenace Tecnocrate
- Messaggi: 12949
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
lshw -c network
Codice: Seleziona tutto
ifconfig
Codice: Seleziona tutto
rfkill list all
Codice: Seleziona tutto
dmesg | egrep 'enp0s25|e1000e|wls1|iwlwifi|cfg80211|mac80211'
Codice: Seleziona tutto
lsmod | egrep 'e1000e|iwlwifi|cfg80211|mac80211'
- magozurlinux
- Accecante Asceta
- Messaggi: 24913
- Iscrizione: mercoledì 17 marzo 2010, 17:44
- Desktop: ubuntu
- Distribuzione: Ubuntu 22.04.3 LTS x86_64
- Sesso: Maschile
- Località: Pisa
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
sudo systemctl start NetworkManager.service
Codice: Seleziona tutto
dmesg | grep iwlwifi
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Allora dopo un giorno che il pc è stato spento al (ri)avvio ho nuovamente le schede disabilitate. Questo è:
Codice: Seleziona tutto
sb@HP:~$ lshw -c network
WARNING: you should run this program as super-user.
*-network DISABLED
description: Ethernet interface
product: 82567LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 03
serial: 78:e7:d1:02:33:95
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=1.8-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:28 memory:d8800000-d881ffff memory:d8824000-d8824fff ioport:70e0(size=32)
*-network DISABLED
description: Wireless interface
product: Ultimate N WiFi Link 5300
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wls1
version: 00
serial: 00:21:6a:8d:fd:8c
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-46-generic firmware=8.83.5.1 build 33692 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:31 memory:d8600000-d8601fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
sb@HP:~$ ifconfig
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 1 (Loopback locale)
RX packets 4476 bytes 273040 (273.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4476 bytes 273040 (273.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sb@HP:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
sb@HP:~$ dmesg | egrep 'enp0s25|e1000e|wls1|iwlwifi|cfg80211|mac80211'
[ 3.826629] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 3.826631] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 3.826925] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 4.017523] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 78:e7:d1:02:33:95
[ 4.017524] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 4.017550] e1000e 0000:00:19.0 eth0: MAC: 7, PHY: 8, PBA No: 1052FF-0FF
[ 4.018489] e1000e 0000:00:19.0 enp0s25: renamed from eth0
[ 20.931499] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 21.521683] iwlwifi 0000:02:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
[ 21.870812] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 21.870814] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 21.870815] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 21.870816] iwlwifi 0000:02:00.0: Detected Intel(R) Ultimate N WiFi Link 5300 AGN, REV=0x24
[ 21.872039] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[ 25.619827] iwlwifi 0000:02:00.0 wls1: renamed from wlan0
sb@HP:~$ lsmod | egrep 'enp0s25|e1000e|wls1|iwlwifi|cfg80211|mac80211'
mac80211 757760 1 iwldvm
iwlwifi 229376 1 iwldvm
cfg80211 581632 3 iwlwifi,mac80211,iwldvm
e1000e 249856 0
ptp 20480 1 e1000e
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
- magozurlinux
- Accecante Asceta
- Messaggi: 24913
- Iscrizione: mercoledì 17 marzo 2010, 17:44
- Desktop: ubuntu
- Distribuzione: Ubuntu 22.04.3 LTS x86_64
- Sesso: Maschile
- Località: Pisa
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
dmesg | grep e1000e
Codice: Seleziona tutto
dmesg | grep iwlwifi
Codice: Seleziona tutto
sudo ifconfig -a
Codice: Seleziona tutto
iwconfig
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
ti posto quanto mi hai richiesto...
Codice: Seleziona tutto
sb@HP:~$ dmesg | grep e1000e
[ 3.826629] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 3.826631] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 3.826925] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 4.017523] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 78:e7:d1:02:33:95
[ 4.017524] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 4.017550] e1000e 0000:00:19.0 eth0: MAC: 7, PHY: 8, PBA No: 1052FF-0FF
[ 4.018489] e1000e 0000:00:19.0 enp0s25: renamed from eth0
sb@HP:~$ dmesg | grep iwlwifi
[ 20.931499] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 21.521683] iwlwifi 0000:02:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
[ 21.870812] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 21.870814] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 21.870815] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 21.870816] iwlwifi 0000:02:00.0: Detected Intel(R) Ultimate N WiFi Link 5300 AGN, REV=0x24
[ 21.872039] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[ 25.619827] iwlwifi 0000:02:00.0 wls1: renamed from wlan0
sb@HP:~$ sudo ifconfig -a
[sudo] password di sb:
enp0s25: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 78:e7:d1:02:33:95 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
device interrupt 22 memory 0xd8800000-d8820000
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 1 (Loopback locale)
RX packets 25508 bytes 1534960 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25508 bytes 1534960 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wls1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:21:6a:8d:fd:8c 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
sb@HP:~$ iwconfig
lo no wireless extensions.
wls1 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
enp0s25 no wireless extensions.
- magozurlinux
- Accecante Asceta
- Messaggi: 24913
- Iscrizione: mercoledì 17 marzo 2010, 17:44
- Desktop: ubuntu
- Distribuzione: Ubuntu 22.04.3 LTS x86_64
- Sesso: Maschile
- Località: Pisa
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
da terminale dai questo comando, va dato una volta sola:
Codice: Seleziona tutto
echo options iwlwifi 11n_disable=1 | sudo tee /etc/modprobe.d/iwlwifi.conf
- Stefano_71
- Prode Principiante
- Messaggi: 16
- Iscrizione: sabato 15 aprile 2017, 10:28
- Sesso: Maschile
Re: Blocco della rete dopo sospensione PC con Ubuntu 16.10
Codice: Seleziona tutto
sb@HP:~$ echo options iwlwifi 11n_disable=1 | sudo tee /etc/modprobe.d/iwlwifi .conf
[sudo] password di sb:
options iwlwifi 11n_disable=1
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 16 ospiti