Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread didier . gaumet
Le lundi 30 septembre 2019 19:50:04 UTC+2, yoda woya a écrit : > The content of my rc.local  has two lines: > /usr/local/bin/ipnat > exit 0 > > > > However on boot  > > /usr/local/bin/ipnat  in not executed. > > > How can I get debian to execute the content of my rc.local file.  BTW after >

What keystroke do you use to select tty[1234] in d-i in KVM virt-install console?

2019-10-01 Thread David
Hi list readers, On buster, if I run 'virt-install' with debian-installer with preseed arguments including --graphics none --extra-args "auto=true priority=critical console=ttyS0 ..." to specify a text console KVM install then it all works nicely. The GUI is LXDE, the terminal emulator i

Re: Authentication for telnet.

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 09:48:09AM +0300, Reco wrote: > On Mon, Sep 30, 2019 at 09:36:51PM -0700, pe...@easthope.ca wrote: > > peter@joule:~$ grep telnet /etc/inetd.conf > > telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -a user > > # Restart inetd. Why in the hell is anyone run

Re: What keystroke do you use to select tty[1234] in d-i in KVM virt-install console?

2019-10-01 Thread Charles Curley
On Tue, 1 Oct 2019 21:32:52 +1000 David wrote: > My question is: > What keystroke do I use to switch between tty1 and tty4? > > I tried alt+F4 but that closes the lxterminal process window on the > host. I tried ctrl+alt+F4 but that takes me to tty4 on the host, not > in the VM. If you are

Re: Authentication for telnet.

2019-10-01 Thread tomas
On Tue, Oct 01, 2019 at 08:52:48AM -0400, Greg Wooledge wrote: [...] > Why in the hell is anyone running telnetd in 2019? > > What is the PURPOSE of this idiocy? To recreate that 1992 feeling? For > nostalgia? Now try in a more polite and friendly way. Then you'd have a chance of achieving so

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 12:58:22AM -0700, didier.gau...@gmail.com wrote: > Is your system a Systemd one (by default in Debian), you have to enable > rc.local: > > https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd > You don't have to enable the rc-local service in D

Re: Hard disks auto-spinning-down

2019-10-01 Thread Stefan Monnier
>     logger "Setting spindown on disk drive: $DISK_DEV" >     sdparm --flexible -6 --set SCT=4000 $DISK_DEV >     sdparm --flexible -6 --set STANDBY=1 $DISK_DEV I found sdparm inscrutable so far so I'm really curious how you came up with the above incantation (`sdparm -al /dev/sdb` do

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread Gene Heskett
On Tuesday 01 October 2019 08:57:26 Greg Wooledge wrote: > On Tue, Oct 01, 2019 at 12:58:22AM -0700, didier.gau...@gmail.com wrote: > > Is your system a Systemd one (by default in Debian), you have to > > enable rc.local: > > https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-wit >

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 09:28:05AM -0400, Gene Heskett wrote: > On Tuesday 01 October 2019 08:57:26 Greg Wooledge wrote: > > > On Tue, Oct 01, 2019 at 12:58:22AM -0700, didier.gau...@gmail.com > wrote: > > > Is your system a Systemd one (by default in Debian), you have to > > > enable rc.local: >

Re: What keystroke do you use to select tty[1234] in d-i in KVM virt-install console?

2019-10-01 Thread David
On Tue, 1 Oct 2019 at 22:53, Charles Curley wrote: > On Tue, 1 Oct 2019 21:32:52 +1000 David wrote: > > My question is: > > What keystroke do I use to switch between tty1 and tty4? > > > > I tried alt+F4 but that closes the lxterminal process window on the > > host. I tried ctrl+alt+F4 but t

Re: Hard disks auto-spinning-down

2019-10-01 Thread Alex Mestiashvili
On 9/29/19 1:30 PM, Mark Fletcher wrote: > Since a fresh install of buster, an external USB3 hard disk cage from > Terramaster that I own is not automatically spinning down the disks in > it when they go unused for a time. > > I used a previous generation of the cage with Stretch previously,

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread Gene Heskett
On Tuesday 01 October 2019 09:34:48 Greg Wooledge wrote: > On Tue, Oct 01, 2019 at 09:28:05AM -0400, Gene Heskett wrote: > > On Tuesday 01 October 2019 08:57:26 Greg Wooledge wrote: > > > On Tue, Oct 01, 2019 at 12:58:22AM -0700, didier.gau...@gmail.com > > > > wrote: > > > > Is your system a Syst

Re: What keystroke do you use to select tty[1234] in d-i in KVM virt-install console?

2019-10-01 Thread Thomas Pircher
David wrote: > My goal is to automate in a VM my testing of various aspects of > debian-installer, such as paritioning, and the setup and teardown > is faster if the test VM has no GUI so I am using console VM. The "packer" tool does a decent job at automating this. It exports the console as a VNC

Re: Authentication for telnet.

2019-10-01 Thread David
On Tue, 1 Oct 2019 at 22:57, wrote: > On Tue, Oct 01, 2019 at 08:52:48AM -0400, Greg Wooledge wrote: > > Why in the hell [...] > Now try in a more polite and friendly way. [...] > Thanks for trying :) I agree that polite and friendly is the goal. I see that a polite way was tried already by s

Re: What keystroke do you use to select tty[1234] in d-i in KVM virt-install console?

2019-10-01 Thread Thomas Pircher
Thomas Pircher wrote: > The keystrokes are in tmux are "CTRL-B", followed by ":send-keys M-2", > followed by the Enter key, for sending the -<2> (Meta-2) key > combination. Sorry, I realised later that you wanted to send -… That would be: :send-keys M-F2 > This assumes that you are the default bi

Re: Authentication for telnet.

2019-10-01 Thread tomas
On Wed, Oct 02, 2019 at 12:54:19AM +1000, David wrote: > On Tue, 1 Oct 2019 at 22:57, wrote: > > On Tue, Oct 01, 2019 at 08:52:48AM -0400, Greg Wooledge wrote: > > > > Why in the hell [...] > > > Now try in a more polite and friendly way. [...] > > > Thanks for trying :) > > I agree that polit

Re: where to look in logs

2019-10-01 Thread yoda woya
On Mon, Sep 30, 2019 at 5:02 PM Greg Wooledge wrote: > > On Mon, Sep 30, 2019 at 4:06 PM Greg Wooledge > wrote: > > > If you're using systemd, and if you set up the service as a systemd > unit, > > > then you want "systemctl status yourservice" or "journalctl -u > > > yourservice". > > On Mon, S

Re: Authentication for telnet.

2019-10-01 Thread David
On Wed, 2 Oct 2019 at 01:16, wrote: > On Wed, Oct 02, 2019 at 12:54:19AM +1000, David wrote: > > I've written a few shitty messages to this list too [...] I'm sorry, the word "too" should not appear in my sentence above, I did not notice that it carries implications that I did not intend, please

Re: where to look in logs

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 11:28:26AM -0400, yoda woya wrote: > Oct 01 11:12:56 nat6pub udhcpd[674]: is interface ens1f0 up and > configured?: Cannot assign requested address > # The private network interface > allow-auto ens1f0 > iface ens1f0 inet static > address 192.168.176.6 > net

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread Roberto C . Sánchez
On Tue, Oct 01, 2019 at 09:28:05AM -0400, Gene Heskett wrote: > On Tuesday 01 October 2019 08:57:26 Greg Wooledge wrote: > > > On Tue, Oct 01, 2019 at 12:58:22AM -0700, didier.gau...@gmail.com > wrote: > > > Is your system a Systemd one (by default in Debian), you have to > > > enable rc.local: >

Re: Authentication for telnet.

2019-10-01 Thread Brad Rogers
On Wed, 2 Oct 2019 00:54:19 +1000 David wrote: Hello David, >I've written a few shitty messages to this list too, when people don't >meet my expectations of behaviour. But usually when I'm finished, >I press "delete" instead of "send", and then find something fun to Been there, done that. Quit

Re: Authentication for telnet.

2019-10-01 Thread tomas
On Wed, Oct 02, 2019 at 01:29:01AM +1000, David wrote: > On Wed, 2 Oct 2019 at 01:16, wrote: > > On Wed, Oct 02, 2019 at 12:54:19AM +1000, David wrote: > > > > I've written a few shitty messages to this list too [...] > > I'm sorry, the word "too" should not appear in my sentence > above, I did

Re: Authentication for telnet.

2019-10-01 Thread David
On Wed, 2 Oct 2019 at 01:49, wrote: > On Wed, Oct 02, 2019 at 01:29:01AM +1000, David wrote: > > You are Mr "have a nice day" after all :) > No, that is Thomas (our names are pretty similar, but he is > far less grumpy than me and besides he has quite a bit of > free software out there to show :

Re: where to look in logs

2019-10-01 Thread Gene Heskett
On Tuesday 01 October 2019 11:36:32 Greg Wooledge wrote: > On Tue, Oct 01, 2019 at 11:28:26AM -0400, yoda woya wrote: > > Oct 01 11:12:56 nat6pub udhcpd[674]: is interface ens1f0 up and > > configured?: Cannot assign requested address > > > > # The private network interface > > allow-auto ens1f0 >

Re: Authentication for telnet.

2019-10-01 Thread tomas
On Wed, Oct 02, 2019 at 01:57:34AM +1000, David wrote: > On Wed, 2 Oct 2019 at 01:49, wrote: > > On Wed, Oct 02, 2019 at 01:29:01AM +1000, David wrote: > > > > You are Mr "have a nice day" after all :) > > > No, that is Thomas (our names are pretty similar, but he is > > far less grumpy than me

Re: where to look in logs

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 12:17 PM Gene Heskett wrote: > On Tuesday 01 October 2019 11:36:32 Greg Wooledge wrote: > > > On Tue, Oct 01, 2019 at 11:28:26AM -0400, yoda woya wrote: > > > Oct 01 11:12:56 nat6pub udhcpd[674]: is interface ens1f0 up and > > > configured?: Cannot assign requested address

Re: where to look in logs

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 11:36 AM Greg Wooledge wrote: > On Tue, Oct 01, 2019 at 11:28:26AM -0400, yoda woya wrote: > > Oct 01 11:12:56 nat6pub udhcpd[674]: is interface ens1f0 up and > > configured?: Cannot assign requested address > > > # The private network interface > > allow-auto ens1f0 > > if

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 4:15 AM wrote: > Le lundi 30 septembre 2019 19:50:04 UTC+2, yoda woya a écrit : > > The content of my rc.local has two lines: > > /usr/local/bin/ipnat > > exit 0 > > > > > > > > However on boot > > > > /usr/local/bin/ipnat in not executed. > > > > > > How can I get debian

Re: where to look in logs

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 12:34:27PM -0400, yoda woya wrote: > How do I " Showing the entire udhcpd.service" ? systemctl cat udhcpd.servicewould be one way. Or you could locate the file that you created, which is supposed to be in /etc/systemd/system/, and cat it. If on the other hand you did

Re: Trying to excute things on boot from /etc/rc.local

2019-10-01 Thread didier . gaumet
Le mardi 1 octobre 2019 15:00:05 UTC+2, Greg Wooledge a écrit : > You don't have to enable the rc-local service in Debian. It's already > enabled. [...] My mistake, I should have verified Thank you Greg :-)

Re: where to look in logs

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 12:47 PM Greg Wooledge wrote: > On Tue, Oct 01, 2019 at 12:34:27PM -0400, yoda woya wrote: > > How do I " Showing the entire udhcpd.service" ? > > systemctl cat udhcpd.servicewould be one way. > > Or you could locate the file that you created, which is supposed to be >

Re: where to look in logs

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 01:02:03PM -0400, yoda woya wrote: > # /run/systemd/generator.late/udhcpd.service > # Automatically generated by systemd-sysv-generator Yikes. So, this isn't even a native systemd unit. It's some kind of sysv-rc init script, and systemd is converting it to a systemd unit

Re: Debian Installer, Manual Partitioning is a Joke

2019-10-01 Thread Wayne Sallee
I decided to try out the non-graphical installation version, and it works good. I like it. It works the way it should work. But the graphical version is horrible. From now on I will stick with the non-graphical version for installing Debian. Wi

Re: Authentication for telnet.

2019-10-01 Thread Thomas Schmitt
Hi, David wrote: > > Oh dear, I'm sorry again, this time for mixing you up with Thomas! to...@tuxteam.de wrote: > I can't know how Thomas feels about it. I regularly run whoami to avoid any local confusion. Have a nice day :) Thomas

Re: where to look in logs

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 1:12 PM Greg Wooledge wrote: > On Tue, Oct 01, 2019 at 01:02:03PM -0400, yoda woya wrote: > > # /run/systemd/generator.late/udhcpd.service > > # Automatically generated by systemd-sysv-generator > > Yikes. So, this isn't even a native systemd unit. It's some kind of > sys

Re: What keystroke do you use to select tty[1234] in d-i in KVM virt-install console?

2019-10-01 Thread Sven Joachim
On 2019-10-01 21:32 +1000, David wrote: > On buster, if I run 'virt-install' with debian-installer with > preseed arguments including > --graphics none > --extra-args "auto=true priority=critical console=ttyS0 ..." > > to specify a text console KVM install then it all works nicely. > > The

Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-10-01 Thread Andrea Borgia
Il 14/09/19 22:30, Mike Kupfer ha scritto: Andrea Borgia wrote: how do I get xfce to use xscreensaver as locking when suspending? For Xfce4 4.12, it's on the Advanced tab of the Session and Startup settings. Sorry for the delay, Mike: I had a busy schedule and opted for using a "safe" ker

Re: Authentication for telnet.

2019-10-01 Thread peter
From: Reco , Tue, 1 Oct 2019 09:48:09 +0300 > I fail to see how that's "OK". "OK" was only my acknowledgement of your instruction or suggestion. Not a confirmation of success. > Try it: > > 1) apt install inetutils-inetd openbsd-inetd Debian 10 allows me to install one or the other but not bot

Re: Authentication for telnet.

2019-10-01 Thread Reco
Hi. On Tue, Oct 01, 2019 at 10:42:20AM -0700, pe...@easthope.ca wrote: > > Try it: > > > > 1) apt install inetutils-inetd openbsd-inetd > > Debian 10 allows me to install one or the other but not both. > I removed inetutils-inetd and installed openbsd-inetd. There's this saying here inv

Re: where to look in logs

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 1:50 PM yoda woya wrote: > > > On Tue, Oct 1, 2019 at 1:12 PM Greg Wooledge wrote: > >> On Tue, Oct 01, 2019 at 01:02:03PM -0400, yoda woya wrote: >> > # /run/systemd/generator.late/udhcpd.service >> > # Automatically generated by systemd-sysv-generator >> >> Yikes. So, t

Re: where to look in logs

2019-10-01 Thread yoda woya
On Tue, Oct 1, 2019 at 3:36 PM yoda woya wrote: > > > On Tue, Oct 1, 2019 at 1:50 PM yoda woya wrote: > >> >> >> On Tue, Oct 1, 2019 at 1:12 PM Greg Wooledge wrote: >> >>> On Tue, Oct 01, 2019 at 01:02:03PM -0400, yoda woya wrote: >>> > # /run/systemd/generator.late/udhcpd.service >>> > # Autom

Re: where to look in logs

2019-10-01 Thread Greg Wooledge
On Tue, Oct 01, 2019 at 03:50:57PM -0400, yoda woya wrote: > > Any other suggestions?? Use the regular dhcp server, that's packaged in Debian, and supported, and which everyone knows how to help you with if you run into problems? wooledg:~$ apt-cache show isc-dhcp-server Package: isc-dhcp-server

Re: Authentication for telnet.

2019-10-01 Thread tomas
On Tue, Oct 01, 2019 at 07:40:51PM +0200, Thomas Schmitt wrote: > Hi, > > David wrote: > > > Oh dear, I'm sorry again, this time for mixing you up with Thomas! > > to...@tuxteam.de wrote: > > I can't know how Thomas feels about it. > > I regularly run whoami to avoid any local confusion. Thanks

USB flash drive opens read only -- how to fix?

2019-10-01 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Messieurs et mesdames: Command 'mount' returns among other things the following two lines: /dev/mapper/fde on /media/fde type ext2\ (rw,nosuid,nodev,noexec,noatime,block_validity,barrier,user_xattr,acl) /dev/mapper/fdc on /media/fdc type ext2\ (ro,n

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread Pascal Hambourg
Le 01/10/2019 à 23:09, Ken Heard a écrit : - - after unmounting and closing encryption running as root 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd: probing initialization failed: Read-only file system'. The USB flash drive is probably physically write-protected. Check the ke

Re: Is chkconfig gone?

2019-10-01 Thread Roberto C . Sánchez
On Wed, Oct 02, 2019 at 06:58:16AM +0900, "세벌" wrote: > > [1]https://packages.debian.org/search?lang=en&searchon=names&keywords=chkconfig > >shows jessie. > >  > >Where is buster's chkconfig ? > >Is chkconfig removed from Debian ? > Your message is more appropriate for debi

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2019-10-01 5:33 p.m., Pascal Hambourg wrote: > Le 01/10/2019 à 23:09, Ken Heard a écrit : >> >> - - after unmounting and closing encryption running as root >> 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd: probing >> initialization faile

BIG DATA, la clave para toda Organizacion e Institucion Financiera

2019-10-01 Thread Saul Marquez Patricio
Bancos, sector industrial, tecnológico, mercadológico y más… CIENCIA DE DATOS Implementación y Desarrollo de Soluciones BIG DATA Ciudad de México / 17 y 18 de Octubre 2019 El Especialista en BIG DATA o también llamado DATA SCIENTIST es uno de los perfiles profesionales más buscados en México

Debian 10 Wayland under Hyper-V Server 2012 R2

2019-10-01 Thread Jonny 315
Hello Installed a guest machine based on Debian 10.0 (with gnome desktop environment) under Hyper-V Server 2012 R2. 2nd generation virtual machine. But after loading the new system, Gnome cannot start, the error in /var/log/user.log is: gnome-shell [461]: Failed to create backend: Could not find

Re: virtualbox 5.1 guest utils problem

2019-10-01 Thread Felix Natter
Peter Hillier-Brook writes: > There's a clue in the versions of the Vbox on the host and the guest > utils. :-) Ok, thanks. I was afraid of upgrading due to existing VMs, but it seems to be harmless. Best Regards, -- Felix Natter debian/rules!

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread David Christensen
On 10/1/19 4:32 PM, Ken Heard wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2019-10-01 5:33 p.m., Pascal Hambourg wrote: Le 01/10/2019 à 23:09, Ken Heard a écrit : - - after unmounting and closing encryption running as root 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd: p

shell wrappers for trig and other mathematical functions

2019-10-01 Thread Dan Hitt
I'm half-way looking for some shell wrappers for common trig functions like sin, cos, exp, log, and others. I'm aware of bc, but it seems cumbersome. I would like to just type 'sin 1' and get the sine (of 1 radian), or type 'log 2' and get the natural or maybe common log of 2. (Probably any such

Re: shell wrappers for trig and other mathematical functions

2019-10-01 Thread David Christensen
On 10/1/19 8:32 PM, Dan Hitt wrote: I'm half-way looking for some shell wrappers for common trig functions like sin, cos, exp, log, and others. I'm aware of bc, but it seems cumbersome. I would like to just type 'sin 1' and get the sine (of 1 radian), Perl one-liners are an option: 2019-10-0

Re: shell wrappers for trig and other mathematical functions

2019-10-01 Thread Dan Hitt
On Tue, Oct 1, 2019 at 8:58 PM David Christensen wrote: > On 10/1/19 8:32 PM, Dan Hitt wrote: > > I'm half-way looking for some shell wrappers for common trig functions > like > > sin, cos, exp, log, and others. > > > > I'm aware of bc, but it seems cumbersome. > > > > I would like to just type '

Re: shell wrappers for trig and other mathematical functions

2019-10-01 Thread David Wright
On Tue 01 Oct 2019 at 21:18:13 (-0700), Dan Hitt wrote: > On Tue, Oct 1, 2019 at 8:58 PM David Christensen > wrote: > > On 10/1/19 8:32 PM, Dan Hitt wrote: > > > I'm half-way looking for some shell wrappers for common trig functions > > > like > > > sin, cos, exp, log, and others. > > > > > > I'

Re: Authentication for telnet.

2019-10-01 Thread peter
From: Reco Tue, 1 Oct 2019 22:26:35 +0300 > apt install inetutils-telnetd openbsd-inetd root@joule:~# dpkg -l | grep inet ii inetutils-telnetd2:1.9.4-7 i386 telnet server ii openbsd-inetd0.20160825-4

Re: shell wrappers for trig and other mathematical functions

2019-10-01 Thread mick crane
On 2019-10-02 05:18, Dan Hitt wrote: On Tue, Oct 1, 2019 at 8:58 PM David Christensen wrote: On 10/1/19 8:32 PM, Dan Hitt wrote: > I'm half-way looking for some shell wrappers for common trig functions like > sin, cos, exp, log, and others. > > I'm aware of bc, but it seems cumbersome. > > I

Re: Authentication for telnet.

2019-10-01 Thread Reco
On Tue, Oct 01, 2019 at 09:12:42PM -0700, pe...@easthope.ca wrote: > From: Reco , Tue, 1 Oct 2019 09:48:09 +0300 > > 2) echo 'telnet stream tcp nowait root/usr/sbin/tcpd > > /usr/sbin/telnetd -a none -E /bin/bash' >> /etc/inetd.conf > > peter@joule:~$ grep telnet /etc/inetd.conf > ## t

Re: USB flash drive opens read only -- how to fix?

2019-10-01 Thread tomas
On Tue, Oct 01, 2019 at 08:03:50PM -0700, David Christensen wrote: [...] > >How could this drive be physically protected from writing to it when > >there is no switch on the drive itself to unable (or release) such > >physical protection? > > > >Regards, Ken > > I have read that some USB flash d

Re: is there who's who for this list?

2019-10-01 Thread tomas
On Tue, Oct 01, 2019 at 11:18:56PM +, Long Wind wrote: > some celebrities: deloptes, Reco, Ben ... No, I don't think there's a "who's who" (and honestly, I like it that way -- remember that old saying "on the Internet, nobody knows you're a dog" [1]?) Cheers [1] https://en.wikipedia.org/wik