Re: [DNG] Wifi problem - dhclient times out with no reply - SOLVED

2022-03-23 Thread tito via Dng
On Tue, 22 Mar 2022 16:06:49 -0700
Gregory Nowak via Dng  wrote:

> On Tue, Mar 22, 2022 at 12:38:05AM -1000, Joel Roth via Dng wrote:
> > In any case, by enabling the 5GHz radio with AC mode,
> > WPA2-PSK and 80MHz signal width my BCM43228 associated with
> > the router and received an IP address. 
> 
> I'm not familiar with that particular chipset. However, based on the
> above, that would suggest your network card presents the 5 GHz radio
> on wlan0, and the 2.4 GHz radio on wlan1.
> 
> 
> On Tue, Mar 22, 2022 at 08:54:06PM +0100, Florian Zieboll via Dng wrote:
> > With both available USB-WiFi-Dongles (rtl8192cu and rt2800usb), I can
> > see the devices 
> > 
> > $ iw dev
> > $ iw list
> > resp.
> > $ iw phy0 info
> > 
> > as well as the available networks
> > 
> > $ iw wlan0 scan
> > 
> > but dhclient times out, when querying the "Fritzbox":
> > 
> > No DHCPOFFERS received.
> > No working leases in persistent database - sleeping.
> > 
> > Installing NetworkManager via Android-AP and '/etc/network/interfaces',
> > as an "emergency workaround", solved the issue for now. Interestingly, 
> > 
> > $ iw dev
> > 
> > tells me, that I am not connected with 5GHz, as I first had assumed,
> > but on
> > 
> > channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
> 
> I saw something similar on openwrt 21 on a gl.inet ar750 router. What
> they did was to switch around the frequencies used by wlan0, and
> wlan1. This was done by defining the band to use in the radio0 and
> radio1 sections of /etc/config/wifi. How that actually does what it
> does behind the scenes of UCI abstraction I wasn't able to figure out.

Hi,
it is done changing the settings of the hostapd daemon
(in devuan in /etc/hostapd/hostapd.conf hw_mode=a/hw_mode=g)

Ciao,
Tito
 
> The result of this was that I needed to rmmod the modules used by one
> card, run wifi down, uncomment the band lines in each radio section, and run
> wifi up with no networks enabled in order to scan for networks on a
> particular band, and then I needed to run wifi down,
> reverse changes in /etc/config/wifi, modprobe modules, and run wifi up to 
> connect to a
> network.
> 
> I wondered why they did this, until I discovered that using I believe the 5 
> GHz
> radio in the 5 GHz band caused both wifi radios to become
> unresponsive. I needed to either reboot the router, or rmmod all wifi
> modules, and modprobe them again to regain wifi functionality.
> 
> Greg
> 
> 

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Wifi problem - dhclient times out with no reply - SOLVED

2022-03-22 Thread Joel Roth via Dng
On Tue, Mar 22, 2022 at 08:54:06PM +0100, Florian Zieboll via Dng wrote:
> On Tue, 22 Mar 2022 00:38:05 -1000
> Joel Roth via Dng  wrote:
> 
> > The problem seemed to be with my wifi configuration. 
> > I'd been using the 2.4GHz radio. Perhaps the settings,
> > based on Apple recommendations, weren't the best. 
> > 
> > In any case, by enabling the 5GHz radio with AC mode,
> > WPA2-PSK and 80MHz signal width my BCM43228 associated with
> > the router and received an IP address. 
> > 
> > Thanks for your attention!
> 
> 
> Hallo Joel,
> 
> may I ask, how you managed to set your Wifi-Adapter to 5GHz? 

Hi Florian,

What I meant to say is that I enabled the 5
GHz radio in my router and connected to its ESSID (distinct
from the 2.4 GHz radio.)

With wpa_supplicant, I don't use the -D option so can't
comment on it. 

The iw dev|list|scan|info commands are very informative. 
Thanks. 

> After moving to a new place where I have to go wireless with my Desktop
> (WTH?!), yesterday I ran into a similar issue, with wpa_supplicant
> (both, with '-D wext' and with '-D nl80211') as well as with a pure
> '/etc/network/interfaces' config) [1]:
> 
> With both available USB-WiFi-Dongles (rtl8192cu and rt2800usb), I can
> see the devices 
> 
>   $ iw dev
>   $ iw list
> resp.
>   $ iw phy0 info
>   
> as well as the available networks
> 
>   $ iw wlan0 scan
> 
> but dhclient times out, when querying the "Fritzbox":
> 
>   No DHCPOFFERS received.
>   No working leases in persistent database - sleeping.
> 
> Installing NetworkManager via Android-AP and '/etc/network/interfaces',
> as an "emergency workaround", solved the issue for now. Interestingly, 
> 
>   $ iw dev
> 
> tells me, that I am not connected with 5GHz, as I first had assumed,
> but on
> 
>   channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
> 
> Now I'd be curious to see, if with 5Ghz I can go back to my plain old
> config - and how it compares to 2.4GHz in a wooden House.
> 
> Thank you and libre Grüße,
> Florian
> 
> 
> BTW: I was very surprised to find chimaera's wicd depending on
> networkmanager!
 
wpa_gui and netaid are alternatives to wicd.

cheers,

joel
 
> [1] https://cheatsheet.zwischenspeicher.info/2016/10/14-2017-02-05/
> 
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

-- 
Joel Roth
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Wifi problem - dhclient times out with no reply - SOLVED

2022-03-22 Thread Gregory Nowak via Dng
On Tue, Mar 22, 2022 at 12:38:05AM -1000, Joel Roth via Dng wrote:
> In any case, by enabling the 5GHz radio with AC mode,
> WPA2-PSK and 80MHz signal width my BCM43228 associated with
> the router and received an IP address. 

I'm not familiar with that particular chipset. However, based on the
above, that would suggest your network card presents the 5 GHz radio
on wlan0, and the 2.4 GHz radio on wlan1.


On Tue, Mar 22, 2022 at 08:54:06PM +0100, Florian Zieboll via Dng wrote:
> With both available USB-WiFi-Dongles (rtl8192cu and rt2800usb), I can
> see the devices 
> 
>   $ iw dev
>   $ iw list
> resp.
>   $ iw phy0 info
>   
> as well as the available networks
> 
>   $ iw wlan0 scan
> 
> but dhclient times out, when querying the "Fritzbox":
> 
>   No DHCPOFFERS received.
>   No working leases in persistent database - sleeping.
> 
> Installing NetworkManager via Android-AP and '/etc/network/interfaces',
> as an "emergency workaround", solved the issue for now. Interestingly, 
> 
>   $ iw dev
> 
> tells me, that I am not connected with 5GHz, as I first had assumed,
> but on
> 
>   channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz

I saw something similar on openwrt 21 on a gl.inet ar750 router. What
they did was to switch around the frequencies used by wlan0, and
wlan1. This was done by defining the band to use in the radio0 and
radio1 sections of /etc/config/wifi. How that actually does what it
does behind the scenes of UCI abstraction I wasn't able to figure out.

The result of this was that I needed to rmmod the modules used by one
card, run wifi down, uncomment the band lines in each radio section, and run
wifi up with no networks enabled in order to scan for networks on a
particular band, and then I needed to run wifi down,
reverse changes in /etc/config/wifi, modprobe modules, and run wifi up to 
connect to a
network.

I wondered why they did this, until I discovered that using I believe the 5 GHz
radio in the 5 GHz band caused both wifi radios to become
unresponsive. I needed to either reboot the router, or rmmod all wifi
modules, and modprobe them again to regain wifi functionality.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Wifi problem - dhclient times out with no reply - SOLVED

2022-03-22 Thread Florian Zieboll via Dng
On Tue, 22 Mar 2022 00:38:05 -1000
Joel Roth via Dng  wrote:

> The problem seemed to be with my wifi configuration. 
> I'd been using the 2.4GHz radio. Perhaps the settings,
> based on Apple recommendations, weren't the best. 
> 
> In any case, by enabling the 5GHz radio with AC mode,
> WPA2-PSK and 80MHz signal width my BCM43228 associated with
> the router and received an IP address. 
> 
> Thanks for your attention!



Hallo Joel,

may I ask, how you managed to set your Wifi-Adapter to 5GHz? 

After moving to a new place where I have to go wireless with my Desktop
(WTH?!), yesterday I ran into a similar issue, with wpa_supplicant
(both, with '-D wext' and with '-D nl80211') as well as with a pure
'/etc/network/interfaces' config) [1]:

With both available USB-WiFi-Dongles (rtl8192cu and rt2800usb), I can
see the devices 

$ iw dev
$ iw list
resp.
$ iw phy0 info

as well as the available networks

$ iw wlan0 scan

but dhclient times out, when querying the "Fritzbox":

No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Installing NetworkManager via Android-AP and '/etc/network/interfaces',
as an "emergency workaround", solved the issue for now. Interestingly, 

$ iw dev

tells me, that I am not connected with 5GHz, as I first had assumed,
but on

channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz

Now I'd be curious to see, if with 5Ghz I can go back to my plain old
config - and how it compares to 2.4GHz in a wooden House.

Thank you and libre Grüße,
Florian


BTW: I was very surprised to find chimaera's wicd depending on
networkmanager!


[1] https://cheatsheet.zwischenspeicher.info/2016/10/14-2017-02-05/


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Wifi problem - dhclient times out with no reply - SOLVED

2022-03-22 Thread Joel Roth via Dng
On Fri, Mar 11, 2022 at 09:40:15AM -1000, Joel Roth via Dng wrote:
> Hi wifi veterans,
> 
> I recently migrated my chimaera system to new hardware. The 
> wifi adapter is Broadcom BCM43228. Installing the
> firmware-b43-installer package got this adapter working
> normally. 
> 
> After doing an apt-get upgrade, I can get a a wifi
> connection, for example using wpa_gui, however dhclient just
> times out. 
> 
> Do you have any suggestions for how to troubleshoot this?

The problem seemed to be with my wifi configuration. 
I'd been using the 2.4GHz radio. Perhaps the settings,
based on Apple recommendations, weren't the best. 

In any case, by enabling the 5GHz radio with AC mode,
WPA2-PSK and 80MHz signal width my BCM43228 associated with
the router and received an IP address. 

Thanks for your attention!



-- 
Joel Roth
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng