Hallo,
ich habe ein Problem den internen WLAN-Adapter an die AVM Fritz!Box 7490 zu verbinden/anzumelden. Es wird aber rejected mit CTRL-EVENT-ASSOC-REJECT und CTRL-EVENT-SSID-TEMP-DISABLED.
Code
Sep 7 14:36:31 ubuntu-server-rpi3 wpa_supplicant[5132]:
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="fritz-ggaussling-home"
wlan0: Trying to associate with SSID 'fritz-mywlan-home'
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=38:10:d5:73:45:3a status_code=16
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="fritz-mywlan-home" auth_failures=33 duration=120 reason=CONN_FAILED
Mit wpa_cli oder wpa_supplicant komme ich auch nicht weiter. Eine alte funktionierende Konfiguration sieht nicht viel anders aus als unter Ubuntu-Server.
netplan /etc/netplan/50-cloud-init.yaml
Code
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
eth0:
dhcp4: true
optional: true
version: 2
wifis:
wlan0:
access-points:
"fritz-mywlan-home":
password: da1b722ac30cdaf372c237a4b63f45947e8f66cf71b50b3523c3fd2ba08c0203
dhcp4: true
dhcp6: false
optional: true
gateway4: 172.16.240.3
nameservers:
addresses: [172.16.240.3,8.8.8.8]
Display More
Ich habe wpa_passphrase zur Verschlüsselung genutzt, zusätzlich hier verändert.
Code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
p2p_disabled=1
network={
ssid="fritz-mywlan-home"
#psk="mein_Netzschlüssel_passwort"
psk=da1b722ac30cdaf372c237a4b63f45947e8f66cf71b50b3523c3fd2ba08c0203
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
# - Datei wpa_supplicant.conf in der Boot-Partition (Raspbian Stretch) -
# https://pi-buch.info/wlan-schon-vor-der-installation-konfigurieren/
# https://raspberrypi.stackexchange.com/questions/10251/prepare-sd-card-for-wifi-on-headless-pi
# Fritz!Box nutzt Kanal 6 (2,4 GHz)
# pairwise=CCMP TKIP
# group=CCMP TKIP WEP104 WEP40
priority=5
}
Display More
Code
ubuntu@ubuntu-server-rpi3:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
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 fq_codel state UP group default qlen 1000
link/ether b8:27:eb:b3:04:96 brd ff:ff:ff:ff:ff:ff
inet 172.16.240.41/24 brd 172.16.240.255 scope global dynamic eth0
valid_lft 863138sec preferred_lft 863138sec
inet6 2003:c9:ba27:feb3:ebff:2f4f:e700:496/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 7156sec preferred_lft 1756sec
inet6 fe80::ba27:ebff:feb3:496/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT group default qlen 1000
link/ether b8:27:eb:e6:51:c3 brd ff:ff:ff:ff:ff:ff
inet6 fe80::ba27:ebff:fee6:51c3/64 scope link
valid_lft forever preferred_lft forever
Display More
Die Mac-Adresse weicht ab.
Code
~$ sudo lshw -C network
*-usb:0
description: Ethernet interface
vendor: Microchip Technology, Inc. (formerly SMSC)
physical id: 1
bus info: usb@1:1.1.1
logical name: eth0
version: 3.00
serial: b8:27:eb:b3:04:96
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: usb-2.10 ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=lan78xx duplex=full ip=172.16.240.41 link=yes maxpower=2mA multicast=yes port=MII speed=1Gbit/s
*-network
description: Wireless interface
physical id: 2
logical name: wlan0
serial: b8:27:eb:e6:51:c3
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmfmac driverversion=7.45.202 firmware=01-72f6ece2 multicast=yes wireless=IEEE 802.11
Display More