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] chimaera: no /usr/lib/tmpfiles.d/legacy.conf?

2022-03-22 Thread Alexander Bochmann
...on 2022-03-21 21:31:25, Bob Proulx via Dng wrote:

 > Alexander Bochmann wrote:
 > > because it seems the whole tmpfiles.d stuff is a systemd thing
 > > all around, and probably isn't even used on Devuan? I got confused
 > It happens to all of us at times.  No worries.

:)

 > However AFAIK the /var/lock/subsys directory is a Red Hat specific
 > directory such as found on RHEL and Fedora for use for their init
 > scripts.  It doesn't have a use by other scripts.  It is created by an

Actually what brought me on this track turns out 
to be the init script for acct, which has:

 > LOCKFILE=/var/lock/subsys/acct
 > [..]
 > touch $LOCKFILE

This is in turn run each night from the acct cron.daily
script which rotates the accounting log files and restarts 
the service, producing a message that /var/lock/subsys/acct 
can't be touched...

 > And then a piece of software meant for Red Hat would run happily
 > without knowing it was on Devuan.  At least for this portion.

Thanks for the detailed explanation!

Alex.

___
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


[DNG] moving from Debian testing to Daedalus

2022-03-22 Thread o1bigtenor via Dng
Greetings

Looking at moving more systems from Debian over to Devuan.
(Sorry - - - - I'm slow at this and the have been long running systems!)

Are there any tools (process scripts) for switching like there are for
moving from Debian stable to Chimaera?

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