[opensuse] Wi-Fi dongle not getting IPv4 address
So I thought it was the RTL8812AU driver, but now I used a version tested by Linux Kamarada of this list (thanks!) and I am still having the problem. I have a new Wi-Fi dongle (5 GHz/2.4GHz, wlan1) as well as a PCI card (2.4 only, which is why I want to use the new dongle; wlan0). I configure both with wicked in yast. Unfortunately, while the new dongle appears to connect to the wireless network, it fails to get an IPv4 address and no communication happens. After ifdown wlan1 and ifup wlan1 , I see "setup-in-progress". The only stuff added in dmesg at ifup wlan1: [ 1525.360875] cfg80211: Regulatory domain changed to country: GB [ 1525.360878] cfg80211: DFS Master region: ETSI [ 1525.360878] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 1525.360882] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 1525.360884] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 1525.360886] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 1525.360887] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s) [ 1525.360889] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) iwconfig and ifconfig outputs, which show the problem: # iwconfig wlan1 wlan1 IEEE 802.11abgn ESSID:"Ramendik_44_5Ghz" Mode:Managed Frequency:5.18 GHz Access Point: 70:50:AF:CC:3B:05 Bit Rate=867 Mb/s Tx-Power=12 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=36/70 Signal level=-74 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 # ifconfig wlan1 wlan1 Link encap:Ethernet HWaddr 00:0F:00:37:B8:6D inet6 addr: fe80::20f:ff:fe37:b86d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:871 errors:0 dropped:670 overruns:0 frame:0 TX packets:72 errors:0 dropped:78 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:81082 (79.1 Kb) TX bytes:11537 (11.2 Kb) When I look into the admin interface of the router, I actually see this device listed under the IPv6 address. But normal communication is IPv4 and that does not work. I tried to set "DHCP version 4 only" for this interface in yast, this does not change anything. Unfortunately, the router does not let me disable its "Enable IPv6 DHCP server" setting. This is also not some incompatibility of the router with Linux. A laptop that runs Fedora (with the iwlwifi driver for its built-in WLAN) connects to the same 5GHz network just fine. So how do I make wlan1 use IPv4 as normal? And are there any other logs I should look at? Of course this is a new dongle ordered from China, so there is a chance of a hardware failure. But this looks like a strange kind of hardware failure? Or should I suspect one? I do have a Windows 10 machine, so if I have no other option I can try and set the dongle up in that machine just to see if it works. But I'd rather resolve my problems just with Linux. -- Yours, Mikhail Ramendik Unless explicitly stated, all opinions in my mail are my own and do not reflect the views of any organization -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Mikhail Ramendik wrote:
So I thought it was the RTL8812AU driver, but now I used a version tested by Linux Kamarada of this list (thanks!) and I am still having the problem.
I have a new Wi-Fi dongle (5 GHz/2.4GHz, wlan1) as well as a PCI card (2.4 only, which is why I want to use the new dongle; wlan0). I configure both with wicked in yast.
Unfortunately, while the new dongle appears to connect to the wireless network, it fails to get an IPv4 address and no communication happens. After ifdown wlan1 and ifup wlan1 , I see "setup-in-progress". The only stuff added in dmesg at ifup wlan1:
[ 1525.360875] cfg80211: Regulatory domain changed to country: GB [ 1525.360878] cfg80211: DFS Master region: ETSI [ 1525.360878] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 1525.360882] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 1525.360884] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 1525.360886] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 1525.360887] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s) [ 1525.360889] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
iwconfig and ifconfig outputs, which show the problem:
# iwconfig wlan1 wlan1 IEEE 802.11abgn ESSID:"Ramendik_44_5Ghz" Mode:Managed Frequency:5.18 GHz Access Point: 70:50:AF:CC:3B:05 Bit Rate=867 Mb/s Tx-Power=12 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=36/70 Signal level=-74 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig wlan1 wlan1 Link encap:Ethernet HWaddr 00:0F:00:37:B8:6D inet6 addr: fe80::20f:ff:fe37:b86d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:871 errors:0 dropped:670 overruns:0 frame:0 TX packets:72 errors:0 dropped:78 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:81082 (79.1 Kb) TX bytes:11537 (11.2 Kb)
When I look into the admin interface of the router, I actually see this device listed under the IPv6 address. But normal communication is IPv4 and that does not work.
I tried to set "DHCP version 4 only" for this interface in yast, this does not change anything. Unfortunately, the router does not let me disable its "Enable IPv6 DHCP server" setting.
This is also not some incompatibility of the router with Linux. A laptop that runs Fedora (with the iwlwifi driver for its built-in WLAN) connects to the same 5GHz network just fine.
So how do I make wlan1 use IPv4 as normal? And are there any other logs I should look at?
You could try running a tcpdump on the interface to see what is really happening. At least you'll see if if it is broadcasxting for an address and what the router says to that. -- Per Jessen, Zürich (1.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2017-12-19 at 02:01 -0000, Mikhail Ramendik wrote:
So I thought it was the RTL8812AU driver, but now I used a version tested by Linux Kamarada of this list (thanks!) and I am still having the problem.
I have a new Wi-Fi dongle (5 GHz/2.4GHz, wlan1) as well as a PCI card (2.4 only, which is why I want to use the new dongle; wlan0). I configure both with wicked in yast.
Unfortunately, while the new dongle appears to connect to the wireless network, it fails to get an IPv4 address and no communication happens. After ifdown wlan1 and ifup wlan1 , I see "setup-in-progress". The only stuff added in dmesg at ifup wlan1:
Getting an IP is a different layer. Try "rcnetwork restart". - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlo5CJ4ACgkQtTMYHG2NR9W2EgCeLhfC2oC52uAZXSPCuP0bAChx 7sMAoJTem/K8YgzybBW/fwWI7L1uyFKC =YUb5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On Tuesday, 2017-12-19 at 02:01 -0000, Mikhail Ramendik wrote:
So I thought it was the RTL8812AU driver, but now I used a version tested by Linux Kamarada of this list (thanks!) and I am still having the problem.
I have a new Wi-Fi dongle (5 GHz/2.4GHz, wlan1) as well as a PCI card (2.4 only, which is why I want to use the new dongle; wlan0). I configure both with wicked in yast.
Unfortunately, while the new dongle appears to connect to the wireless network, it fails to get an IPv4 address and no communication happens. After ifdown wlan1 and ifup wlan1 , I see "setup-in-progress". The only stuff added in dmesg at ifup wlan1:
Getting an IP is a different layer.
Try "rcnetwork restart".
That is the same as ifdown/ifup, but for all interfaces. -- Per Jessen, Zürich (2.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2017-12-19 at 14:01 +0100, Per Jessen wrote:
Carlos E. R. wrote:
On Tuesday, 2017-12-19 at 02:01 -0000, Mikhail Ramendik wrote:
So I thought it was the RTL8812AU driver, but now I used a version tested by Linux Kamarada of this list (thanks!) and I am still having the problem.
I have a new Wi-Fi dongle (5 GHz/2.4GHz, wlan1) as well as a PCI card (2.4 only, which is why I want to use the new dongle; wlan0). I configure both with wicked in yast.
Unfortunately, while the new dongle appears to connect to the wireless network, it fails to get an IPv4 address and no communication happens. After ifdown wlan1 and ifup wlan1 , I see "setup-in-progress". The only stuff added in dmesg at ifup wlan1:
Getting an IP is a different layer.
Try "rcnetwork restart".
That is the same as ifdown/ifup, but for all interfaces.
Well, it is a service. I assume it calls all the needed commands with the proper options. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlo5G4oACgkQtTMYHG2NR9Xv7ACfWBEc01pCkHJHTc/EJ9WgSSj/ Cq8An2E35vrI0a2rikaAM8N5bZyyPGUy =OOJZ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Mikhail Ramendik
-
Per Jessen