Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

fedora27 rpi3 64bit, setting regdomain and DHCP lease renewal Problems

Hello, I have installed fedora 27 64bit minimal on rpi3.

I needed to install additionally ntp (dnf install ntp) and langpack de (dnf install glibc-langpack-de)

One of the problems I have is setting the regdomain to AT so that I can join my wifi on channel 13.

  1. I tried to set via iw reg set AT but it doesn't change; reading it back with iw reg get returns global country 00: DFS-UNSET and scanning for wifi networks returns a couple of nearby wlans but not mine witch is on channel 13...
  2. I tried via setting options for the cfg80211 kernel module (this is how it works when using 32bit raspbian). I was able to set the parameter via /etc/modprobe.d/cfg80211.conf and read back via cat /sys/module/cfg80211/parameters/ieee80211_regdom but iw reg get returns still DFS-UNSET and my wlan is still not in the WIFI list...

The other is even more important: dhcp lease renewal leads to an unstable networking connection:

journalctl -u NetworkManager.service

shows:

-- Reboot --
Feb 12 10:52:37 ogi-it-rpi NetworkManager[605]: <info>  [1518429157.3924] device (wlan0): set-hw-addr: set MAC address to 4A:91:C4:1C:7F:8F (scanning)
Feb 12 10:52:37 ogi-it-rpi NetworkManager[605]: <info>  [1518429157.4386] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 10:52:37 ogi-it-rpi NetworkManager[605]: <info>  [1518429157.4393] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 10:57:53 ogi-it-rpi NetworkManager[605]: <info>  [1518429473.4126] device (wlan0): set-hw-addr: set MAC address to 7E:20:63:4B:7C:E3 (scanning)
Feb 12 10:57:53 ogi-it-rpi NetworkManager[605]: <info>  [1518429473.4682] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 10:57:53 ogi-it-rpi NetworkManager[605]: <info>  [1518429473.4692] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:03:09 ogi-it-rpi NetworkManager[605]: <info>  [1518429789.4103] device (wlan0): set-hw-addr: set MAC address to A6:1D:E1:5D:9C:CF (scanning)
Feb 12 11:03:09 ogi-it-rpi NetworkManager[605]: <info>  [1518429789.4577] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:03:09 ogi-it-rpi NetworkManager[605]: <info>  [1518429789.4590] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:08:25 ogi-it-rpi NetworkManager[605]: <info>  [1518430105.4099] device (wlan0): set-hw-addr: set MAC address to F2:AB:E6:0D:4A:98 (scanning)
Feb 12 11:08:25 ogi-it-rpi NetworkManager[605]: <info>  [1518430105.4557] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:08:25 ogi-it-rpi NetworkManager[605]: <info>  [1518430105.4570] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:13:41 ogi-it-rpi NetworkManager[605]: <info>  [1518430421.4109] device (wlan0): set-hw-addr: set MAC address to 0E:9C:B3:E4:66:BC (scanning)
Feb 12 11:13:41 ogi-it-rpi NetworkManager[605]: <info>  [1518430421.4500] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:13:41 ogi-it-rpi NetworkManager[605]: <info>  [1518430421.4509] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:18:57 ogi-it-rpi NetworkManager[605]: <info>  [1518430737.4210] device (wlan0): set-hw-addr: set MAC address to 52:00:E2:C2:7C:BC (scanning)
Feb 12 11:18:57 ogi-it-rpi NetworkManager[605]: <info>  [1518430737.4769] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:18:57 ogi-it-rpi NetworkManager[605]: <info>  [1518430737.4781] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:24:13 ogi-it-rpi NetworkManager[605]: <info>  [1518431053.3997] device (wlan0): set-hw-addr: set MAC address to 8A:FE:82:D9:60:E1 (scanning)
Feb 12 11:24:13 ogi-it-rpi NetworkManager[605]: <info>  [1518431053.4531] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:24:13 ogi-it-rpi NetworkManager[605]: <info>  [1518431053.4543] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:29:29 ogi-it-rpi NetworkManager[605]: <info>  [1518431369.3898] device (wlan0): set-hw-addr: set MAC address to D2:AF:71:5A:41:9D (scanning)
Feb 12 11:29:29 ogi-it-rpi NetworkManager[605]: <info>  [1518431369.4320] device (wlan0): supplicant interface state: inactive -> disconnected
Feb 12 11:29:29 ogi-it-rpi NetworkManager[605]: <info>  [1518431369.4331] device (wlan0): supplicant interface state: disconnected -> inactive
Feb 12 11:34:45 ogi-it-rpi NetworkManager[605]: <info>  [1518431685.4119] device (wlan0): set-hw-addr: set MAC address to 4A:97:01:6C:FE:0E (scanning)
Feb 12 11:34:45 ogi-it-rpi NetworkManager[605]: <info>  [1518431685.4575] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:34:45 ogi-it-rpi NetworkManager[605]: <info>  [1518431685.4583] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 11:36:59 ogi-it-rpi NetworkManager[605]: <info>  [1518431819.3470] dhcp4 (eth0): state changed bound -> expire
Feb 12 11:36:59 ogi-it-rpi NetworkManager[605]: <info>  [1518431819.4132] dhcp4 (eth0): canceled DHCP transaction, DHCP client pid 758
Feb 12 11:36:59 ogi-it-rpi NetworkManager[605]: <info>  [1518431819.4134] dhcp4 (eth0): state changed expire -> done
Feb 12 11:36:59 ogi-it-rpi NetworkManager[605]: <info>  [1518431819.4147] device (eth0): scheduling DHCPv4 restart in 120 seconds, 3 tries left (reason: lease expired)
Feb 12 11:38:59 ogi-it-rpi NetworkManager[605]: <info>  [1518431939.8253] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
Feb 12 11:38:59 ogi-it-rpi NetworkManager[605]: <info>  [1518431939.8383] dhcp4 (eth0): dhclient started with pid 18959
Feb 12 11:38:59 ogi-it-rpi dhclient[18959]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x9ca0a360)
Feb 12 11:39:06 ogi-it-rpi dhclient[18959]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x9ca0a360)
Feb 12 11:39:07 ogi-it-rpi dhclient[18959]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x9ca0a360)
Feb 12 11:39:07 ogi-it-rpi dhclient[18959]: DHCPOFFER from 192.168.6.1
Feb 12 11:39:07 ogi-it-rpi dhclient[18959]: DHCPACK from 192.168.6.1 (xid=0x9ca0a360)
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9502] dhcp4 (eth0):   address 192.168.6.20
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9504] dhcp4 (eth0):   plen 24 (255.255.255.0)
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9505] dhcp4 (eth0):   gateway 192.168.6.1
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9506] dhcp4 (eth0):   lease time 7200
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9507] dhcp4 (eth0):   nameserver '192.168.6.1'
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9508] dhcp4 (eth0):   domain name 'level1.ogi-it.com'
Feb 12 11:39:07 ogi-it-rpi NetworkManager[605]: <info>  [1518431947.9509] dhcp4 (eth0): state changed unknown -> bound
Feb 12 11:39:07 ogi-it-rpi dhclient[18959]: bound to 192.168.6.20 -- renewal in 2910 seconds.
Feb 12 11:40:01 ogi-it-rpi NetworkManager[605]: <info>  [1518432001.3901] device (wlan0): set-hw-addr: set MAC address to 52:5F:BF:BC:57:B4 (scanning)
Feb 12 11:40:01 ogi-it-rpi NetworkManager[605]: <info>  [1518432001.4313] device (wlan0): supplicant interface state: inactive -> disconnected
Feb 12 11:40:01 ogi-it-rpi NetworkManager[605]: <info>  [1518432001.4325] device (wlan0): supplicant interface state: disconnected -> inactive
Feb 12 11:45:17 ogi-it-rpi NetworkManager[605]: <info>  [1518432317.3899] device (wlan0): set-hw-addr: set MAC address to 86:1D:EC:F6:39:99 (scanning)
Feb 12 11:45:17 ogi-it-rpi NetworkManager[605]: <info>  [1518432317.4333] device (wlan0): supplicant interface state: inactive -> disconnected
Feb 12 11:45:17 ogi-it-rpi NetworkManager[605]: <info>  [1518432317.4345] device (wlan0): supplicant interface state: disconnected -> inactive
Feb 12 11:50:33 ogi-it-rpi NetworkManager[605]: <info>  [1518432633.3899] device (wlan0): set-hw-addr: set MAC address to 7A:04:E2:DF:6C:F2 (scanning)
Feb 12 11:50:33 ogi-it-rpi NetworkManager[605]: <info>  [1518432633.4370] device (wlan0): supplicant interface state: inactive -> disconnected
Feb 12 11:50:33 ogi-it-rpi NetworkManager[605]: <info>  [1518432633.4381] device (wlan0): supplicant interface state: disconnected -> inactive
Feb 12 11:55:49 ogi-it-rpi NetworkManager[605]: <info>  [1518432949.3805] device (wlan0): set-hw-addr: set MAC address to 16:4D:D6:AD:EE:05 (scanning)
Feb 12 11:55:49 ogi-it-rpi NetworkManager[605]: <info>  [1518432949.4330] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 11:55:49 ogi-it-rpi NetworkManager[605]: <info>  [1518432949.4343] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 12:01:05 ogi-it-rpi NetworkManager[605]: <info>  [1518433265.4098] device (wlan0): set-hw-addr: set MAC address to 1E:29:41:9E:44:A4 (scanning)
Feb 12 12:01:05 ogi-it-rpi NetworkManager[605]: <info>  [1518433265.4558] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 12:01:05 ogi-it-rpi NetworkManager[605]: <info>  [1518433265.4571] device (wlan0): supplicant interface state: disabled -> inactive
Feb 12 12:06:21 ogi-it-rpi NetworkManager[605]: <info>  [1518433581.4098] device (wlan0): set-hw-addr: set MAC address to FE:B3:93:D1:03:FF (scanning)
Feb 12 12:06:21 ogi-it-rpi NetworkManager[605]: <info>  [1518433581.4512] device (wlan0): supplicant interface state: inactive -> disabled
Feb 12 12:06:21 ogi-it-rpi NetworkManager[605]: <info>  [1518433581.4526] device (wlan0): supplicant interface state: disabled -> inactive
lines 5718-5790/5790 (END)

as you can see at 11:36:59 the IP is set to expire and instead of refreshing the existing lease it is terminated and a new one requiered (after some timeout) and this leads to a new ip address and network connection interruption...

Any ideas on these problems?

Thanks a lot

Ognian