Po čisté instalaci nejde wifi

Založil Levin, 26. 10. 2016, 15:58:32

Předchozí téma - Další téma

Levin

Ahoj,

nově jsem si udělal čistou instalaci a nejde mi wifi. Wifi se normálně připojí na mou síť, ale poté se již nelze připojit k internetu, hází to chybu k načtení stránky.
Internet mi funguje pokud jsem připojený kabelem a WIFI mám zaplou, nechápu vůbec proč. Kabel navíc při tomto stavu hlásí stav Nespárováno. Níže dávám výpis.

schraja@HP:~$ dmesg | grep Wireless
[    3.350372] input: HP Wireless hotkeys as /devices/virtual/input/input11
[    3.391789] Intel(R) Wireless WiFi driver for Linux, in-tree:


schraja@HP:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
23:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)
23:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
23:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
24:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)


Díky za pomoc.

Petr Krčmář

To může být skoro cokoliv. Dej sem výpis

$ ip a
$ ip rou
$ cat /etc/resolv.conf
$ ping 8.8.8.8

Levin

Všechny příkazy:

schraja@HP:~$ ip a
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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether a0:d3:c1:99:bf:16 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.100/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::a2d3:c1ff:fe99:bf16/64 scope link
       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 a4:4e:31:ca:d5:c4 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.102/24 brd 192.168.0.255 scope global dynamic wlan0
       valid_lft 5418sec preferred_lft 5418sec
    inet6 fe80::a64e:31ff:feca:d5c4/64 scope link
       valid_lft forever preferred_lft forever
5: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 3a:71:de:b4:c2:65 brd ff:ff:ff:ff:ff:ff
schraja@HP:~$


schraja@HP:~$ ip rou
default via 192.168.0.1 dev eth0
default via 192.168.0.1 dev wlan0  proto static  metric 1024
192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.102
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.100


schraja@HP:~$ cat /etc/resolv.conf
nameserver 192.168.0.1


schraja@HP:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=53 time=2.26 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=53 time=2.15 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=53 time=2.10 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=53 time=3.33 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=53 time=1.96 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 1.960/2.362/3.336/0.500 ms

Petr Krčmář

A v jakém to je stavu? Tohle vypadá, že je to připojené zároveň drátem i Wi-Fi a hlavně že to zrovna funguje. Potřebujeme vidět nefunkční stav při připojení na Wi-Fi.

Levin

JJ, bylo zapnuto obojí.

Tady dávám výpis jen se zaplou WiFi.

schraja@HP:~$ ip a
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
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether a0:d3:c1:99:bf:16 brd ff:ff:ff:ff:ff:ff
    inet 169.254.8.139/16 brd 169.254.255.255 scope link eth0:avahi
       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 a4:4e:31:ca:d5:c4 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.102/24 brd 192.168.0.255 scope global dynamic wlan0
       valid_lft 6951sec preferred_lft 6951sec
    inet6 fe80::a64e:31ff:feca:d5c4/64 scope link
       valid_lft forever preferred_lft forever
4: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 3a:71:de:b4:c2:65 brd ff:ff:ff:ff:ff:ff


schraja@HP:~$ ip rou
default dev eth0  scope link  metric 1002
default via 192.168.0.1 dev wlan0  proto static  metric 1024
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.8.139
169.254.0.0/16 dev wlan0  scope link  metric 1000
192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.102



schraja@HP:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.0.1


schraja@HP:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 169.254.8.139 icmp_seq=1 Destination Host Unreachable
From 169.254.8.139 icmp_seq=2 Destination Host Unreachable
From 169.254.8.139 icmp_seq=3 Destination Host Unreachable
From 169.254.8.139 icmp_seq=4 Destination Host Unreachable
From 169.254.8.139 icmp_seq=5 Destination Host Unreachable
From 169.254.8.139 icmp_seq=6 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6021ms
pipe 3

Brano Dohoda

#5
Ak môžem poprosiť hod tu výpis.

cat /etc/network/interfaces
cat /etc/NetworkManager/NetworkManager.conf
Debian 11 "bullseye" released + KDE Plasma
- - - - - - - - - - - - - - - - - - - - - - - -
[diakritika off]
- - - - - - - - - - - - - - - - - - - - - - - -
* CPU: Intel i3-8130U 2.2GHz Turbo Boost 3.4GHz
* GPU: Intel UHD620 + Nvidia MX130 2GB VRam
* RAM: DDR4 12GB @ 2133MHz

Levin

Výpis předchozích dvou příkazů jen při zaplé wifi.

# 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

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

Brano Dohoda

na začiatok riadkov daj znak #
sudo nano /etc/network/interfaces
# allow-hotplug eth0
# iface eth0 inet dhcp


a v tomto druhom zmeň false na true.
sudo nano /etc/NetworkManager/NetworkManager.conf
managed=true

V termináli potom dáš uložiť CTRL+X a potom písmenko Y ako yes. Reštart PC a skus potom budeš mohol managovat siete vypínať a zapínať.
Debian 11 "bullseye" released + KDE Plasma
- - - - - - - - - - - - - - - - - - - - - - - -
[diakritika off]
- - - - - - - - - - - - - - - - - - - - - - - -
* CPU: Intel i3-8130U 2.2GHz Turbo Boost 3.4GHz
* GPU: Intel UHD620 + Nvidia MX130 2GB VRam
* RAM: DDR4 12GB @ 2133MHz

Levin

Díky, tímto se to vyřešilo.

Brano Dohoda

Nemáš začo, sme radi že sme mohli pomôcť...  8)
Debian 11 "bullseye" released + KDE Plasma
- - - - - - - - - - - - - - - - - - - - - - - -
[diakritika off]
- - - - - - - - - - - - - - - - - - - - - - - -
* CPU: Intel i3-8130U 2.2GHz Turbo Boost 3.4GHz
* GPU: Intel UHD620 + Nvidia MX130 2GB VRam
* RAM: DDR4 12GB @ 2133MHz