Re: SystemD problem with launching a server

2018-08-12 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Bill 
Sent: Thursday, 9 August 2018 9:02 AM
To: Debian User ML
Cc: bi...@uniserve.com
Subject: SystemD problem with launching a server

Hi,

So I'd like to run rinetd at boot time on Stretch along with sshd.

I've no problem running rinetd manually using /usr/sbin/rinetd
or in a script using the same command. ps aux |grep rinetd shows it's
running and it works as expected.

So I've written a service file for systemd,
/etc/systemd/system/rinetd.service and enabled it with systemctl enable
/etc/systemd/system/rinetd.service. At boot time the file gets run but
nothing shows up with ps aux, although sshd is running correctly. I
think the problem is with the systemd file. Here's the rinetd.service file:

# /etc/systemd/system/rinetd.service
# A systemd.service file to start
# /usr/sbin/rinetd at boot time.

[Unit]
Description=Start rinetd server
After=multi-user.target network.target sshd.service

[Service]
Type=oneshot
ExecStart=/usr/sbin/rinetd
Restart=no

[Install]
WantedBy=multi-user.target

Any clues? Is this file too sparse? Or am I pining for the fjords?

Bill



--
Sent using Icedove on Debian GNU/Linux.



Re: debian-user-digest Digest V2018 #747

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: debian-user-digest-requ...@lists.debian.org 

Sent: Thursday, 9 August 2018 4:38 AM
To: debian-user-dig...@lists.debian.org
Subject: debian-user-digest Digest V2018 #747




Re: Kernel 4.9.0-7-686 Installed RAM vs. uabale RAM

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: basti 
Sent: Tuesday, 7 August 2018 10:53 PM
To: Debian.org
Subject: Kernel 4.9.0-7-686 Installed RAM vs. uabale RAM

Hello, I have a system with Kernel 4.9.0-7-686, installed RAM are 3x 1GB
but free -m only show 2GB.

Whats wrong here?

# free -m
  totalusedfree  shared  buff/cache
available
Mem:   2018 2031204  25
6101569
Swap:  8191   08191


# dmidecode -t 17
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x0029, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0028
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: DIMM-1A
Bank Locator: Not Specified
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified

Handle 0x002A, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0028
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: DIMM-2A
Bank Locator: Not Specified
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified

Handle 0x002B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0028
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: DIMM-1B
Bank Locator: Not Specified
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified

Handle 0x002C, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0028
Error Information Handle: No Error
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM-2B
Bank Locator: Not Specified
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified


As I know 6868 can address 4GB RAM

Best Regards,



Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Carles Pina i Estany 
Sent: Thursday, 2 August 2018 8:47 AM
To: debian-user@lists.debian.org
Subject: luks, crypttab: why 3 partition only 2 passphrases entered


Hi,

I have a Debian Stretch and recently I added a new cyphered partition.
All works well but I don't understand why and it's bothering me.

Setup:
$ cat /etc/crypttab
m2_root_crypt UUID=4e655198-a111-... none luks,discard
m2_swap_crypt UUID=56485640-8a04-... none luks,discard
ssd_dades_crypt UUID=8d1d855d-17a7-... none luks,discard

All three partitions have the same passphrase.

On restart I'm asked for two passwords:
m2_root_crypt
m2_swap_crypt

The question is:
"Please unlock disk m2_root_crypt:"

I expcted to write the password three times.

My only theory is that after the root partition is decyphered it's also
mounted and then systemd-ask-password is used somehow (how?) and
--keyname= is used to "Configure a kernel keyring key name". I haven't
tested or seen scripts that do this.

I'm reading initrd scripts/local-top/cryptroot and bin/cryptoot-unlock
(where I can see the string "Please unlock disk") and I don't see
anything like this happening. Maybe initrd lib/cryptsetup/askpass is
doing it?

A question would be:
a) How to enter the passphrase only once?
b) When/where (scripts) and how is the passphrase stored?

This is just to know as the system is working perfectly.

Thanks for reading all of this!

--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157



Re: manuals

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: mick crane 
Sent: Saturday, 11 August 2018 5:16 AM
To: debian-user@lists.debian.org
Subject: manuals

Is it OK if I wget the webpages from https://www.debian.org/doc/manuals/
  ?
to look at locally or are there handy archives I could download ?

mick

--
Key ID4BFEBB31



Re: how to change default locale [was Re: How to Fix ACPI Error : Namespace lookup failure]

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: davidson 
Sent: Saturday, 11 August 2018 8:02 PM
To: debian-user@lists.debian.org
Subject: how to change default locale [was Re: How to Fix ACPI Error : 
Namespace lookup failure]

On Sun, 5 Aug 2018, genius wrote:

> Q: how to change the Language option . my system default language is
> English , now I want to change it into Chinese..

If there is some connection between the original subject line of your
message ("Re: How to Fix ACPI Error : Namespace lookup failure") and
the question that you ask here, I am afraid I am not enough of a
wizard to figure it out.

Anyway, if I were you, this is how I would try to change the default
locale on my system:

As root I would do

  # dpkg-reconfigure locales

I would expect this to

  1. allow me to interactively select locales I want generated, and then

  2. let me select one of the generated locales to be the default locale.

I hope this is helpful.

--
  The day will come  |  Last words, August Spies (1855--1887).
  When our silence will be   |  Hanged, by the state of Illinois,
  More powerful than |  alongside fellow journalists
  The voices you strangle today  |  Adolf Fischer and Albert Parsons.



Re: Plasma 5 unusuable after latest buster "upgrade"

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Gary Dale 
Sent: Saturday, 11 August 2018 3:23 AM
To: Debian Users ML
Subject: Re: Plasma 5 unusuable after latest buster "upgrade"

On 2018-08-10 12:48 PM, Lisandro Damián Nicanor Pérez Meyer wrote:
> Hi Gary!
>
> According to your issues I can only think in an issue with your video
> card. What do you have there?
>
> Another thing to try is creating another user.
> FWIW no one else has reported an issue like yours yet, or at least not
> to my knowledge.
It would have to be a weird issue since the video seems to be working
nicely most of the time.

Since rebooting sometimes makes previous desktops unusable, I was
thinking perhaps a flaw in the ssd was corrupting some files and that it
only became apparent after a reboot, but it passes the SMART tests and
there is no other indication of a problem with it.

I created a new user and logged into Plasma. It seemed to work but I
didn't spend a lot of time. Instead I rebooted and tried logging in
again. This time it locked up.

I'm back running Gnome Flashback after rebooting earlier today to try
Plasma again. It didn't work. Neither did Gnome. After failing to get
back into XFCE, I also tried TWM for the first time. It failed to start.
Gnome Flashback seems to be the only installed window manager I can access.



Re: Apache Backuppc problem

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Gary Roach 
Sent: Sunday, 12 August 2018 3:50 AM
To: Debian User
Subject: Apache Backuppc problem

Hi all.

Debian Stretch OS

I have installed the BackupPC /Apache2 package before and had no trouble
accessing the BackupPC GUI at localhost/backuppc. This time (using apt
install backuppc) I keep getting a window asking if I wish to save a bin
file. The server downloads a file like W6gLcuk0.bin instead of serving
up the GUI web page. I have tried several things suggested on line but
nothing seems to work. Apache2 was installed using the .iso net install
disk.

On past installations, the GUI worked out of the box. Not this time.

Any help will be sincerely appreciated.

Gary R



Re: Any VPS recommendations?

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: basti 
Sent: Monday, 23 July 2018 2:11 AM
To: debian-user@lists.debian.org
Subject: Re: Any VPS recommendations?


https://www.netcup.eu/
https://www.hosting.de/

I don't know if there interface is also in english.

Best Regards

On 22.07.2018 17:39, Hubert Hauser wrote:
> Good morning!
>
> I would like to ask about any best and cheap VPS-es recommendations.
>
> My requirements:
> - no overselling,
> - free access to root account (please don't recommend managed VPS-es),
> - min. 20 GB space on SSD,
> - min. 1 GB RAM,
> - public IPv4 and IPv6 addresses,
> - different location of company headquarters and data centers than
> Poland (if possible away from UE) on country with very liberal law,
> - accept anonymous proxies, Tor relays, onions and optionally Tor exits,
> - accept Bitcoins and optionally other cryptocurrencies,
> - cheap (if possible from $5 / month to $8 / month),
> - easy to expand parameters,
> - templates with Debian, CentOS, FreeBSD and optionally possibility to
> upload own template,
> - very good support 24/7.
>
> Please don't recommend VPS-es located in Russia, Turkey, Egypt, Iran,
> Iraq, Saudi Arabia, United Kingdom or United States.
>
> --
> Cheers,
> Hubert Hauser.



Re: Tea4CUPS: TEABILLING reports error

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Rainer Dorsch 
Sent: Wednesday, 30 May 2018 8:40 PM
To: debian-user@lists.debian.org
Cc: debian-print...@lists.debian.org
Subject: Tea4CUPS: TEABILLING reports error


Hi,



I have tea4cups configured to power on my printer before printing. In order to 
do this, I prepended tea4cups:/ to the DeviceURI in printers.conf (if I remove 
this and power on the printer manually before printing, everything works as 
expected):



/etc/cups/printers.conf:
DeviceURI tea4cups:/http://hpljwlan:631/ipp/

I configured the printer power on script:



/etc/cups/tea4cups.conf:
prehook_sispmctl : /usr/local/bin/printeron



but I get unfortunately an error in /var/log/cups/error_log
with every print job and the job is stopped.



E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : Traceback (most 
recent call last):
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) :   File 
\"/usr/lib/cups/backend/tea4cups\", line 1502, in 
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : 
wrapper.exportAttributes()
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) :   File 
\"/usr/lib/cups/backend/tea4cups\", line 1214, in exportAttributes
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : 
os.environ[\"TEABILLING\"] = self.JobBilling or \"\"
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) :   File 
\"/usr/lib/python2.7/os.py\", line 473, in __setitem__
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : putenv(key, 
item)
E [30/May/2018:08:51:40 +0200] [Job 16] Tea4CUPS (PID 9689) : TypeError: 
putenv() argument 2 must be string, not int


Is seems something goes wrong while setting the TEABILLING environement 
variable.



Has anybody an idea why that could be?



Many thanks

Rainer





--

Rainer Dorsch

http://bokomoko.de/


Re: debian-user-digest Digest V2018 #764

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: debian-user-digest-requ...@lists.debian.org 

Sent: Sunday, 12 August 2018 5:57 AM
To: debian-user-dig...@lists.debian.org
Subject: debian-user-digest Digest V2018 #764




Re: /etc/alternatives feedback for presentation

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Ryan Nowakowski 
Sent: Sunday, 12 August 2018 8:28 AM
To: debian-user@lists.debian.org
Subject: Re: /etc/alternatives feedback for presentation

On Thu, Aug 09, 2018 at 08:08:00PM +, der.hans wrote:
> moin moin,
>
> I'm giving a presentation on /etc/alternatives in a few hours.
>
> If you use the alternatives system a lot and would like to spend a few
> minutes reviewing my talk for me, please see the links below.
>
> Any use cases or cool functionality that I've missed?
>
> Anything I've gotten completely wrong?
>
> Any suggestions for good examples?
>
> AsciiDoc source file:
>
> https://www.LuftHans.com/Akten/Presentations/2018/PLUG/PLUG.intro_to_etc_alternatives.2018Aug09.adoc
>
> Slidy HTML ( one-page format without JavaScript, slides with JavaScript ):
>
> https://www.LuftHans.com/Akten/Presentations/2018/PLUG/PLUG.intro_to_etc_alternatives.2018Aug09.html
>

You might add more info on how the other methods interact with
update-alternatives.  For example if I set the EDITOR env var how does
that interact with update-alternatives when I run visudo?  In fact I
think something like a "best practices" is needed for setting default
programs and then overriding them on a per user basis.  I'm not sure
this presentation is the right place for that but perhaps it could be
a wiki page in the future.



Re: New su behavior in util-linux 2.32

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Pétùr 
Sent: Saturday, 11 August 2018 7:41 PM
To: debian-user
Subject: New su behavior in util-linux 2.32

Using 'su' generates now an path error when launching programs such as 
'shutdown'. The cause is a new behavior described below.
---
util-linux (2.32-0.4) unstable; urgency=medium

  The util-linux implementation of /bin/su is now used, replacing the
  one previously supplied by src:shadow (shipped in login package), and
  bringing Debian in line with other modern distributions. The two
  implementations are very similar but have some minor differences (and
  there might be more that was not yet noticed ofcourse), e.g.

  - new 'su' (with no args, i.e. when preserving the environment) also
preserves PATH and IFS, while old su would always reset PATH and IFS
even in 'preserve environment' mode.
  - su '' (empty user string) used to give root, but now returns an error.
  - previously su only had one pam config, but now 'su -' is configured
separately in /etc/pam.d/su-l

  The first difference is probably the most user visible one. Doing
  plain 'su' is a really bad idea for many reasons, so using 'su -' is
  strongly recommended to always get a newly set up environment similar
  to a normal login. If you want to restore behaviour more similar to
  the previous one you can add 'ALWAYS_SET_PATH yes' in /etc/login.defs.
---

The new 'su' is useless for me because it cannot launch root program.
I did the modification in /etc/login.defs and restore the previous
behavior. However I am concern with the statement " Doing plain 'su'
is a really bad idea for many reasons".

Could someone explain to me why this is a bad behavior?

Pétùr



Re: Using Sid - sound prob

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Ric Moore 
Sent: Friday, 10 August 2018 4:56 AM
To: debian-user@lists.debian.org
Subject: Re: Using Sid - sound prob

On 08/09/2018 05:10 AM, Joe wrote:
> On Thu, 09 Aug 2018 08:14:44 +0200
> deloptes  wrote:

>>
>> Regarding the sound - I never had a problem in the past 12+ years.
>
> You are fortunate. I went though a period where the assignments for
> sound card 0 and 1 would randomly flip, every few weeks or months. I
> didn't find whatever magical incantation would prevent this, if it
> existed.

I too have not had a serious sound system problem in YEARS. I don't dink
with hand edits, I use alsamixer to set up my sound devices, then use
pulse to select the output/input devices as I select them. No probs. I
did make it easy for my system by using only USB sound devices. They are
not only CHEAP but trouble free. I have a USB stereo headphone with
mike, a USB 7.1 sound device (so I can blast my neighbors into the next
county if I were wanting to do that).and there is a mike on my USB web
cam. ALL easily configurable, as well as usable with alsa/pulse. I also
use the USB headphones on my laptop. The built-in speakers are crap.

 >> I'm a computer *user*.

Not once you start screwing around with stuff.
IF alsa cannot deal with your audio device, find an open window.
Then toss the device out the window.
(or disable it in bios)
Get a USB audio device and pray your hand edits haven't rendered alsa
useless. Ric

p/s don't use Sid
--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: Plasma 5 unusuable after latest buster "upgrade"

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Gary Dale 
Sent: Saturday, 11 August 2018 3:23 AM
To: Debian Users ML
Subject: Re: Plasma 5 unusuable after latest buster "upgrade"

On 2018-08-10 12:48 PM, Lisandro Damián Nicanor Pérez Meyer wrote:
> Hi Gary!
>
> According to your issues I can only think in an issue with your video
> card. What do you have there?
>
> Another thing to try is creating another user.
> FWIW no one else has reported an issue like yours yet, or at least not
> to my knowledge.
It would have to be a weird issue since the video seems to be working
nicely most of the time.

Since rebooting sometimes makes previous desktops unusable, I was
thinking perhaps a flaw in the ssd was corrupting some files and that it
only became apparent after a reboot, but it passes the SMART tests and
there is no other indication of a problem with it.

I created a new user and logged into Plasma. It seemed to work but I
didn't spend a lot of time. Instead I rebooted and tried logging in
again. This time it locked up.

I'm back running Gnome Flashback after rebooting earlier today to try
Plasma again. It didn't work. Neither did Gnome. After failing to get
back into XFCE, I also tried TWM for the first time. It failed to start.
Gnome Flashback seems to be the only installed window manager I can access.



Re: mailing list vs "the futur"

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: arne 
Sent: Saturday, 11 August 2018 8:34 AM
To: debian-user@lists.debian.org
Cc: sp113...@telfort.nl
Subject: Re: mailing list vs "the futur"

On Fri, 10 Aug 2018 22:35:19 +0100
Mark Rousell  wrote:

> On 09/08/2018 18:39, tech wrote:
> > Should'nt be time to move away from an old mail-listing to something
> > more modern like a bugzilla or else ???
>
> No. Mail lists works as well now as they did then.
>
> Mail lists are efficient, to the point, simple to use.
>
> Don't try to fix what isn't broken.
>
>
try to fix? try to ruin IMHO



Re: mailing list is the future (corrected spelling mistakes)

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: tech 
Sent: Friday, 10 August 2018 4:08 AM
To: Debian Users ML
Subject: RE: mailing list is the future (corrected spelling mistakes)


my spelling VS was correct. Following your corrected spelling, i should wrotte: 
mailing list is NOT the future...but the past.




De : Brad Rogers 
Envoyé : jeudi 9 août 2018 20:04:56
À : Debian Users ML
Objet : Re: mailing list is the future (corrected spelling mistakes)

On Thu, 9 Aug 2018 17:39:36 +
tech  wrote:

Hello tech,

>modern like a bugzilla or else ???

The wheel has been around several thousand years.  Perhaps we should
replace that too.

You don't like MLs;  Nobody is forcing you to use them.

--
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
It's only bits of plastic, lines projected on the wall
Keep It Clean - The Vibrators


Re: New `no sound' problems

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Rodolfo Medina 
Sent: Tuesday, 7 August 2018 5:54 PM
To: debian-user@lists.debian.org
Subject: New `no sound' problems

It seems to be damned recursive, the problem...  After yesterday's full-upgrade
in Sid, my old Acer One without sound once again...  Everything seems all
right: alsamixer, aumix, pulseaudio installed...  Last time this happened, it
was solved installing pulseaudio and alsaplayer-alsa...  Now it won't...
Please help.

Thanks in advance,

Rodolfo



Re: problem with modern desktops on Buster

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Gary Dale 
Sent: Tuesday, 7 August 2018 5:03 AM
To: debian-user@lists.debian.org
Subject: problem with modern desktops on Buster

When I rebooted my computer (AMD64/Buster) yesterday, I couldn't get
Plasma to operate. After logging with sddm, the computer locked up hard
(wouldn't respond to SysRq or Ctl-Alt-Del) before the desktop appeared.

I switched to Gnome which seems to work a little better but I was still
getting lockups. I tried Gnome over Xorg in case it was a Wayland
problem but that also seemed to have problems. It crashed overnight and
left me with some panic text on the screen and the computer was locked
up. I couldn't get much beyond the initial desktop display when I restarted.

I've been using Gnome Flashback (Metacity) for about 5 hours now,
including a couple periods when the screen saver / lock kicked in, and
it seems OK.

I'm not even sure where to report this problem since I can't identify a
specific package that is causing it. However since Gnome Flashback seems
to be working, I'd guess that it is in the flashier desktop elements.



Re: question about the kernel

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: mick crane 
Sent: Thursday, 9 August 2018 5:15 PM
To: debian-user@lists.debian.org
Subject: question about the kernel

Am I right in thinking that the kernel is a single codebase agreed
between all the kernel developers at any particular date and that Linux
distributions can take bits out from that for their release but
shouldn't add bespoke stuff that isn't agreed by everybody else ?

just wondering how that works.

mick

--
Key ID4BFEBB31



Re: What time is it, really?

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Michael Stone 
Sent: Friday, 10 August 2018 3:53 AM
To: debian-user@lists.debian.org
Subject: Re: What time is it, really?

On Thu, Aug 09, 2018 at 11:54:54AM -0400, Greg Wooledge wrote:
>On Thu, Aug 09, 2018 at 04:15:36PM +0100, Darac Marjal wrote:
>> Additionally, from http://doc.ntp.org/current-stable/ntpq.html#rv (rv allows
>> one to read the offset for a particular association directly), "Note that
>> time values are represented in milliseconds and frequency values in
>> parts-per-million (PPM)."
>
>Where do I even start

It sounds like you should start with a user/client/desktop oriented time
program. There's no reason for most users to be running ntpd in 2018. If
you're running a server syncing to a PPS source or somesuch then you
need ntpd. But at that point you're going to have to learn a lot of
domain-specific jargon to do that thing, at which point the ntpd
documentation is fine. If you want something that's fire and forget,
then install openntpd or systemd-timesyncd and call it a day.

Mike Stone



Re: debian-user-digest Digest V2018 #759

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: debian-user-digest-requ...@lists.debian.org 

Sent: Saturday, 11 August 2018 4:19 AM
To: debian-user-dig...@lists.debian.org
Subject: debian-user-digest Digest V2018 #759




Re: how to change default locale [was Re: How to Fix ACPI Error : Namespace lookup failure]

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: davidson 
Sent: Saturday, 11 August 2018 8:02 PM
To: debian-user@lists.debian.org
Subject: how to change default locale [was Re: How to Fix ACPI Error : 
Namespace lookup failure]

On Sun, 5 Aug 2018, genius wrote:

> Q: how to change the Language option . my system default language is
> English , now I want to change it into Chinese..

If there is some connection between the original subject line of your
message ("Re: How to Fix ACPI Error : Namespace lookup failure") and
the question that you ask here, I am afraid I am not enough of a
wizard to figure it out.

Anyway, if I were you, this is how I would try to change the default
locale on my system:

As root I would do

  # dpkg-reconfigure locales

I would expect this to

  1. allow me to interactively select locales I want generated, and then

  2. let me select one of the generated locales to be the default locale.

I hope this is helpful.

--
  The day will come  |  Last words, August Spies (1855--1887).
  When our silence will be   |  Hanged, by the state of Illinois,
  More powerful than |  alongside fellow journalists
  The voices you strangle today  |  Adolf Fischer and Albert Parsons.



Re: debian-user over NNTP: linux.debian.user (was mailing list vs "the futur")

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Thomas Schmitt 
Sent: Friday, 10 August 2018 10:47 PM
To: debian-user@lists.debian.org
Subject: debian-user over NNTP: linux.debian.user (was mailing list vs "the 
futur")

Hi,

I really really want to abstain from that thread. So a new one:

Gene Heskett wrotei in 'mailing list vs "the futur"':
> [...] NNTP [...]
> To fully support it needs 2000 times the bandwidth of an email server.

But not because of the transport protocoli or message format. NNTP belongs
to the same breed of reasonably concise protocols as the mail protocols
POP3 and SMTP. The message formats too are very similar: A list of header
lines and a message body.

Of course, if it is about newsgroups with videos or many large pictures,
you get clients sucking data for hours. But a news server which imposes
the same restrictions as most mailing list servers would not cause
more traffic or storage need.

While googling for debian-user as newsgroup i found
  https://lists.debian.org/debian-user/2014/10/msg00735.html
where Miles Fidelman points to
  nntp://news.gmane.org/gmane.linux.debian.user
i.e. newsgroup

  linux.debian.user

which should be on most news servers (because it is of modest size).
Newest message on the server which i can use:

  638790   
 from   : Gene Heskett 
 date   : Fri, 10 Aug 2018 14:10:01 +0200
 size   : 2724 bytes in 60 lines
 subject: Re: mailing list vs "the futur"

My mail box seems to be about half an hour ahead of the news server.


Have a nice day :)

Thomas



Re: Hrdware question

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Stephen P. Molnar 
Sent: Sunday, 12 August 2018 7:20 AM
To: debian-user@lists.debian.org
Subject: Re: Hrdware question


On 08/11/2018 04:50 PM, David Christensen wrote:
> On 08/11/2018 08:19 AM, Stephen P. Molnar wrote:
>> I am running Debian Stretch on my 64bit Linux platform.
>>
>> I am planning on installing a 500B SSD as the boot HD and have a
>> question about the SATA connectors on the ASUS M5A97 R2.0 MB.
>>
>> I have what I thought was a simple question, but Google has not been
>> a friend to me.  What I found via that route was that the 6 SATA
>> ports are the same.  Should the boot drive be plugged into SATA8G_1?
>>
>> Thanks in advance.
>
> On 08/11/2018 10:21 AM, Stephen P. Molnar wrote:
> > I appreciate the responses. I have looked a the MB Manual and the BIOS
> > in both the easy mode and the advanced mode. (incidentally, the BIOS
> > is current)
> >
> > I have three dives on the platform:
> >
> >   *-cdrom
> > description: DVD-RAM writer
> > product: DVDRAM GH24NSB0
> > vendor: HL-DT-ST
> > physical id: 0.0.0
> > bus info: scsi@0:0.0.0
> > logical name: /dev/cdrom
> > logical name: /dev/cdrw
> > logical name: /dev/dvd
> > logical name: /dev/dvdrw
> > logical name: /dev/sr0
> > version: LN00
> > capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
> > configuration: ansiversion=5 status=nodisc
> >*-disk
> > description: ATA Disk
> > product: ST2000DM006-2DM1
> > vendor: Seagate
> > physical id: 0.0.0
> > bus info: scsi@2:0.0.0
> > logical name: /dev/sda
> > version: CC26
> > serial: Z560Q2JW
> > size: 1863GiB (2TB)
> > capabilities: partitioned partitioned:dos
> > configuration: ansiversion=5 logicalsectorsize=512
> > sectorsize=4096 signature=0bc7db76
> >*-disk
> > description: ATA Disk
> > product: WDC WD5000AAKS-0
> > vendor: Western Digital
> > physical id: 0.0.0
> > bus info: scsi@3:0.0.0
> > logical name: /dev/sdb
> > version: 3B01
> > serial: WD-WMASY0223768
> > size: 465GiB (500GB)
> > capabilities: partitioned partitioned:dos
> > configuration: ansiversion=5 logicalsectorsize=512
> > sectorsize=512 signature=0003d403
> >
> > I installed the current Debian Version on the 2TB HD as it was new at
> > the time.
> >
> > Unfortunately, the boot sequence on the EZ Mode screen is only shows
> > the WD 500GB drive and the cdrom drive. I can only see the 2TB drive,
> > upon which I installed grub, by hitting F8 and selecting the 1TB drive
> > for booting.  Now the last time I installed a HD on the system I can't
> > say as I paid any attention as to which connector each drive was
> > plugged into.  Hence, the question that started this thread.
> >
> > As I am strictly a user of computers I am very hesitant to mess around
> > with the hardware and the BIOS.
> >
> > let me finish his email by saying that I am most appreciative of the
> > patience and consideration of most of the users of this list!
>
> I will assume that you have one computer, an Internet gateway, and an
> Ethernet cable between them.
>
>
> Hardware can be easy.  Get an anti-static wrist strap and take your
> time.  Read the users manual for the various components. STFW and
> watch YouTube videos to learn more.
>
>
> BIOS can be easy.  Load the defaults and only change those settings
> which you have a compelling reason.  Again, learn as required.
>
>
> Linux, FOSS services and applications, and their myriad settings and
> interactions are all never-ending learning curves.
>
>
> Looking at the motherboard users manual:
>
> http://dlcdnet.asus.com/pub/ASUS/mb/SocketAM3+/M5A97_R2.0/E7438_M5A97_R20_Manual_web_hi-res.pdf
>
>
> Section 1.2.9, item 4, is titled "Serial ATA 6.0 Gb/s connectors
> (7-pin SATA6G 1~6)".  Unfortunately, the motherboard and connector
> diagram has been badly pixelated, but the SATA connectors appear to be
> labeled SATA6G_1 through SATA6G_6 (?).  Please confirm.
>
>
> I recommend:
>
> 1.  Get a small, fast, high-quality SSD to use as the system drive.
> Connect it to motherboard port SATA6G_1SATA6G_1.
>
> 2.  Connect the optical drive to SATA6G_2.
>
> 3.  Do a fresh install of Debian onto the SSD.  Partition manually,
> creating three primary partitions: /boot (1 GB), swap (1 GB), and root
> (10 GB).  Leave the remaining space unused.  This will give you a
> system image that can fit on a 16 GB USB flash drive, a 16 GB SDD, or
> a 25 GB Blu-ray disc.  The first allows you to carry your desktop in
> your pocket, using laptops and PC's as convenient.  The second gives
> you the best performance.  The third is for taking archival images.
>
> 4.  Connect the 500 GB HDD to SATA6G_3 and the 2 TB 

Re: USB2 or 3 WiFi dual band adapters

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: tony mollica 
Sent: Thursday, 9 August 2018 1:12 AM
To: debian-user@lists.debian.org
Subject: USB2 or 3 WiFi dual band adapters


Hello.

I need to find a good, reliable WiFi adapter.  I have an Alfa AWUS036ACH using 
a RTL8812au chip
and there is support but it's unreliable.  Connects sometimes, mostly not.  My 
older adapters work
but they're slow but maybe that's the compromise I need to resolve.

What's being used reliably?

Thanks,

Tony


Re: messages from GNU screen always in English

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: davidson 
Sent: Thursday, 9 August 2018 11:17 PM
To: debian-user@lists.debian.org
Subject: messages from GNU screen always in English

It seems that regardless of my locale (LANG=fr_FR.UTF-8,
LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
always in English.

Has anyone else noticed this, or am I doing something wrong?

For the record, the following briefly illustrates what I do (for
example):

  $ export LANG=fr_FR.UTF-8 ; screen # set locale for tty and start screen
  $ exit # quit screen session
  [screen is terminating]

The termination message above illustrates the unexpected behavior I am
talking about.

Also for the record:

  $ locale -a
  C
  C.UTF-8
  de_DE.utf8
  en_US.utf8
  fr_CA.utf8
  fr_FR.utf8
  POSIX
  ru_RU.utf8

(By contrast, screen's ":time" command *does* obey the locale, though
it displays non-ascii characters incorrectly, and as far as I know
that is a different issue, possibly worth another thread.)

--
  The day will come  |  Last words, August Spies (1855--1887).
  When our silence will be   |  Hanged, by the state of Illinois,
  More powerful than |  alongside fellow journalists
  The voices you strangle today  |  Adolf Fischer and Albert Parsons.



Re: Using Sid (was: New `no sound' problems)

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: Joe 
Sent: Thursday, 9 August 2018 7:10 PM
To: debian-user@lists.debian.org
Cc: delop...@gmail.com
Subject: Re: Using Sid (was: New `no sound' problems)

On Thu, 09 Aug 2018 08:14:44 +0200
deloptes  wrote:

> Joe wrote:
>
> > Having said that, I don't think I've had more sound problems with my
> > sid workstations than with my stable server. Sound is generally a
> > pig on Linux, as the software base seems to change every few years,
> > and until recently, multiple sound cards had the same problem as
> > multiple NICs in that the OS couldn't seem to identify them
> > reliably. I've solved most of my sound problems by getting brutal
> > and actually ripping out and blacklisting drivers for the sound
> > devices I'm not using. Nothing less seemed to permanently solve the
> > identity crisis.
>
> Hi,
> for my workstation (I want to turn it on and just work), I use
> stable. For my server(s) the same. IMO Sid belongs in a VM for
> playing arround. If you want to be one step ahead of time, try
> testing it is usually stable.

Outside the release freeze, testing is only a little more stable than
unstable, and gets fixes later. In the long term, there's not a lot to
choose.
>
> If you don't read/write code, I don't see why someone would use
> unstable. As I mentioned ubuntu is much better to take in such a case
> (Not a developer, but want to be ahead of debian time)

Because there are a few applications still under development, they are
seriously buggy and continuously increasing in features. Even a few
weeks can make a big difference in functionality. I'm looking at you,
libreoffice, libreCAD, geda PCB, etc...

And since I'm not a professional developer, unstable is the practical
way to donate to Debian, in the form of bug reports. All the work has
already been done in stable.

>
> Regarding the sound - I never had a problem in the past 12+ years.

You are fortunate. I went though a period where the assignments for
sound card 0 and 1 would randomly flip, every few weeks or months. I
didn't find whatever magical incantation would prevent this, if it
existed.

If you look up sound problems in conjunction with Linux, the wealth of
results you get will tell you how it has been. Because it has happened
over such a long period of time, almost all of what you find will be
obsolete and completely worthless, which makes fixing the problems so
frustrating.

> Why? Because I did configure the system properly and I use stable. So
> instead of "getting brutal" you could setup your system properly and
> forget about the issues.

"Properly", eh? You mean spending a few days messing around with those
intuitive udev naming rules? Why should that be necessary? Surely,
running a *sound* utility *once*, and telling it which sound card I want
to use should be sufficient? Why should I need to mess around with
system stuff in order to choose my sound card and prevent it toggling
my choice now and then? That kind of stuff should happen automatically
at installation time, once and for all. Possibly it does, now.

>
> One bad thing that people do is the install things on the production
> system just to try them out. Take a second system - or a second drive
> - or a second installation on the same driver. Test there and move to
> the working environment, when you are sure it works.
> With other works make backups before doing something on your
> production system.

Yes, it would be nice to have batches of identical computers, and
nothing to do all day but mess about with them... this isn't a
commercial system, and I have neither the time nor the money to treat
it as one. I'm a computer *user*.

--
Joe