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

2022-03-23 Thread aitor

Hi,

On 22/3/22 21:43, aitor wrote:

Bear in mind that fsmithred developed a script called usbmount. So, this name 
already exists.


No, they were usb-pmount.sh and usb-unmount.sh

Aitor.


___
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-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

2022-03-22 Thread aitor

Hi,

On 22/3/22 21:43, aitor wrote:


$ dmount --help
Usage:
dmount -h|--help# Print this message.
dmount 0 DEVICE TARGET  # Mount DEVICE in the specified TARGET.
dmount 1 DEVICE # Unmount DEVICE.
dmount 2 DEVICE # Remove DEVICE


It's a work in progress and there are some outstanding details to be filled. 
For example,
the group for all directories and files on the mountpoint should be under the 
group dmount:||

|# chgrp -R dmount TARGET|

|Aitor.
|

___
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

2022-03-22 Thread aitor

Hi Steve,

On 22/3/22 10:13, Steve Litt wrote:

Would ubus be a plug-compatible replacement for dbus?


If you are referring to a full replacement for dbus in general, It's meant to 
be in
the case of lightweith systems using WM or desktops that don't depend on dbus 
(e.g. lumina).

On the contrary, if you are referring to a sort of plugdev group 
allowingmembers to mount
and umount hotplug devices with nosuid (for security reasons), I can give you a 
working example
of such program that uses the interface provided by ubusd to register its 
procedures or methods
 
under a specific namespace in json format:


{
  "group": "dmount",
  "access": {
    "ering.dmount": {
  "methods": [ "mount" , "umount" , "remove"]
    }
  }
}

It's up to the user to define the restrictions for "user" and "group". In the 
example above,
all regular users of the group dmount will be able to call any of the three 
callbacks (mount,
umount and remove) defined in the daemon (dmountd).

On the other hand, the client dmount provides a user-friendly way to call these 
procedures:


$ dmount --help
Usage:
   dmount -h|--help# Print this message.
   dmount 0 DEVICE TARGET  # Mount DEVICE in the specified TARGET.
   dmount 1 DEVICE # Unmount DEVICE.
   dmount 2 DEVICE # Remove DEVICE


The package of the program is available here:

https://www.gnuinos.org/dmount/  

All the build dependencies are available in gnuinos chimaera.

New ideas for the name of this application are very welcome (dmount stands 
diskmount).

dmount or diskmount...? What's your take?

Bear in mind that fsmithred developed a script called usbmount. So, this name 
already exists.

Cheers,

Aitor.






___
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


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

2022-03-22 Thread Steve Litt
aitor said on Sun, 20 Mar 2022 20:36:41 +0100

>Hi,
>
>On 20/3/22 20:33, aitor wrote:
>> On 20/3/22 19:50, Steve Litt wrote:  
>>> This is probably unresponsive to your question, but what the heck? I
>>> just switched from wpa_supplicant to iwd and its suite, and am
>>> incredibly pleased.  
>>
>> Looking at the code of iwgtk, I can see a strong dependence on DBus.
>>  
>What about ubus?
>
>https://openwrt.org/docs/techref/ubus 
>

Would ubus be a plug-compatible replacement for dbus?

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm
___
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

2022-03-22 Thread Steve Litt
aitor said on Sun, 20 Mar 2022 20:33:03 +0100

>Hi,
>
>On 20/3/22 19:50, Steve Litt wrote:
>> This is probably unresponsive to your question, but what the heck? I
>> just switched from wpa_supplicant to iwd and its suite, and am
>> incredibly pleased.  
>
>Looking at the code of iwgtk, I can see a strong dependence on DBus.

You're right, and that's not a good thing. But I have to have dbus
anyway, so I switched.

If anyone forks iwd to use a socket or named pipe instead of dbus, I'd
be interested.

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm
___
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

2022-03-20 Thread aitor

Hi,

On 20/3/22 20:33, aitor wrote:

On 20/3/22 19:50, Steve Litt wrote:

This is probably unresponsive to your question, but what the heck? I
just switched from wpa_supplicant to iwd and its suite, and am
incredibly pleased.


Looking at the code of iwgtk, I can see a strong dependence on DBus.


What about ubus?

https://openwrt.org/docs/techref/ubus 



Aitor.


___
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

2022-03-20 Thread aitor

Hi,

On 20/3/22 19:50, Steve Litt wrote:

This is probably unresponsive to your question, but what the heck? I
just switched from wpa_supplicant to iwd and its suite, and am
incredibly pleased.


Looking at the code of iwgtk, I can see a strong dependence on DBus.

Cheers,

Aitor.


___
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

2022-03-20 Thread Steve Litt
Joel Roth via Dng said on Sat, 19 Mar 2022 12:52:31 -1000

>I've resolved this problem with a workaround: I found a
>TPLINK r8188eu based usb wifi adapter that I managed to get
>working with little fuss. So I'm back to my regular wifi
>setup script using netaid (below). I also blacklisted
>the wl and b43 drivers which I won't be needing.

This is probably unresponsive to your question, but what the heck? I
just switched from wpa_supplicant to iwd and its suite, and am
incredibly pleased.

I made the switch as follows:

1. Installed iwd and iwgtk
2. Killed the wpa_supplicant daemon
3. Removed wpa_supplicant as a daemon to run
4. Added iwd as a daemon to run
5. rebooted (important, didn't work til I did that)

By the way, using runit I run both dhcpcd and iwd as respawning
daemons. I took no precautions to make sure one started before the
other, and it's worked every time, although I might just be lucky in
that regard.

The way I use iwd is to make all changes using iwgtk, *as a normal
user*. Using iwgtk I can scan networks, connect to networks, connect to
new networks if I know the password, and even forget networks. I like
it much better than NetworkManager or WICD.

It would be interesting to see if iwd would have the same problem with
your original wifi adapter.

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm
___
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

2022-03-19 Thread Joel Roth via Dng
I've resolved this problem with a workaround: I found a
TPLINK r8188eu based usb wifi adapter that I managed to get
working with little fuss. So I'm back to my regular wifi
setup script using netaid (below). I also blacklisted
the wl and b43 drivers which I won't be needing.

FWIW, the router is flashed with openwrt, and configured
as recommended by apple:

https://support.apple.com/en-us/HT202068

#!/bin/sh
IF=wlan1
sudo netaid 5
sudo killall wpa_supplicant
sudo wpa_supplicant -B -i $IF -c /etc/wpa_supplicant.conf &
sleep 2
sudo ifdown $IF
sleep 1
sudo ifconfig $IF down 
sleep 1  
sudo netaid 4 bliss


cheers and thanks again for much helpful advice

joel

-- 
___
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

2022-03-19 Thread Joel Roth via Dng
Hi Greg,

On Sat, Mar 12, 2022 at 09:44:49PM -0700, Gregory Nowak via Dng wrote:
> If I understand that you can associate with the access point through
> wpa_gui, what does iwconfig(8) say? If iwconfig says the adapter is
> associated with the access point, can you configure a static IP
> address valid on your network, and does that work, or do you still
> have no internet connection.

I got the wifi adapter to associate, confirmed by iwconfig.
No success with dhclient. I tried setting a static IP
address, but still no connectivity. 

Thanks for your suggestions!

> 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

-- 
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

2022-03-18 Thread d...@d404.nl
Before I have had more success using the non-free Broadcom Sta package 
https://packages.debian.org/bullseye/broadcom-sta-dkms You most likely 
have to blacklist the b43 driver for that to work.


Grtz.

Nick

On 17-03-2022 20:32, Joel Roth via Dng wrote:

Thanks to Aitor (twice), Steve, Gregory, Simon for your
informative suggestions.

Associating my broadcom bcm43228 adapter with the wifi
router has been hit-and-miss, mostly miss with a rare,
inexplicable success.

I tried the usual suspects - upgrading the system,
removing and reinstalling/reinserting the drivers.

It's not worth beating my head much more over this dodgy
driver.  I can manage without wifi for now, at least until I
can find a linux-friend USB wifi dongle.

To respond to Steve, for 10+ years I've never had problems
with wpa_supplicant. Perhaps bugs in the wifi hardware or
FIRMWARE have caused your wpa_supplicant to hang. Anyway
you have a solution.

Again, thanks to all for your generous help.

joel

On Fri, Mar 11, 2022 at 09:21:54PM +0100, aitor wrote:

Hi Joel,

On 11/3/22 20:40, 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?

Did you clear the ip addreses? I use the command below together with ifupdown:

#|ip addr flush dev wlan0|

Another way might be to force DHCP client release your ip:

# dhclient -r wlan0

# rm|/var/lib/dhcp/dhclient.wlan0.leases (!! Not sure about the name of the
file storing the leases)|

# dhclient wlan0

This way you reacquire a fresh ip from the DHCP server.||

HTH,

Aitor.


___
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

2022-03-17 Thread wirelessduck--- via Dng


> On 18 Mar 2022, at 06:32, Joel Roth via Dng  wrote:
> 
> Thanks to Aitor (twice), Steve, Gregory, Simon for your
> informative suggestions. 
> 
> Associating my broadcom bcm43228 adapter with the wifi
> router has been hit-and-miss, mostly miss with a rare,
> inexplicable success. 
> 
> I tried the usual suspects - upgrading the system, 
> removing and reinstalling/reinserting the drivers.
> 
> It's not worth beating my head much more over this dodgy
> driver.  I can manage without wifi for now, at least until I
> can find a linux-friend USB wifi dongle.
> 
> To respond to Steve, for 10+ years I've never had problems
> with wpa_supplicant. Perhaps bugs in the wifi hardware or
> FIRMWARE have caused your wpa_supplicant to hang. Anyway
> you have a solution.
> 
> Again, thanks to all for your generous help.
> 
> joel

I’ve previously had success with some of the devices listed on GNU Respects 
Your Freedom website https://ryf.fsf.org/main-page, except now it seems they 
only go up to 802.11n and might be a bit outdated for some people if you need a 
faster network.

-- 
Tom___
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

2022-03-17 Thread Joel Roth via Dng
Thanks to Aitor (twice), Steve, Gregory, Simon for your
informative suggestions. 

Associating my broadcom bcm43228 adapter with the wifi
router has been hit-and-miss, mostly miss with a rare,
inexplicable success. 

I tried the usual suspects - upgrading the system, 
removing and reinstalling/reinserting the drivers.

It's not worth beating my head much more over this dodgy
driver.  I can manage without wifi for now, at least until I
can find a linux-friend USB wifi dongle.

To respond to Steve, for 10+ years I've never had problems
with wpa_supplicant. Perhaps bugs in the wifi hardware or
FIRMWARE have caused your wpa_supplicant to hang. Anyway
you have a solution.

Again, thanks to all for your generous help.

joel

On Fri, Mar 11, 2022 at 09:21:54PM +0100, aitor wrote:
> Hi Joel,
> 
> On 11/3/22 20:40, 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?
> 
> Did you clear the ip addreses? I use the command below together with ifupdown:
> 
> #|ip addr flush dev wlan0|
> 
> Another way might be to force DHCP client release your ip:
> 
> # dhclient -r wlan0
> 
> # rm|/var/lib/dhcp/dhclient.wlan0.leases (!! Not sure about the name of the
> file storing the leases)|
> 
> # dhclient wlan0
> 
> This way you reacquire a fresh ip from the DHCP server.||
> 
> HTH,
> 
> Aitor.
> 

> ___
> 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

2022-03-14 Thread Steve Litt
aitor said on Sat, 12 Mar 2022 20:13:12 +0100

>Hi Joel,
>
>On 12/3/22 19:52, Joel Roth via Dng wrote:
>> Thank for these suggestions. I've been killing dhclient and
>> bringing down the interface, bringing it up and restarting
>> dhclient. which I think does mostly the same thing. I also
>> removed /var/lib/dhcp/dhclient.wlan*
>>
>> One way forward would be to restore my system to before
>> the recent upgrade. For the moment, I'm using a wired
>> connection.  
>
>Did you kill also wpa_supplicant? Try again in this order:
>
># killall dhclient wpa_supplicant
># ip addr flush dev wlan0
># ip link set wlan0 down
># ip link set wlan0 up
># /sbin/wpa_supplicant -B -iwlan0 -c wpa.conf
>
>Finally:
>
># dhclient wlan0


wpa_supplicant is touchy as hell. A finer and more robust control of it
could be gotten by running it from runit. Assuming that runit can be
installed without removing sysvinit, you could respawn runit from
/etc/inittab, you could prevent sysvinit from running wpa_supplicant,
and you can run wpa_supplicant as a respawning daemon from runit.

This could actually be the beginning of an easy and graceful transition
to runit.

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm
___
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

2022-03-13 Thread Simon
Gregory Nowak via Dng  wrote:

> If I understand that you can associate with the access point through
> wpa_gui, what does iwconfig(8) say? If iwconfig says the adapter is
> associated with the access point, can you configure a static IP
> address valid on your network, and does that work, or do you still
> have no internet connection.

Yes, that would narrow it down to a network problem or a DHCP problem.

Assuming the network is working (can statically configure and pass traffic), 
then I think the next stage would be to start sniffing traffic (e.g. with 
wireshark, or the cmd line version, shark). Are you getting packets out, are 
there replies coming back, etc. Also repeat that on the DHCP server (if you 
can).

Simon

___
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

2022-03-12 Thread Gregory Nowak via Dng
On Fri, Mar 11, 2022 at 09:40:15AM -1000, Joel Roth via Dng wrote:
> After doing an apt-get upgrade, I can get a a wifi
> connection, for example using wpa_gui, however dhclient just
> times out. 

I haven't been able to get to e-mail for a few days, so am coming late
to this. If you haven't gotten this resolved, it sounds like you're
saying that you associate with the access point in the GUI, but then
run dhclient, and don't get an IP address. Do I understand you
correctly? If not, can you please explain in more detail what happens?
No screenshots please, unless someone else is able to look at them,
and pickup from there.

> 
> Do you have any suggestions for how to troubleshoot this?

If I understand that you can associate with the access point through
wpa_gui, what does iwconfig(8) say? If iwconfig says the adapter is
associated with the access point, can you configure a static IP
address valid on your network, and does that work, or do you still
have no internet connection.

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

2022-03-12 Thread aitor

Hi,

On 12/3/22 19:52, Joel Roth via Dng wrote:

Thank for these suggestions. I've been killing dhclient and
bringing down the interface, bringing it up and restarting
dhclient. which I think does mostly the same thing. I also
removed /var/lib/dhcp/dhclient.wlan*


Run:

$ man dhclient.conf

and look at your /etc/dhcp/dhclient.conf

Aitor.

___
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

2022-03-12 Thread aitor

Hi Joel,

On 12/3/22 19:52, Joel Roth via Dng wrote:

Thank for these suggestions. I've been killing dhclient and
bringing down the interface, bringing it up and restarting
dhclient. which I think does mostly the same thing. I also
removed /var/lib/dhcp/dhclient.wlan*

One way forward would be to restore my system to before
the recent upgrade. For the moment, I'm using a wired
connection.


Did you kill also wpa_supplicant? Try again in this order:

# killall dhclient wpa_supplicant
# ip addr flush dev wlan0
# ip link set wlan0 down
# ip link set wlan0 up
# /sbin/wpa_supplicant -B -iwlan0 -c wpa.conf

Finally:

# dhclient wlan0

Good luck,

Aitor.

___
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

2022-03-12 Thread Joel Roth via Dng
Hi Aitor,

On Fri, Mar 11, 2022 at 09:21:54PM +0100, aitor wrote:
> Hi Joel,
> 
> On 11/3/22 20:40, 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?
> 
> Did you clear the ip addreses? I use the command below together with ifupdown:
> 
> #|ip addr flush dev wlan0|
> 
> Another way might be to force DHCP client release your ip:
> 
> # dhclient -r wlan0
> 
> # rm|/var/lib/dhcp/dhclient.wlan0.leases (!! Not sure about the name of the
> file storing the leases)|
> 
> # dhclient wlan0

> This way you reacquire a fresh ip from the DHCP server.||

Thank for these suggestions. I've been killing dhclient and
bringing down the interface, bringing it up and restarting
dhclient. which I think does mostly the same thing. I also
removed /var/lib/dhcp/dhclient.wlan*

One way forward would be to restore my system to before
the recent upgrade. For the moment, I'm using a wired
connection. 

regards,

joel

> 
> HTH,
> 
> Aitor.
> 

> ___
> 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

2022-03-11 Thread aitor

Hi Joel,

On 11/3/22 20:40, 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?


Did you clear the ip addreses? I use the command below together with ifupdown:

#|ip addr flush dev wlan0|

Another way might be to force DHCP client release your ip:

# dhclient -r wlan0

# rm|/var/lib/dhcp/dhclient.wlan0.leases (!! Not sure about the name of the 
file storing the leases)|


# dhclient wlan0

This way you reacquire a fresh ip from the DHCP server.||

HTH,

Aitor.

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


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

2022-03-11 Thread Joel Roth via Dng
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?

Thanks to all,

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