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] Why do I need xdg-desktop portal?

2022-03-12 Thread Alessandro Vesely via Dng


On Sat 12/Mar/2022 18:27:45 +0100 Florian Zieboll wrote:


On Sat, 12 Mar 2022 11:06:44 +0100
Alessandro Vesely via Dng  wrote:


Hi all,

I don't use flatpak, so yesterday I removed xdg-desktop-portal from a
machine where it was causing df to err trying to access a fuse mount.
  I wandered how came xdg-desktop-portal was installed.

Today I got the answer.  I run apt-get dist-upgrade on another
machine, and got:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-5.10.0-12-amd64 linux-headers-5.10.0-12-common
linux-image-5.10.0-12-amd64 xdg-desktop-portal xdg-desktop-portal-gtk
The following packages will be upgraded:
chromium chromium-common chromium-sandbox chromium-shell
linux-headers-amd64 linux-image-amd64 6 upgraded, 5 newly installed,
0 to remove and 0 not upgraded. Need to get 169 MB/169 MB of archives.
After this operation, 365 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Oh well, I'm going to say Y and purge xdg-sektop-portal right after.

Is there a way to ban it from future upgrades?



Chromium has a hard dependency on 'xdg-desktop-portal', although (IIUC)
it is only required by 'chromium-sandbox', which is /not/ a dependency
of Chromium.



Indeed, it also uninstalled chromium.  I'm not sure I had installed it 
before.  Perhaps it was installed and that's what triggered the 
installation of xdg-desktop-portal.



Best
Ale
--






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


Re: [DNG] [SUSPICIOUS MESSAGE] Latex install question

2022-03-12 Thread Steve Litt
Fred said on Fri, 11 Mar 2022 17:21:52 -0700

>Hi Nelson,
>
>On 3/11/22 08:06, Nelson H. F. Beebe wrote:
>> Fred   asks on Fri, 11 Mar 2022 08:02:23 -0700
>>   
 ...
 I am trying to compile a program which expects that Latex is
 installed. There are a number of Latex related packages in the
 repository but it is not apparent which is a base package.  What
 package(s) should I install for more or less general usage?
 ...  
>> 
>> Try
>>  # apt-get install texlive-base texlive-latex-base
>>   
>
>This fixed the problem.  Thanks for the help!
>
>> There are 60+ packages that match 'texlive-*'; add others as needed.
>> 
>> If you have sufficient disk space, you could instead run
>> 
>>  # apt-get install texlive-full
>> 
>> That gets them all.

Good! You can disregard the email I wrote before reading this.

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] Why do I need xdg-desktop portal?

2022-03-12 Thread Florian Zieboll via Dng
On Sat, 12 Mar 2022 11:06:44 +0100
Alessandro Vesely via Dng  wrote:

> Hi all,
> 
> I don't use flatpak, so yesterday I removed xdg-desktop-portal from a
> machine where it was causing df to err trying to access a fuse mount.
>  I wandered how came xdg-desktop-portal was installed.
> 
> Today I got the answer.  I run apt-get dist-upgrade on another
> machine, and got:
> 
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following NEW packages will be installed:
>linux-headers-5.10.0-12-amd64 linux-headers-5.10.0-12-common
> linux-image-5.10.0-12-amd64 xdg-desktop-portal xdg-desktop-portal-gtk
> The following packages will be upgraded:
>chromium chromium-common chromium-sandbox chromium-shell
> linux-headers-amd64 linux-image-amd64 6 upgraded, 5 newly installed,
> 0 to remove and 0 not upgraded. Need to get 169 MB/169 MB of archives.
> After this operation, 365 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> 
> Oh well, I'm going to say Y and purge xdg-sektop-portal right after.
> 
> Is there a way to ban it from future upgrades?


Chromium has a hard dependency on 'xdg-desktop-portal', although (IIUC)
it is only required by 'chromium-sandbox', which is /not/ a dependency
of Chromium.

libre Grüße,
Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Latex install question

2022-03-12 Thread Steve Litt
STOP!!!

Don't do anything until reading this message. Remainder bottom posted.

Fred said on Fri, 11 Mar 2022 08:02:23 -0700

>Hello,
>
>I am trying to compile a program which expects that Latex is
>installed. There are a number of Latex related packages in the
>repository but it is not apparent which is a base package.  What
>package(s) should I install for more or less general usage?
>
>Best regards,
>Fred

Hi Fred,

I've been using LyX, and hence LaTeX, for 20 years. There are two
different and contradictory ways to install LaTeX. One is with your
distro's package manager, the other is direct from CTAN (Comprehensive
TEX Archive Network). Either way you install **TeXLive**, not MacTeX or
Micky Mouse TeX (for windows I presume) or any of the other TeXes.

I installed from CTAN, much to the dismay of my distro's movers and
shakers, so that I can manage my TeX and LaTeX with the very nice tlmgr
program.

The advantage of my way is that you can get absolutely any facility
supported by CTAN, instead of just the stuff my distro deems necessary.
The disadvantage of my way is that every year fonts start to break, and
you need to install all of the next year's packages and run texhash. If
you choose my way, email me (reminding me of this email) when you start
having fonts magically go bad.

Because I write books that I sell, I absolutely need every last
provision of LaTeX, hence my CTAN decision. If you're just doing
something one-off and simple, your distro's LaTeX package might suit
you more.

If you do it my way, here's the starting point for download and
understanding:

https://www.tug.org/texlive/quickinstall.html

HTH,

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] Why do I need xdg-desktop portal?

2022-03-12 Thread tito via Dng
On Sat, 12 Mar 2022 11:06:44 +0100
Alessandro Vesely via Dng  wrote:

> Hi all,
> 
> I don't use flatpak, so yesterday I removed xdg-desktop-portal from a machine 
> where it was causing df to err trying to access a fuse mount.  I wandered how 
> came xdg-desktop-portal was installed.
> 
> Today I got the answer.  I run apt-get dist-upgrade on another machine, and 
> got:
> 
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following NEW packages will be installed:
>linux-headers-5.10.0-12-amd64 linux-headers-5.10.0-12-common 
> linux-image-5.10.0-12-amd64 xdg-desktop-portal
>xdg-desktop-portal-gtk
> The following packages will be upgraded:
>chromium chromium-common chromium-sandbox chromium-shell 
> linux-headers-amd64 linux-image-amd64
> 6 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
> Need to get 169 MB/169 MB of archives.
> After this operation, 365 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> 
> Oh well, I'm going to say Y and purge xdg-sektop-portal right after.
> 
> Is there a way to ban it from future upgrades?
> 
> 
> Best
> Ale

Hi,

add:

Package: xdg-desktop-portal*
Pin:Release n=*
Pin-Priority: -1

to /etc/apt/preferences.d/preferences 

Ciao,
Tito

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


Re: [DNG] Web md RAID monitoring [was: Re: Fake RAID]

2022-03-12 Thread Didier Kryn

Le 12/03/2022 à 11:03, tito via Dng a écrit :

On Sat, 12 Mar 2022 10:32:53 +0100
Didier Kryn  wrote:


Le 12/03/2022 à 02:05, Ralph Ronnquist via Dng a écrit :

On Sat, 12 Mar 2022 09:33:01 +1100
Ralph Ronnquist  wrote:


On Fri, 11 Mar 2022 16:04:45 +0100
Didier Kryn  wrote:

       Its almost done. I have added a few features devised from
Tito's suggestions, and added git version control, but I can't
remember how to create the initial version in Devuan's git store.

You need an acount set up first; let's say it's "kryn" and for the
sake of example I use the name "webraid" for this project.

Then, at home, you use the 2 commands:

$ git remote add origin g...@git.devuan.org:kryn/webraid.git

$ git push --set-upstream origin master

Thereafter you need to jump onto the store's web interface and change
the project settings into not being a private project.

Actually, the above would be only if you have your ssh key registered
at the git store. If not you would rather use the following first
command:

$ git remote add origin https://git.devuan.org/kryn/webraid.git

and then follow on with the login credentials it asks for.


      Thanks for the explanations. I will keep your mails for the next
time. Following Aitor's instructions, I created a minimal repository
from the web, then cloned it locally, copied all the stuff in locally,
committed it and pushed the result back.

      It's called Diskweb. Thanks all for your help.

--     Didier

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

Hi,
some minor typos in Readme.md file:

This is a small http server, originally inspired by micro-httpd, for its small 
size, but with the intention to serve dynamic content instead of static files.

The primary reason to use an http server is that it is a simpler method to 
display graphics than interfacing with a graphics library like Gtk or Qt.

The second reason is that it is still usable on systems without graphics 
capability, since it is enough to have a network connection and view the 
graphics from a remote full-fledged computer.

This server provides monitoring of filesystem status and md RAID status. 
Monitoring of other system-critical components could be added.

file system

This server follows http 1.0 protocol, which means that the connexion is closed 
immediately after the content have been transferred. This makes it usable to 
serve one request after the other and have only one session at a time.


   connection

Data transferred reflects the status of the filesytems and of the RAID(s) at the moment 
of the request. There is no automatic update. To obtain updates, the user must repeat the 
request (by using the "refresh" button of the web blowser).

 file systems   



  browser
  
PORT NUMBER


This server expects connexions on port 8085 by default. If another port number 
is desired, it can be changed by one of 4 means:

   connections

 on the command line, invoque 'httpd port-number'

   invoke  (call?)

 in src/httpd.c: change the line #define LISTEN

 add the line above in /src/diskweb.h

 in the makefile, add a -D option to the gcc command to do the same

diskweb's httpd can also be invoqued through inetd, in which case it does not 
listen to any port and the listening port is part of inetd's configuration.

   invoked (called?)

BUILDING and INSTALLING

To just compile the executable file httpd, run 'make' To delete it, run 'make 
clean' To install /usr/local/diskweb/httpd, run 'make install' . (A dot is 
missing)

  To uninstall it, run 'make uninstall'   . (A dot is missing)

No sysv-rc, runit, s6, or other init scipt is provided. The easy way to start 
diskweb on Devuan is to copy the file diskweb.sh in /etc/boot.d ; commands in 
this directory

   script

  are executed by /etc/rc.local as the last step of system startup. This script 
is not installed by 'make install' because it would require root priviledge.



privileges
Note that root priviledge is needed to listen on a port number lower that 1024.

   privileges are


    Done. Replaced "invo[k|qu]e" 

[DNG] Why do I need xdg-desktop portal?

2022-03-12 Thread Alessandro Vesely via Dng

Hi all,

I don't use flatpak, so yesterday I removed xdg-desktop-portal from a machine 
where it was causing df to err trying to access a fuse mount.  I wandered how 
came xdg-desktop-portal was installed.

Today I got the answer.  I run apt-get dist-upgrade on another machine, and got:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.10.0-12-amd64 linux-headers-5.10.0-12-common 
linux-image-5.10.0-12-amd64 xdg-desktop-portal
  xdg-desktop-portal-gtk
The following packages will be upgraded:
  chromium chromium-common chromium-sandbox chromium-shell linux-headers-amd64 
linux-image-amd64
6 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 169 MB/169 MB of archives.
After this operation, 365 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Oh well, I'm going to say Y and purge xdg-sektop-portal right after.

Is there a way to ban it from future upgrades?


Best
Ale
--




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


Re: [DNG] Web md RAID monitoring [was: Re: Fake RAID]

2022-03-12 Thread tito via Dng
On Sat, 12 Mar 2022 10:32:53 +0100
Didier Kryn  wrote:

> Le 12/03/2022 à 02:05, Ralph Ronnquist via Dng a écrit :
> > On Sat, 12 Mar 2022 09:33:01 +1100
> > Ralph Ronnquist  wrote:
> >
> >> On Fri, 11 Mar 2022 16:04:45 +0100
> >> Didier Kryn  wrote:
> >>>       Its almost done. I have added a few features devised from
> >>> Tito's suggestions, and added git version control, but I can't
> >>> remember how to create the initial version in Devuan's git store.
> >> You need an acount set up first; let's say it's "kryn" and for the
> >> sake of example I use the name "webraid" for this project.
> >>
> >> Then, at home, you use the 2 commands:
> >>
> >> $ git remote add origin g...@git.devuan.org:kryn/webraid.git
> >>
> >> $ git push --set-upstream origin master
> >>
> >> Thereafter you need to jump onto the store's web interface and change
> >> the project settings into not being a private project.
> > Actually, the above would be only if you have your ssh key registered
> > at the git store. If not you would rather use the following first
> > command:
> >
> > $ git remote add origin https://git.devuan.org/kryn/webraid.git
> >
> > and then follow on with the login credentials it asks for.
> >
>      Thanks for the explanations. I will keep your mails for the next 
> time. Following Aitor's instructions, I created a minimal repository 
> from the web, then cloned it locally, copied all the stuff in locally, 
> committed it and pushed the result back.
> 
>      It's called Diskweb. Thanks all for your help.
> 
> --     Didier
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Hi,
some minor typos in Readme.md file:

This is a small http server, originally inspired by micro-httpd, for its small 
size, but with the intention to serve dynamic content instead of static files.

The primary reason to use an http server is that it is a simpler method to 
display graphics than interfacing with a graphics library like Gtk or Qt.

The second reason is that it is still usable on systems without graphics 
capability, since it is enough to have a network connection and view the 
graphics from a remote full-fledged computer.

This server provides monitoring of filesystem status and md RAID status. 
Monitoring of other system-critical components could be added.

   file system

This server follows http 1.0 protocol, which means that the connexion is closed 
immediately after the content have been transferred. This makes it usable to 
serve one request after the other and have only one session at a time.


  connection

Data transferred reflects the status of the filesytems and of the RAID(s) at 
the moment of the request. There is no automatic update. To obtain updates, the 
user must repeat the request (by using the "refresh" button of the web blowser).

file systems



 browser
 
PORT NUMBER

This server expects connexions on port 8085 by default. If another port number 
is desired, it can be changed by one of 4 means:

  connections

on the command line, invoque 'httpd port-number'

  invoke  (call?)

in src/httpd.c: change the line #define LISTEN

add the line above in /src/diskweb.h

in the makefile, add a -D option to the gcc command to do the same

diskweb's httpd can also be invoqued through inetd, in which case it does not 
listen to any port and the listening port is part of inetd's configuration.

  invoked (called?)

BUILDING and INSTALLING

To just compile the executable file httpd, run 'make' To delete it, run 'make 
clean' To install /usr/local/diskweb/httpd, run 'make install' . (A dot is 
missing)

 To uninstall it, run 'make uninstall'   . (A dot is missing)

No sysv-rc, runit, s6, or other init scipt is provided. The easy way to start 
diskweb on Devuan is to copy the file diskweb.sh in /etc/boot.d ; commands in 
this directory

  script

 are executed by /etc/rc.local as the last step of system startup. This script 
is not installed by 'make install' because it would require root priviledge.



   privileges
Note that root priviledge is needed to listen on a port number lower that 

Re: [DNG] Web md RAID monitoring [was: Re: Fake RAID]

2022-03-12 Thread Didier Kryn

Le 12/03/2022 à 02:05, Ralph Ronnquist via Dng a écrit :

On Sat, 12 Mar 2022 09:33:01 +1100
Ralph Ronnquist  wrote:


On Fri, 11 Mar 2022 16:04:45 +0100
Didier Kryn  wrote:

      Its almost done. I have added a few features devised from
Tito's suggestions, and added git version control, but I can't
remember how to create the initial version in Devuan's git store.

You need an acount set up first; let's say it's "kryn" and for the
sake of example I use the name "webraid" for this project.

Then, at home, you use the 2 commands:

$ git remote add origin g...@git.devuan.org:kryn/webraid.git

$ git push --set-upstream origin master

Thereafter you need to jump onto the store's web interface and change
the project settings into not being a private project.

Actually, the above would be only if you have your ssh key registered
at the git store. If not you would rather use the following first
command:

$ git remote add origin https://git.devuan.org/kryn/webraid.git

and then follow on with the login credentials it asks for.

    Thanks for the explanations. I will keep your mails for the next 
time. Following Aitor's instructions, I created a minimal repository 
from the web, then cloned it locally, copied all the stuff in locally, 
committed it and pushed the result back.


    It's called Diskweb. Thanks all for your help.

--     Didier

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