Re: what keyboard do you use?

2024-02-02 Thread Marco Moock
Am Fri, 2 Feb 2024 20:25:09 -0500
schrieb Lee :

> I figure there's a high percentage of keyboard jockeys here so ..
> which keyboard do you like and why?

IBM Model M.
They are still made by the company Unicomp, with PS/2, DIN or USB.



Re: what keyboard do you use?

2024-02-02 Thread Marco Moock
Am Fri, 2 Feb 2024 20:09:09 -0600
schrieb Nate Bargmann :

> I have several of the now classic IBM Model M keyboards I procured in
> the '90s.  Modern BIOSes don't like them even with a PS/2 to USB
> adapter so I gave up on them.

They need more power that normal keyboards, so not every converter
works.

I have a mainboard from 2019 wit PS/2 and the model M works fine.



Re: what keyboard do you use?

2024-02-02 Thread jeremy ardley

Lee wrote:

I bought a Dell desktop in 2019 and the keyboard just died :(


I have decided to go to the mechanical keyboard style where you get 
positive feedback on key strokes.


For me there are two 'colors' that are interesting

Blue which has strong tactile feedback, requires slight force, and gives 
a loud audible mechanical click on each keystroke.


Brown is the same as blue but has no load mechanical click, just the 
tactile feedback.


I don't necessarily make no mistakes but I know certainly when I have 
struck a key.


As far as brands go, most ones with names you don't recognise won't last 
a year. Probably a logitech one would be O.K.?


You can also get ones with keyboard lighting. It is actually helpful, 
though ones that do light shows are to be avoided. Just a simple green 
or such and perhaps ones that briefly dim the light on each key when you 
strike it.




Re: what keyboard do you use?

2024-02-02 Thread David Christensen

On 2/2/24 17:25, Lee wrote:

I bought a Dell desktop in 2019 and the keyboard just died :(

ssh in from another machine & do a 'sudo reboot now' and get an alert
about 'Keyboard not found.'  on power up.  The keyboard also doesn't
work in another machine so it's really & truly dead.

I figure there's a high percentage of keyboard jockeys here so ..
which keyboard do you like and why?

I have a Logitech k740 attached to my Windows machine which is ok.
Not great but OK.
I found a spare Logitech k120 keyboard in the closet; its better than
nothing but too thick for regular use.
And the old Dell keyboard from the Windows machine - also too thick,
the keys are too cramped and lettering has worn off on about 1/4 of
the keys (which is why I got the Logitech 740)

Thanks
Lee



The IBM Model M is the standard to which all other computer keyboards 
are compared.  The buckling spring design was created to provide a 
tactile experience comparable to an IBM Seletric typewriter, to support 
professional typists in an office environment.  I used and loved the 
Model M back in the day, but the noise gets tiresome and any persons not 
protected by a soundproof wall will hate you:


https://en.wikipedia.org/wiki/Model_M_keyboard


Unicomp makes modernized variants:

https://www.pckeyboard.com/page/category/UKBD


I believe I have read postings by people who installed O-rings on their 
Model M's to reduce the noise.



Another reader mentioned Cherry.  You can get complete keyboards from 
Cherry and you can get keyboards from other manufacturers with Cherry MX 
mechanical switches.  Make sure you understand the various colors and 
your typing needs/ preferences:


https://www.keyboardco.com/blog/index.php/2012/12/an-introduction-to-cherry-mx-mechanical-switches/


I have been using a Keyed Up Labs ES-87 for the past several years.  I 
am a pounder and have worn out or broken many keyboards, but the KUL-87 
and its Cherry MX Clear switches have withstood me.  The noise level is 
tolerable when typing at full speed, but you can slow down and type 
half-stroke when you want minimal noise:


https://www.tweaktown.com/reviews/6625/keyed-up-labs-kul-es-87-tenkeyless-mechanical-keyboard-review/index.html


The bottom of the barrel are keyboards with rubber dome switches.  If 
you do any serious typing, you and your fingers will not be happy.  I 
use leftover dome switch keyboards on headless servers to prevent 
missing keyboard errors and to perform minimal sysadmin chores (entering 
encryption passphrases during boot, logging in as root, restarting, 
powering off, etc.).



I have noted that my older PS/2 keyboards and/or mice are not recognized 
by the motherboard firmware Setup utility on my newer Dell workstations 
and/or servers with PS/2 ports.  And, PS/2 keyboards and mice are not 
hot-pluggable.  So, unless you have some specific PS/2 need (gamer with 
large N-key rollover?), I suggest USB.



David



Re: what keyboard do you use?

2024-02-02 Thread songbird
Lee wrote:

> I bought a Dell desktop in 2019 and the keyboard just died :(
...

  a Corsair K70 CORE RGB Mechanical Gaming Keyboard.  my
previous keyboard was starting to miss key presses and
duplicating others.  since i also needed a new mouse it
was a day to get a refresh.  paid about $80 for it.

  works fine, did not install any software to mess with
the settings i just use the manual key presses to set
it after booting (i don't want lights flashing or moving
when i'm typing and i'm ok with not seeing the keys most
of the time so i turn the lights way down).

  it is a little stiff and very quiet compared to what
i'm used to but it's working fine.

  since they keys are partially clear to let light 
through i'm not worried about wearing the keycaps off.
if i get 3 years out of it i'll be happy.  i seem to
go from 1-3 years most of the time before something
breaks.

  it is not light, it is not thin.  i perch it on my
lap as i type, it has to be flat and kept flet by some-
thing better than plastic to not mess up the stuff 
inside (based upon previous keyboards that failed due 
to plastic flexing too much over time).

  so we'll see how this one works out longer term.


  songbird



Re: what keyboard do you use?

2024-02-02 Thread Stefan Monnier
> I figure there's a high percentage of keyboard jockeys here so ..
> which keyboard do you like and why?

My favorites are the old Thinkpad USB UltraNav travel keyboards
(http://salestores.com/stores/images/images_747/31P9490.jpg).  They even
come with a 2-port USB hub so you can connect a mouse directly to them
(and/or a security key, ... tho you can't go crazy because it has very
low power limits (and it's USB-1 only): no flash drive, for instance).
But they're becoming hard to find.

I also have one of those cheap 78-key compact&thin keyboards and, beside
the lack of "page up"/"page down" keys (and of course the lack of
a trackpoint), I really like it.  Mine is a "no brand" model, but
it's fairly similar to the JLab Go wireless keyboard
(https://www.jlab.com/products/jlab-go-keyboard?variant=39457511407688),
except with a cable so I don't need to worry about batteries or
bluetooth connection.


Stefan



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Max Nikulin

On 03/02/2024 02:15, Tim Woodall wrote:

$ cat /boot/efi/EFI/XEN/xen.cfg

[...]

I'd be interested if there's a way to tell grubx64.efi to look for a
particular partition UUID.


An example of such grub.cfg from EFI/debian has been posted already in 
this thread

https://lists.debian.org/msgid-search/20240201200846.0bb82...@dorfdsl.de

Frankly speaking, I am unsure concerning your configuration. Perhaps the 
following may make it more clear


efibootmgr -v
find /boot/efi | sort

It seems secure boot is disabled in your case, so I am wondering why you 
do not boot xen.efi directly.




Re: what keyboard do you use?

2024-02-02 Thread Joe Pfeiffer
Lee  writes:

> I bought a Dell desktop in 2019 and the keyboard just died :(
>
> ssh in from another machine & do a 'sudo reboot now' and get an alert
> about 'Keyboard not found.'  on power up.  The keyboard also doesn't
> work in another machine so it's really & truly dead.
>
> I figure there's a high percentage of keyboard jockeys here so ..
> which keyboard do you like and why?
>
> I have a Logitech k740 attached to my Windows machine which is ok.
> Not great but OK.
> I found a spare Logitech k120 keyboard in the closet; its better than
> nothing but too thick for regular use.
> And the old Dell keyboard from the Windows machine - also too thick,
> the keys are too cramped and lettering has worn off on about 1/4 of
> the keys (which is why I got the Logitech 740)

A Logitech ergonomic keyboard that mimics the Microsoft Natural but,
sadly, has been out of production for many years. I don't know what I'll
do when it eventually dies, but I expect it'll be expensive...



Re: what keyboard do you use?

2024-02-02 Thread Ralph Aichinger
On Fri, 2024-02-02 at 20:25 -0500, Lee wrote:
> I figure there's a high percentage of keyboard jockeys here so ..
> which keyboard do you like and why?

I like the flat style similar to what is in many notebooks. Current
favourites are the Apple keyboards (expensive though, for what they
are), the Microsoft Designer Compact Keyboard (stupid generic model 
name), that seems to have a problem for some that the electronics die
prematurely, it might not be able to connect any longer after some
time. Great if it works though, can often be gotten relatively cheaply
for about half the normal price. Very minimal design, you can't take 
away much more from a keyboard:

https://www.microsoft.com/en/accessories/products/keyboards/microsoft-designer-compact-keyboard?activetab=pivot:overviewtab

And a new fascination of mine, the Logitech MX series, also kind
of expensive, and with rather ugly design, but typing feels just
wonderful.

Of the cheaper ones, I like the Logitech k280e. Feels quite OK for the
price, not on the level of the obove three though. Also large, clunky
and heavy.

I used to be a full layout (with keypad) person, but recently I began
to like the smaller layouts. Takes up less space on the desk, only
thing I miss are the full cursor keys. Easier to move around on the
desk, which I do a lot.

Keyboards are a product where preferences diverge a lot and are very 
personal. Fortunately there is lots of choice in the market currently.

/ralph



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Max Nikulin

On 03/02/2024 02:51, Thomas Schmitt wrote:

Max Nikulin wrote:

Just copy files from LiveCD (it should have EFI/Boot/bootx64.efi)
to the ESP partition on the USB stick.

The /EFI/boot directory of a bootable Debian ISO usually does not contain
the full GRUB equipment for EFI. Important parts of an amd64 Live ISO are
in /boot/grub.


Certainly. And grubx64.efi in EFI/Boot of a live media behaves a bit 
differently from one in EFI/debian of a regular install since in the 
former case it relies on boot/grub residing on the same partition.


My point was to copy *files* to the pre-partitioned drive, not a whole 
image to the whole block device. I had a hope that the topic starter is 
aware of the recommended way to create a bootable USB stick using dd (or 
cp, etc.).


I usually copy files to existing single FAT partition on USB drives 
having msdos partition table (as they are shipped). It requires 
additional actions to setup syslinux for the sake of legacy boot, but it 
leaves enough space to put some additional files while the boot drive is 
prepared or during live session (requires remounting as rw). UEFI boot 
relies on files and their specific layouts, not on specific block addresses.




Re: AW: AW: su su- sudo dont work

2024-02-02 Thread Timothy M Butterworth
On Fri, Feb 2, 2024 at 7:17 PM Schwibinger Michael  wrote:

> Good afternoon
>
> Before there was panic
>
> su
> su -
> sudo
> did work.
>
> Somebody does have experience with
> rescue mode?
>

If you are in Single User Mode you are already root and do not need: su or
sudo.



> Regards
> Sophie
>
>
> --
> *Von:* Greg Wooledge 
> *Gesendet:* Freitag, 26. Januar 2024 17:45
> *An:* debian-user@lists.debian.org 
> *Betreff:* Re: AW: AW: su su- sudo dont work
>
> On Fri, Jan 26, 2024 at 04:23:07PM +, Schwibinger Michael wrote:
> > su -
> > su
> > or sudo.
> >
> > Is su -
> > the best for install?
>
> Whatever works best for *you* is best.  "su -" is quite popular.
> If it does what you need, and is convenient for you, then there's
> your answer.
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: Wine in bullseye, which way to go?

2024-02-02 Thread Timothy M Butterworth
On Fri, Feb 2, 2024 at 2:59 PM Marco Moock  wrote:

> Am 01.02.2024 um 18:03:47 Uhr schrieb sko...@uns.ac.rs:
>
> > I am not sure what do you mean by "install that architecture". I have
> > been using i386 versions of Debian, and I do not plan to reinstall it
> > now just because the CPU may allow that. So instead, I ask whether it
> > was expected and properly when Synaptic installed lots of 64-bit
> > stuff during Wine installation from repo. Was it ok or not? Or shall
> > I remove it and follow instructions from WineHQ website?
>
> According to documentation I found in the internet, it is possible to
> upgrade a Debian system to the amd64 architecture.
> Maybe do that, but do a full backup before.
>
> i386 is dead for Debian, the next release won't be available for i386.
>

It is about time i386 is killed off. 64bit processors have been in
production for over 20 years now. I am all for getting the most out of
hardware but considering you can get a Intel Core2 Laptop with 4GB of RAM
for less that $100 refurbished there is no real reason to keep i386 around.


As long as you have a i386 kernel, you can't use amd64 software on it.
>
> --
> Gruß
> Marco
>
> Spam und Werbung bitte an ichschickerekl...@cartoonies.org
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: what keyboard do you use?

2024-02-02 Thread Timothy M Butterworth
On Fri, Feb 2, 2024 at 8:42 PM Gremlin 
wrote:

> On 2/2/24 20:25, Lee wrote:
> > I bought a Dell desktop in 2019 and the keyboard just died :(
> >
> > ssh in from another machine & do a 'sudo reboot now' and get an alert
> > about 'Keyboard not found.'  on power up.  The keyboard also doesn't
> > work in another machine so it's really & truly dead.
> >
> > I figure there's a high percentage of keyboard jockeys here so ..
> > which keyboard do you like and why?
>

I have a Nulea RT02 Ergonomic Keyboard. You can get one at Amazon for $45.
I like it alot! The two USB ports on the keyboard are handy.
.


> > I have a Logitech k740 attached to my Windows machine which is ok.
> > Not great but OK.
> > I found a spare Logitech k120 keyboard in the closet; its better than
> > nothing but too thick for regular use.
> > And the old Dell keyboard from the Windows machine - also too thick,
> > the keys are too cramped and lettering has worn off on about 1/4 of
> > the keys (which is why I got the Logitech 740)
> >
> > Thanks
> > Lee
> >
> >
>
> The one I like to use
>
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: what keyboard do you use?

2024-02-02 Thread Nate Bargmann
* On 2024 02 Feb 19:26 -0600, Lee wrote:
> I bought a Dell desktop in 2019 and the keyboard just died :(
> 
> ssh in from another machine & do a 'sudo reboot now' and get an alert
> about 'Keyboard not found.'  on power up.  The keyboard also doesn't
> work in another machine so it's really & truly dead.
> 
> I figure there's a high percentage of keyboard jockeys here so ..
> which keyboard do you like and why?

I have several of the now classic IBM Model M keyboards I procured in
the '90s.  Modern BIOSes don't like them even with a PS/2 to USB
adapter so I gave up on them.  The Lenovo KU-0225 is a good keyboard
with the "standard" extra keys that are useful in some desktops.  It is
full size and quiet.

My main keyboard is a daskeyboard I bought several years ago with the
Cherry key switches  It is thick so you might not like it and it is
loud.  It has the same number of keys as the Lenovo, 104, I think.  This
one was not cheap while the Lenovo was considerably less expensive.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: what keyboard do you use?

2024-02-02 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


On Friday, February 2nd, 2024 at 6:25 PM, Lee  wrote:

> I bought a Dell desktop in 2019 and the keyboard just died 
> :(https://www.google.com/search?q=map+of+the+USA+in+1845&safe=active&espv=2&biw=1280&bih=635&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwjQ-9bvs93RAhXJ7YMKHXzWDkIQsAQIGw#safe=active&tbm=isch&q=map+of+the+USA+in+1848&imgrc=GUh1lSV_dYk9KM%3A
> 
> I figure there's a high percentage of keyboard jockeys here so ..
> which keyboard do you like and why?

Cherry (available at Amazon).  I've used them for a 25 or 30 years, and I've 
never had one fail.  Or even think about it.

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJlvZweCZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAAAd2wf/QfaIRxAdnTe4fRCmnTJ+hFbtkwrQc3CkduMM3XUgbrSd3IaF
9RvSu/47exSI0S/zXkb0CVXWBkz4g9U3pFjYnhoCEF3Yl73IaWNVW/RuJe4h
0s4rt8UiM/oL278xMsCEXOqCDwK/chm3GRuKTpGVAHi2fCCHRGByabnyPVfy
YB26b5u5LOndk+R+8uCIIiuMHAyTqpLbe8L++bFdnVfjcW/MUim/ewUmLTDK
qrMWo0a5+dXqwRIocituXDnaDkYHTVneaUcFXvictlz7Oyv5ahtrkTKISiGV
EXwcN89HWd1rMijHLxEITEBIbQuiz71o2rqPWYzGJBTpPWWg1zCw3Q==
=Tcor
-END PGP SIGNATURE-



Re: what keyboard do you use?

2024-02-02 Thread Gremlin

On 2/2/24 20:25, Lee wrote:

I bought a Dell desktop in 2019 and the keyboard just died :(

ssh in from another machine & do a 'sudo reboot now' and get an alert
about 'Keyboard not found.'  on power up.  The keyboard also doesn't
work in another machine so it's really & truly dead.

I figure there's a high percentage of keyboard jockeys here so ..
which keyboard do you like and why?

I have a Logitech k740 attached to my Windows machine which is ok.
Not great but OK.
I found a spare Logitech k120 keyboard in the closet; its better than
nothing but too thick for regular use.
And the old Dell keyboard from the Windows machine - also too thick,
the keys are too cramped and lettering has worn off on about 1/4 of
the keys (which is why I got the Logitech 740)

Thanks
Lee




The one I like to use




what keyboard do you use?

2024-02-02 Thread Lee
I bought a Dell desktop in 2019 and the keyboard just died :(

ssh in from another machine & do a 'sudo reboot now' and get an alert
about 'Keyboard not found.'  on power up.  The keyboard also doesn't
work in another machine so it's really & truly dead.

I figure there's a high percentage of keyboard jockeys here so ..
which keyboard do you like and why?

I have a Logitech k740 attached to my Windows machine which is ok.
Not great but OK.
I found a spare Logitech k120 keyboard in the closet; its better than
nothing but too thick for regular use.
And the old Dell keyboard from the Windows machine - also too thick,
the keys are too cramped and lettering has worn off on about 1/4 of
the keys (which is why I got the Logitech 740)

Thanks
Lee



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 15:52:41 -0700
Charles Curley  wrote:

> But I don't think that will solve the routing problem.

Well, I was wrong. That did solve the routing problems.

I moved the apt-proxy line for the VMs' benefit into a VM's /etc/hosts
and took it out of hawk's /etc/hosts. samba is now an alias in the
virtual zone, so I don't need that line at all.

Thanks, Greg, for spotting that. Sometimes I'm dense. It took me a
while to realize what you were getting at.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 16:52:48 -0500
Greg Wooledge  wrote:

> Well, we don't know what's "right" or "wrong" on your networks.  These
> are private (non-routable) addresses with no meaning to anyone but you
> and your fellow network denizens.

Agree.

> 
> If you need different name resolution depending on whether you're
> running on the host vs. running on the guest, then I would imagine
> there is some well-known way to define that.  Perhaps a different
> hosts file that's only used by guests?  I don't know virtualization
> stuff well.

Yup. I took a quick and dirty route to solve a problem, and it leaked
over into another area. Sigh. The solution I took depends on the fact
that the libvirtual stuff uses dnsmasq for DNS and DHCP. And dnsmasq
reads the host machine's hosts file. Nice. But, as you pointed out, so
does the host machine's DNS lookup stuff. Sigh.

Possibly the solution to this problem is to see if I can take it out of
hosts, add it to dnsmasq directly, and finagle dnsmasq to only be
visible to the virtual machines.

But I don't think that will solve the routing problem.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



busybox-syslogd remote and memory logging

2024-02-02 Thread Greg

Hi there,

I'm using busybox-syslogd. I'm trying to make it log to remote system 
and to memory buffer. According to manual I should use -R 192.168.1.1 
for remote logging and -C128 option for memory buffer. Unfortunately, 
when used together logs are only sent to remote server. On Bookworm the 
following works

sbin/syslogd -R 192.168.1.1 -L -C128
Logs are sent to remote server and are kept in memory (for reading with 
logread). Unfortunately I'm unable to find proper options for Sid. Logs 
are sent to remote server but not stored in mem (logread gives empty 
output). Any suggestions?


Regards
Greg



Re: Network Problem: Redirection

2024-02-02 Thread Gremlin

On 2/2/24 16:28, Greg Wooledge wrote:

On Fri, Feb 02, 2024 at 02:03:46PM -0700, Charles Curley wrote:

root@hawk:~# host samba
samba.localdomain is an alias for hawk.localdomain.
hawk.localdomain has address 192.168.100.6


host(1) looks in DNS only.  It doesn't do the standard name resolution
that applications do.



host gremlin
gremlin.home.arpa has address 192.168.1.4
gremlin.home.arpa has IPv6 address fe80::a940:6c49:a620:4c09





Re: Network Problem: Redirection

2024-02-02 Thread Greg Wooledge
> > > # For the benefit of virtual machines.
> > > 192.168.100.12 apt-proxy
> > > 192.168.122.1 samba samba.localdomain  
> > 
> > And that's where it came from (/etc/hosts).  If this IP address is
> > wrong, then it shouldn't be in here.
> 
> Gnrrr. It's right for the virtual network (192.168.122.0). But
> shouldn't that work even if it isn't the "right" address?

Well, we don't know what's "right" or "wrong" on your networks.  These
are private (non-routable) addresses with no meaning to anyone but you
and your fellow network denizens.

If you need different name resolution depending on whether you're
running on the host vs. running on the guest, then I would imagine there
is some well-known way to define that.  Perhaps a different hosts file
that's only used by guests?  I don't know virtualization stuff well.



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 22:10:19 +0100
Marco Moock  wrote:

> Sorry for the first post.
> Your problem is located in the name resolution.
> 
> Show /etc/nsswitch.conf

I have not touched this.

root@hawk:~# cat /etc/nsswitch.conf 
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: files systemd
group:  files systemd
shadow: files
gshadow:files

hosts:  files mdns4_minimal [NOTFOUND=return] dns mymachines
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis
root@hawk:~# 


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Network Problem: Redirection

2024-02-02 Thread Charles Curley
On Fri, 2 Feb 2024 16:28:06 -0500
Greg Wooledge  wrote:

> > However, when I try to ping samba by host name:
> > 
> > root@hawk:~# ping samba
> > PING samba (192.168.122.1) 56(84) bytes of data.  
> 
> Note that this is a *different* IP address.

Good catch, thank you.

> 
> > # For the benefit of virtual machines.
> > 192.168.100.12 apt-proxy
> > 192.168.122.1 samba samba.localdomain  
> 
> And that's where it came from (/etc/hosts).  If this IP address is
> wrong, then it shouldn't be in here.

Gnrrr. It's right for the virtual network (192.168.122.0). But
shouldn't that work even if it isn't the "right" address?

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Network Problem: Redirection

2024-02-02 Thread Greg Wooledge
On Fri, Feb 02, 2024 at 02:03:46PM -0700, Charles Curley wrote:
> root@hawk:~# host samba
> samba.localdomain is an alias for hawk.localdomain.
> hawk.localdomain has address 192.168.100.6

host(1) looks in DNS only.  It doesn't do the standard name resolution
that applications do.

> root@hawk:~# ping 192.168.100.6
> PING 192.168.100.6 (192.168.100.6) 56(84) bytes of data.
> 64 bytes from 192.168.100.6: icmp_seq=1 ttl=64 time=0.083 ms

> However, when I try to ping samba by host name:
> 
> root@hawk:~# ping samba
> PING samba (192.168.122.1) 56(84) bytes of data.

Note that this is a *different* IP address.

> # For the benefit of virtual machines.
> 192.168.100.12 apt-proxy
> 192.168.122.1 samba samba.localdomain

And that's where it came from (/etc/hosts).  If this IP address is
wrong, then it shouldn't be in here.



Re: Network Problem: Redirection

2024-02-02 Thread Marco Moock
Am 02.02.2024 um 14:03:46 Uhr schrieb Charles Curley:

> root@hawk:~# host samba
> samba.localdomain is an alias for hawk.localdomain.
> hawk.localdomain has address 192.168.100.6


> root@hawk:~# ping samba
> PING samba (192.168.122.1) 56(84) bytes of data.


Sorry for the first post.
Your problem is located in the name resolution.

Show /etc/nsswitch.conf


-- 
kind regards
Marco

Spam und Werbung bitte an ichschickerekl...@cartoonies.org



Re: Network Problem: Redirection

2024-02-02 Thread Marco Moock
Am 02.02.2024 um 14:03:46 Uhr schrieb Charles Curley:

> From apt-proxy (192.168.100.12): icmp_seq=2 Redirect Host(New
> nexthop: hawk.localdomain (192.168.100.6))

Check the routing table on apt-proxy.
ICMP redirect happens if you have 2 routers on the same ethernet link
and the router you try to contact know a better route to the
destination.
Although, both routes need to point to the same direction.

-- 
Gruß
Marco

Spam und Werbung bitte an ichschickerekl...@cartoonies.org



Network Problem: Redirection

2024-02-02 Thread Charles Curley
I have an interesting network problem. I have a samba service on hawk. I
have an alias for it in DNS:

root@hawk:~# host samba
samba.localdomain is an alias for hawk.localdomain.
hawk.localdomain has address 192.168.100.6
root@hawk:~# host hawk
hawk.localdomain has address 192.168.100.6
root@hawk:~# 

I can ping by IP address just fine:

root@hawk:~# ping 192.168.100.6
PING 192.168.100.6 (192.168.100.6) 56(84) bytes of data.
64 bytes from 192.168.100.6: icmp_seq=1 ttl=64 time=0.083 ms
64 bytes from 192.168.100.6: icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from 192.168.100.6: icmp_seq=3 ttl=64 time=0.044 ms
64 bytes from 192.168.100.6: icmp_seq=4 ttl=64 time=0.052 ms
64 bytes from 192.168.100.6: icmp_seq=5 ttl=64 time=0.063 ms

--- 192.168.100.6 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4101ms
rtt min/avg/max/mdev = 0.034/0.055/0.083/0.016 ms
root@hawk:~# 

However, when I try to ping samba by host name:

root@hawk:~# ping samba
PING samba (192.168.122.1) 56(84) bytes of data.
From apt-proxy (192.168.100.12): icmp_seq=2 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))
From apt-proxy (192.168.100.12): icmp_seq=3 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))
From apt-proxy (192.168.100.12): icmp_seq=4 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))
From apt-proxy (192.168.100.12): icmp_seq=5 Redirect Host(New nexthop: 
hawk.localdomain (192.168.100.6))

--- samba ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4019ms

root@hawk:~# host apt-proxy
apt-proxy.localdomain is an alias for issola.localdomain.
issola.localdomain has address 192.168.100.12
root@hawk:~# 

192.168.100.12 is my router. apt-roxy is defined in /etc/hosts:

root@hawk:~# cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   hawk.localdomainhawk

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

# For the benefit of virtual machines.
192.168.100.12 apt-proxy
192.168.122.1 samba samba.localdomain
root@hawk:~# 

There is an apt-cacher-ng running on issola, 192.168.100.12. That
apt-proxy entry is for the benefit of virtual machines on hawk.

This mis-routing prevents the samba clients on hawk from mounting if I
use the host name. Other machines have no problems with the share.
However, as soon as I change hawk's fstab entry to the loopback
address, samba on hawk is fine.

Using the IP address works, but I'd rather use an alias in case some
time in the future I move the samba service to another machine; all I
need do is change the alias.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Franco Martelli

On 02/02/24 at 15:12, Dmitry wrote:

Going to read carefully.

https://www.debian.org/releases/buster/amd64/ch04s03.en.html

Interesting that Buster has more documentation than current release.




Nope, maybe you gave a quick read, the release notes of the current 
release ¹  are exhaustive. If you need to go deeper, a link ² to the 
wiki it's published in that page.


Kind regards,


¹ https://www.debian.org/releases/bookworm/amd64/ch04s03.en.html
² https://wiki.debian.org/DebianInstaller/CreateUSBMedia
--
Franco Martelli



Re: Wine in bullseye, which way to go?

2024-02-02 Thread Greg Wooledge
On Fri, Feb 02, 2024 at 08:59:18PM +0100, Marco Moock wrote:
> According to documentation I found in the internet, it is possible to
> upgrade a Debian system to the amd64 architecture.

That isn't an upgrade, and it isn't a supported operation.

Some people have *done* it, but it's very much at-your-own-risk.

> Maybe do that, but do a full backup before.

I wouldn't recommend it, certainly not for someone who's operating with
less than a full understanding of the situation.

> i386 is dead for Debian, the next release won't be available for i386.

It's dying, I would say.  Not all the way dead just yet.

The next release will not offer an *installer* for i386, but upgrades
from Debian 12 i386 to Debian 13 i386 might continue to work.

That bears its own risks.  Support for i386 is likely to be less than
full.  Things will probably start breaking and not getting fixed, more
and more often as the years roll on, until it's officially declared dead.

> As long as you have a i386 kernel, you can't use amd64 software on it.

This is true.

> Am 01.02.2024 um 18:03:47 Uhr schrieb sko...@uns.ac.rs:
> 
> > I am not sure what do you mean by "install that architecture". I have
> > been using i386 versions of Debian, and I do not plan to reinstall it
> > now just because the CPU may allow that.

At some point, you will have to make a decision.  i386 is going to stop
being supported sooner or later.



Re: Wine in bullseye, which way to go?

2024-02-02 Thread Marco Moock
Am 01.02.2024 um 18:03:47 Uhr schrieb sko...@uns.ac.rs:

> I am not sure what do you mean by "install that architecture". I have
> been using i386 versions of Debian, and I do not plan to reinstall it
> now just because the CPU may allow that. So instead, I ask whether it
> was expected and properly when Synaptic installed lots of 64-bit
> stuff during Wine installation from repo. Was it ok or not? Or shall
> I remove it and follow instructions from WineHQ website?

According to documentation I found in the internet, it is possible to
upgrade a Debian system to the amd64 architecture.
Maybe do that, but do a full backup before.

i386 is dead for Debian, the next release won't be available for i386.

As long as you have a i386 kernel, you can't use amd64 software on it.

-- 
Gruß
Marco

Spam und Werbung bitte an ichschickerekl...@cartoonies.org



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Thomas Schmitt
Hi,

Dmitry wrote:
> Yep. `dd` copy partitions table. Amazing.

Not so amazing after you realize that a partition table is just data on
the storage medium and not some special property of the storage device.
dd copies data. If these data contain a partition table and get copied to
the right place on the storage medium, the partition table will be
recognized by EFI and Linux.


> applies no 'intelligence' to the operation.

This describes it very well. Sometimes dumb is good. Sometimes not.


Initially you stated in
  https://lists.debian.org/debian-user/2024/02/msg8.html
>...> I need to prepare that system for booting.
>...> 1. Install Kernel.
>...> 2. Install GRUB and Configure.
>...> 3. Add changes to UEFI to start booting.

dd-ing a bootable Debian ISO will not do what you describe.
Assumed the ISO is prepared for booting from USB stick, you will get a
bootable Live or an installer system. At least ISOs for i386, amd64, and
arm64 should be prepared for that.

If it is not ready for booting from USB stick, it will be just a storage
with a mountable filesystem and Debian files in it.


Max Nikulin wrote:
> > Just copy files from LiveCD (it should have EFI/Boot/bootx64.efi)
> > to the ESP partition on the USB stick.

The /EFI/boot directory of a bootable Debian ISO usually does not contain
the full GRUB equipment for EFI. Important parts of an amd64 Live ISO are
in /boot/grub.
The programs in /EFI/boot are specialized on convincing Secure Boot and
on finding the ISO filesystem with /boot/grub in it. (Actually those are
copies of the EFI boot partition files. The boot partition is a FAT
filesystem image file inside the ISO named /boot/grub/efi.img .)


Tim Woodall wrote:
> > I'm not exactly sure what you're doing.

I join this statement. :))

Do you want a normal changeable Debian system installation or do you want
a Live system with its immutable core and maybe some partition where you
can store files ?
(Just curiosity of mine. Possibly i could not help much with chroot
questions anyway.)


Have a nice day :)

Thomas



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Tim Woodall

On Thu, 1 Feb 2024, Marco Moock wrote:


Am 01.02.2024 um 19:20:01 Uhr schrieb Tim Woodall:


$ cat /boot/efi/EFI/XEN/xen.cfg
[global]
default=debian

[debian]
options=console=vga smt=true
kernel=vmlinuz root=/dev/mapper/vg--dirac-root ro quiet
ramdisk=initrd.img


menuentry "Xen EFI NVME" {
 insmod part_gpt
 insmod search_fs_uuid
 insmod chain
#set root=(hd1,gpt1)
 search --no-floppy --fs-uuid --set=root C057-BC13
 chainloader (hd1,gpt1)/EFI/XEN/xen.efi
}


Then this file tells the boot loader about the /boot or / partition.
Is that the Xen virtualization software?


The NVRAM is configured to boot:
/boot/efi/EFI/debian/grubx64.efi

That then hunts for grub.cfg. I believe it finds the first grub.cfg -
which has caused me issues in the past where I've had a legacy partition
on the disk that I'd forgotten about but the efi application sees. I'd
be interested if there's a way to tell grubx64.efi to look for a
particular partition UUID.

That menuentry above then tells efi to chainload the xen.efi
application. This is all in efi land.

That then reads xen.cfg and boots the kernel and initrd defined in that
file.




Re: IPv6, ip token, NetworkManager and accept_ra

2024-02-02 Thread Tim Woodall

On Fri, 2 Feb 2024, Ralph Aichinger wrote:


Hi fellow Debian users!

In my quest to advance the IPv6 preparedness of my home LAN I want to
find a solution to use IP tokens on all my clients. IP tokens (keeping
the host part of the IPv6 address static while getting the subnet part
by SLAAC) seem very elegant to me, because it avoids DHCPv6 completely,
and still makes mostly working DNS records possible.

Opinions on SLAAC+IP tokens are welcome ;)



I don't use NetworkManager but I have this sort of thing:

iface eth0 inet6 auto
pre-up echo 64 
>/proc/sys/net/ipv6/conf/$IFACE/accept_ra_rt_info_max_plen
pre-up ip token set ::17:102/64 dev $IFACE
up ip -6 addr add fd01:08b0:bfcd:100::17:112/64 dev $IFACE


One of my clients is a surface laptop running Debian sid, Gnome,
NetworkManager and getting connection via WiFi. The first hickup with
this is, that seemingly ra is disabled on my NetworkManager configured
device wl0:

root@surface:~# ip token set ::5fac dev wl0
Error: ipv6: Router advertisement is disabled on device.

This can easily corrected with

echo 1 >  /proc/sys/net/ipv6/conf/wl0/accept_ra



you can set that in /etc/sysctl.conf. Not exactly sure why it's not set
by default though... Check whether it's turned off there!


But what is the correct way to do this "ip token set" with
NetworkManager (or in spite of NetworkManager ;)?



Don't know, sorry.


Should I use nmcli or something else? Is there maybe even a hidden
Gnome GUI option?

Any other comments on this maybe quixotic endavour are welcome ;)



I like using tokens rather than the address generated from the MAC.



AW: AW: AW: su su- sudo dont work

2024-02-02 Thread Schwibinger Michael
Good afternoon

Before there was panic

su
su -
sudo
did work.

Somebody does have experience with
rescue mode?

Regards
Sophie



Von: Greg Wooledge 
Gesendet: Freitag, 26. Januar 2024 17:45
An: debian-user@lists.debian.org 
Betreff: Re: AW: AW: su su- sudo dont work

On Fri, Jan 26, 2024 at 04:23:07PM +, Schwibinger Michael wrote:
> su -
> su
> or sudo.
>
> Is su -
> the best for install?

Whatever works best for *you* is best.  "su -" is quite popular.
If it does what you need, and is convenient for you, then there's
your answer.



Re: Automatically installing GRUB on multiple drives

2024-02-02 Thread hw
On Fri, 2024-02-02 at 14:41 +0100, Franco Martelli wrote:
> On 31/01/24 at 22:51, hw wrote:
> > > [...]
> > > If your suggested solution is "use hardware RAID", no need to repeat
> > > that one though: I see you said it in a few other messages, and that
> > > suggestions has been received. Assume the conversation continues
> > > amongst people who don't like that suggestion.
> 
> > Well, too late, I already said it again since you asked.  Do you have
> > a better solution?  It's ok not to like this solution, but do you have
> > a better one?
> 
> There is an alternative to hardware RAID if you want a Linux RAID: you 
> can disable UEFI in the BIOS and delete the ESP as I did when I bought 
> my gaming PC several years ago.
> 
> I created my software RAID level 5 using debian-installer and it works 
> perfectly without ESP, you have to choose "Expert install" in "Advanced 
> options". I installed Bookworm when it was released in this way.

Right, I forgot about that.  Is that always an option?



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread tomas
On Sat, Feb 03, 2024 at 01:17:05AM +0700, Dmitry wrote:
> > Just copy files from LiveCD (it should have EFI/Boot/bootx64.efi) to the
> ESP partition on the USB stick.
> 
> As I understand right now `dd` command applied to a device will copy all
> information including partitions table. Thus:

Actually, cp (or even, horrors ;-) cat do the same. One advantage of dd is...

> dd if=debian-xx.iso of=/dev/sdb bs=4M status=progress; sync

...this "status=progress". The other is "oflag=sync": for bigger sticks
(and if you have tons of RAM) this last "sync" could take a long while,
without giving you feedback of what's happening.

And the third one (which it shares with cp but not with cat) is that
sudo won't work in "sudo cat foo.img > /dev/bar" (unless you already
are root, but that'd be cheating ;-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Dmitry
> Just copy files from LiveCD (it should have EFI/Boot/bootx64.efi) to the 
ESP partition on the USB stick.


Yep. `dd` copy partitions table. Amazing.

```
dd will simply recreate the old partition scheme, as it is a bitwise copy & 
applies no 'intelligence' to the operation.

```
https://askubuntu.com/a/847533



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Dmitry
> Just copy files from LiveCD (it should have EFI/Boot/bootx64.efi) to the 
ESP partition on the USB stick.


As I understand right now `dd` command applied to a device will copy all 
information including partitions table. Thus:


dd if=debian-xx.iso of=/dev/sdb bs=4M status=progress; sync

Would just create a copy of device, with FileSystem and PartitionsTable.



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread David Wright
On Fri 02 Feb 2024 at 21:12:30 (+0700), Dmitry wrote:
> Going to read carefully.
> 
> https://www.debian.org/releases/buster/amd64/ch04s03.en.html
> 
> Interesting that Buster has more documentation than current release.

It appears the balance has now been spun off into a wiki page, at

  https://wiki.debian.org/DebianInstaller/CreateUSBMedia

Cheers,
David.



Re: Q: Gnome network odd

2024-02-02 Thread David Wright
On Fri 02 Feb 2024 at 07:37:34 (+), Tixy wrote:
> On Wed, 2024-01-31 at 22:12 -0600, David Wright wrote:
> > > I also have a more vague memory that you could put config into
> > > /etc/network/interfaces then in some circumstance NetworkManager
> > > would
> > > not try and manage that interface, and in others it would take
> > > over.
> > > (Perhaps selected by allow hotplug option in the ifupdown config?)
> > 
> > That seems unlikely. Perhaps you're thinking of NM's ifupdown plugin
> > that allows you to use the configuration in /e/n/i. I'm assuming the
> > OP has not installed that in their sleep.
> 
> They wouldn't need to because it looks like it's shipped with the main
> network-manage package which contains various files with 'plugin' in
> their name, including libnm-settings-plugin-ifupdown.so.

What I said was unlikely is that an option in ifupdown's configuration,
/e/n/i, would control NM's behaviour. It's the mere mention of the
interface there, as in   iface enp5s0 inet dhcp   that makes ifupdown
control it, and makes NM back off, AIUI.

> As we've seen from the OPs latest reply, the plugin is configured to
> not manage interfaces.

Right, and so the default NM configuration (ifupdown plugin present,
news to me) and   [ifupdown] // managed=false   in the .conf file,
means that NM should not, by default, configure any interface
mentioned in /e/n/i. In the OP's case, the original /e/n/i:
-rw-r--r-- 1 root root  433 Oct  4 17:23 interfaces.orig
is big enough to hold a typical lo+eth+wlan configuration, which
we haven't seen yet.

Cheers,
David.



Re: IPv6, ip token, NetworkManager and accept_ra

2024-02-02 Thread Ralph Aichinger
On Fri, 2024-02-02 at 15:31 +0100, Marco Moock wrote:
> It should be if you enter "save" in the nmcli.

Thanks, I did not realize this was possible. I probably
will use nmcli more often in the future.

Ralph




Re: su su- sudo dont work

2024-02-02 Thread CL

Am 27.01.24 um 10:23 schrieb Hans:

I see this exactly as you and are watching this list for may years.

However, I wanted not to be so directly because I want not to blame anyone on
this list.

But since the beginning, I had the suspicion, that someone just wants to make
fun with us.

Aleady from the beginning I checked after the mail adress (please note, I am
German myself) and found some theater group behind the mailadress.

So I personally(!) believe, the group is making fun with us, but even then I
gave him a chance.

And again I personally(!) (and this is my very personal opinion), I think,
nobody is so stupid, that he/she can not do a su or install a package. NOT
after 2 years!!!

For me, I will get no help here for this person, just ignore it. This is my
very personal decision!

Sorry to say it, but for me personally it looks like fake! Like a morone, like
a troll.

And those I can not support, sorry.

Please excuse, I do not want to hurt anyone, just tell, what I think.

Best regards

Hans


I see very similar posts in the German language list from the last two
years but as Tobias Schwibingerr or similar - also signed by a Sophie

When I asked this question some time ago, it seems that the German language
list had concluded that this person might be a troll (or even a psychology
experiment / AI) :(

Like you, I have attempted to engage - but I think none of us will see
any change - I think the German list pays no attention / may have blocked
this user.






Hello,

I agree completely with you.

Follow this list for appr. one year now and this "person" (Michael 
Schwibinger / Sophie / ???) pop up every couple of month.


He/She works always with the same "scam".

1. Came up with a simple sounding cry for help (Computer / OS destroyed 
or something else)
2. React on questions for clarification with stupid and even more 
confusing answers


What I notice that every popup it is a little bit better with the 
answers. They stay stupid and unrelated but the are more wordy.


So I think at the moment it is a troll who works with AI to generate 
some answers. But this is of course my personal opinion.


For a real psychological experiment the design of the experiment is much 
to poor.


I decided for me not care on threads which are based on a message of 
this persons.


The most disappointing thing is that there is no possibility to block 
such "contributors". As I know. Even a block won't really help. They 
might start with a new email in the same way again.



--
---
mit freundlichen Grüßen / Best Regards

**Christian Lorenz**

mailto:cl.debian.mail...@t-online.de
---



Re: Can't list root directory

2024-02-02 Thread Gary Dale

On 2024-01-31 12:02, Max Nikulin wrote:

On 29/01/2024 23:42, Gary Dale wrote:

"ls -l /" just hangs


It may dereference symlinks, call stat, etc. to colorize output. May 
it happen that you have automount points or something related to 
network mounts?


Does "echo /*" hangs?

Even bash prompt may do some funny stuff. I would try it from "dash".

Can you install strace? E.g. copy files while booted from a live media.

Thanks everyone for the suggestions. I'll retune the array to not fsck 
every boot and see if the problem recurs so I can try your suggestions.




Re: IPv6, ip token, NetworkManager and accept_ra

2024-02-02 Thread Marco Moock
Am 02.02.2024 schrieb Ralph Aichinger :

> On Fri, 2024-02-02 at 14:28 +0100, Marco Moock wrote:

> > # nmcli c mod enp4s0 ipv6.addr-gen-mode eui64
> > # nmcli c mod enp4s0 ipv6.token ::deca:fbad:c0:ffee  
> 
> This is not permanent, is it?

It should be if you enter "save" in the nmcli.



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Max Nikulin

On 02/02/2024 21:06, Dmitry wrote:
Need additional research what to do with a FlashStick with several 
partitions to make a LiveCD from it.


Just copy files from LiveCD (it should have EFI/Boot/bootx64.efi) to the 
ESP partition on the USB stick.




Re: IPv6, ip token, NetworkManager and accept_ra

2024-02-02 Thread Ralph Aichinger
On Fri, 2024-02-02 at 14:28 +0100, Marco Moock wrote:
> In the past the default was to use EUI-64 and have the MAC address in
> the address. If that is suitable for you (privacy!), use that.

I basically don't care about the privacy aspect for now (it is more of
a lab setup, and my IPv4 address is static, and its PTR resolves to
something with my surname in it ;). At least at the moment I would
prefer shorter IPv6 addresses than can be constructed from the MAC, 
even considering the possibility to "fake" the MAC to something
with many zeroes, using historic/obsolete MAC vendor ids with zeroes in
them etc., because identifying IPs at one glance seems very attractive
to me. Right now I want as short/as memorable IPv6 addresses as
possible.

> Use the NetworkManager to configure that.
> Automatic means using SLAAC (if available in the RA) and DHCPv6 (if
> available in the RA).

Thanks!

> > But what is the correct way to do this "ip token set" with
> > NetworkManager (or in spite of NetworkManager ;)?
> 
> # nmcli c mod enp4s0 ipv6.addr-gen-mode eui64
> # nmcli c mod enp4s0 ipv6.token ::deca:fbad:c0:ffee

This is not permanent, is it? What is the suggested way to make this
survive a reboot in Debian? 

Thanks for your comprehensive reply!

/ralph




Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Dmitry

Going to read carefully.

https://www.debian.org/releases/buster/amd64/ch04s03.en.html

Interesting that Buster has more documentation than current release.




Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Dmitry

> Do you want to install the OS on it?

Eventually no, I do not want OS on the Flash Stick.
The Flash Stick is only a testing place. I want OS at the SSD.

Now I am wondering how to prepare the Flash Stick to write LiveImage on it. 
Because I already created a GPT table on that Flash and use debootstrap.


Looks like need to create a new parition and copy LiveImage there.
Need additional research what to do with a FlashStick with several partitions 
to make a LiveCD from it.



> Do you want an encrypted system?

No. I do not need this abstraction layer now.



Re: install Kernel and GRUB in chroot.

2024-02-02 Thread Marco Moock
Am 02.02.2024 schrieb Dmitry :

> I want OS at the SSD.

Then the ESP should be on that SSD too.



Re: Automatically installing GRUB on multiple drives

2024-02-02 Thread Franco Martelli

On 31/01/24 at 22:51, hw wrote:

[...]
If your suggested solution is "use hardware RAID", no need to repeat
that one though: I see you said it in a few other messages, and that
suggestions has been received. Assume the conversation continues
amongst people who don't like that suggestion.



Well, too late, I already said it again since you asked.  Do you have
a better solution?  It's ok not to like this solution, but do you have
a better one?


There is an alternative to hardware RAID if you want a Linux RAID: you 
can disable UEFI in the BIOS and delete the ESP as I did when I bought 
my gaming PC several years ago.


I created my software RAID level 5 using debian-installer and it works 
perfectly without ESP, you have to choose "Expert install" in "Advanced 
options". I installed Bookworm when it was released in this way.


Cheers,
--
Franco Martelli



Re: IPv6, ip token, NetworkManager and accept_ra

2024-02-02 Thread Marco Moock
Am 02.02.2024 schrieb Ralph Aichinger :

> In my quest to advance the IPv6 preparedness of my home LAN I want to
> find a solution to use IP tokens on all my clients. IP tokens (keeping
> the host part of the IPv6 address static while getting the subnet part
> by SLAAC) seem very elegant to me, because it avoids DHCPv6
> completely, and still makes mostly working DNS records possible.
> 
> Opinions on SLAAC+IP tokens are welcome ;)

The process of the automatic generation is called SLAAC, regardless of
the identifier being used.
In the past the default was to use EUI-64 and have the MAC address in
the address. If that is suitable for you (privacy!), use that.

> One of my clients is a surface laptop running Debian sid, Gnome, 
> NetworkManager and getting connection via WiFi. The first hickup with
> this is, that seemingly ra is disabled on my NetworkManager configured
> device wl0:
> 
> root@surface:~# ip token set ::5fac dev wl0
> Error: ipv6: Router advertisement is disabled on device.
> 
> This can easily corrected with 
> 
> echo 1 >  /proc/sys/net/ipv6/conf/wl0/accept_ra
> 
> But: Is this a misconfiguration on my machine, or to be expected, when
> using NetworkManager? I am using the following settings in the GUI:
> IPv5: "Disable", IPv6 "Automatic". Do I risk messing up other stuff by
> manually setting this eg. with the help of /etc/sysctl.conf? 

Use the NetworkManager to configure that.
Automatic means using SLAAC (if available in the RA) and DHCPv6 (if
available in the RA).

> But what is the correct way to do this "ip token set" with
> NetworkManager (or in spite of NetworkManager ;)?

# nmcli c mod enp4s0 ipv6.addr-gen-mode eui64
# nmcli c mod enp4s0 ipv6.token ::deca:fbad:c0:ffee

You need EUI-64 for that. Disable the Privacy extensions completely if
you don't like an ADDITIONAL address with a randomly generated
interface identifier that changes time to time.



IPv6, ip token, NetworkManager and accept_ra

2024-02-02 Thread Ralph Aichinger
Hi fellow Debian users!

In my quest to advance the IPv6 preparedness of my home LAN I want to
find a solution to use IP tokens on all my clients. IP tokens (keeping
the host part of the IPv6 address static while getting the subnet part
by SLAAC) seem very elegant to me, because it avoids DHCPv6 completely,
and still makes mostly working DNS records possible.

Opinions on SLAAC+IP tokens are welcome ;)

One of my clients is a surface laptop running Debian sid, Gnome, 
NetworkManager and getting connection via WiFi. The first hickup with
this is, that seemingly ra is disabled on my NetworkManager configured
device wl0:

root@surface:~# ip token set ::5fac dev wl0
Error: ipv6: Router advertisement is disabled on device.

This can easily corrected with 

echo 1 >  /proc/sys/net/ipv6/conf/wl0/accept_ra

But: Is this a misconfiguration on my machine, or to be expected, when
using NetworkManager? I am using the following settings in the GUI:
IPv5: "Disable", IPv6 "Automatic". Do I risk messing up other stuff by
manually setting this eg. with the help of /etc/sysctl.conf? 

After that

ip token set ::5fac dev wl0

works just fine and I get a nice ip with the token part in it:

2: wl0:  mtu 1450 qdisc noqueue state
UP group default qlen 1000
    link/ether 00:00:0f:00:00:00 brd ff:ff:ff:ff:ff:ff permaddr
6c:a1:00:20:ca:7b
    inet6 2a02:ab8:201:5b8::5fac/64 scope global dynamic mngtmpaddr
proto kernel_ra 
   valid_lft 86394sec preferred_lft 14394sec
    inet6 2a02:ab8:201:5b8:526a:2061:5984:24a/64 scope global dynamic
noprefixroute 
   valid_lft 86395sec preferred_lft 14395sec
    inet6 fe80::6e20:1d4b:4fa:e41f/64 scope link noprefixroute 
   valid_lft forever preferred_lft forever


But what is the correct way to do this "ip token set" with
NetworkManager (or in spite of NetworkManager ;)?

Should I use nmcli or something else? Is there maybe even a hidden
Gnome GUI option?

Any other comments on this maybe quixotic endavour are welcome ;)

Thanks in advance, 
Ralph



Re: su su- sudo dont work

2024-02-02 Thread Christian Lorenz
Yes,

He/She is back again.

In my opinion no serious request intended by this "person".

Same approach as last time (and the issues before)

* crying for help (destroyed OS)
* no real answers to questions
* repeating the same complain frequently


Some possibilities

1. Shity AI
2. Troll
3. Bored child
4. 
5. ...

I think best thing: ignore it latest after the first fail response to a clear 
quedtion.



--- 
Mit freundlichen Grüßen / Best Regards

**Christian Lorenz**

mailto:cl.debian.mail...@t-online.de
--- 

Am 20. Januar 2024 15:34:16 MEZ schrieb David Wright :
>On Sat 20 Jan 2024 at 09:14:30 (-0500), Greg Wooledge wrote:
>> On Sat, Jan 20, 2024 at 01:26:06PM +, Schwibinger Michael wrote:
>> > Good afternoon.
>> > Root terminal is fine.
>> > What do I do wrong?
>> > What did I destroy?
>> > 
>> > PC does have only one user=admin.
>> > 
>> > Regards Sophie
>> > Is it the rescue mode?
>> 
>> Explain, please.
>> 
>> Your Subject: header says "su su- sudo dont work".  What does this MEAN?
>> 
>> Please show us your attempts to USE each of these commands, and the
>> results that you got.  This means, run the commands in a terminal
>> window, and then PASTE the contents of that terminal window into the
>> body of your next email.  Show us the shell prompt, the command as you
>> typed it, and the full output.
>> 
>> In other words, show us WHAT IS WRONG, or at least what appears wrong.
>> 
>> In addition, please give basic background information -- what version
>> of Debian you are running, what desktop environment if any, how you
>> logged in (*especially* if it isn't just a "standard graphical login
>> for your desktop environment"), and anything else you can think of
>> that might be relevant.
>> 
>> How does "rescue mode" factor into the problem?
>> 
>> When you installed Debian, did you give a root password, or did you
>> leave it blank?
>> 
>> Finally, it would be helpful for you to run the "id" command (with no
>> arguments), in the same terminal session as your failed su or sudo
>> command(s), and include that command and its output in your paste.
>
>Welcome to the world of déjà vu.
>
>  https://lists.debian.org/debian-user/2022/07/msg00601.html
>
>Cheers,
>David.
>



Re: printing problem, markdown files

2024-02-02 Thread gene heskett

On 2/1/24 15:31, Dan Ritter wrote:

gene heskett wrote:

On 2/1/24 12:24, Dan Ritter wrote:

gene heskett wrote:
pandoc -f markdown FILEIN.md -t pdf -o FILEOUT.pdf

will turn markdown into PDF, which you can probably print, if by
no other means than FTP to the printer itself. (Try it, Brothers
come with this by default.)



Thanks DSR.

Scanning thru the docs I don't see anything that looks like what the print
job shops of the last century called a "binding ditch".  That is where the
output file has say a 15mm blank space inserted on the left edge of odd
numbered pages, while that same 15mm of blank space is inserted to the right
of the text on even pages, leave a blank area to perfect bind the duplex
pages w/o burying the text into the center crack of the opened pages. Have
they adopted a new name for this?


Printers (the people) still call it that.

You will also want to install latex ( apt install texlive-extra-utils
will get you what you need)

pandoc options:

-V geometry:margin=1in

(all four sides)

-V geometry:left=3cm,right=3cm,top=2cm,bottom=2cm

(separate values for each side)

and finally, what you probably want:

-V geometry:twoside,left=15mm,right=30mm,top=2cm,bottom=3cm

I just tested that and it did a pretty nice job. My actual
command:

pandoc -f markdown -t pdf -V 
geometry:twoside,left=15mm,right=30mm,top=2cm,bottom=3cm test.md -o foo.pdf

-dsr-

Downright tasty stuff, thank you dsr.

.


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis