Re: [gentoo-user] ERROR: media-video/mplayer-9999::bircoph failed (depend phase)

2020-02-25 Thread Mick
On Tuesday, 25 February 2020 07:09:14 GMT Dale wrote:
> Franz Fellner wrote:
> > There's already a bug report open:
> > https://bugs.gentoo.org/709050
> > Is there a reason you use mplayer- from that repository?
> > There's also an mplayer- in the main portage tree.
> 
> I'm actually using mplayer-1.3.0-r6.  I don't think I've ever used the
>  version of anything except youtube-dl.  That package is a fast
> mover at times.  Now that I see layman in there and that it is coming
> from a overlay, I think I'll try removing that overlay.  That should fix
> the issue.  ;-)
> 
> Thanks for the info.
> 
> Dale
> 
> :-)  :-) 
> 
> P. S. Its been so long, gotta 'man layman' to see how to remove that.  :/

I thought mplayer was left behind by its mpv fork, which I've been using for 
some years now. 

The current stable package is media-video/mpv-0.31.0

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Portage: how can I retain build directories?

2020-02-19 Thread Mick
On Wednesday, 19 February 2020 23:28:54 GMT n952162 wrote:
> On 2020-02-19 23:11, Michael Jones wrote:
> > On Wed, Feb 19, 2020 at 4:00 PM n952162  > 
> > <mailto:n952...@web.de>> wrote:
> > On 2020-02-16 17:34, Peter Humphrey wrote:
> > > On Sunday, 16 February 2020 15:40:43 GMT n952162 wrote:
> > >> On 2020-02-16 16:27, Michael Orlitzky wrote:
> > >>> On 2/16/20 10:19 AM, n952162 wrote:
> > >>>> Is there an option to inhibit that the build directories
> > 
> > (presumably,
> > 
> > >>>> those in /var/tmp) be retained instead of being cleaned up?
> > >>> 
> > >>> FEATURES=noclean says it will do that
> > >> 
> > >> Ah, an environment variable.  I hadn't thought of that.
> > > 
> > > Don't you have a FEATURES= line in make.conf?
> > 
> > No ... should I?
> > 
> > There are lots of features that you can enable or disable.
> > 
> > Here's what I have, for example:
> > 
> > FEATURES="${FEATURES} buildpkg binpkg-multi-instance clean-logs
> > compress-build-logs compressdebug installsources parallel-fetch
> > parallel-install split-elog split-log nostrip userfetch usersync"
> 
> Looks interesting.  What are those things and where are they documented
> ... I looked at global and local USE flags and, e.g. installsources
> wasn't there.

man make.conf

but ... only if you want to change defaults, like adding "noclean".

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox)

2020-02-19 Thread Mick
On Wednesday, 19 February 2020 22:08:28 GMT n952162 wrote:
> On 2020-02-19 22:58, n952162 wrote:
> > On 2020-02-19 22:43, Mick wrote:
> >> On Wednesday, 19 February 2020 19:31:08 GMT n952162 wrote:
> >>> Perhaps coincidentally, that's almost identical to what I have on the 
host:
> >>>  01~>cat .asoundrc
> >>>  defaults.pcm.!card 1
> >>>  defaults.pcm.!device 0
> >>>  defaults.pcm.!ctl 1
> >> 
> >> Isn't the exclamation mark "!" negating what follows it?
> >> 
> >> If you are disabling all of them, you'll end up with the default setting,
> >> I
> >> think.
> > 
> > Do you have a reference for that?  I haven't been able to work out the
> > logic of what that might mean.
> > 
> > That "defaults.pcm.!card 1" might "*disable*" card 1 doesn't seem
> > plausible to me.  If the default is 0, how is that improved by
> > "/disabling/" card 1?  And, how do you assign card 1 to defaults, in
> > that case?
> 
> *$ cat /etc/alsa/conf.d/99-pulseaudio-default.conf.example *
> # Default to PulseAudio
> 
> pcm.!default {
>  type pulse
>  hint {
>  show on
>  description "Default ALSA Output (currently PulseAudio Sound
> Server)"
>  }
> }
> 
> ctl.!default {
>  type pulse
> }
> 
> What would the bangs here mean?

I understand the exclation mark in the above statements to mean "change the 
default" to "type pulse", but it has been years since I hacked asoundrc.  Have 
a look here:

https://alsa.opensrc.org/Asoundrc

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox)

2020-02-19 Thread Mick
On Wednesday, 19 February 2020 19:31:08 GMT n952162 wrote:
> Perhaps coincidentally, that's almost identical to what I have on the host:
> 
> 01~>cat .asoundrc
> defaults.pcm.!card 1
> defaults.pcm.!device 0
> defaults.pcm.!ctl 1

Isn't the exclamation mark "!" negating what follows it?

If you are disabling all of them, you'll end up with the default setting, I 
think.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox)

2020-02-19 Thread Mick
On Wednesday, 19 February 2020 17:32:46 GMT n952162 wrote:
> On 2020-02-19 15:37, n952162 wrote:
> > On 2020-02-19 10:48, Adam Carter wrote:
> >> On Wed, Feb 19, 2020 at 8:06 PM  >> 
> >> <mailto:n952...@web.de>> wrote:
> >> I can't play audio from my VBox.  The host system only plays
> >> audio through the second sound card (1).  The VBox offers me OSS
> >> or the null driver.  The Alsa and pulseaudio pages  say OSS is
> >> "deprecated".   Is Oracle out of the picture?  I can't find the
> >> straight dope.
> >> 
> >> Do I have to convince VBox to talk to a different sound card?
> >> 
> >> Which vbox version and what are your use flags?
> >> 
> >> FWIW, for me;
> >> app-emulation/virtualbox-6.1.2::gentoo was built with the following:
> >> USE="alsa opengl opus pam pulseaudio qt5 sdk udev -debug -doc -dtrace
> >> -headless -java -libressl -lvm -pax_kernel -python -vboxwebsrv -vnc"
> >> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_7
> >> -python3_8" PYTHON_TARGETS="python2_7 python3_6 -python3_7 -python3_8"
> >> 
> >> So i can use ALSA or pulse.
> > 
> > Okay, that's a good tip.  I'll try those use flags - I have none set.
> > 
> > I'm at virtualbox-5.2.32, which I just emerged in the last couple of
> > days, using this profile:
> > 
> > [16]  default/linux/amd64/17.1 (stable) *
> 
> I added alsa and pulseaudio and it didn't help.  Then I noticed that
> opus has something to do with the soundcard so I emerged that with -vU
> but nothing needed to be done.
> 
> It seems like VBox is interfacing directly with "the" sound card and
> even working correctly (e.g. aplay some-file takes about the right
> amount of time until it ends error-free), but unfortunately, I have 2
> sound cards and the first doesn't work.
> 
> Perhaps I could map the one to the other soundcard using .asoundrc? 
> Unfortunately, I can find no grammar for that file.

Two outputs, one HDMI, the other analogue on this laptop:

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: CX20757 Analog [CX20757 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

This syntax swaps them over, so I can get sound out of the speakers:

$ cat /etc/asound.conf 
#pcm_slave.slave_rate48000Hz {
#pcm "hw:1,0"
##  This is the rate the sound card does.
##  Any random input rates are resampled to this. 
#rate 48000
#}
#pcm.rate44100Hz {
#type plug
#slave slave_rate48000Hz
#}

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] packages.gentoo.org: Empty page

2020-02-16 Thread Mick
On Sunday, 16 February 2020 23:54:49 GMT Alexey Mishustin wrote:
> > > What was that?..
> > 
> > Routing.
> > 
> > You can try httping next time to see what hops it follows and where it
> > fails.
> As far as I understand, that "Empty page" was served by Gentoo server,
> there was a link to the main Gentoo page. And if it was a routing
> issue, I would not get a response of Gentoo server.

Do you know for sure it was a Gentoo server?  Did you get an IP address and 
run a whois query on it?

It could have been some load balancing/reverse proxy issue gone wrong at the 
server farm or something similar at the time you tried to connect, but yet 
again it could be some DNS poisoning problem.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] packages.gentoo.org: Empty page

2020-02-16 Thread Mick
On Sunday, 16 February 2020 23:32:34 GMT Alexey Mishustin wrote:
> Oh! It worked.
> 
> What was that?..

Routing.

You can try httping next time to see what hops it follows and where it fails.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Portage: how can I retain build directories?

2020-02-16 Thread Mick
On Sunday, 16 February 2020 15:27:54 GMT Michael Orlitzky wrote:
> On 2/16/20 10:19 AM, n952162 wrote:
> > Is there an option to inhibit that the build directories (presumably,
> > those in /var/tmp) be retained instead of being cleaned up?
> 
> FEATURES=noclean says it will do that

and ... 'man make.conf' explains how you can use various settings to capture 
logs for your purpose.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Web browsers crash when trying to print.

2020-02-15 Thread Mick
On Saturday, 15 February 2020 04:54:21 GMT Dale wrote:
> Howdy,
> 
> I first discovered this with Seamonkey.  I then tested this with Firefox
> and got the same results.  When I go to File and select Print, the print
> dialog window pops up for just a second and then the web browser
> crashes.  Both seem to use the same print software.  I tried a different
> version of Seamonkey but it does the same.  I also tested a fresh
> profile of Seamonkey as well, Firefox also.  I don't print from Firefox
> much.  Also, if I select Print Preview from the menu, it opens normally
> but as soon as I click print, crash.
> 
> I then tried a newer unstable version of cups just in case it would
> help.  After that, I opened Kwrite and tried to print.  Its print dialog
> opened and waited for me to hit print.  LOo did the same.  However, both
> of those use a different software or at least they look very different
> to print with. 
> 
> Usually going back a version or up a version fixes things like this. 
> Given that this didn't work in this case, I'm not sure where to go.  Two
> versions of Seamonkey and Firefox both crash.  A newer version of cups
> and it still crashes.  I did a search on BGO and didn't find anything
> except for a fixed version of Chrome which I don't have on here.  I
> suspect it uses different software to print anyway.  So no help there. 
> Forums had a thread that was from 2010.  It mentioned a USE flag which
> cups doesn't even have anymore.  No solution on the forums.
> 
> One other thing that may or may not be related.  I did a emerge -e world
> a week or so ago.  Before that, I could print fine.  The reason I did
> that was because I switched to a new gcc and I just wanted to be sure
> everything was stable.  I went from gcc-8 to gcc-9.  It may not have
> been needed but it was cold here and I didn't mind the extra heat. 
> Plus, it sometimes fixes other quirks I may not even see.  Here is the
> info for Seamonkey, Firefox and cups.
> 
> 
> root@fireball / # emerge -p seamonkey firefox cups
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   #] www-client/seamonkey-2.49.9.1_p0::gentoo 
> USE="chatzilla dbus force-gtk3 gmp-autoupdate ipc jemalloc roaming
> startup-notification system-harfbuzz system-icu system-jpeg
> system-libevent system-libvpx system-sqlite -calendar -crypt
> -custom-cflags -custom-optimization -debug -jack -minimal (-neon)
> -pulseaudio (-selinux) (-system-cairo) -test -wifi"
> [ebuild   R   ~] www-client/firefox-72.0.2::gentoo  USE="gmp-autoupdate
> screenshot startup-notification system-av1 system-icu system-jpeg
> system-libevent system-sqlite system-webp -bindist -clang -custom-cflags
> -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel
> -jack -lto -pgo -pulseaudio (-selinux) -system-libvpx -test -wayland
> -wifi" CPU_FLAGS_X86="-avx2"
> [ebuild   R   ~] net-print/cups-2.3.1::gentoo  USE="X dbus pam ssl
> threads zeroconf -acl -debug -kerberos -lprng-compat (-selinux)
> -static-libs -systemd -usb -xinetd" ABI_X86="32 (64) (-x32)" 0 KiB
> 
> Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB
> root@fireball / #
> 
> 
> I try to set the safest USE flags I can.  I usually follow things I've
> read on this list.  If someone thinks changing one will help, I'm
> willing to test it.  I can always use my test profile that is blank
> anyway.  That way there will be no data loss even in a worst case
> scenario. 
> 
> This is the gcc-config -l output.
> 
> 
> root@fireball / # gcc-config -l
>  [1] x86_64-pc-linux-gnu-8.3.0
>  [2] x86_64-pc-linux-gnu-9.2.0 *
> root@fireball / #
> 
> 
> If needed, I could also revert back to gcc-8.  It takes a while but it
> is doable as a last resort. 
> 
> I'm not sure if the printing is done within Seamonkey itself or if
> Seamonkey and Firefox use some common external print software.  I'd
> think the later since both behave the same way.  I'm just not sure.
> 
> Any ideas or thoughts??
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

I don't have seamonkey to know what it uses, but if it is sharing much with 
the code base of Firefox, then it is probably using GDBus to communicate with 
CUPS to print.

The GUI menu is probably using the Gtk3 widget kit by default, to draw buttons 
and what not.

For a better idea launch seamonkey/firefox using a terminal and see what it 
reports when you try to print.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kde-plasma/powerdevil-5.17.5:5 fails due to missing /usr/lib64/libffi-3.3_rc0/include

2020-02-14 Thread Mick
On Friday, 14 February 2020 00:32:53 GMT Neil Bothwick wrote:
> On Fri, 14 Feb 2020 00:16:11 +0000, Mick wrote:
> > This came up on an update today:
> > ===
...
> > CMake Error in daemon/CMakeLists.txt:
> >   Imported target "KF5::NetworkManagerQt" includes non-existent path
> >   
> > "/usr/lib64/libffi-3.3_rc0/include"
> >   
> >   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
> >   
> >   * The path was deleted, renamed, or moved to another location.
> >   
> >   * An install or uninstall procedure did not complete successfully.
> >   
> >   * The installation package was faulty and references files it does not
> >   provide.
> > 
> > -- Generating done
> > -- Build files have been written to: /var/tmp/portage/kde-plasma/
> > powerdevil-5.17.5/work/powerdevil-5.17.5_build
> > ==
> > 
> > I rebuilt libffi, but the same failure recurred as above.  Any ideas?
> 
> Have you tried rebuilding networkmanager-qt?

Following a morning coffee and Neil's useful advice the culprit was staring me 
in the face.  :-)

All compiling happily now.  Thank you Neil!
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] kde-plasma/powerdevil-5.17.5:5 fails due to missing /usr/lib64/libffi-3.3_rc0/include

2020-02-13 Thread Mick
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-dpms.so;/usr/lib64/
libxcb-randr.so (found version "1.13.1") found components:  XCB RANDR DPMS 

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.62.0)
 * Qt5Gui (required version >= 5.13.2)
 * Qt5Widgets
 * Qt5DBus
 * Qt5X11Extras
 * Qt5 (required version >= 5.12.0)
 * KF5Activities (required version >= 5.62.0)
 * KF5Auth (required version >= 5.62.0)
 * KF5IdleTime (required version >= 5.62.0)
 * KF5Config (required version >= 5.62.0)
 * KF5DBusAddons (required version >= 5.62.0)
 * KF5Solid (required version >= 5.62.0)
 * Gettext
 * KF5I18n (required version >= 5.62.0)
 * KF5GlobalAccel (required version >= 5.62.0)
 * KF5KIO (required version >= 5.62.0)
 * KF5NotifyConfig (required version >= 5.62.0)
 * KF5Wayland (required version >= 5.62.0)
 * KF5DocTools (required version >= 5.62.0)
 * KF5Crash (required version >= 5.62.0)
 * KF5Notifications (required version >= 5.62.0)
 * KF5 (required version >= 5.62.0)
 * KF5Screen
 * LibKWorkspace (required version >= 5.17.5)
 * UDev, API for enumerating and introspecting local devices (part of 
systemd), <https://freedesktop.org/wiki/Software/systemd/>
 * XCB, X protocol C-language Binding, <https://xcb.freedesktop.org/>

-- The following features have been disabled:

 * DDCUtil, DDCUtil library support is disabled by default as recomended by 
authors, add -DHAVE_DDCUTIL=On to enable

-- <<< Gentoo configuration >>>
Build type  Gentoo
Install path/usr
Compiler flags:
C   -march=native -O2 -pipe -ftree-vectorize -fno-common -Wall -
Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -
Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -
Werror=implicit-function-declaration
C++ -march=native -O2 -pipe -ftree-vectorize -fno-operator-names -
fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security 
-Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual 
-Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -
fdiagnostics-color=always
Linker flags:
Executable  -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-
needed
Shared  -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-
needed

-- Configuring done
CMake Error in daemon/CMakeLists.txt:
  Imported target "KF5::NetworkManagerQt" includes non-existent path

"/usr/lib64/libffi-3.3_rc0/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in daemon/CMakeLists.txt:
  Imported target "KF5::NetworkManagerQt" includes non-existent path

"/usr/lib64/libffi-3.3_rc0/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-plasma/
powerdevil-5.17.5/work/powerdevil-5.17.5_build
==

I rebuilt libffi, but the same failure recurred as above.  Any ideas?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] octave won't run

2020-02-06 Thread Mick
On Thursday, 6 February 2020 13:44:22 GMT k...@aspodata.se wrote:
> Mick:
> ...
> 
> > I don't have these packages on my systems to check, but does 'eselect
> > lapack list' reveal anything amiss?
> 
> ...
> 
> $ eselect lapack list
> Available LAPACK (lib) candidates:
>   (none found)
> Available LAPACK (lib64) candidates:
>   (none found)
> $ eselect blas list
> Available BLAS/CBLAS (lib) candidates:
>   (none found)
> Available BLAS/CBLAS (lib64) candidates:
>   (none found)
> 
> and after rebuilding lapack with eselect-ldso
> 
> $ eselect lapack list
> Available LAPACK (lib) candidates:
>   (none found)
> Available LAPACK (lib64) candidates:
>   [1]   reference *
> $ eselect blas list
> Available BLAS/CBLAS (lib) candidates:
>   (none found)
> Available BLAS/CBLAS (lib64) candidates:
>   [1]   reference *
> 
> still same problem.
> 
> recompiling octave, same problem.
> recompiling octave with  static-libs, same problem.
> 
> Regards,
> /Karl Hammar

Unless someone shows up with more knowledge on the specifics it would be worth 
posting a bug, or contacting the maintainer for suggestions.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] octave won't run

2020-02-06 Thread Mick
On Thursday, 6 February 2020 08:28:05 GMT k...@aspodata.se wrote:
> Octave won't run since a lib is missing.
> I can re-emerge it without problems, but the problem still
> persist. The lib is there but it has a different version.
> 
> Anyone know what this is about ?
> 
> $ ldd /usr/bin/octave-cli-4.2.2 | grep not
> liblapack.so.0 => not found
> $ ls -l /usr/lib64/liblapack.*
> lrwxrwxrwx 1 root root  28 May  9  2019 /usr/lib64/liblapack.a ->
> lapack/reference/liblapack.a lrwxrwxrwx 1 root root  14 Nov 29 00:30
> /usr/lib64/liblapack.so -> liblapack.so.3 lrwxrwxrwx 1 root root  18
> Nov 29 00:30 /usr/lib64/liblapack.so.3 -> liblapack.so.3.8.0 -rwxr-xr-x 1
> root root 6886896 Nov 29 00:29 /usr/lib64/liblapack.so.3.8.0
> 
> Regards,
> /Karl Hammar

I don't have these packages on my systems to check, but does 'eselect lapack 
list' reveal anything amiss?

Otherwise the latest sci-libs/lapack is 3.8.0, so your links above look 
correct as far as I can tell.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] OT: looking for email provider

2020-02-02 Thread Mick
Just to add the headers fail the DMARC checks, as I noticed in Jack's message:

ARC-Authentication-Results: i=1; mx.google.com;
   spf=pass (google.com: domain of gentoo-user+bounces-189351-
michaelkintzios=gmail@lists.gentoo.org designates 208.92.234.80 as 
permitted sender) smtp.mailfrom="gentoo-user+bounces-189351-
michaelkintzios=gmail@lists.gentoo.org";
   dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net

but still forwarded following Jack's manual verification.

On Sunday, 2 February 2020 11:27:35 GMT Mick wrote:
> On Saturday, 1 February 2020 22:08:37 GMT Jack wrote:
> > Relying on the collective experience and advice of the group here.
> > 
> > As may be obvious to many of you, the address this message is sent from
> > "...@users.sourceforge.net" isn't really a fully functional address.
> > Email sent to that address will be forwarded by the sourceforge system
> > to a personal address I specify.  When I send a message "From: " that
> > address, however, I cannot send it through the sourceforge system, as I
> > don't actually have an email account with them.  Currently, I send it
> > through my gmail account.  That works because I added that address in
> > my gmail Settings under "Accounts and Import" /  "Send mail as:".
> 
> This message sending mechanism is using an email address "alias".  It used
> to be a simple exercise of setting up as many different aliases you wanted
> and then being able to send messages with a From: field, as whoever you
> wanted to show up being the sender of the message in your recipients Inbox.
>  The forwarded message retains in its headers the original SMTP envelope
> sender and recipient addresses, but if you used Bcc: to direct it to a
> recipient the message headers could be less revealing of the path used to
> send the message. depending on the particular mail server implementation.
> 
> It is easy to guess spammers soon cottoned onto the fact they could send
> their adverts for products most of us do not need and immediately used this
> method to spam the world from "Mr. Viagra" and what have you.
> 
> For this reason email ISPs introduced a number of 'email address
> verification' hoops you have to jump through, to be allowed to use a
> different email alias through their SMTP servers.
> 
> > To
> > set it up, gmail sends a message to that address, and I click on a link
> > in the message to prove it does come to me.  That's been working find
> > for a long time, but, ...
> 
> This is an alias address verification method.  You have to show you have
> control of that domain/email address, rather than being a spammer exploiting
> this method.
> 
> Despite all this spammers are still getting through.  So, alternative
> technologies have been invented (SPF, DKIM, DMARC)[1] to make sure the
> sender is legitimate, identifiable and is only allowed to use their own
> domains.
> 
> [1] https://dmarc.org/
> 
> > I'm trying to move away from gmail.  Especially for mailing lists like
> > this one, if I send a message to the list, I never see that I get the
> > message from the list, because gmail refuses to show it in my inbox
> > because it's a duplicate of a message already in my sentbox.
> 
> I think you can use Filters and Labels[2] in Gmail to tag and then move
> whatever you receive/send into a folder you define.
> 
> [2] https://support.google.com/mail/answer/118708
> 
> > I do have an email account with privateemail.com (thorough
> > namecheap.com) but they are unable or unwilling to have a similar
> > setup.  I'm not even sure they actually understand what I'm asking of
> > them, but I've wasted more than enough time trying.
> 
> You could try using the terms "email alias address" and "Send As" with them
> to see if this allows your conversation to progress further.
> 
> Many ISPs are a marketing shop buying the email service backend from one of
> the big email suppliers, e.g. Google, AWS, etc.  Such marketing shops
> without commensurate technical capabilities are only a step away from
> having spammers associated with their service and therefore keep features
> down to a minimum to avoid being blacklisted due to potential
> misconfigurations.
> 
> > So - I'm asking if anyone can recommend an email service provider that
> > understands this and will let me set it up.  I have my own domain, but
> > namecheap.com does seem willing to have the appropriate DNS record
> > point to a different email provider.  At this point, I'm not interested
> > in running my own email server.  I currently only need two mailboxes,
> > maybe a small

Re: [gentoo-user] OT: looking for email provider

2020-02-02 Thread Mick
services, some offering only email services, others 
include website hosting and data storage for the same price.

I also use Google for mailing lists et al.  I have been thinking of moving 
away from this capitalist surveillance service, whereby the email service is 
free, but your data privacy is sold to the highest bidder, while Google keeps 
all the margin.  Although the concepts of privacy plus Internet are somewhat 
orthogonal.  I'll eventually get around to it, so please post what you come up 
with in case it suits me too.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] The saga of the missing Logitech drivers

2020-01-31 Thread Mick
On Friday, 31 January 2020 17:42:20 GMT Andrew Lowe wrote:
> Hi all,
>   I posted something a few days ago about middle click of a mouse not
> working. In investigating this, I think I have come across something a
> bit dodgy.
> 
>   I have just updated my kernel to 5.5.0. This has the dodgy 
behaviour of
> the middle button not working.   A bit of Googling led me to reboot my
> machine with an older kernel, 5.4.14. The middle button worked. The
> kernel is the problem I thought. I in turn diff'd the configs for the
> two kernels. 5.4.14 has 7 lines of Logitech stuff under CONFIG_HID_.
> 5.5.0 has none. The Logitech stuff appears in the 5.5.0 kernel if I
> search within the kernel config thingy, "make menuconfig". It should be
> noted that I usually roll my old config file over into the new kernel
> then run "make oldconfig".
> 
>   "make menuconfig" under 5.5.0 shows, in my situation, Device
> Drivers->HID support->Special HID drivers:
> 
> ...
> ...
> Kensington...
> LC-Power
> Lenovo...
> Apple Magic...
> Maltron...
> ...
> ...
> 
> Under 5.4.14 there would have been a Logitech between Lenovo & Magic Mouse
> 
>   With this in mind, I deleted the current config file, the one based 
on
> 5.4.14 with "make oldconfig" and missing Logitech and then reran "make
> menuconfig". Working my way down to the mouse drivers, lo & behold,
> there are entries for the Logitech mice. When I exit "make menuconfig"
> and look at the .config file, the Logitech stuff is there.
> 
>   Now the big questions are:
> 
> 1) Is "make oldconfig" broken?
> 2) Can I no longer take my old config across and update it?
> 3) Am I a dill and doing something obviously wrong?
> 
>   I don't want to have to start from a fresh config file and weed out 
all
> the %^&^$^#^# stuff I don't need, all of the weird network cards, the
> Intel CPU stuf, I run AMD, etc etc.
> 
>   Any thoughts on how to rectify this situation would be greatly 
appreciated,
> 
>   Andrew

I have not noticed 'make oldconfig' failing to configure my devices.  However, 
I run stable sources and this might make a difference (it shouldn't).

What may be happening is the tree of options has changed and Logitech or 
whatever you're fishing for may have now been reclassified under some other 
major option, which in the latest kernel config is disabled by default.  Your 
old config does not have the same tree structure and therefore you may have 
missed the chance to enable whatever Logitech is now a suboption of.

I have come across this a couple of times over the years, especially on 
network options which it seems to me change in name and number along with the 
seasons.  When something breaks I use menuconfig and hunt around for any 
relevant major option I need to enable, in order to make the suboption I'm 
after to reappear.  Kernel changelogs/git may provide a hint.  It can be 
annoying when you're rushing to get a new kernel to boot correctly, but I 
haven't found a cleverer way around it.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost "middle click opens links" in KDE/Firefox combo - anyone else?

2020-01-30 Thread Mick
On Thursday, 30 January 2020 09:28:56 GMT Neil Bothwick wrote:
> On Thu, 30 Jan 2020 09:07:00 +0000, Mick wrote:
> > On Thursday, 30 January 2020 05:41:34 GMT Andrew Lowe wrote:
> > >   Yesterday afternoon, and for the last ??? years, I could be
> > > 
> > > using Firefox, within KDE and with a Logitech M560[1] mouse, middle
> > > click on a link and a new tab would open containing the link.
> > 
> > Yes, middle-click would paste a URL and FF would load it.  This has
> > been the behaviour of FF for as long as I can think on different
> > desktops, not just Plasma/KDE.
> > 
> > >   I did an "emerge world", which included some KDE stuff, but
> > > 
> > > not Firefox, last night and this morning, this functionality is now
> > > gone. Has anyone else got this problem or come across it being
> > > mentioning in their wanderings of the web?
> > 
> > I can confirm I can't paste with the middle button and navigate to a
> > URL in FF or Falkon, but I don't know what has caused this.  From what
> > I recall Chromium never worked, while FF always did.
> 
> Chromium still behaves as it always did here, with a middle-click opening
> the link in a new tab.

Hmm ... I just checked again.  It doesn't do so on two different systems.  I 
wonder if some setting is responsible for it not working here.  :-/

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost "middle click opens links" in KDE/Firefox combo - anyone else?

2020-01-30 Thread Mick
On Thursday, 30 January 2020 05:41:34 GMT Andrew Lowe wrote:
> Hi all,
>   Yesterday afternoon, and for the last ??? years, I could be using
> Firefox, within KDE and with a Logitech M560[1] mouse, middle click on a
> link and a new tab would open containing the link.

Yes, middle-click would paste a URL and FF would load it.  This has been the 
behaviour of FF for as long as I can think on different desktops, not just 
Plasma/KDE.


>   I did an "emerge world", which included some KDE stuff, but not
> Firefox, last night and this morning, this functionality is now gone.
> Has anyone else got this problem or come across it being mentioning in
> their wanderings of the web?
> 
>   Any thoughts greatly appreciated,
> 
>   Andrew
> 
> 
> 
> 
> 
> 
> [1] https://tinyurl.com/u9vxqdy

I can confirm I can't paste with the middle button and navigate to a URL in FF 
or Falkon, but I don't know what has caused this.  From what I recall Chromium 
never worked, while FF always did.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] python 2 deprecation

2020-01-27 Thread Mick
On Monday, 27 January 2020 07:26:38 GMT Arve Barsnes wrote:
> On Mon, 27 Jan 2020 at 05:57, james  wrote:
> > Can't locate inc/Module/Install.pm in @INC (you may need to install the
> > inc::Module::Install module) (@INC contains: /etc/perl
> > /usr/local/lib64/perl5/5.30.1/x86_64-linux-thread-multi
> > /usr/local/lib64/perl5/5.30.1
> > /usr/lib64/perl5/vendor_perl/5.30.1/x86_64-linux-thread-multi
> > /usr/lib64/perl5/vendor_perl/5.30.1 /usr/local/lib64/perl5
> > /usr/lib64/perl5/vendor_perl/5.28.2 /usr/lib64/perl5/vendor_perl/5.26.2
> > /usr/lib64/perl5/vendor_perl/5.24.3 /usr/lib64/perl5/vendor_perl
> > /usr/lib64/perl5/5.30.1/x86_64-linux-thread-multi
> > /usr/lib64/perl5/5.30.1) at Makefile.PL line 6.
> > 
> > Any guidance or suggestion are welcome.
> > A specific list of files to purge and download again?
> 
> It seems like some package has a missing dependency, and that you
> should install dev-perl/Module-Install
> 
> Cheers,
> Arve

Hmm ... dev-perl/Module-Install is NOT installed here, but I do have dev-perl/
Authen-SASL-2.160.0-r1 installed fine with no emerge errors.

Of course James may have installed manually some perl packages, or added 
(some) perl packages in his world file and they may require dev-perl/Module-
Install.  Either way such dependencies ought to be dealt with by portage, 
rather than having to emerge packages manually.

I'm no perl expert to offer specific advice here.  To move on you could try 
emerging '-1av dev-perl/Module-Install' as Arve recommends and see where this 
gets you.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] python 2 deprecation

2020-01-26 Thread Mick
On Sunday, 26 January 2020 23:45:14 GMT james wrote:
> On 1/26/20 3:58 AM, Mick wrote:
> > On Sunday, 26 January 2020 08:36:15 GMT Peter Humphrey wrote:
> >> On Sunday, 26 January 2020 05:35:04 GMT Dale wrote:
> >>> james wrote:
> >>>> just a test via another mail-route. curious if it works
> >>> 
> >>> FYI, it came through but the threading was broken.  It appeared here as
> >>> a new thread.
> >> 
> >> Not so here. KMail threaded it right.
> > 
> > +1 on Kmail
> 
> Hm.
> 
> Well I've contact several ISPs about a /29 set of static IPs (routed) as
> part of an upgrade. We'll see how that pans out. Sure, I hate SendMail,
> but it's an old system that can be configured, with fine-grain
> semantics, and we have much history together.
> 
> 
> KMail is an interesting alternative, should I decide against static IPs.
> I need those statics to showcase
> some embedded devices I'm been working; so why not fix these VERIZON
> ahole mail issues, once and for all.

Kmail is a desktop GUIfied email client, not a mail delivery mechanism.

I seem to always receive your messages to the list and Kmail threads them 
correctly from what I have noticed.


> ls /usr/portage/mail-mta  yeilds 12 packages.
> (suggestions/discussions on running a mail server are all welcome.
> 
> I'm tire of waisting all this time, only to discover that other folks
> running mail services, are basically a bunch of ahole, anti-linux
> bigots. So why not just run my own mail server? Besides, I've got to go
> back to work, and mail_administration is always a good thing for a
> resume, ymmv.

I'll leave others to comment on the workload which running your own mail 
server could produce.  Besides using a suitable application to configure a 
dynamically updated blacklist and virus checker to keep spammers and malware 
out, you'll also need to configure SPF, DKIM & DMARK to make sure your emails 
are delivered reliably to the mass market ISPs like hotmail, yahoo.com!, etc.  
Otherwise such ISPs may just drop them unseen and without warning.

Random google result:

https://www.csoonline.com/article/3254234/mastering-email-security-with-dmarc-spf-and-dkim.html


> > Regarding the original post, do not forget the incantations:
> > eselect python list
> > eselect python update
> > eselect python cleanup
> > to update your python symlinks and cleanup any stragglers.
> 
> It switched me from python-3.6 to python-3.7 as the default; I'll see
> how that goes
> They all ran nice and clean, except for this package::
> that fails to build regardless of what I do/try.
> 
> dev-perl/Authen-SASL

The moment I come across a perl package emerge problem and before I try to 
troubleshoot it further, I run:

perl-cleaner --reallyall

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] python 2 deprecation

2020-01-26 Thread Mick
On Sunday, 26 January 2020 08:36:15 GMT Peter Humphrey wrote:
> On Sunday, 26 January 2020 05:35:04 GMT Dale wrote:
> > james wrote:
> > > just a test via another mail-route. curious if it works
> > 
> > FYI, it came through but the threading was broken.  It appeared here as
> > a new thread.
> 
> Not so here. KMail threaded it right.

+1 on Kmail

Regarding the original post, do not forget the incantations:

eselect python list
eselect python update
eselect python cleanup

to update your python symlinks and cleanup any stragglers.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] USB sound card not recognized as capture device

2020-01-23 Thread Mick
On Thursday, 23 January 2020 13:50:59 GMT edes wrote:
> el 2020-01-19 a las 16:49 Mick escribió:
> > You could compare the dmesg output of working and non-working kernels
> > and see what differences are present, then google for bugs/solutions on
> > that basis.
> 
> [...]
> 
> > You could also diff the two different kernel tree versions and see what
> > drivers have changed.
> 
> Hello, thanks for your suggestions.
> 
> I'm not a programmer and I know nothing about C or kernel development, but
> I found that, beginning with 5.4.11, several changes were introduced in
> drivers/usb/core/config.c, that seem to be consistent with the message
> that appears now when I connect my card:
> 
> [  129.153850] usb 3-10.3: config 1 interface 2 altsetting 1 has a
> duplicate endpoint with address 0x85, skipping
> [  129.153854] usb 3-10.3: config 1 interface 2 altsetting 2 has a
> duplicate endpoint with address 0x85, skipping

I've suffered from a similar problem, changes in a number of files in some 
previous version stopped my WiFi NIC from working and pegged the CPU to 100%.  
The way I went about it was to comment out the offending lines in these files 
and recompile the kernel.  It is a bit of pain, since I have to perform this 
manual editing with each kernel so far.

You could try to comment out the lines which break your card for now and see 
if this fixes the problem.


> Where can I post this problem? I've been using Linux for 20 years, but
> this is my first problem with the kernel. I found these forums:
> 
> https://forum.linuxfoundation.org/categories/drivers
> https://www.linuxquestions.org/questions/linux-kernel-70/
> 
> And of course the kernel mailing list, but seems to be for developers.

I would start with BGO in the first instance:

https://bugs.gentoo.org/

providing info on the affected hardware, the errors you've identified and the 
files you suspect containing the changes in the code.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] USB sound card not recognized as capture device

2020-01-19 Thread Mick
On Sunday, 19 January 2020 15:02:36 GMT edes wrote:
> el 2020-01-18 a las 12:58 edes escribió:
> > But now for some reason it works as playback device, but is not
> > recognized as capture device.
> 
> I kept investigating, and all the evidence points to a kernel problem
> (gentoo-sources).
> 
> I tried several versions, everything works fine with kernels up to 5.4.10,
> problems appear with 5.4.11, 12 and 13. Same results on two different
> machines with two different cards (same model).
> 
> It seems that some changes were introduced in 5.4.11 that affect USB
> audio. This only affects my Sound Devices USPre2 cards, I tried with a
> cheap card, and it continues to work normally with all kernels.
> 
> Where should I report this problem and who could help?
> 
> Thanks.
> 
> 
> --

You could compare the dmesg output of working and non-working kernels and see 
what differences are present, then google for bugs/solutions on that basis.

You could also diff the two different kernel tree versions and see what 
drivers have changed.  Also, check the kernel git repo to see what the 
changelog reports, which could narrow down the diff'ed files:

https://github.com/torvalds/linux

You could post a bug in BGO, but the devs may ask you to enable/undertake 
kernel debugging, which is not a 5 minute job and/or use vanilla kernel 
sources and report it upstream, depending on how rare this problem is and if 
they have been bitten by the same bug themselves.

https://wiki.gentoo.org/wiki/Kernel_Crash_Dumps
https://www.oreilly.com/library/view/linux-device-drivers/0596005903/ch04.html

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Suspend and Hibernation not working on XFace desktop [SOLVED]

2020-01-17 Thread Mick
On Friday, 17 January 2020 11:18:22 GMT Dr Rainer Woitok wrote:
> Mick and All,
> 
> On Saturday, 2019-12-21 12:22:31 +, you wrote:
> > ...
> > A Gentoo user with consolekit and xfce should kindly check their settings
> > and compare with yours to see if something is amiss.  I'm thinking, any
> > xfce regression bugs ought to affect more than one user at a time, so you
> > shouldn't be alone in this.
> 
> Well, it's been a while ...
> 
> In my attempt to hunt down this bug I stumbled upon more than one omiss-
> ion, glitch, misinterpretation, you name it that had crept into my init-
> ial Gentoo installation.   And since I had to fix these anyway, progress
> on the initial problem was somewhat slow.
> 
> Eventually I found that
> 
>$ ck-list-sessions
>$
> 
> just returned nothing.   There wasn't any  ConsoleKit session running at
> all!  I was using "x11-misc/sddm" as a desktop manager and something had
> made it stop starting a ConsoleKit session before starting Xfce.  I nev-
> er found out what, but found a workaround.  Before it starts Xfce "sddm"
> sources "~/.xsession", if it exists.  Therefore running
> 
>$ echo 'exec ck-launch-session dbus-launch --exit-with-session $@' >
> ~/.xsession
> 
> once and then rebooting solves the problem.   Within the script sourcing
> "~/.xsession" the arguments "$@"  will expand to the command  (including
> arguments)  configured to  start your session  ("startxfce4" in my case)
> and the "exec" prefix will simply prevent this script  from running "$@"
> twice.  However, since I also had other reservations about "sddm" I dec-
> ided to replace it with "lightdm" which correcly ran out of the box (ex-
> cept for configuring the background image and -- most importantly -- the
> keyboard layout for entering the password).  And "lightdm" does not need
> "~/.xsession".
> 
> So finally a big thank you to all the kind people trying to help ... :-)
> 
> Sincerely,
>   Rainer

Glad you got this going and thanks for posting back in case others come across 
the same problem.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Failed to emerge www-client/firefox-68.4.1, Log file:

2020-01-17 Thread Mick
On Friday, 17 January 2020 00:19:50 GMT Ian Zimmerman wrote:
> On 2020-01-16 13:45, Daniel Frey wrote:
> > >   * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ...
> > 
> > Do you have this installed?
> 
> FWIW, I get that message too during firefox builds (at the end), and yet
> they finish successfully.

It is not an error, just an informational message.  The toolchain does not 
have LLVM slot 9 available yet, so it is using LLVM 8.

The OP may want to rebuild rust and see if that gets you farther in the 
ebuild, because there was some reference to rust in the error.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Bouncing messages from gentoo-user@lists.gentoo.org

2020-01-14 Thread Mick
On Tuesday, 14 January 2020 13:39:57 GMT you wrote:
> On 1/13/20 5:24 PM, (Nuno Silva) wrote:
> > On 2020-01-13, james wrote:
> >> On 1/13/20 11:32 AM, gentoo-user+ow...@lists.gentoo.org wrote:
> >>> Some messages to you could not be delivered. If you're seeing this
> >>> message it means things are back to normal, and it's merely for your
> >>> information.
> >>> 
> >>> Here is the list of the bounced messages:
> >>> - 189231
> > 
> > How does one get to the message from that number? 

In order to receive an email of the bounced message you can send an empty 
message to the mailing list server, with the number of the message which was 
bounced in the address, e.g. to receive a copy of the above message number 
"189231", send this to the list:

gentoo-user+get-189...@lists.gentoo.org

HOWEVER ... your mailserver may still bounce the resent message.  I just tried 
to retrieve it manually, only for it to be bounced again silently by Gmail.  
If I hadn't received another notice for the same bounced message number by the 
M/L address 'gentoo-user+ow...@lists.gentoo.org', I wouldn't know Gmail 
bounced it once more.  :-/


> > Is it possible to get
> > an URL to the archived copy at http://archives.gentoo.org/ using that
> > number?

Hmm ... not sure if this is possible, or I don't know how to receive bounced 
messages via http.  The way I do it is by following a process of elimination.  
I check an online M/L archive service and the bounced message is the one I 
have not received out of the list of recent messages.


> >> Anyone else getting these?

Yep. I do, but it may well be related to me using a Gmail to receive messages 
and Gmail may be rejecting the odd message for some reason.  I have not added 
any recipients to a blacklist myself, so this is a Gmail action.


> > It might just be the DMARC policy thing again.
> > 
> > Here's a thread from last October/November about a similar message:
> > https://marc.info/?t=15725373431
> 
> It's my list emails, where I start a new subject. Usually, I can reply
> to an existing thread without issue.

Hi James.  I did receive your email yesterday from your verizon email address 
about Mesos, via the M/L.  It was titled "mesos updated ebuild advice?".  Your 
messages are being delivered to this M/L and Gmail distributes them without 
bouncing as far as I can surmise:

https://marc.info/?l=gentoo-user=157895127422780

The messages which seem to be bounced by Gmail are sent by Mr. Alan Grimes.  
The most recent bounced message was yesterday, titled "WTF is up with mysqld?"


> I've read this and still do not know what *I* need to do to fix this, or
> implement a workaround. I use thunderbird-(Installed versions:  68.4.1).

Nothing you need to do.  If people do not respond to a message it could well 
mean they have nothing valuable to add, rather than they haven't received it.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] .tmp-unverified-download-quarantine

2020-01-13 Thread Mick
On Monday, 13 January 2020 22:40:14 GMT Neil Bothwick wrote:
> On Mon, 13 Jan 2020 11:15:31 +0000, Mick wrote:
> > According to my emerge --info output I have sandbox, usersandbox and
> > userpriv, all set.  The owner of my portage directory and all files
> > therein is root:root.  Should the ownership be portage:portage?  What
> > is the default?
> 
> As it happens, I switched a machine from rsync to git syncing last night,
> so started with a new tree. Everything is root:root. That implies that
> portage does not drop permissions for the sync, otherwise it wouldn't be
> able to write to the tree. And ps confirms that with an rsync sync, rsync
> is running as root.

Thanks Neil, this this leaves me mildly confused as to what the gentoo-default 
ownership of portage tree is/should be.  Until I hear differently I'll leave 
my old installations as portage:portage and the latest as root:root.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Netgear AC1750 C7 V2 and IPv6

2020-01-13 Thread Mick
On Monday, 13 January 2020 19:38:33 GMT Dale wrote:

> I hope I did this right.  If not, tell me what to run.  This is what I
> get and I changed a few parts so I don't get hacked, or them trying to
> at least. 
> 
> 
> root@fireball / # traceroute6 2606:4700:1::6813:894b
> traceroute to 2606:4700:1::6813:894b (2606:4700:1::6813:894b), 30 hops
> max, 80 byte packets
>  1  2602:304:abab:9029:d66e:eff:fe42:55cf
> (2602:304:abab:9029:d66e:eff:fe42:55cf)  0.769 ms  0.750 ms  0.745 ms
>  2  * * *
>  3  * * *
[snip ...]

> 30  * * *
> root@fireball / #
> 
> 
> I'm not real good on traceroute but I'd assume the first hit is my
> puter.  The next step should be the router but it seems to die there.  I
> been suspecting the router anyway. 

The first hope would normally be the router.  Instead of assuming check the 
IPv6 addresses and confirm.


> What next?  Ideas?

The remaining hops in your test do not return ICMP packets.  This could well 
be because intermediate nodes do not respond to ICMP for security reasons.  
ICMP has been abused to perform DDoS attacks over the years and many hosts 
just drop ICMP requests.  Try running traceroute with --tcp or --udp instead, 
but you may need to run the command as root.

Have a look at this online service to see what a normal traceroute6 response 
looks like:

http://www.traceroute6.net/

If you get nowhere check from your PC, try the router.  Modern routers usually 
provide network testing apps like traceroute.
 
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-13 Thread Mick
On Sunday, 12 January 2020 17:50:22 GMT Mark Knecht wrote:
> On Sun, Jan 12, 2020 at 10:24 AM Wols Lists 
> 
> wrote:
> > On 12/01/20 16:36, Mick wrote:
> > > Hmm ... I can see how Microsoft's move to cloud computing for home
> 
> users can
> 
> > > quickly escalate to a spiral of confusion and annoyance.
> > 
> > The problem, of course, is it assumes reliable fast internet ...
> > 
> > At home, last I looked I couldn't upgrade with my current provider from
> > ADSL2, and it regularly broke of an evening with, I think, other users
> > streaming via the same uplink (I guess bufferbloat meant they got good
> > download service, me being far more up-and-down it was appalling ... :-(
> > 
> > Cheers,
> > Wol
> 
> In the last month or two I've read that M$ has shutoff the download of iso
> files. When I went through my update this week I was forced (but not
> bothered) to run their exe file that creates a bootable USB drive. I
> wondered at the time how people who aren't currently running Windows would
> do that but it didn't effect my needs. Possibly that's more robust for you
> with your ADSL?

MSWindows 10 ISO downloads are still available, I just checked:

https://www.microsoft.com/en-us/software-download/windows10ISO

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Netgear AC1750 C7 V2 and IPv6

2020-01-13 Thread Mick
On Monday, 13 January 2020 15:26:47 GMT Peter Humphrey wrote:
> On Monday, 13 January 2020 11:00:23 GMT Dale wrote:
> > Dale wrote:
> > 
> > Well, this has to be fixed or turned off completely.  When I try to
> > emerge and it tries to download new packages, it is trying to use IPv6
> > 
> > addresses which fail.  It spits out this:
> > >>> Downloading
> > 
> > 'https://mirrors.evowise.com/gentoo/distfiles/38/kjobwidgets-5.66.0.tar.xz
> > '
> > --2020-01-13 04:49:25--
> > https://mirrors.evowise.com/gentoo/distfiles/38/kjobwidgets-5.66.0.tar.xz
> > Resolving mirrors.evowise.com... 2606:4700:1::6813:894b,
> > 2606:4700:1::6813:8b4b, 2606:4700:1::6813:8a4b, ...
> > Connecting to mirrors.evowise.com|2606:4700:1::6813:894b|:443... failed:
> > No route to host.
> 
> --->8
> 
> > It seems that I need IPv6 to work or to disable it until I can.
> > 
> > Any ideas?
> 
> It seems that upstream is detecting IPv6 addresses on your network and so
> prefers it to v4. I dare say someone more knowlegeable in v6 than me could
> tell you how to remove v6 routes and addresses from your interface.

Why should he?  Wouldn't it be preferable to configure IPv6 routing correctly 
so he can connect to IPv6 hosts and so get his money back from all this 
modem+router extravagance of the year?  :-)

> What are you using as name service? You need some way to tell it not to use
> IPv6. And neither /etc/hosts nor /etc/conf.d/net should mention v6 either.
> If you didn't mind rebooting, you could remove v6 support from the kernel
> with a single N*; then the net wouldn't have any v6 support and upstream
> wouldn't try to use it.
> 
> *  Networking Support > Networking Options > The IPv6 protocol.

The evowise.com DNS has a valid  record:

$ dig @8.8.8.8 evowise.com 

; <<>> DiG 9.14.8 <<>> @8.8.8.8 evowise.com 
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15906
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;evowise.com.   IN  

;; ANSWER SECTION:
evowise.com.299 IN  2606:4700:1::6813:874b
evowise.com.299 IN  2606:4700:1::6813:8b4b
evowise.com.299 IN  2606:4700:1::6813:884b
evowise.com.299 IN  2606:4700:1::6813:8a4b
evowise.com.299 IN  2606:4700:1::6813:894b

;; Query time: 41 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jan 13 16:15:32 GMT 2020
;; MSG SIZE  rcvd: 180


Traceroute would show at what point Dale's setup fails to route packets.  I 
don't have an IPv6 router to be able to look into this further, but someone 
who does could perhaps advise.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] .tmp-unverified-download-quarantine

2020-01-13 Thread Mick
On Monday, 13 January 2020 10:42:57 GMT Neil Bothwick wrote:
> On Mon, 13 Jan 2020 10:17:06 +0000, Mick wrote:
> > Right, I haven't changed them on this installation either and emerge
> > FEATURES include
> > 
> > '... userfetch userpriv usersandbox usersync'.
> > 
> > With 'userpriv' portage is meant to drop privileges to the owner of the
> > gentoo repo directory, but if the directory is owned by root to start
> > with I am not clear how userpriv is meant to work.
> 
> According to the make.conf man page, userpriv will
> 
> "Allow portage to drop root privileges and compile packages as
> portage:portage without a sandbox"

According to my emerge --info output I have sandbox, usersandbox and userpriv, 
all set.  The owner of my portage directory and all files therein is 
root:root.  Should the ownership be portage:portage?  What is the default?

I haven't performed a full portage sync for a while now to confirm how long it 
takes here, but a re-sync over a slow ADSL takes ~20 minutes on a dual core 
ancient Intel, much less on my more modern PCs.  More than 80% of this time is 
spent on verifying the signatures of the downloaded tmp sync file.  I would 
think on a modern AMD Ryzen PC like the OP's it should take a fraction of the 
time.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] .tmp-unverified-download-quarantine

2020-01-13 Thread Mick
On Monday, 13 January 2020 08:34:01 GMT n952162 wrote:
> On 2020-01-13 09:22, Mick wrote:
> >>> Same result.  But I didn't delete "the whole portage tree".  What does
> >>> that mean?
> >>> 
> >>> rm -rf /var/db/repos?
> >> 
> >> If you're using the new default location, I think it is
> >> /var/db/repos/gentoo, but someone should confirm that.
> > 
> > Yes, the new location for the portage ebuilds is:
> > 
> > $ ls -la /var/db/repos/gentoo/.*
> 
> > /var/db/repos/gentoo/.:
> I just noticed that there's a new stag3, from 2020/01/12 instead of
> 2020/01/08 so - since this is a fresh install - I'm just going to start
> from there.

The portage tree is sync'ed to the portage tree mirrors.  A newer fs snapshot 
won't include the tree itself, but it will include the new default fs 
locations for the portage directory.


> > This bug points to the tree owned by root:root instead of portage:portage,
> > interestingly in my most recent installation the tree is owned by root as
> > you can see above and I'm not getting this problem.
> > 
> > https://bugs.gentoo.org/661834
> 
> I'm not exactly sure what you mean here ... did you do a chown -R or
> will the ownership be different when my new stage3 is finally downloaded?

I do not recall running a chown on this installation.  Had I done this, in all 
likelihood I would have chown'ed it to portage:portage, as older installations 
of mine are set to.


> I'm not keen on overriding the default configuration in a global way 
> like changing the ownwhip of all files.

Right, I haven't changed them on this installation either and emerge FEATURES 
include

'... userfetch userpriv usersandbox usersync'.

With 'userpriv' portage is meant to drop privileges to the owner of the gentoo 
repo directory, but if the directory is owned by root to start with I am not 
clear how userpriv is meant to work.  I take it your gentoo portage tree is 
also owned by root:root in its default installation state?

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] .tmp-unverified-download-quarantine

2020-01-13 Thread Mick
0:08 sys-block
drwxr-xr-x   41 root root  4096 Jan 11 10:08 sys-boot
drwxr-xr-x   79 root root  4096 Jan 11 10:08 sys-cluster
drwxr-xr-x   57 root root  4096 Jan 11 10:08 sys-devel
drwxr-xr-x   27 root root  4096 Jan  5 11:08 sys-fabric
drwxr-xr-x   31 root root  4096 Jan 11 10:08 sys-firmware
drwxr-xr-x  132 root root  4096 Jan 11 10:08 sys-fs
drwxr-xr-x   32 root root  4096 Jan 11 10:08 sys-kernel
drwxr-xr-x   88 root root  4096 Jan 11 10:08 sys-libs
drwxr-xr-x   31 root root  4096 Jan 11 10:08 sys-power
drwxr-xr-x   54 root root  4096 Jan 11 10:08 sys-process
drwxr-xr-x  201 root root 12288 Jan 11 10:08 virtual
drwxr-xr-x   43 root root  4096 Jan 11 10:08 www-apache
drwxr-xr-x   80 root root  4096 Jan 11 10:08 www-apps
drwxr-xr-x   38 root root  4096 Jan 11 10:08 www-client
drwxr-xr-x   22 root root  4096 Jan 11 10:08 www-misc
drwxr-xr-x   11 root root  4096 Jan 11 10:08 www-plugins
drwxr-xr-x   33 root root  4096 Jan 11 10:08 www-servers
drwxr-xr-x   91 root root  4096 Jan 11 10:08 x11-apps
drwxr-xr-x7 root root  4096 Jan 11 10:08 x11-base
drwxr-xr-x   33 root root  4096 Jan  4 11:40 x11-drivers
drwxr-xr-x  126 root root  4096 Jan 11 10:08 x11-libs
drwxr-xr-x  299 root root 12288 Jan 11 10:08 x11-misc
drwxr-xr-x  172 root root  4096 Dec 27 13:24 x11-plugins
drwxr-xr-x   29 root root  4096 Jan 11 10:08 x11-terms
drwxr-xr-x  137 root root  4096 Jan 11 10:08 x11-themes
drwxr-xr-x   59 root root  4096 Jan 11 10:08 x11-wm
drwxr-xr-x   15 root root  4096 Jan 11 10:08 xfce-base
drwxr-xr-x   55 root root  4096 Jan 11 10:08 xfce-extra


You may need to remove the whole tree as Neil did, if the verification fails 
because of the portage tree contents.  Theoretically a re-sync ought to fix 
this, because the .tmp-unverified-download-quarantine file would/should be 
initially overwritten and eventually deleted once the verification is 
complete, but as you reported it didn't do so.  :-/

This bug points to the tree owned by root:root instead of portage:portage, 
interestingly in my most recent installation the tree is owned by root as you 
can see above and I'm not getting this problem.

https://bugs.gentoo.org/661834

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-12 Thread Mick
On Sunday, 12 January 2020 15:02:36 GMT Wols Lists wrote:
> On 12/01/20 13:39, Mick wrote:
> > 2. Obligatory Microsoft Account registration.
> > 
> > Every time I touch a MSWindows OS I get more annoyed than the last time. 
> > I
> > went through the installation process.  During the finishing touches of
> > the
> > installation the OS configured the keyboard, network and then the user
> > account.  Unlike previous Windows 10 installations which offered the
> > option of configuring a local user account, this time I was only given
> > the choice of using or creating a (online) Microsoft Account, by entering
> > (linking to it) my personal email, phone or Skype account.  No option for
> > a local account.  To by-pass this forced Microsoft Account
> > creation/registration I shut down the OS and rebooted without an Internet
> > connection.  This time I was offered the option to create a local
> > account.  I mention this in case you also want to install a recent build
> > ISO of Windows 10 without registering any online Microsoft credentials.
> 
> I think (iirc) that if you go "next" to the actual account creation page
> there is a "skip this" option.

Yes, this used to be the case until more recent ISO builds were made available 
by Microsoft.  The latest 1909 ISO build does not allow you to skip or move to 
the next step without registering or creating a Microsoft Account.


> I know I had this exact situation, but it was mentioned in some mag or
> whatever that gave a - not particularly intuitive - option to skip that
> step. You can try searching online for it ...

I did look for ways to escape this obligatory step and the only way out of it 
was to disconnect the connection to the Internet:

https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_install/
set-up-windows-10-without-account/d7c08c1a-0fcc-49ac-96ac-297879dbee6f


> The really annoying thing is that it becomes very easy for anybody to
> log on to your computer using their MS account, and we had a very
> confusing situation where my grandson's online account somehow got
> attached to my wife's local account :-(
> 
> Cheers,
> Wol

Hmm ... I can see how Microsoft's move to cloud computing for home users can 
quickly escalate to a spiral of confusion and annoyance.  In your wife's use 
case you could block Microsoft Account logins via the Local Group Security 
Policy editor, after she creates a Local User account:

https://www.isunshare.com/windows-10/2-ways-to-disable-or-block-microsoft-account-in-windows-10.html

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-12 Thread Mick
On Friday, 10 January 2020 18:07:29 GMT Mark Knecht wrote:

> Just to close out my part of this what-turned-out-to be-non-Gentoo thread...
> 
> 1) I went down the Clonezilla path never having used it before. It was easy
> to use, cloned the hard drive, Win 10 Home (what was actually installed)
> booted but wasn't reliable and kept crashing. I may not have done this the
> best way, going directly from the old drive to the SSD. Possibly should
> have created an image instead but I didn't know that at the time.

Hmm ... I wonder if this is something to do with TRIM settings and SSD 
drivers, which the original installation probably would not have activated?  I 
don't really know what drivers MSWindows kernel loads or what firmware it 
fetches.  I would think most of this would be automated and a Windows Update 
would sort out any such issues.


> 2) I then went down the path of figuring out how to get human support at
> Microsoft. It turns out that Win 10 has a built in method for moving to a
> new hard drive on the same machine based on creating a system image much
> like I imagine Clonezilla would have done had I chosen that option. I
> created the image, put the SSD into the machine, rebooted from a Win 10 USB
> install flash drive and chose to do the recovery method instead of the
> install. A little while later the machine booted from the SSD and has been
> stable for the last day or two.
> 
> I've dedicated an older WD Green 1TB drive to keeping the system images and
> will image this machine once every few months or so in case I need to do
> this again in the future.
> 
> I'll be back to talk about using Gentoo again soon. Sorry for the noise and
> as always this is one of the very best, most helpful places for good Linux
> info so thanks, thanks, thanks.
> 
> Cheers,
> Mark

Let me add two more, slightly unrelated to Gentoo, pieces of info.

1. Microsoft Windows Product Key

As Wol mentioned in a previous post, using a Microsoft Product Key from the 
back of a laptop which has *never* been used before to install a MSWindows OS, 
works as advertised for the same type of MSWindows edition.  I checked the 
Product Key on a 'Windows 7 Home' OEM installation using a VBS script.  This 
was the OEM Product Key and I noticed it was different to the Product Key 
which was on a sticker at the back of the laptop case.

Then I tried using the key on the sticker to activate a 'Windows 10 Pro' 
installation.  It didn't take.  I tried the same 'Windows 7 Home' sticker key 
to activate a 'Windows 10 Home' installation.  It worked!  :-)

2. Obligatory Microsoft Account registration.

Every time I touch a MSWindows OS I get more annoyed than the last time.  I 
went through the installation process.  During the finishing touches of the 
installation the OS configured the keyboard, network and then the user 
account.  Unlike previous Windows 10 installations which offered the option of 
configuring a local user account, this time I was only given the choice of 
using or creating a (online) Microsoft Account, by entering (linking to it) my 
personal email, phone or Skype account.  No option for a local account.  To 
by-pass this forced Microsoft Account creation/registration I shut down the OS 
and rebooted without an Internet connection.  This time I was offered the 
option to create a local account.  I mention this in case you also want to 
install a recent build ISO of Windows 10 without registering any online 
Microsoft credentials.

After I booted into the account I was able to switch off a load of privacy 
invading functionality that comes preconfigured with this OS, inc. 
geolocation, access to my contacts, photos, calls, etc.

I know a Gentoo installation takes longer, but at the same time I find it 
*much* less annoying in every respect.  ;-)

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] any experience with wayland?

2020-01-09 Thread Mick
On Thursday, 9 January 2020 17:19:18 GMT Jack wrote:
> On 2020.01.09 11:38, Franz Fellner wrote:
> > Am Do., 9. Jan. 2020 um 18:35 Uhr schrieb Jack <
> > 
> > ostrof...@users.sourceforge.net>:
> > > Based on various wiki and forum posts,
> > > I'm using  "dbus-run-session startplasma-wayland" as the last line
> > 
> > in
> > 
> > > .xinitrc, and launching with startx.
> > 
> > I stopped reading here.
> > Please think about that again, especially what wayland was meant to
> > REPLACE!
> 
> So if you think that's wrong/outdated/inappropriate - please suggest an
> alternative.
> 
> I know the ultimate goal is for Wayland to replace xorg-server, but
> everything I have read so far indicates that currently it is really
> just the compositor, and in the case of KDE, that compositing is
> incorporated into kwin (launched as kwin_wayland instead of kwin_x11.)
> I have seen no instructions anywhere on how  to launch wayland totally
> independent of xorg.  As I said - I'll be happy to be pointed to any
> docs I seem to have missed.  I do agree that most of the instructions
> out there seem to be somewhat outdated, but I would expect to find
> SOMETHING up to date.

Perhaps as far back as 6 months ago I was able to run Plasma and Enlightenment 
desktops in Wayland, starting them from sddm DM.  A couple of months ago 
Wayland broke for me.  It tries to start, then drops me back into the login 
screen.  I haven't bothered to troubleshoot it, because the mechanism of 
providing me with a GUIfied desktop is less of an interest to me than being 
able to get a desktop in the first place.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-09 Thread Mick
On Wednesday, 8 January 2020 16:42:14 GMT Wols Lists wrote:
> On 08/01/20 09:26, Mick wrote:
> > The OS Product Key for a Win 7 will not work on a Win 10, unless the free
> > upgrade option had been performed before July 2016.  At least it has not
> > worked here ...  You'll need a Product Key, Digital License, or a
> > Microsoft
> > Account which has been linked to an activated Windows 10 Digital License.
> 
> I don't know what the date MS announced was, but this tactic certainly
> worked after that - I did it myself. The key statement there is "NEVER
> been used". If MS recognises the key, it will fail.

This is interesting!  By a Win7 key which has "never been used" do you mean 
not even used for activating the Win7 OS?  Or never been used to upgrade Win7 
to Win10?


> (I'm actually going to have a crack at it myself again, I've just
> acquired a Win7 laptop - nice spec - that's pretty much unaltered
> original so I'm guessing it's never been re-installed and the key used.)
> 
> Cheers,
> Wol

Please let us know how this goes.  I have Win7 & Win8.1 installations on 
various laptops and these were not upgraded to Win10 before the expiry 
deadline of Jul 2016 and could potentially use them on VMs for testing.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-08 Thread Mick
On Wednesday, 8 January 2020 07:13:19 GMT Wols Lists wrote:
> On 06/01/20 23:37, Mark Knecht wrote:
> > Michael,
> > 
> >I got Win 10 Pro installed via the M$ tool that creates USB install
> > 
> > devices. It worked fine. Reading online it seems that if M$ sees the new
> > disk as still the same 'hardware' then it's supposed to automatically
> > validate and I'd be good to go. so far, after 2 hours it hasn't done
> > that but I'll give it awhile and see what happens. As it only took an
> > hour I might still try the disk copy path and see if that comes up
> > validated as that would also transfer the couple of applications I have
> > on the original hard drive.
> > 
> >Anyway, thanks for the ideas.
> 
> A few more ideas from my experience -
> 
> Have you ever re-installed windows and actually used the licence key
> that came with the laptop? No? Then try a clean install of Win10 using
> the Win7 key.

This will not work unless the upgrade from Win 7/8.1 took place before the 
Microsoft imposed deadline of July 2016.


> Nearly all regular computers come with a bulk licence install, and the
> key that is actually on the sticker is usually completely unused. If you
> try to install Win10 with a Win7 key that has never been used, it will
> activate. That's how I did a clean install on my laptop. (And it's
> certainly true of Office, maybe of Win also - if you give it a key, it
> will install the version that matches the key.)

The OS Product Key for a Win 7 will not work on a Win 10, unless the free 
upgrade option had been performed before July 2016.  At least it has not 
worked here ...  You'll need a Product Key, Digital License, or a Microsoft 
Account which has been linked to an activated Windows 10 Digital License.


> Or just buy a key from Amazon. I think I paid about £15 and had
> absolutely no trouble. I've bought a bunch of Win and Office keys off
> Amazon at between £10 and £20 and they've all installed no problem
> whatsoever. (Thanks to an EU legal ruling, MS cannot block the sale of
> 2nd-hand licence keys ...)

I didn't know this!  Thanks for sharing.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-08 Thread Mick
On Wednesday, 8 January 2020 07:43:16 GMT Michael Jones wrote:
> On Wed, Jan 8, 2020 at 1:01 AM Wols Lists  wrote:
> > On 06/01/20 19:55, Michael Jones wrote:
> > > As for windows 10 licensing, don't trust me on this blindly, but your
> > > license should be tied to the hardware fingerprint of the laptop. So
> > > even installing windows fresh on your new SSD should result in Windows
> > > activating automatically. In fact, you might want to take this
> > > opportunity to try that out, to get a completely fresh installation
> > > without the decade of old cruft built up by window's lack of a package
> > > manager.
> > 
> > Two points with this - firstly if (like me) you DON'T have an MS
> > account, this fingerprint is not stored anywhere so that won't work.
> > Secondly, the fingerprint is likely stored on the hard drive somewhere
> > so if you clone the hard drive you are hopefully good, and thirdly it's
> > possible that the new hard drive will break the fingerprint so you're
> > SOL whatever you do. However, in that last case, if you ring the
> > licencing help line they MAY give you a new code because it is, still,
> > technically the same laptop.
> > 
> > Cheers,
> > Wol
> 
> I don't mean to continue the windows discussion on the gentoo list, but I
> wanted to point out that this is incorrect

I think a few things mentioned in this thread run the risk of being incorrect, 
after all as you hint this is not a MSWindows Activation Mailing List and our 
experiences tend to accumulate on Gentoo problems.  :-)


> I don't have a microsoft account at all, and regularly reactivate Windows
> 10 Home / Pro using the hardware fingerprint method using completely clean
> installations on factory-new harddrives with existing hardware.

I expect this is because your original installation utilised a Digital License 
AND you kept the same MoBo.  The UUID of the MoBo is stored on the WAP servers 
and when your PC goes online it matches the Digital License ID stored on the 
server. 

If you did have a MS Account and linked it to your installation with its 
Digital License, you would be able to install MSWindows to other hardware, 
after running the Activation Troubleshooter tool and clicking on "This is the 
device I’m using right now".  The only problem I am aware of is on PCs where 
the Digital License was stored by the OEM within the UEFI firmware and you 
want to perform an upgrade to a different MSWindows edition.  In this case, 
the process is slightly different - but I am not familiar with the specifics.  
All I recall is MSWindows users screaming late at night all over the 
interwebs.


> The
> fingerprint is stored on Microsoft's activation servers somewhere. I don't
> know how it works beyond that it's not required that you have a Microsoft
> account to use it.

True, as long as you stay on the same hardware (MoBo).

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-07 Thread Mick
I'll keep going with this, because there is a Gentoo twist at the end!  LOL!

On Tuesday, 7 January 2020 16:58:43 GMT Mark Knecht wrote:

> After maybe 16 hours it didn't activate but logically I don't know why it
> would have. I've installed Win 10 using the M$ install tool writing to a
> USB flash drive but I'm not given any product IDs/Keys. M$ would have had
> to determine on their own with no help from me this was a reinstall and
> generously activated it which I think is asking too much.

The (re)activation process does not work like you assume.  Your MS Product key 
would have been provided with the original (Windows 7) installation media, a 
sticker under the laptop, your laptop's OEM box/activation card, or the 
MSWindows Online Shop.  If you do not possess this key you cannot readily 
(re)activate the installation.

You could call Microsoft Support to ask for your key since this is a legit 
installation, but as the key is still in the original disk, boot into the old 
disk and use some of the methods mentioned here to extract it:

https://www.howtogeek.com/206329/how-to-find-your-lost-windows-or-office-product-keys/


> Owing that I'm not 100% sure the previous install was actually Win 10 Pro,
> having updated from Win 7 with their free conversion to Win 10, I'm going
> to put the old drive back in, double check what version of Win 10 I was
> using and then try again if I installed the wrong version this time.

Yes, the Product key or Digital License can only be reused on the same Windows 
10 edition as the original.  If not you'll get some error pointing to the fact 
your key is not suitable for the edition of the OS you are trying to activate.


> On a more Linux note I'll build a bootable USB drive with clonezilla and
> see about cloning the old drive to the new SDD that way. that sort of
> solution is why I posted here in the first place. Trying the Win 10 install
> and hoping it worked was just an easy 1-day experiment.

That could be the easiest way without having to fight your way through the 
Windows Activation Process.  On the other hand, if you manage to re-activate 
it, you'll know how to go about it next time you reinstall - this is MSWindows 
after all!  ;-)


> P.S. - I'd love to get back to running Gentoo one of these days. For those
> of us that wanted a stable machine with just a couple of testing packages,
> especially as the machines become older and the software becomes larger, it
> just became too many hours building code, especially on these older
> laptops. Kubuntu has worked well enough for me be there's no better
> community that you here at gentoo-user for straight forward technical
> discussion and I want to thank everyone here for years and years of good
> times and good information.

Have a search for 'chroot' and 'cross-compiling' on Gentoo wiki & forums.  
There should be a few articles explaining how to cross-compile binary packages 
within a chrooted directory on a faster/bigger/better PC and then rsync and 
emerge these packages with '--usepkg y', or '--usepkgonly y' on the slower 
laptop.  As far as the laptop is concerned, this last part ought to be almost 
as fast as updating/installing binary packages on Kubuntu.  This is probably 
the only way to install really large compiled applications like Chromium, 
LibreOffice, etc. on old PCs with very low RAM.

-- 
Regards,
Mick





Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-07 Thread Mick
This is getting a tad O/T, since we're talking about activation of a non-
Gentoo OS, but here it goes:

On Tuesday, 7 January 2020 00:39:19 GMT Mark Knecht wrote:

>I'm going to let the machine sit overnight and see if it activates
> automatically.

It should activate as long as it is connected to the Internet, but there are 
two different ways of activating Windows 10 manually, should you not do so 
during the installation procedure.

1. Using a product key and entering this when you try to activate it.  This is 
the conventional way of activating the installation when you buy a Windows 10 
from a retailer.  To check the activation status go to Start > Settings > 
Update & Security > Activation.

NOTE:  A Windows 10 installation is linked to the UUID of the MoBo, which is 
stored on the Windows Activation Servers and mapped against your Product key.  
If you change the hardware you will need to re-enter the Product key to 
activate the upgraded hardware.

2. Using your Microsoft account credentials, which must be linked to the 
Windows 10 installation's "Digital License".  This is a relatively new way and 
allows you to install Windows 10 on different PCs (one at a time), change the 
MoBo, etc., but each time you (re)install it you must use the same edition of 
Windows 10 and sign in to your Microsoft account linked to the original 
digital license.

Since your existing installation is already activated, you may be able to link 
its Digital License to your Microsoft account - but this depends how it was 
activate (Product Key or Digital License).  If the activation status shows:

"Windows is activated with a digital license", then your Microsoft account is 
not yet linked to this installation.  In this case, follow instructions to 
"Add an account".

"Windows is activated with a digital license linked to your Microsoft 
account", then you are good to install afresh on a different disk/PC and add 
your Microsoft account credentials when asked.


> If it doesn't I'll go back to the old drive and if needed
> will do a new reinstall with the right version. If I can get away with this
> path I will. If not I'll go with something like Mick suggested.
> 
> thanks,
> Mark

Partition UUIDs are important if you are restoring Windows from an old 
installation, but for a different reason.  The Windows boot loader uses the 
partition UUIDs to boot the OS.  If you have created a new C:\ partition and 
transferred all the OS files in there, the boot loader will fail to boot it 
because the new partition's UUID will be different.


PS. The above is just a summary of my understanding.  I am not an experienced 
MSWindows user, so I may well have got some details wrong.  You should search 
the https://support.microsoft.com/ website for reinstallation steps.

PPS. As far as I know you can use Windows 10 without activating it, but there 
is no guarantee Microsoft won't stop Windows Updates for installations which 
have not been activated some day in the future and future upgrades to later OS 
releases may be blocked.  As far as I know a non-activated installation is not 
crippleware.  Perhaps some 3rd party proprietary applications will refuse to 
install on a non-activated MSWindows installation, but I haven't come across 
any in my very limited experience with this OS.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive

2020-01-06 Thread Mick
Hi Mark, welcome back!  :-)

On Monday, 6 January 2020 19:55:44 GMT Michael Jones wrote:
> Generally the way I've handled this situation in the past is like so (this
> is written from memory, so expect gratuitous problems).
> 
> On the machine with the drive attached
> mbuffer -i /dev/mydrive | xz -e -9 | mbuffer -O hostname:port
> 
> On a machine with storage space
> mbuffer -I port -o /path/to/storage.xz
> 
> To make a backup.

Useful for creating a compressed backup image over the network, but not for 
cloning.


> In terms of cloning windows to another harddrive in general, as long as the
> destination harddrive is large enough to fit the original drive without
> issues, simply running:
> 
> dd if=/dev/original of=/dev/destination
> (I prefer dcfldd, personally)

This will take for-ever on larger disks as it will be copying all empty bits 
and bytes.  Instead you may wish to try clonezilla, or partclone.

https://clonezilla.org/

Clonezilla Live will copy the whole disk or selected partitions along with 
their UUIDs, so Win10 should have no idea it was just migrated.  ;-)

You'll need a USB/eSATA caddy to put your new drive in and connect it to the 
candidate laptop, or fit both drives in your desktop and perform the cloning 
there.  Here's the step-by-step instructions you asked for:

https://clonezilla.org/clonezilla-live-doc.php

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] External hard drive and idle activity

2020-01-06 Thread Mick
On Monday, 6 January 2020 13:53:41 GMT Rich Freeman wrote:
> On Mon, Jan 6, 2020 at 8:25 AM Mick  wrote:
> > If they are used as normal PC drives for regular writing
> > of data, or with back up commands which use rsync, cp, etc. then the disk
> > will fail much sooner than expected because of repeated multiple areas
> > being deleted, before each smaller write.  I recall reading about how
> > short the life of SMR drives was shown to be when used in NAS devices -
> > check google or youtube if you're interested in the specifics.
> 
> Can you give a link - I'm not finding anything, and I'm a bit dubious
> of this claim, because they still are just hard drives.  These aren't
> SSDs and hard drives should not have any kind of erasure limit.

This (random) link strongly recommends against usage in NAS, but gives no 
reliability data:

https://www.storagereview.com/seagate_archive_hdd_review_8tb

This is a youtube video where someone was comparing SMR failures on a NAS: 

https://www.youtube.com/watch?v=CR_bfbOTY1o


> Now, an SMR used for random writes is going to be a REALLY busy drive,
> so I could see the drive being subject to a lot more wear and tear.
> I'm just not aware of any kind of serious study.  And of course any
> particular model of hard drive can have reliability issues (just look
> up the various reliability studies).

Right, I haven't seen any lab reliability studies published.  I would think 
more information could be sourced in IRC/ML where datacenter sysadmins hide to 
compare their ... hardware.  :-)

Reading another random link it seems Dale's 8TB SMR drive has a 20GB 
conventional PMR platter/area in it to catch and cache any small writes.  The 
firmware will subsequently transfer the cached data on the SMR area of the 
drive in due course, after it deletes the requisite adjacent overlapping 
tracks.  This means up to 20GB of initial writes will be normal, dropping to 
lower speeds thereafter as the PMR cache needs to be flushed:

https://www.ixsystems.com/community/threads/smr-hard-drives-do-you-think-they-are-proper-nas-drives.35805/

If this is so, it explains Dale's observation of a hyperactive disk, well 
after it was dismounted.  Its firmware's been busy!

[snip ...]

> Granted, I don't rewrite it often but unless zfs is
> SMR-aware it is still going to be writing lots of modest-sized files
> as the original files get chunked up and distributed across the nodes.
> On the disk lizardfs data just looks like a browser cache, with
> everything in numbered files about 60MB in size in my case.  The files
> also appear to turn over a bit during rebalancing.

I would think bit flipping between the 20GB PMR cache and the 8TB SMR tracks 
represents an increased risk, vis A vis a single-step data transfer.  Data 
scrubbing well after the write has completed and committed to the SMR tracks 
would reveal any anomalies.

What would seriously mess things up is creating a raid with mixed PMR and SMR 
disks and running big (bigger than the internal cache) data writes.  Some PMR 
disks will complete well before the SMR.  I/O blocking and timeouts could 
ensue and the applications performing the writing could hang/fail.

Anyway, write once - read often, fits well the use case for these disks.  They 
should be right at home for long term video and media storage.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] External hard drive and idle activity

2020-01-06 Thread Mick
On Monday, 6 January 2020 08:48:13 GMT Stefan Schmiedl wrote:
> Dale,
> 
> "Dale" , 06.01.2020, 09:29:
> > Also, when looking for a drive to buy, what should one look at to see if
> > it is a SMR drive?

You will need to visit the OEMs website and dig into the documentation they 
provide.  Keywords like "archive drive/disk/format", "shingled magnetic 
recording" and "SMR", would be a giveaway this is not a normal PC drive.


> > While it may be OK for my backups, I'd like to avoid
> > them on the drives inside my rig that are used for the OS or /home.  I
> > dunno, just a gut thing.
> 
> it's not "just a gut thing". SMR drives are not meant for random
> access writing; they write like a tape and read like a disk.
> 
> A while ago, one of my clients bought one of those things
> to replace an older failing backup drive. The next night, the
> backup took hours instead of minutes. No knowing what was inside
> the box, I did some measurements and discovered that the first
> few files were written quickly, then things got really slow,
> with the rsync process waiting (state "D") for the drive to
> finish.
> 
> tar-based backups went much quicker, though, which matches the
> expected behaviour of SMR drives; the drive did not need to rewrite
> many large areas due to many small changes, instead it only had to
> write one large area due to one large change.
> 
> s.

Stefan reinforced a point made earlier by Richard (I think).  These drives are 
only good for linear backups, like tar performs when it appends newer files to 
an existing tarball.  If they are used as normal PC drives for regular writing 
of data, or with back up commands which use rsync, cp, etc. then the disk will 
fail much sooner than expected because of repeated multiple areas being 
deleted, before each smaller write.  I recall reading about how short the life 
of SMR drives was shown to be when used in NAS devices - check google or 
youtube if you're interested in the specifics.

Personally, I would only use such a drive for 'keepers'.  Say, films I intend 
to write once and watch many times, ripped music albums, family photos, etc.  
For OS files and other temporary backups I would use a normal PC drive.

PS. When you put together a tar script do not forget to add --xattrs.  If not, 
you'll find some commands break when you run them from a restored fs.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Perl 5.30.1 Locale::Language missing

2020-01-04 Thread Mick
On Saturday, 4 January 2020 17:21:17 GMT Petric Frank wrote:
> Hello,
> 
> after an perl upgrade (5.28 --> 5.30) my web application is no more working.
> It is missing Locale::Language.
> 
> After a view to the perl source it indeed have been removed.
> 
> A short search seems to state the the used have to install the packages
>   Locale::Language
>   Locale::Codes
> 
> from CPAN instead.
> 
> Due i am not a master of constructing perl-ebuilds - anyone already have
> build the ebuilds and share it with me ?
> 
> Kind regards
>   Petric

I don't know if it may be relevant to your problem, but have your run perl-
cleaner since you updated perl?

BTW, the current stable perl version is 5.30.1.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: External hard drive and idle activity

2020-01-03 Thread Mick
On Friday, 3 January 2020 01:37:49 GMT Dale wrote:

> I'll try to reboot the new kernel in a bit.  It's building at the
> moment.  Thanks for posting about this.  I did not see it in other
> replies.  I thought it might be in Rich's but didn't see it.  The extra
> nudge was helpful.
> 
> Dale
> 
> :-)  :-) 

I had mentioned about this kernel module in a previous post of mine.  It may 
make some difference, or it may not.  It depends on the drive and its specific 
data management mechanism:

https://en.wikipedia.org/wiki/Shingled_magnetic_recording#Data_management

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: External hard drive and idle activity

2020-01-02 Thread Mick
On Thursday, 2 January 2020 18:48:03 GMT Dale wrote:
> Ian Zimmerman wrote:
> > On 2020-01-01 18:09, Dale wrote:
> >> As some may recall, I have a 8TB external SATA hard drive that I do
> >> back ups on. Usually, I back up once a day, more often if
> >> needed. Usually I turn the power on, mount it, do the back ups,
> >> unmount and turn the power back off. Usually it is powered up for 5
> >> minutes or so. When I unmount it tho, I sometimes notice it is still
> >> doing something. I can feel the mechanism for the heads moving. It has
> >> a slight vibration to it.  Questions are, what is it doing and should
> >> I let it finish before powering it off? I'd assume that once it in
> >> unmounted, the copy process is done so the files are safe. I guess it
> >> is doing some sort of internal checks or something but I'm not sure.
> > 
> > I have observed the same thing.  But in my case, I also disconnect the
> > _cable_ from the computer to the enclosure when I am done ... and still
> > the drive activity goes on.  From that I conclude that it is the drive
> > circuitry itself doing some kind of internal housekeeping, and there is
> > no point in worrying about it because one would wait forever for it to
> > end.
> 
> That's one thing that makes it unnervey.  I'll put my hand around to the
> back and feel those little bumps.  I wait until I think it is done but
> just as I'm about to power it off, it bumps again.  It's so
> unpredictable, I never know if it is done doing its thing or not.  Just
> like now, it's unmounted, did that during last reply, it hasn't did the
> bump thingy while reading your reply or me typing mine in so far.  Now
> as soon as I reach around to turn it off, it'll likely do the bump thing
> again.  lol 

I suspect it is now reading your mind!  Is this a case of AI?!

LOL!


> One thing is for sure tho, if you unplug the cable, whatever it is
> doing, it's internal.  Sort of hard for the puter to be doing something
> when it isn't connected.  That narrows the options down a lot.  That's a
> good piece of info there.
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

In case you missed it in a previous post - have you compiled CONFIG_DM_ZONED 
in your kernel to see if its performance changes?

https://zonedstorage.io/linux/config/

It's behaviour may not change whatsoever, if the drive only has an internal 
(SMR firmware) data write mechanism.  However, if the drive is exposing an I/O 
API to the OS, then you could well see a difference to how its data storage 
bumps, spins and shakes as it flushes its journal and goes about its garbage 
collection process when the Linux kernel 'talks' to it.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] External hard drive and idle activity

2020-01-02 Thread Mick
On Thursday, 2 January 2020 14:43:58 GMT Rich Freeman wrote:


> Out of curiosity, what model drive is it?  Is it by chance an SMR /
> archive drive?  

Good catch!  I hadn't thought of this - the Linux kernel will need to have 
DM_ZONED enabled I think, for the OS to manager the shingled writes 
sequentially, but I don't have this enabled here because AFAIK I have no such 
drives in my possession. 


> Due to the limitations on how those write data out I
> could see them implementing an internal filesystem that journals
> incoming data and then writes it back out after the fact.

SMR drives which implement a 'device managed' write mechanism, will use their 
own firmware to control data storage.  The OS would not be aware of anything 
being different to a conventional drive.


> If so then
> that might happen even after the kernel thinks it is unmounted.
> However, such a drive firmware would probably use a journal that
> ensures data is safe even if power is cut mid-operation.  The drive
> isn't supposed to report that a write is completed until it is
> durable.

Which I take it to mean the drive would not be unmounted by the OS until it is 
safe to do so and for all intends and purposes it will also be safe to be 
powered down thereafter.  I would think this would be within seconds of 
successfully unmounting it.  Spinning for 30 minutes or more after it is 
unmounted sounds excessive to me, if it is only being spun by the firmware for 
flushing its journal buffers.  I have a conventional USB drive (WD passport) 
which is always spinning whether it is being written to or not.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] External hard drive and idle activity

2020-01-01 Thread Mick
On Thursday, 2 January 2020 00:09:14 GMT Dale wrote:
> Howdy,
> 
> As some may recall, I have a 8TB external SATA hard drive that I do back
> ups on.  Usually, I back up once a day, more often if needed.  Usually I
> turn the power on, mount it, do the back ups, unmount and turn the power
> back off.  Usually it is powered up for 5 minutes or so.  When I unmount
> it tho, I sometimes notice it is still doing something.  I can feel the
> mechanism for the heads moving.  It has a slight vibration to it. 
> Questions are, what is it doing and should I let it finish before
> powering it off?  I'd assume that once it in unmounted, the copy process
> is done so the files are safe.  I guess it is doing some sort of
> internal checks or something but I'm not sure. 

There is some delay with data still in the buffers between rsync/cp/tar/what-
ever saying it's finished on your terminal and the drive itself finishing 
storing the data on the platters.

If you look at vmstat, or keep an eye on Gkrelm you'll see what I mean.  
Normally, if you try to unmount a drive while it is still being written to, 
the umount/udisks command will complain the drive is busy.


> Is it safe to turn it off even tho it is doing whatever it is doing? 
> Should I wait?  Does it matter? 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

If you wait for a few seconds after the backup is completed before you unmount 
the drive, you should be OK.  Although it may slow down or any LEDs flash less 
frequently the drive may not stop spinning, unless there is some power save 
process taking control of it.


> P. S. Down to last router that was discussed in another thread so I
> bought it while they had it.  Price may go up if I didn't.  Did more
> research on old modem, it is risky to try to convert to AT  Some say
> not possible. 

Right, ISP controlled firmware typically requires re-flashing the device with 
the new ISP's firmware version.  In some cases even the boot code needs 
replacing.  Should you flash the router with a wrong firmware build, you could 
sometimes derive a door stop without additional cost.  In this case you'll 
need a JTAG and access to its circuit board with an OEM boot/firmware version 
to recover it.  In most cases OEMs support lines will redirect you to your 
ISP, who run an overseas support line and will ask you to reboot your 
MSWindows PC ... O_o

This is a reason I avoid these kind of routers as much as I can.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Frontier ADSL modem and IP address

2019-12-31 Thread Mick
On Tuesday, 31 December 2019 12:42:26 GMT Peter Humphrey wrote:
> On Tuesday, 31 December 2019 11:04:57 GMT Mick wrote:
> > On Tuesday, 31 December 2019 10:24:48 GMT Peter Humphrey wrote:
> > > I'm puzzled. Why should a DSL modem be tied to a particular ISP? The
> > > only
> > > thing I can think of is that one uses PPPoA and the other PPPoE. But the
> > > modem should sort that out for itself when it connects upstream.
> > 
> > ISPs looked into reducing their operating costs providing support to an
> > ever increasing population of technically clueless users and in
> > conjunction with router OEMs came up with a remote router provisioning
> > scheme.  This allows firmware updates and remote control of the CPE
> > without the customer even knowing what is happening.
> 
> I hadn't come across that before. I did wonder whether it was another
> example of control-freakery, but perhaps not.

https://en.wikipedia.org/wiki/TR-069

In the UK I'm thinking of the 2Wire routers issued by BT to their business 
account users.  You could configure them for different ISPs, set them up in 
fully bridged mode, etc., but then you had to also poison the DNS addresses 
used for their provisioning servers to stop BT updating the firmware and 
crippling some of its functionality.

I can't recall the ritual you had to entertain when changing their settings 
from BT to another ISP, but it was not as simple as pressing the reset button.  
You had to navigate to some (hidden?) menu option and change settings from 
there.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Frontier ADSL modem and IP address

2019-12-31 Thread Mick
On Tuesday, 31 December 2019 11:03:10 GMT Dale wrote:

> Either way, it doesn't work.  Once I get the one labeled AT, I'll be
> able to know for sure.  I'm 99.99% sure I have the right password.  The
> one I have coming will verify that as well.  If it works, right
> login/password which pretty much leads me to believe the Frontier won't
> work with AT

Have you checked these instructions to see if you can get it going with AT?

https://www.youtube.com/watch?t=130=XISFrTZEJoI

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Frontier ADSL modem and IP address

2019-12-31 Thread Mick
On Tuesday, 31 December 2019 10:24:48 GMT Peter Humphrey wrote:

> I'm puzzled. Why should a DSL modem be tied to a particular ISP? The only
> thing I can think of is that one uses PPPoA and the other PPPoE. But the
> modem should sort that out for itself when it connects upstream.

ISPs looked into reducing their operating costs providing support to an ever 
increasing population of technically clueless users and in conjunction with 
router OEMs came up with a remote router provisioning scheme.  This allows 
firmware updates and remote control of the CPE without the customer even 
knowing what is happening.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Frontier ADSL modem and IP address

2019-12-31 Thread Mick
I just saw this long thread ... missed all the fun!

On Tuesday, 31 December 2019 01:25:32 GMT Dale wrote:
> Adam Carter wrote:
> > On Tue, Dec 31, 2019 at 11:08 AM Dale  > 
> > <mailto:rdalek1...@gmail.com>> wrote:
> > Dale wrote:
> > > Grant Taylor wrote:
> > >> On 12/30/19 1:04 PM, Dale wrote:
> > >>> Is there a way to find the IP for this thing?
> > 
> > Its using 192.168.254.254. Since fireball is in 192.168.2.0/24
> > <http://192.168.2.0/24>, its on a different subnet and therefore cant
> > arp it.
> > 
> > Try setting fireball to say 192.168.254.253/24
> > <http://192.168.254.253/24> then try pinging 192.168.254.254
> 
> I found the offending entry.  When you posted that, I was confused for a
> minute.  When I found the setting, it hit me.  My old modem is on
> 192.168.1.* and my router is on 192.168.2.*.  I commented those out so
> it could grab whatever IP it wanted.  It WORKED!!  I could access the
> modem.  

As was mentioned your PC has to be in the same subnet to be able to access the 
router.


> I found out the name and such from the previous user.  I
> couldn't see the password tho.  Anyway, it seems this is locked to
> Frontier ISP.  I put in the right user name/password and it wouldn't
> connect.  It tried but no joy. 

When you reset the firmware all settings are *supposed* to be wiped out.  
However, this is a router which is controlled by the ISP via a provisioning 
server.  Either certain settings have been hardcoded in the ISP released 
firmware, or more likely you have not reset it correctly/completely.  The 
power LED will blink red when you hold down the reset button during the boot 
stage of the router.  It's a good idea to hold the button pressed and keep it 
depressed for up to a minute, as you power cycle it.

More options here:

https://www.mobilereset99.com/reset-netgear-b90-755025-15-router/

NOTE: When you succeed in resetting the router, its subnet/IP will change and 
therefore you should check your PC's IP address matches the router's address 
space.


> Before I bought this, it was claimed that this should work with AT but
> unless I got something wrong, it doesn't.  Shame really, pretty nice
> modem.  The screens give pretty nicely laid out info about things too. 
> 
> Unless someone can figure out how to make this Frontier based modem work
> with AT, I guess this is a door stop. 

AT was issuing these routers to customers and was provisioning firmware 
updates via their control servers.  I don't know if they still do so.  
Contacting AT support may get you some info on their default username/passwd 
settings.  However, I would think if you reset the router successfully without 
it being connected to the Internet, you'll be able to login into it with 
username=admin and blank passwd.

If AT have decommissioned their provisioning servers they may be able to 
provide you with their latest firmware to flash it manually.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KDE plasmashell and wallpapers.

2019-12-28 Thread Mick
On Saturday, 28 December 2019 18:14:05 GMT Dale wrote:
> Mick wrote:
> > On Saturday, 28 December 2019 15:30:10 GMT Dale wrote:
> >> Peter Humphrey wrote:
> >>> On Saturday, 28 December 2019 05:57:16 GMT Dale wrote:
> >>>> Peter Humphrey wrote:
> >>>>> On Tuesday, 24 December 2019 20:42:07 GMT Dale wrote:
> >>>>>> I think I'm just going to have to whittle down the number for a
> >>>>>> while.
> >>>>>> Maybe later on a fix will come along.  Maybe.
> >>>>> 
> >>>>> What happens if you switch off file indexing in the control panel, or
> >>>>> just
> >>>>> its subsidiary option Also Index file content? Workspace > Search >
> >>>>> Enable File Search.
> >>>> 
> >>>> I looked around in the System Settings window and can't find that
> >>>> setting.  Am I looking in the right place?  I sort of think this is a
> >>>> separate thing tho.  It may be using the same tool but won't be
> >>>> controlled by system settings.  Anything is possible tho.  I'll
> >>>> certainly test the option if I can find it. ;-)
> >>> 
> >>> I may have misled you by calling it the Control Panel. It's actually
> >>> System
> >>> Settings > Workspace > Search > Enable File Search.
> >>> 
> >>> I wouldn't expect your wallpaper operations to be affected by this, but
> >>> then what do I know about it?   ;)
> >> 
> >> I must have it disabled by a USE flag or something because there is no
> >> mention of search in the list.  I recall disabling some stuff when I was
> >> switching to KDE4.
> > 
> > It is probably USE="semantic-desktop":
> > 
> > $ euse -i semantic-desktop
> > global use flags (searching: semantic-desktop)
> > 
> > [+  D   ] semantic-desktop - Cross-KDE support for semantic search and
> > information retrieval
> > 
> > local use flags (searching: semantic-desktop)
> > 
> > [+  D   ] semantic-desktop
> > 
> > media-gfx/digikam: Enable kde-frameworks/kfilemetadata support
> > 
> > [+  ] (5) 6.3.0-r1 [gentoo]
> > [+  ] (5) 6.4.0 [gentoo]
> 
> I'm pretty much certain you are right.  That rings a bell in those cells
> between my ears.  It is turned off in make.conf too.  I can't recall
> what all that thing did but I remember people not wanting it.  I just
> followed a bunch of others on that.  Can't be to important since I do
> what I need to without it.  lol 
> 
> Dale
> 
> :-)  :-) 

Wikipedia explains what semantic search is.  Pretty much what Google does when 
your search for something and you find a bunch of MSWindows answers coming up 
top, annoying the hell out you!  LOL!

PS. I tend to add "-Windows" in many searches these days in order to keep my 
blood pressure down.  :-p

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KDE plasmashell and wallpapers.

2019-12-28 Thread Mick
On Saturday, 28 December 2019 15:30:10 GMT Dale wrote:
> Peter Humphrey wrote:
> > On Saturday, 28 December 2019 05:57:16 GMT Dale wrote:
> >> Peter Humphrey wrote:
> >>> On Tuesday, 24 December 2019 20:42:07 GMT Dale wrote:
> >>>> I think I'm just going to have to whittle down the number for a while.
> >>>> Maybe later on a fix will come along.  Maybe.
> >>> 
> >>> What happens if you switch off file indexing in the control panel, or
> >>> just
> >>> its subsidiary option Also Index file content? Workspace > Search >
> >>> Enable File Search.
> >> 
> >> I looked around in the System Settings window and can't find that
> >> setting.  Am I looking in the right place?  I sort of think this is a
> >> separate thing tho.  It may be using the same tool but won't be
> >> controlled by system settings.  Anything is possible tho.  I'll
> >> certainly test the option if I can find it. ;-)
> > 
> > I may have misled you by calling it the Control Panel. It's actually
> > System
> > Settings > Workspace > Search > Enable File Search.
> > 
> > I wouldn't expect your wallpaper operations to be affected by this, but
> > then what do I know about it?   ;)
> 
> I must have it disabled by a USE flag or something because there is no
> mention of search in the list.  I recall disabling some stuff when I was
> switching to KDE4.

It is probably USE="semantic-desktop":

$ euse -i semantic-desktop
global use flags (searching: semantic-desktop)

[+  D   ] semantic-desktop - Cross-KDE support for semantic search and 
information retrieval

local use flags (searching: semantic-desktop)

[+  D   ] semantic-desktop
media-gfx/digikam: Enable kde-frameworks/kfilemetadata support
[+  ] (5) 6.3.0-r1 [gentoo]
[+  ] (5) 6.4.0 [gentoo]

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-28 Thread Mick
On Saturday, 28 December 2019 12:52:11 GMT Dan Johansson wrote:

> After some fiddling around, sorry research, I narrowed down the issue to
> one single file:
> ~/.config/plasma-org.kde.plasma.desktop-appletsrc
> 
> After deleting this file, and this file only, my "Left Click" started
> working again. BUT every single configuration of my Desktop (shortcuts,
> panel-configuration and so on) was lost in the process. (:-(
> Well, first computer is done, now for the second one.

Have you compared the two 'plasma-org.kde.plasma.desktop-appletsrc' files 
between users?

Can it be this entry which is controlling what the right button does?

[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.applauncher<THIS ONE?
wheel:Vertical;NoModifier=org.kde.switchdesktop

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-28 Thread Mick
On Saturday, 28 December 2019 09:17:36 GMT Dan Johansson wrote:
> On 28.12.19 09:18, Dale wrote:
> > Dan Johansson wrote:
> >> On 27.12.19 22:53, Dale wrote:
> >> I'll try and create a new user and see what happens...
> >> 
> >> I'll be back (with the results).
> > 
> > Trying a different/new user will give the same results.  Renaming the
> > config files to .old or something then testing will allow you to go back
> > if it doesn't help.  You just rename and remove .old.  Just delete the
> > new one first.  Still, either way will work.  I have a dale2 user just
> > for that purpose I might add.
> > 
> > Given everything is there, I'm not sure what to try next.  I was hoping
> > someone else would have a idea.
> 
> Bad news (for me) (;-)
> 
> I created a new user and for this user everything works as it should -
> now I just have to figure out the best way to somehow recreate my
> personalized setup after moving the old configuration out of the way.
> 
> Greetings,

Instead of recreating all your user settings, I'd start by diffing the two 
users directories.  This would point to files which are probably irrelevant to 
your issue, e.g. application files, and consequently leave you with some 
generic desktop configuration files to compare.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] startx does not work for AMD/ATI Radion HD 4770

2019-12-26 Thread Mick
On Thursday, 26 December 2019 13:40:26 GMT gevisz wrote:

> [1.098401] [drm] Loading RV730
> [1.098466] radeon :01:00.0: Direct firmware load for
> radeon/RV730_pfp.bin failed with error -2
> [1.098543] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin"
> [1.098599] [rdm:rv770_init] *ERROR* Failed to load firmware!
> [1.098655] radeon :01:00.0: Fatal error during GPU init
> [1.098710] radeon: finishing device.
> 
> I have not included RV730_pfp.bin to EXTRA_FIRMWARE kernel variable.
> (And should not, according to the documentation.)


Interesting!  o_O

I remember the firmware blobs changing at some point in the past and my dmesg 
on this laptop complained about missing firmware.

I don't know if your card possesses the chipset the OS says it is.  In the 
first instance I suggest you add in the kernel what dmesg reports as failing 
to load "radeon/RV730_pfp.bin".  If the hardware wants it, you better provide 
it. Then reboot and see if it starts up happily, or reports of more firmware 
blobs failing to load.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] startx does not work for AMD/ATI Radion HD 4770

2019-12-26 Thread Mick
On Thursday, 26 December 2019 08:43:02 GMT Adam Carter wrote:
> Try creating an xorg.conf

You shouldn't need an xorg.conf today under most basic cases.  From what the 
OP reports below the kernel modesetting is not working, which makes me think 
some setting is probably missing in the kernel.


> On Thursday, December 26, 2019, gevisz  wrote:
> > I have installed Gentoo on my second desktop computer
> > with Gigabyte MA790FXT-UD5P motherboard, AMD
> > Phenome II X4 945 processor, and AMD/ATI Radion
> > HD 4770 video card. However, currently I have only
> > the command line: startx fails to start X11 reporting
> > the following error:
> > ...
> > (II) [KMS] drm report modesetting isn't supported.
> > (EE) Fatal server error:
> > (EE) no screens found (EE)
> > ...
> > (EE) Server terminated with error (1). Closing log file.
> > ...
> > xinit: unable to connect to X server: Bad file descriptor.
> > and this is despite of the fact that I configured 4.19.86
> > gentoo kernel following instructions from
> > https://wiki.gentoo.org/wiki/Xorg/Guide
> > and
> > https://wiki.gentoo.org/wiki/Radeon#Feature_support
> > Namely, I set
> > EXTRA_FIRMWARE_DIR = /lib/firmware
> > EXTRA_FIRMWARE = radeon/R700_rlc.bin, RV740_smc.bin, and RV710_uvd.bin
> > DRM = y and DRM_RADEON = y as described in the second link above.
> > (I have tried several variations but always got the above
> > error message after startx.)

I have a slightly older card than yours in a laptop:

"ATI Mobility Radeon HD 4670" (ChipID = 0x9488) AMD RV730

These kernel .config entries may be needed in yours too:

$ grep -i DRM /usr/src/linux/.config
CONFIG_DRM=y
# CONFIG_DRM_DP_AUX_CHARDEV is not set
# CONFIG_DRM_DEBUG_MM is not set
# CONFIG_DRM_DEBUG_SELFTEST is not set
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
# CONFIG_DRM_DP_CEC is not set
CONFIG_DRM_TTM=y
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_I2C_NXP_TDA9950 is not set
CONFIG_DRM_RADEON=y
CONFIG_DRM_RADEON_USERPTR=y
# CONFIG_DRM_AMDGPU is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
CONFIG_DRM_VGEM=y
# CONFIG_DRM_VKMS is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_UDL=m
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_DRM_VIRTIO_GPU is not set
CONFIG_DRM_PANEL=y
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_HISI_HIBMC is not set
# CONFIG_DRM_TINYDRM is not set
# CONFIG_DRM_LEGACY is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
# CONFIG_DRM_VBOXVIDEO is not set

Also in make.conf I have:

VIDEO_CARDS="radeon r600"

Rebuild your kernel, xorg and mesa, if you change any of the the above, 
reboot, check dmesg to make sure your radeon firmware is loading and the 
kernel is not reporting any errors on your card, then startx and look at /var/
log/Xorg.0.log to see what is being reported.

HTH.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] NFS problem

2019-12-24 Thread Mick
On Tuesday, 24 December 2019 09:03:44 GMT Peter Humphrey wrote:
> On Tuesday, 24 December 2019 06:11:12 GMT J. Roeleveld wrote:
> > What happens when you remove the IPv6 adresses from the NFS config? As you
> > are using IPv4, those should not be needed.
> > 
> > I haven't had time to enable IPv6 yet, so can't check locally what works
> > and what doesn't.
> 
> Well, wouldn't you just know it? The Atom box (the server) has died. No
> blinken lights or anything. I wondered why Firefox was so slow; it's lost
> its proxy.
> 
> See you later...

I'd start with checking the PSU is providing adequate power, if any at all.  
If the MoBo is fried it would be probably a good time to find something to 
replace it in the January sales.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KDE plasmashell and wallpapers.

2019-12-24 Thread Mick
On Tuesday, 24 December 2019 06:40:13 GMT Dale wrote:
> Howdy,
> 
> It seems plasmashell and wallpapers for the desktop has a problem.  I'm
> not sure if it is just me or if it could affect others.  Either way, I
> have no idea how to fix it.  I have a LOT of wallpapers that I've
> downloaded/collected over the years.  Some are NASA pics of Mars, stars,
> galaxies and a whole lot of others that I've accumulated over the last
> 15 years or so.  According to Dolphin and the properties box, it's well
> over 100,000 of them.

WOW!  A rather large number I would think.


> I have them all in a directory named, wait for
> it, wallpapers.  Under that they are sorted in directories by what they
> are, where they come from or whatever.  I try not to go to deep but it
> does pick up at least two or three levels deep.  I've had it set that
> way for ages and it has always worked with the only problem being it
> picking them at random.  Some are intended to be like a slideshow. 
> Anyway, they added the option of doing them in different orders
> including a-z, which is nice.  It will be nicer if I can get it to work
> now.  ;-)
> 
> Problem.  When I have it set to the main directory and I login to KDE,
> plasmashell goes nuts.  It hogs up a full CPU core and never stops. 
> It's not exactly memory friendly either.  The little panel thingy at the
> bottom, the thing with the clock and the pager etc, locks up tight.  The
> clock doesn't change, you can't select anything with it or anything
> else.  Just for giggles, I left it for half a hour or so hoping it would
> finish whatever it was doing but it never did.  Killing plasmashell and
> restarting results in the same problem.  Once it does that, I have to
> downgrade to a earlier version of plasma.  While fiddling with it today,
> I had the idea of manually restarting plasmashell and letting it show on
> the screen what it was doing.  Since the panel thingy won't work,
> neither does the clipboard so no copy and paste of the actual error
> itself.  What it showed me tho was that the wallpapers was the problem. 
> It said something about bad metadata for each and every wallpaper image
> I have stored.  I can't recall the error exactly but may can reproduce
> it later.

Take a pic of it so you have a more precise idea what it reports and google 
for ideas on what may be causing it.  If you're on a console use tee to 
redirect the output to a file, or use gpm to select some text off the screen 
and paste it in a file.


> I suspect when the option to have them random or in order was
> added, something changed in the way it looks at the directory.  Thing
> is, I have no idea how to make this work like it should with all of them
> enabled.

I have found the file indexer occasionally chews up CPU non-stop.  I think I 
disabled it at some point but in any case I have not noticed it chewing up CPU 
since.  Could it be the file indexer now needs to re-index all your images and 
it falls over itself due to the number and directory depth?

Is possible to drop into a console or ssh into this PC when it's hanging to 
see what process(es) are taking up resources in real time?


> My temporary solution, I pointed it to a small directory that only has a
> couple dozen images in it.  That seems to work. 

Is there a difference in the metadata of these few images compared with the 
rest in the whole directory?


> Setting it to the whole
> directory after that tho, does the same as above.  So doing a sort of
> reset doesn't help.  Heck, at one point, I cleaned up the living room,
> took out the trash and did some other stuff while it was banging away
> with a core on my CPU.  Thing never did finish.
> 
> Anyone even know where to start with this?  I've got it narrowed down to
> it being a issue with wallpapers.  I just don't know where to go from
> here.  Is it supposed to do that for some reason and I'm the only one
> with a HUGE collection?  Surely not. 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

Some ideas in no particular order:

Compare the metadata of an image which works without crashing and one that 
causes a crash, with exif or less.  If there is no discernible difference it 
may be the problem is not with the metadata, but with Plasma being able to 
parse all these files and their metadata.

Gradually add images to find a number at which the problem occurs and back off 
from there.  Not a solution, but a workaround.

Another workaround, restructure the fs to have fewer layers, but keep the same 
large number of images to see if it process them without a crash.

Do you really all 100,000 images?  Is it worth keeping all of them, or is it 
perhaps time for some house keeping?

Wait for new Plasam version to come out and perhaps report a bug if one is not 
yet posted.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Suspend and Hibernation not working on XFace desktop

2019-12-21 Thread Mick
On Friday, 20 December 2019 16:14:00 GMT you wrote:
> Mick,
> 
> On Friday, 2019-12-20 13:55:29 +, you wrote:
> > ...
> > If you can't run suspend/hibernate it may be polkit policies are not
> > allowing you to run these commands via dbus.  However, polkit policies
> > are
> > automatically installed/updated as required by the packages you have on
> > your system.  For example, this is what I have on my desktop (KDE):
> > 
> > $ pkaction | grep susp
> > org.freedesktop.login1.inhibit-handle-suspend-key
> > org.freedesktop.login1.suspend
> > org.freedesktop.login1.suspend-ignore-inhibit
> > org.freedesktop.login1.suspend-multiple-sessions
> > 
> > $ pkaction | grep hibernate
> > org.freedesktop.login1.hibernate
> > org.freedesktop.login1.hibernate-ignore-inhibit
> > org.freedesktop.login1.hibernate-multiple-sessions
> > org.freedesktop.login1.inhibit-handle-hibernate-key
> 
> Here it is:
> 
> $ pkaction|\grep -E 'hiber|susp'
> org.freedesktop.consolekit.system.hibernate
> org.freedesktop.consolekit.system.hibernate-multiple-users
> org.freedesktop.consolekit.system.suspend
> org.freedesktop.consolekit.system.suspend-multiple-users
> $

Hmm ... clearly we have a difference in polkit authorised actions between our 
two systems.  I use elogind, but don't have a box with consolekit to compare.

[snip ...]
> In "/etc/polkit-1/rules.d/"  are only  three rules files,  the first and
> last one being copied by me from the internet somewhere,  the second one
> being original:
> 
># cd /etc/polkit-1/rules.d
># for f in *; do echo  $f; cat $f; done
> 10-admin.rules
>polkit.addAdminRule(function(action, subject) {
>return ["unix-group:wheel"];
>});
> 50-default.rules
>/* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */
> 
>// DO NOT EDIT THIS FILE, it will be overwritten on update
>//
>// Default rules for polkit
>//
>// See the polkit(8) man page for more information
>// about configuring polkit.
> 
>polkit.addAdminRule(function(action, subject) {
>return ["unix-user:0"];
>});
> 50-org.freedesktop.NetworkManager.rules
>polkit.addRule(function(action, subject) {
>if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 &&
> subject.isInGroup("plugdev")) { return polkit.Result.YES;
>}
>});
>#
> 
> > ...

I only have the 50-default.rules, I suspect you copied 10-admin.rules from:

https://wiki.gentoo.org/wiki/Polkit


> > These are the USE flags for polkit on this system:
> These are the polkit USE flags here:
> 
>$ eix -l sys-auth/polkit|grep Installed
> Installed versions:  0.115-r4(15:10:56 22/10/19)(consolekit gtk
> introspection nls pam -elogind -examples -jit -kde -selinux -systemd -test)
> $
> 
> The only differences I see are  that you are using "elogind" rather than
> "consolekit", and that I'm using "gtk" while you are using "kde".

Yes, this is as it should be.


> If someone could point me  to any missing policy rules,  I would be glad
> to add them.
> 
> Sincerely,
>   Rainer

The thing is you shouldn't have to add polkit actions or rules manually.  As I 
understand it any userspace applications which require access to system 
services should install any rules as dependencies.

A Gentoo user with consolekit and xfce should kindly check their settings and 
compare with yours to see if something is amiss.  I'm thinking, any xfce 
regression bugs ought to affect more than one user at a time, so you shouldn't 
be alone in this.

PS. I had a look at the interwebs for your problem and a user mentioned upower 
(as I did in a previous message) - do you have upower installed?  The xfce 
desktop should have installed this as a dependency:

sys-power/upower
 Available versions:  
0.99.9-r1 (0/3) [doc +introspection ios selinux 
KERNEL="FreeBSD linux"]
   ~0.99.11   (0/3) [doc +introspection ios selinux 
KERNEL="FreeBSD linux"]
 Installed versions:  0.99.9-r1(0/3)(10:05:06 14/06/19)(introspection -doc 
-ios -selinux KERNEL="linux -FreeBSD")
 Homepage:https://upower.freedesktop.org/
 Description: D-Bus abstraction for enumerating power devices, 
querying history and statistics


PPS. This page mentions some troubleshooting steps which you may have not been 
through yet:

https://docs.xfce.org/xfce/xfce4-power-manager/faq

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Suspend and Hibernation not working on XFace desktop

2019-12-20 Thread Mick
Rainer, 

If you can't run suspend/hibernate it may be polkit policies are not allowing 
you to run these commands via dbus.  However, polkit policies are 
automatically installed/updated as required by the packages you have on your 
system.  For example, this is what I have on my desktop (KDE):

$ pkaction | grep susp
org.freedesktop.login1.inhibit-handle-suspend-key
org.freedesktop.login1.suspend
org.freedesktop.login1.suspend-ignore-inhibit
org.freedesktop.login1.suspend-multiple-sessions

$ pkaction | grep hibernate
org.freedesktop.login1.hibernate
org.freedesktop.login1.hibernate-ignore-inhibit
org.freedesktop.login1.hibernate-multiple-sessions
org.freedesktop.login1.inhibit-handle-hibernate-key


I suppose xface would install similar?

These are the USE flags for polkit on this system:

$ equery u sys-auth/polkit
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for sys-auth/polkit-0.115-r4:
 U I
 - - consolekit: Use sys-auth/consolekit for session tracking
 + + elogind   : Use sys-auth/elogind for session tracking
 - - examples  : Install examples, usually source code
 - - gtk   : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 + + introspection : Add support for GObject based introspection
 - - jit   : Enable just-in-time compilation for improved performance. 
May prevent use of
 some PaX memory protection features in Gentoo Hardened.
 + + kde   : Add support for software made by KDE, a free software 
community
 + + nls   : Add Native Language Support (using gettext - GNU locale 
utilities)
 + + pam   : Add support for PAM (Pluggable Authentication Modules) - 
DANGEROUS to
 arbitrarily flip
 - - systemd   : Use sys-apps/systemd for session tracking
 - - test  : Enable dependencies and/or preparations necessary to run 
tests (usually
 controlled by FEATURES=test but can be toggled 
independently)

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-20 Thread Mick
On Friday, 20 December 2019 13:25:44 GMT Dr Rainer Woitok wrote:
> Mick,
> 
> On Friday, 2019-12-20 11:46:43 +, you wrote:
> > ...
> > 
> >
I
> > 
> > don't use this desktop to be able to advise further, but generally I would
> > try to run the command as a plain user while keeping an eye on the
> > terminal, syslog, and xorg.0.log, for any messages pointing to the
> > underlying problem.
> Erm, which command precisely are you suggesting to run as a plain user?
> 
> Sincerely,
>   Rainer

Whichever command the xface desktop is running when you select Suspend/
Hibernate using the GUI.  I expect it is using dbus-send with 
org.freedesktop.UPower to Suspend/Hibernate.  I can't try it on my desktop at 
the moment, because I'm in the middle of something I can't pause.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-20 Thread Mick
On Friday, 20 December 2019 11:35:45 GMT Dr Rainer Woitok wrote:
> Mick,
> 
> On Thursday, 2019-12-19 18:30:47 +, you wrote:
> > ...
> > consolekit will work for this purpose - is it running?  It should be in
> > your default runlevel.
> 
>$ rc-update show|grep consolekit
>$
> 
> Gosh!  It's missing!   Maybe I just started it  to see whether or not it
> works and then forgot to add it to default.  So add and start it now:
> 
>$ sudo rc-update add consolekit default
>Password:
> * service consolekit added to runlevel default
>$ sudo rc-service consolekit start
> * Caching service dependencies ...  
> [ ok ] * Starting consolekit ...
> * start-stop-daemon: /usr/sbin/console-kit-daemon is already running
> * Failed to start consolekit
> [ !! ] * ERROR: consolekit failed to start
>$ ps -ef|grep console
>rainer3928 12250  0 19:53 pts/000:00:00 grep console
>root 11675 1  0 Dec18 ?00:00:00
> /usr/sbin/console-kit-daemon --no-daemon $
> 
> So it's not in the default run-level, but it's running anyway?  Whazzat?

It was not started as a default service on your current runlevel, but was 
started as a dependency anyway - when e.g. you logged into your desktop.


> So I decided  to reboot  and see what happens.   But this helped neither
> with automounting nor with hibernating.  The only thing that changed was
> the command line of the console-kit command:
> 
>$  ps -ef|grep console
>root  7320 1  0 Dec19 ?00:00:00
> /usr/sbin/console-kit-daemon rainer   32639 10242  0 12:21 pts/0   
> 00:00:00 grep console
>$
> 
> By the way, these are its USE flags for consolekit, in case it matters:
> 
>$ eix -l consolekit|grep Installed
> Installed versions:  1.2.1(15:11:46 22/10/19)(acl pam pm-utils
> policykit udev -cgroups -debug -doc -evdev -selinux -test KERNEL="linux") $
> 
> Sincerely,
>   Rainer

If consolekit does not fix your ability to suspend/hibernate as a plain user, 
then it could well be a bug (or setting) related to your desktop (xface).  I 
don't use this desktop to be able to advise further, but generally I would try 
to run the command as a plain user while keeping an eye on the terminal, 
syslog, and xorg.0.log, for any messages pointing to the underlying problem.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-19 Thread Mick
On Thursday, 19 December 2019 11:08:30 GMT Dr Rainer Woitok wrote:
> Mick,
> 
> On Wednesday, 2019-12-18 18:10:07 +, you wrote:
> > ...
> > OK, are you running consolekit, or elogind?
> 
>$ equery --no-color list -F '$mask2,$location $fullversion:$slot $cp'
> consolekit elogind * Searching for consolekit ...
>amd64,IP- 1.2.1:0 sys-auth/consolekit
> 
>!!! No installed packages matching 'elogind'
> * Searching for elogind ...
>$
> 
> Sincerely,
>   Rainer

consolekit will work for this purpose - is it running?  It should be in your 
default runlevel.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-18 Thread Mick
On Wednesday, 18 December 2019 16:46:49 GMT Dr Rainer Woitok wrote:
> Mick,
> 
> On Tuesday, 2019-12-17 23:44:19 +, you wrote:
> > ...
> > And ... usually by the sys-fs/udisks package, which performs the
> > automounting. If for some reason you have uninstalled udisks,
> 
>$ equery --no-color list -F '$mask2,$location $fullversion:$slot $cp'
> sys-fs/udisks * Searching for udisks in sys-fs ...
>amd64,IP- 2.8.4:2 sys-fs/udisks
>$
> 
> And before I forget:  hibernate, suspend, shutdown,  and restart also do
> no longer work for an unprivileged user.   I only noticed that yesterday
> evening when I pressed  the power button  which I have  configured to do
> hibernation.  It only locked the screen.  However,
> 
># echo disk > /sys/power/state
> 
> did work.
> 
> Sincerely,
>   Rainer

OK, are you running consolekit, or elogind?
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] safe use of .gnupg

2019-12-18 Thread Mick
On Wednesday, 18 December 2019 07:33:51 GMT Andrew Udvare wrote:
> > On Dec 17, 2019, at 20:51, Philip Webb  wrote:
> > 
> > When encrypting a file, I was told :
> >  root:552 root> gpg -c 
> >  gpg: WARNING: unsafe ownership on homedir '/home/purslow/.gnupg'
> > 
> > The file is owned by my user, ie  : .
> > This seems to be the default when 'gpg' is installed.
> 
> It's probably complaining if you're running as root and you've set the GPG
> home did to be in /home/purslow/.gnupg rather than /root/.gnupg (and owned
> by root:root). Otherwise try setting that directory to 0700 permission
> (u+rwx g-rwx o-rwx).
> 
> Andrew

Other than what Andrew said, you're using a symmetric cipher, so the complaint 
is only a warning about the ownership of the gnupg configuration file being 
used.  You may wish your root user to have different gnupg settings than your 
plain user and gnupg is warning you about it.

However, this is rather odd.  When you first use gnupg as root (or as any 
user) without specifying a configuration file, it will try to create a new 
~/.gnupg directory with default settings and public/private keys; e.g.

# gpg -c  
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created

Given the above the directory and files in /root/.gnupg should be owned by 
root:root, rather than root:552 (if '552' in your message is some group ID).
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-17 Thread Mick
On Tuesday, 17 December 2019 21:35:11 GMT Neil Bothwick wrote:
> On Tue, 17 Dec 2019 21:29:01 +0100, Dr Rainer Woitok wrote:
> > though I currently do not  find any relevant descriptions regarding this
> > topic on the web  I must formerly have found something there,  because I
> > had set my laptop up this way, and it worked until the last reboot.
> > 
> > Either I somehow  spoiled some configuration,  upgraded some package, or
> > inadvertently changed a package's USE flag :-(
> > 
> > Can someone please guide me to rig up my box  so it again mounts plugged
> > in USB sticks automatically to "/run/media/.../"?
> 
> This is normally handled by the desktop environment, which desktop are
> you using?

And ... usually by the sys-fs/udisks package, which performs the automounting.  
If for some reason you have uninstalled udisks, then the desktop environment 
will have trouble automounting removable block devices.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?

2019-12-16 Thread Mick
On Monday, 16 December 2019 17:10:13 GMT n952162 wrote:
> I tried using imagemagick's display, and it gave me:
> 
> display: delegate library support not built-in '' (X11)
> 
> There's no X on the media-gfx/imagemagick web page.
> 
> On a guess, I created a use file for imagemagick with X and now I get:
> 
> display: no decode delegate for this image format `JPG'
> 
> Am I going to have to rebuild imagemagick for every file type I encounter?

Not sure what are the defaults, but I have USE="jpeg" here:

~ $ equery u imagemagick
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for media-gfx/imagemagick-7.0.9.5:
 U I
 + + X   : Add support for X11
 + + bzip2   : Use the bzlib compression library
 - - corefonts   : Use media-fonts/corefonts which is required by some 
commands
 + + cxx : Build support for C++ (bindings, extra libraries, code 
generation, ...)
 - - djvu: Support DjVu, a PDF-like document format esp. suited for 
scanned documents
 - - fftw: Use FFTW library for computing Fourier transforms
 - - fontconfig  : Support for configuring and customizing font access via 
media-libs/fontconfig
 - - fpx : Enable media-libs/libfpx support
 - - graphviz: Add support for the Graphviz library
 - - hdri: Enable High Dynamic Range Images formats
 - - heif: Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image 
format using
   media-libs/libheif
 - - jbig: Enable jbig-kit support for tiff, Hylafax, ImageMagick, etc
 + + jpeg: Add JPEG image support
 - - jpeg2k  : Support for JPEG 2000, a wavelet-based image compression 
format
 + + lcms: Add lcms support (color management engine)
 - - lqr : Enable experimental liquid rescale support using media-
libs/liblqr
 - - lzma: Support for LZMA (de)compression algorithm
 - - openexr : Support for the OpenEXR graphics file format
 + + openmp  : Build support for the OpenMP (support parallel computing), 
requires
   >=sys-devel/gcc-4.2 built with USE="openmp"
 + + pango   : Enable Pango support using x11-libs/pango
 - - perl: Add optional support/bindings for the Perl language
 + + png : Add support for libpng (PNG images)
 - - postscript  : Enable support for the PostScript language (often with 
ghostscript-gpl or
   libspectre)
 - - q32 : Set quantum depth value to 32
 - - q8  : Set quantum depth value to 8
 - - raw : Add support for raw image formats
 - - static-libs : Build static versions of dynamic libraries as well
 + + svg : Add support for SVG (Scalable Vector Graphics)
 - - test: Enable dependencies and/or preparations necessary to run 
tests (usually
   controlled by FEATURES=test but can be toggled 
independently)
 + + tiff: Add support for the TIFF image format
 + + truetype: Add support for FreeType and/or FreeType2 fonts
 - - webp: Add support for the WebP image format
 - - wmf : Add support for the Windows Metafile vector image format
 + + xml : Add support for XML files
 + + zlib    : Add support for zlib (de)compression

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Mick
On Friday, 13 December 2019 15:55:19 GMT Daniel Frey wrote:
> On 2019-12-13 03:17, Mick wrote:
> > I seem to also have a few dangling on an old PC here!
> > 
> > $ find -L /etc/runlevels -type l
> > /etc/runlevels/boot/tmpfiles.setup
> > /etc/runlevels/boot/alsasound
> > /etc/runlevels/boot/swapfiles
> > /etc/runlevels/default/modules-load
> > /etc/runlevels/default/vixie-cron
> > 
> > Is it a matter of just deleting them?
> 
> I just went `rc-update del  ` and it still removed them.
> 
> Dan

Well, they are not shown with 'rc-update -s -v '.  I think they are 
dangling symlinks with no consequence.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Mick
On Friday, 13 December 2019 07:47:43 GMT Neil Bothwick wrote:
> On Thu, 12 Dec 2019 16:52:21 -0800, Daniel Frey wrote:
> > I've been merging/unmerging packages for testing and some have to be
> > started via a daemon, so I've had to add them to /etc/runlevels/* via
> > rc-update.
> > 
> > The problem is I was removing packages without doing `rc-update del
> >  `, leaving them added in the runlevel with no valid
> > script/symlink.
> > 
> > Now, I could just do `ls -al /etc/runlevels/*` and search manually for
> > broken symlinks and then manually remove them.
> 
> How about:
> 
> find -L /etc/runlevels -type l

I seem to also have a few dangling on an old PC here!

$ find -L /etc/runlevels -type l
/etc/runlevels/boot/tmpfiles.setup
/etc/runlevels/boot/alsasound
/etc/runlevels/boot/swapfiles
/etc/runlevels/default/modules-load
/etc/runlevels/default/vixie-cron

Is it a matter of just deleting them?
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] What ntp/sntp client do people use?

2019-12-11 Thread Mick
On Wednesday, 11 December 2019 04:59:08 GMT Walter Dnes wrote:
> On Tue, Dec 10, 2019 at 03:19:16AM -0600, Dale wrote
> 
> >   I think I used ntpdate years ago.  Can't recall why I switched but
> > 
> > something wasn't working right.  People here recommended chrony and once
> > set up, its worked ever since.  OP, if you haven't tried it yet, may be
> > worth giving it a test run.
> 
>   Now what?  I'm willing to RTFM, but I can't FTFM (Find the F**
> Manual).

Have a look at:

man chronyd

It runs as a daemon.  The command line utility to interefere with it is 
detailed in:

man chronyc


Typically I set /etc/chrony/chrony.conf and run it as a default service.  Upon 
setting it up I run 'chronyc sources -v' a couple of times to make sure it is 
working as desired.  For laptops which are not online 24-7 it is worth adding 
'iburst' after the address of a time server to allow the clock to adjust fast 
at boot.  Additional information can be found here:

$ ls -la /usr/share/doc/chrony-3.5-r2/
total 72
drwxr-xr-x   3 root root  4096 Nov  2 09:27 .
drwxr-xr-x 826 root root 36864 Dec  7 16:42 ..
-rw-r--r--   1 root root  7942 Nov  2 09:27 FAQ.bz2
-rw-r--r--   1 root root  9844 Nov  2 09:27 NEWS.bz2
-rw-r--r--   1 root root  3167 Nov  2 09:27 README.bz2
drwxr-xr-x   2 root root  4096 Nov  2 09:27 examples

HTH.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] What ntp/sntp client do people use?

2019-12-09 Thread Mick
On Tuesday, 10 December 2019 06:16:50 GMT Walter Dnes wrote:
> On Sun, Dec 08, 2019 at 01:38:59AM -0500, Walter Dnes wrote
> 
> > question... is "rdate" a drop-in substitute for "openrdate"?
> 
>   Answering my own question... big fat NO.
> 
> [i660][root][~] openrdate -s -n ca.pool.ntp.org (works fine)
> 
> [i660][root][~] openrdate -s ca.pool.ntp.org (hangs and sits there)
> 
> [i660][root][~] rdate -s ca.pool.ntp.org
> rdate: couldn't connect to host ca.pool.ntp.org: Connection refused
> 
>   Apparently "openrdate -n" selects RFC2030 protocol.  Otherwise, it
> defaults to RFC868.  That appears to be rdate's only protocol.  So are
> there any public RFC868 servers?  Or are there any RFC2030 client
> programs other than openrdate?  What do people here use?

I no longer use rdate and SNTP.  I use chronyd which has no problem 
synchronising with various NTP servers and is suitable for systems which are 
online intermittently, like laptops.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] rebuilt kernel - now doesn't shutdown

2019-12-07 Thread Mick
On Friday, 6 December 2019 11:38:09 GMT n952162 wrote:
> I rebuilt my kernel and now have the Network Block Device, but now my
> system doesn't power off anymore, using shutdown -h now, and doesn't
> reboot with reboot (orshutdown -r now).

I'm not sure which kernel you said you're running at present, but this commit 
was made to handle a similar behaviour:

https://lkml.org/lkml/2019/10/6/338

> Anybody have any idea what could have become misconfigured?

As per above commit, it could be a matter of a kernel driver bug rather a 
misconfiguration on your part.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Conflicting version...but the version scheme is confusing...

2019-11-30 Thread Mick
On Saturday, 30 November 2019 07:17:01 GMT Franz Fellner wrote:
> inkscape-0.92.4 has the same issue.
> The problem is that the API (Programming interface, not Binary interface)
> between imagemagick-6 and imagemagick-7 isn't compatible.
> And inkscape never was updated to use the API from imagemagick-7.

Yes, that's exactly the problem.  

media-gfx/inkscape-0.92.4 which is presently the stable version is quite happy 
with media-gfx/imagemagick-7.0.9.5.

However, the unstable version of inkscape-1.0_beta1 requires imagemagick 
versions prior to 7.0.9.5, with the currently available version of 
imagemagick-6.9.10.74 fulfilling the requirement.

The inkscape package is the dog and imagemagick (a dependency) is the tail.  
Usually the dog wags the tail and not the other way around.  However, portage 
is asking for inkscape to be keyworded to a testing beta version for what 
appears to me to be no good reason.  Portage should keep inkscape at the 
stable 0.92.4 version, with imagemagick at 6.9.10.74, on a system which is 
running stable packages.


> That's why you are forced to downgrade imagemagick to a version lower than
> 7 when you want to use imagemagick in inkscape.
> If you want to stay with imagemagick >=7 you have two options:
> 1) entirely disable imagemagick for inkscape, e.g. with "media-gfx/inkscape
> -imagemagick" in package.use

If you do this, you'll find that conversions and imports/exports from one 
graphics file format to another would be somewhat limited.  Imagemagick relies 
on inkscape for this functionality.


> 2) Use inkscape-1.0.0_beta1 and enable both USE-Flags "imagemagick
> graphicsmagick".
> That way you will get the imagemagick features through graphicsmagick,
> which means imagemagick is not a dependency of inkscape anymore.

Right, but graphicsmagick is more limited in its functionality than 
imagemagick.  For a poweruser of imagemagick this may present a problem - but 
I don't know how big a problem it might be.

While I was chasing my tail around this clash hoping portage would eventually 
get it right, I seem to recall a more recent combo.  When inkscape-1.0_beta1 
is keyworded, portage is asking to also keyword imagemagick-*.  I assume 
the trunk has a version which works with inkscape-1.0_beta1, but I'm not sure.

For now I just exclude inkscape from upgrades until the dust on this settles.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: To all IPv6-slackers among the Gentoo community

2019-11-29 Thread Mick
On Friday, 29 November 2019 01:08:39 GMT Ralph Seichter wrote:
> * Walter Dnes:
> > I prefer man pages to rambling Youtube videos.
> 
> As you wish: man ndp  ;-)

Hmm ...

 $ man ndp
No manual entry for ndp

 $ which ndp
which: no ndp in (/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/
sbin:/usr/bin:/sbin:/bin:/opt/bin)

 # which ndp
which: no ndp in (/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/
sbin:/usr/bin:/sbin:/bin:/opt/bin)


I have net-libs/libndp installed, but no ndp command ... where is it hiding?


PS. Thanks for your posts and links, at some point I will be replacing my 
aging router with a dual stack device and all this is good education for me.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Strange and potentially unsafe openssh feature

2019-11-28 Thread Mick
On Thursday, 28 November 2019 22:15:52 GMT Ian Zimmerman wrote:
> For my ssh keys that require passphrases, I use ssh-agent to cache the
> decrypted key so I don't have to type the passphrase every time.  Until
> yesterday there was only one such key; last night I added a new one
> [1].  And, being the lazy thinker I am, I used the same passphrase as
> for the old one.

There is nothing inherently wrong with this, unless your single passphrase is 
compromised by a malicious entity.  Conceivably they will then be able to 
decrypt both of your private SSH keys.
 

> Now, I find that when I run ssh-add to tell ssh-agent about my keys,
> _both_ are added to the session after asking me the passphrase only
> once!  This can only be secure and correct if the agent somehow compares
> the passphrases and knows they are the same; even then, it is _very_
> surprising.  Have you seen this and how do you explain it?

I don't use ssh-agent to know its quirks, but from what I understand it will 
continue to use the last passphrase you keyed in the terminal when you run it.  
If your 2nd, 3rd, ..., nth private keys had different passphrases the ssh-
agent would prompt for a different passphrase to decrypt the next key and then 
use that passphrase thereafter.

> [1]
> It was necessary to create a new rsa type key because of a stupid server
> which doesn't understand ecdsa keys.

Which is fine.  Just set up in your client machine ~/.ssh/config with the 
appropriate (rsa) key to use on the 'stupid' server and when you try to 
connect to it your ssh client will not use other keys on this connection.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] To all IPv6-slackers among the Gentoo community

2019-11-28 Thread Mick
On Thursday, 28 November 2019 08:50:07 GMT Walter Dnes wrote:
> On Wed, Nov 27, 2019 at 09:28:59AM +0000, Mick wrote
> 
> > The world is moving towards high speed wireless connectivity anyway,
> > so more and more devices will not need a physical switch port or
> > ethernet cables to gain access to the network.
> 
>   "High speed wireless" is going to be a big disappointment.  Due to
> laws of physics, you need high frequencies for faster wireless speeds.
> But higher frequencies have a lot less penetrating power.  They might
> scream in a short range lab test, but in the real world, lower
> frequencies actually perform better.  See
> https://arstechnica.com/information-technology/2019/04/millimeter-wave-5g-wi
> ll-never-scale-beyond-dense-urban-areas-t-mobile-says/ for a demo.  This is
> about cellphone frequencies, but the same laws of physics apply.

Quite so.  This is why infrastructure providers are planning to use lamp 
posts, public buildings and the like.  In rural areas where no street lighting 
exists this becomes a problem.

However, many domestic WiFi routers come with dual WiFi SSIDs and separate 
VLANs to allow 3rd parties to use your WAP as a WiFi hot-spot, as long as they 
already have a user account with the same ISP, or are willing to register and 
pay exorbitant fees (at least in the UK) for a few hours usage.  

I can see a possibility for this hot-spot functionality extending to offer 
domestic 5G aerial repeaters, but in the country side with miles of 'no-spots' 
this is not going to offer much geographic cover anyway.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] To all IPv6-slackers among the Gentoo community

2019-11-27 Thread Mick
s with the thing for a good while.  Later on tho, if needed, I may
> switch to Openwrt or some other option that may work better.  It's a
> option I'd like to have if possible. 

This is generally a good option because OEMs hardly ever bother upgrading 
their initial firmware these days.  They're more interested to ship the next 
model, or the same model in a shinier box.  As a result loads of routers are 
running around the world with actively exploited vulnerabilities.  At least 
with OpenWRT and friends you have a live opensource project actively trying to 
keep on top of the latest SNAFU.


> > 3.  Something commercial that isn't terrible.  There are various
> > options, but everybody always points to Ubiquiti and I'm mostly happy
> > with them.  If you want something that is more gui-based I'd go with
> > their Unifi line.  I'd avoid Amplifi as it is more consumer-oriented
> > and you'll end up being frustrated with it.  EdgeOS is getting closer
> > to something like OpenWRT - it runs linux and you can get a shell and
> > mess around with the CLI.  However, while the EdgeOS routing options
> > are great they aren't so good with WiFi and EdgeOS and Unifi don't
> > interoperate all that well (not impossible, but they don't really talk
> > to each other so you have to maintain two configs).  I also really
> > dislike that the EdgeOS management software is only supplied as a
> > docker image, which is a pain if you're not using docker (one of these
> > days I'll have to get it working with my bridge interface as it always
> > tries to create its own and ends up having no physical network
> > access).  The Unifi controller software is packaged for a couple of
> > distros which makes it much more flexible to deploy (and you can use
> > it on docker if you wish).
> > 
> > Personally I'm running EdgeOS on my router and Unifi on everything
> > else.  If I could go back I might have gone with Unifi on the gateway
> > but it does bug me that it is so much more expensive and does the same
> > thing.  If I had it then end-to-end VLAN/etc would be much more
> > practical, though I'd need a pile of managed switches to make it work
> > well.
> > 
> > I've run all three options at various points.  Unless your needs are
> > special I think there is value in just going with #3.  It just runs
> > itself for the most part, and if you want multiple access points or
> > anything like that the network basically runs itself.  I just plug in
> > new hardware and then on the controller software it shows up, and one
> > click provisions it which configures it to fit in with all my global
> > settings.
> 
> This is why I might buy one compatible with Openwrt but wait until the
> wireless stuff gets sorted out.  Like I said above, I'd like it as a
> option so finding one that Openwrt supports should increase my odds if
> they get everything working nicely later on.  I still remember the old
> USB days when it was new.  It was buggy and stuff didn't work right
> every time.  After a while tho, they got most the kinks worked out.  I
> think Openwrt and others will do the same.  It may take a bit but maybe
> by the time I'm ready to try it, it will be awesomeness. 
> 
> I just want to avoid replacing my current router with a router that also
> doesn't have IPv6 support and has limited options later on.  Even google
> isn't helping me much on that. 

Look at my suggestions above on how to investigate the availability of IPv6 or 
other desired functionality of candidate routers.

Something I hadn't mentioned, merely because I don't know if it will work with 
your old router, is to hack the hardware itself.  Replacing the flash disk and 
RAM with larger components may land you a more capable device for no/little 
extra cost.  Just use one of the RAM modules you have lying around in your 
spares bin and hope the chipset is capable of booting and utilising it.  Some 
SoCs are crippled by design, having a max RAM capacity they will initialise 
hardcoded in their boot code.  They may not see or use more RAM and may even 
refuse to boot with it.  Nevertheless, it could be an interesting project for 
a rainy day, on a router which is on its way out anyway:

http://neophob.com/2006/01/wrt54g-ram-upgrade/

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] To all IPv6-slackers among the Gentoo community

2019-11-26 Thread Mick
On Tuesday, 26 November 2019 23:14:32 GMT Dale wrote:
> Mick wrote:
> > On Tuesday, 26 November 2019 17:58:46 GMT Dale wrote:
> >> I enter my username/password on the modem so I'm pretty sure it is
> >> processing the packets and such.  There is no mention of anything IPv4
> >> or v6.  I'd suspect it is v4 only, since it works it has to support v4.
> >> lol  So, old modem may have to be bricked at some point.
> > 
> > Not necessarily.  If your modem is like the one described here, follow the
> > guidance provided to set it in bridged mode:
> > 
> > https://www.dslreports.com/faq/6405
> > 
> > In bridged mode it will pass all ethernet packets to your router and your
> > router will be able to obtain a public IP address with its dhcp client
> > directly from your ISP.  Of course, to be able to connect to your ISP you
> > will now need to enter your ADSL account username/passwd into the PPPoE
> > (or PPPoA) client in your router's management interface.  DHCP and DNS
> > server functionality will also be provided by your router for all devices
> > on your LAN.  The modem will be just a dumb box between the ISP and your
> > router.
> > 
> > In the unlikely chance your router does not possess such PPP
> > authentication
> > functionality, you will have to replace your router with one which does
> > and at the same time look to buy one which offers IPv6 too.
> 
> I'm almost certain my router can do this.  I've done it before but with
> a wired only version.  I think they have the same basic firmware since
> all the screens look alike, except for the wireless part being added. 
> Thing is, I don't think the router has IPv6 capabilities.  It's a WRT54G
> version 6 that I use now.  I switched to a wireless one when I got my
> cell phone which needs wi-fi.  The old wired router was the same model
> less the G on the end if I recall correctly.  I suspect a new router is
> due, age and lack of firmware updates if nothing else.  I think the
> firmware is about a decade old. 
> 
> >> I do have a
> >> newer gray modem that came with the DSL kit.  I stopped using it because
> >> it got so warm.  The old black box one runs cool and it has more vent
> >> holes.  I may have to check and see if the gray one supports v6 but it
> >> is fairly old too.  It's at least 10 years old.
> > 
> > ADSL ATM encapsulation technology has not changed for many years now.  I
> > don't think age (or colour) matters really, unless you can see smoke
> > coming out of it when you power it up!  LOL!
> 
> I mention the color because some may remember the old thing.  When I see
> a black Westell, I know what it is.  Heck, I found most of the ones I
> got at a thrift store for $6.00.  lol  I can generally recognize the
> gray ones BUT some look a lot alike but are different on the inside. 
> 
> >> My router also makes no mention of IPv4 or v6.  I suspect it is in the
> >> same boat as the modem, it doesn't support it and doesn't have the
> >> option to either.  I did go to the Linksys website and look for a
> >> firmware upgrade, nothing available, not even a old one.
> > 
> > You haven't provided any model names[1] so it's difficult to google things
> > for you, or suggest solutions.  Have a look here to see if your router is
> > still supported by this open source Linux firmware:
> > 
> > https://openwrt.org/supported_devices
> > 
> > https://openwrt.org/toh/start
> > 
> > Other alternative(s):
> > 
> > http://www.polarcloud.com/tomato
> 
> Model is above.  I've read about openwrt but always been nervous about
> trying it.  I've read where some have bricked their router.  You know me
> and my luck.  If it can be bricked, I can do it, real good.  LOL  ;-D  I
> tried to find out how much memory and such my old router has but I can't
> find it anywhere.  It may not show it so I may end up googling for it
> online.  See if I can find a spec sheet somewhere. 

Ahh ... OK.  Try to flog it on flea-bay and buy something more powerful.  
WRT54G v5/6 routers were crippled by Linksys compared to previous models.  
They come with minuscules amounts of RAM - 8MB, half that of previous models 
and also half the flash disk - 2MB: 

https://en.wikipedia.org/wiki/Linksys_WRT54G_series#Hardware_revisions

The only firmware which will run on them is DD-WRT, but I'm not sure it's 
worth the hassle.  Get rid of it and buy a newer device with more flash and 
RAM on it.

https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT54G_v5.0_%26_5.1_%26_6.0


> I just did one quick search for 'wireless router IPv6' and didn't see a
> lot.  However, it may not be findin

Re: [gentoo-user] To all IPv6-slackers among the Gentoo community

2019-11-26 Thread Mick
On Tuesday, 26 November 2019 17:58:46 GMT Dale wrote:

> I enter my username/password on the modem so I'm pretty sure it is
> processing the packets and such.  There is no mention of anything IPv4
> or v6.  I'd suspect it is v4 only, since it works it has to support v4. 
> lol  So, old modem may have to be bricked at some point.

Not necessarily.  If your modem is like the one described here, follow the 
guidance provided to set it in bridged mode:

https://www.dslreports.com/faq/6405

In bridged mode it will pass all ethernet packets to your router and your 
router will be able to obtain a public IP address with its dhcp client 
directly from your ISP.  Of course, to be able to connect to your ISP you will 
now need to enter your ADSL account username/passwd into the PPPoE (or PPPoA) 
client in your router's management interface.  DHCP and DNS server 
functionality will also be provided by your router for all devices on your 
LAN.  The modem will be just a dumb box between the ISP and your router.

In the unlikely chance your router does not possess such PPP authentication 
functionality, you will have to replace your router with one which does and at 
the same time look to buy one which offers IPv6 too.


> I do have a
> newer gray modem that came with the DSL kit.  I stopped using it because
> it got so warm.  The old black box one runs cool and it has more vent
> holes.  I may have to check and see if the gray one supports v6 but it
> is fairly old too.  It's at least 10 years old. 

ADSL ATM encapsulation technology has not changed for many years now.  I don't 
think age (or colour) matters really, unless you can see smoke coming out of 
it when you power it up!  LOL!


> My router also makes no mention of IPv4 or v6.  I suspect it is in the
> same boat as the modem, it doesn't support it and doesn't have the
> option to either.  I did go to the Linksys website and look for a
> firmware upgrade, nothing available, not even a old one. 

You haven't provided any model names[1] so it's difficult to google things for 
you, or suggest solutions.  Have a look here to see if your router is still 
supported by this open source Linux firmware:

https://openwrt.org/supported_devices

https://openwrt.org/toh/start

Other alternative(s):

http://www.polarcloud.com/tomato


> I did some searching for routers with ipv6 support.  I'm not finding a
> lot.  Is this something I need to worry about yet?  I mean, is there a
> lot of IPv6 equipment even available right now? 

You may have not tried hard enough.  There were a thing even 8 years ago:

https://www.cnet.com/news/top-5-ipv6-ready-wireless-routers/

Answering your question, yes, today all modern routers and any ADSL modems 
with routing capability come as dual IPv4/6 stack.


[1] True story:  Years ago a friend started work in a car accessories and 
spare parts shop.  Customer walks in looking for spark plugs, where upon my 
friend asks for his make and model.  Customer replies:  "Dunno, it's a blue 
car ..."  O_O

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] To all IPv6-slackers among the Gentoo community

2019-11-26 Thread Mick
On Tuesday, 26 November 2019 15:16:24 GMT Dale wrote:
> Adam Carter wrote:
> > On Tue, Nov 26, 2019 at 1:53 AM Ralph Seichter  > 
> > <mailto:ab...@monksofcool.net>> wrote:
> > https://www.ripe.net/ripe/mail/archives/ripe-list/2019-November/001712
> > .html
> > 
> > This does not come as a surprise, of course, but I consider it a good
> > point in time to pause and ask oneself what each individual can do to
> > move further towards IPv6. The end is neigh(ish).
> > 
> > Turning on ipv6 has been on my agenda for a while, but I will need to
> > setup a firewall. Currently i have a single ipv4 NAT box with some
> > port forwards. However, when i enable v6, all my internal hosts become
> > directly routable from the Internet via the /56 my ISP assigns me.
> 
> I have a question about this.  I've read about this for ages and sort of
> get the idea, running out of numbers basically.  There's two questions
> that I can't answer tho.  I have a old Linksys router, the old blue
> thing that is so common.  Would I have to buy a new router?  

Yes.  You will need a router which has an IPv6 network stack on it, besides 
the legacy IPv4 network stack, to be able to route IPv6 addresses directly 
from your LAN.

Depending on how useful your ISP is, they may offer IPv6 tunneling over IPv4.  
You connect to their gateway/proxy over IPv4 as you do now with your existing 
router, but route through the IPv4 tunnel your IPv6 connections.  Their 
gateway will act as an endpoint for your IPv4 tunnel and forward your IPv6 
packets to the IPv6 interwebs.  It is likely they will only do this after they 
have a good sniff at them, but in this age of universal surveillance such an 
activity won't be something surprising.


> I also have
> a older DSL modem, it's a old Westell black box.  Would this require a
> newer modem as well?  

If this is an ADSL modem only (i.e. no PPP negotiation or NAT'ing - a.k.a. 
'Fully Bridged Mode') then it is using ATM encapsulation.  IPv4 or IPv6 
packets from your LAN will be encapsulated into ATM frames by your modem and 
sent to the telephone exchange over copper wires.  There is no need to change 
your modem in this case.

However, if your modem is operating in a 'Half-Bridged mode' then it is 
essentially performing IP masquerading plus ATM encapsulation.  In this case 
it is routing ethernet - it will have to be able to manage IPv6 packets.  An 
old (legacy) router will only have IPv4 stack and the previous comments apply.  
You could always set the modem in fully bridged mode, after you connect to its 
management interface, and thereafter use your router to perform PPP 
authentication with your ISP.  In fully bridged mode you won't need to change 
your modem.


> I'm thinking those boxes would have to have
> software at least that would support the newer addresses but nothing
> I've read really answers those questions.  I don't know if they even
> update software on those old things. 
> 
> Thoughts??
> 
> Dale
> 
> :-)  :-) 

You need to google for alternative linux based firmware/software for your 
router and modem make and model.  However, if these are really old devices, 
then their chipsets and RAM may not be adequate to allow them to run dual 
network stacks without grinding to a halt.  If the OEMs never provided IPv6 
capability, for these devices it could well be the case the hardware is not 
capable of carrying the processing load.  
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Error emerging qtwebengine-5.12.5

2019-11-21 Thread Mick
On Thursday, 21 November 2019 17:35:30 GMT Raphael MD wrote:
> Hello,
> 
> I'm trying to update KDE, but the emerge is stopping at qtwebengine-5.12.5
> compile process.

I don't know if your error is related to the gcc version you're using.  Better 
switch to 9.2 and try again.

PS. MAKEOPTS="-j1" appears to be quite restrictive for a Ryzen CPU.  It 
wouldn't cause your problem, but will slow down every emerge as it will 
compile one job at a time.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] eclean of a no longer existing package?

2019-11-19 Thread Mick
Running eclean threw up a wobbly on app-misc/subsurface, which is no longer in 
portage.  What is the following asking of me?

# /usr/bin/eclean-dist
 * Building file list for distfiles cleaning...
 * ERROR: app-misc/subsurface-4.9.3::gentoo failed (depend phase):
 *   qt4-r2.eclass could not be found by inherit()
 * 
 * Call stack:
 * ebuild.sh, line 616:  Called source '/var/db/repos/gentoo/
app-misc/subsurface/subsurface-4.9.3.ebuild'
 *   subsurface-4.9.3.ebuild, line  24:  Called inherit 'eutils' 'l10n' 'qt4-
r2'
 * ebuild.sh, line 291:  Called die
 * The specific snippet of code:
 *  [[ -z ${location} ]] && die "${1}.eclass could not be found by 
inherit()"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/
subsurface-4.9.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/
subsurface-4.9.3::gentoo'`.
 * Working directory: '/usr/lib64/python3.6/site-packages'
 * S: '/var/tmp/portage/app-misc/subsurface-4.9.3/work/subsurface-4.9.3'
 * Cleaning distfiles...
 [9.0 M ] ImageMagick-7.0.8-67.tar.xz
 [7.9 M ] qpdf-8.2.1.tar.gz
 [4.4 M ] util-linux-2.33.tar.xz
 ===
 [   21.4 M ] Total space from 3 files were freed in the distfiles directory

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] power button to shutdown for openrc? [SOLVED]

2019-11-18 Thread Mick
On Sunday, 17 November 2019 20:35:33 GMT n952162 wrote:
> On 11/17/19 16:06, Mick wrote:
> > You keep top-posting and inverting the logical Q/A flow of this thread ...
> > 
> > On Sunday, 17 November 2019 12:53:51 GMT n952162 wrote:
> >> Ah, now I see.  Yes, in that respect, that is, if you don't have a
> >> chance to get /forcefsck written.
> > 
> > Running fsck manually with various options and then trying to recover
> > various superblock locations could get you farther than simply running
> > fsck in an accepting fashion.
> 
> Have you had any experience with this?  I spent days search for that
> superblock once, even writing a pgm to search for the magic number,
> after working with dump2fs, and never got anywhere.  I'd sure like to
> hear that somebody had success with it.

Yes, I vaguely remember using it in the past.  Some heavy handed user pressed 
the power button, leaving the fs dangling.  Through trial & error I found a 
backup superblock listed by dumpe2fs, which worked and allowed the fs to be 
accessed with minimal loss of data.  I don't know if this would be the case 
under all eventualities.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] power button to shutdown for openrc? [SOLVED]

2019-11-17 Thread Mick
You keep top-posting and inverting the logical Q/A flow of this thread ...

On Sunday, 17 November 2019 12:53:51 GMT n952162 wrote:
> Ah, now I see.  Yes, in that respect, that is, if you don't have a
> chance to get /forcefsck written.

Running fsck manually with various options and then trying to recover various 
superblock locations could get you farther than simply running fsck in an 
accepting fashion.

If fsck.ext4 shows up "bad magic number", you can run dumpe2fs on the 
partition and grep for "superblock" to find the location of both primary and 
backup superblocks of the corrupted fs.  Then you can 'e2fsck -b  /
dev/sdaX' for each '' superblock location and and try mount it 
thereafter to see if you can access your files.  With a bit of luck at least 
one of the supeblocks will work recovering most of the data previously saved 
on this fs.

Needless to say, you would not try this on the original partition, but a 
backup image you can create with ddrescue and friends. In any case, running 
fsck.ext4 -n (or -E nodiscard) should not cause any fs losses, unless the 
disk/hardware is faulty.  Hence working on a backup image is the safest 
option.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] power button to shutdown for openrc? [SOLVED]

2019-11-17 Thread Mick
On Sunday, 17 November 2019 10:30:49 GMT Neil Bothwick wrote:
> On Sun, 17 Nov 2019 11:21:18 +0100, n952162 wrote:
> > (in fact, that's exactly the situation that I've been confronted with
> > and have turned to this mailing list to help me with: X locked up, my
> > power-button was unresponsive so I had to force it down (holding the
> > power key down for 30 seconds), and on reboot TWO filesystems had to be
> > rebuilt by fsck, with substantial loss of organization and of data
> > (despite both being ext3/4 journaling filesystems - I just don't
> > understand that!) )

As has been mentioned before holding the power button down until the system 
powers off is equal to a hard shutdown.  No write caches are flushed, no data 
is synced to disk and any writes could be left in mid air resulting in a 
messed up fs.  I always boot with a LiveUSB/CD and perform a fsck without 
mounting any drives, before I will try to boot the system normally again.

If you lose power while the system is idle and no write operations are in 
process/waiting, then you may well have no loss of data as a result.


> Please don't top-post on this list.
> 
> Magic SysReq would probably have helped in those situations. ext3/4 only
> journal metadata by default, you can specify a mount option to also
> journal data but it impacts performance.

When X hangs and I lose the keyboard to the extent where neither Ctrl+Alt+F1, 
or Ctrl+Alt+Del would work, I will use ssh to connect remotely and stop the 
hanging process or restat the X server.  If ssh is also not working, I use the 
magic SysReq sequence to stop processes, sync the disks and reboot, or 
shutdown.  I don't recall losing data in such cases, although when I have time 
I run fsck with Live media just in case.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] daemon fox?

2019-11-17 Thread Mick
On Saturday, 16 November 2019 17:24:34 GMT Ian Zimmerman wrote:
> Is it possible to start firefox as a daemon, ie. without opening any
> windows, and later connect to it as needed to display URLs?  I have in
> mind something similar to "emacs --daemon".

Wouldn't such a behaviour have security implications?  Can you have a daemon 
spawning new window instances, but each one sandboxed separately?


> I had some hopes for "firefox --headless" but that doesn't do what I
> want: later "firefox $URL" will not connect to the running one but will
> start a new instance.

I think this is by design, but I am not well versed in the innards of FF.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] power button to shutdown for openrc?

2019-11-16 Thread Mick
On Saturday, 16 November 2019 09:34:02 GMT n952162 wrote:
> On 11/13/19 09:55, Mick wrote:
> > On Wednesday, 13 November 2019 06:48:11 GMT n952162 wrote:
> >> I've reinstalled gentoo from the gentoo repository and now my power
> >> button doesn't do a shutdown anymore.  What do I have to do to have it
> >> issue a shutdown?  This is an openrc system.
> >> 
> >> I have this, but it doesn't work:
> >> 
> >> $ cat  /etc/acpi/events/powerbtn
> >> event=button[ /]power.*
> >> action=/sbin/poweroff
> 
> Okay, I'm a bit further.
> 
> I have that file as well, but it doesn't do anything because another
> script in that same directory, "default", has this:
> 
> event=.*
> action=/etc/acpi/default.sh %e
> 
> //etc/acpi/default.sh /invokes /actions/powerbtn.sh/ which checks if the
> init program (process 1) is running with the name "openrc-init". 
> Otherwise, it's not interested.
> 
> Unfortunately, I have:
> 
> $ ps -p 1 -o comm=
> init
> 
> Question: when does the init program run under the name openrc-init?

It is not simply a matter of different names, but of different binaries.  As 
far as I understand it, the /sbin/init of sys-apps/sysvinit is used by openrc 
unless you have modified your system to use openrc-init (a different binary to 
/sbin/init) as explained here:

https://wiki.gentoo.org/wiki/OpenRC/openrc-init

I may have this wrong of course, but hopefully a more learned participant will 
chime in soon to explain it better to us.  :-)

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: eno1 became back eth0

2019-11-14 Thread Mick
On Thursday, 14 November 2019 23:17:16 GMT Daniel Frey wrote:

> I've also had interfaces randomly rename themselves (more than once.)
> The second time it happened I forced the old behaviour and haven't had
> any problems since... that was like six years ago now? (Or maybe more...)
> 
> Dan

+1, but I can't recall if it was a wireless or wired NIC which did this.  I 
suspected a changed kernel driver for the device caused the name change, but 
I'm not sure.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] power button to shutdown for openrc?

2019-11-13 Thread Mick
On Wednesday, 13 November 2019 09:58:31 GMT Philip Webb wrote:

> It's never sensible to simply press the power button
> or your filesystems will need to check themselves on next boot.

This very much depends on what pressing the power button does.  If acpi takes 
over it will flush any write caches, drop to the appropriate run level, 
remount the fs ro and shutdown the PC.  No fsck will then be required.  On the 
other hand, if the power button shuts down the OS cold, all sort of ill side 
effects like lost data can ensue and a fsck will be required.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] power button to shutdown for openrc?

2019-11-13 Thread Mick
On Wednesday, 13 November 2019 06:48:11 GMT n952162 wrote:
> I've reinstalled gentoo from the gentoo repository and now my power
> button doesn't do a shutdown anymore.  What do I have to do to have it
> issue a shutdown?  This is an openrc system.
> 
> I have this, but it doesn't work:
> 
> $ cat  /etc/acpi/events/powerbtn
> event=button[ /]power.*
> action=/sbin/poweroff

I don't have the above file, only /etc/acpi/events/default, which invokes '/
etc/acpi/default.sh' and that's all my systems need to shutdown gracefully 
when I press the power button.

NOTE:  I only press the power button momentarily.  If I press and keep pressed 
the power button for a few seconds, then the system powers off instantly 
without a graceful shutdown (a.k.a. I then will get a hard shutdown with no 
disk syncing or flushing of caches).


> On a different gentoo system I have, I have just the one line, the
> action line, in that file and the power-button works fine (whether
> there's causation there or not, I have no idea :-) )

Judging from my systems I don't think the file you are using is necessary, 
unless this is supposed to be a fix for some MoBos which do not work as 
expected.


> I generally do /not/ press the power button while in my window manager,
> but first when I've logged off.  Since that wasn't working, I tried
> inside my window manager ... I got a just a couple of lines that looked
> like they came from shutdown(), but too few (couldn't read them).
> 
> Then, on startup, the filesystems needed fscking!!!

Does the same thing happen if you run '/sbin/shutdown -h now' ?

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] where is /usr/portage?

2019-11-11 Thread Mick
On Monday, 11 November 2019 12:02:43 GMT Rich Freeman wrote:

> I also keep a /usr/portage symlink because I must be getting old.  :)
> Some tools also have that path hard-coded.

I wasn't aware of this - mine is just an empty directory with no symlink.  I 
haven't noticed any adverse effects so far.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] where is /usr/portage?

2019-11-11 Thread Mick
On Monday, 11 November 2019 13:00:20 GMT Dale wrote:
> Mickaël Bucas wrote:
> > Le lun. 11 nov. 2019 à 09:35, Mick  a écrit :
> >> On Monday, 11 November 2019 08:25:06 GMT n952162 wrote:
> >>> I re-installed gentoo from the minimal boot cd (amd64), re-emerged
> >>> everything from my old, saved world file, overnight, and its up and
> >>> running, more or less.  Then, I wanted to see what was available and
> >>> discovered, there's no /usr/portage directory! What did I do wrong?
> >> 
> >> Nothing.
> >> 
> >> /usr/portage has now moved to /var/db/repos/gentoo/.
> >> 
> >> /usr/portage/distfiles has moved to /var/cache/distfiles/
> >> 
> >> Portage will work fine with both legacy and new fs locations.
> >> --
> >> Regards,
> >> 
> >> Mick
> > 
> > My two systems are currently using the old locations.
> > Is there a documentation about the way to migrate to the new locations
> > without breaking things ?
> > The profile links comes to mind but other things are probably necessary !
> > 
> > Has anyone already done the migration ?
> > In this case do you have advices or warnings about it ?
> > 
> > Thanks
> > 
> > Best regards
> > Mickaël Bucas
> 
> Others have posted some good info but sometimes a example that is in use
> can help a lot.  Here's what is in my make.conf:
> 
> 
> root@fireball / # cat /etc/make.conf | grep var
> PORT_LOGDIR=/var/log/portage/
> source /var/lib/layman/make.conf
> DISTDIR="/var/cache/portage/distfiles/"
> PKGDIR="/var/cache/portage/packages"
> PORTDIR="/var/cache/portage/tree"
> root@fireball / #
> 
> 
> The last three are what you need to look at.  

... AND ...

the last thing (PORTDIR) is what you should no longer have specified in /etc/
portage/make.conf, but in /etc/portage/repos.conf/gentoo.conf:

$ grep location /etc/portage/repos.conf/gentoo.conf
#location = /usr/portage  <==legacy portage fs location
location = /var/db/repos/gentoo

HTH.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] visualise openrc initscript start order and dependency tree

2019-11-11 Thread Mick
On Monday, 11 November 2019 11:54:31 GMT Rich Freeman wrote:
> On Mon, Nov 11, 2019 at 5:38 AM Wols Lists  wrote:
>
> > Fact is, there are a lot of people out there who hate systemd because
> > it's been successful, and it's been successful because it sticks to the
> > nix philosophy of "do one thing, and do it well".
> 
> Now, THAT is a semi-trollish comment if I ever saw one.  :)

Well, the major criticism *against* systemd has been that it has been designed 
in an orthogonal direction to the *nix philosophy.  It tried from inception to 
do many things, building a monolithic stack primarily to facilitate quick and 
easy spinning of linux deployment in cloud technologies.


> That said, you could argue that the individual components of systemd
> do generally do one thing well.  I think the criticism is more in the
> packaging, and that the components mostly don't interchange with
> anything non-systemd.  Though as we can see from eudev/elogind and so
> on that isn't strictly the case.
> 
> I sometimes describe systemd as the anti-busybox.

Well, some systemd components can be taken as single applications and used 
separately from the whole systemd stack, that much is true.  However, (some) 
systemd devs are known for for being disrespectful towards the rest of the 
Linux ecosystem and making architectural decisions which break 
interoperability.  systemd has been gradually taking over more and more 
functions/services which reminds me of the old emacs joke:

 "... emacs is a fine operating system, in need of a good editor"


> But, I don't want to derail the thread entirely...

Sorry, I couldn't resist contributing!  :-)

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] where is /usr/portage?

2019-11-11 Thread Mick
On Monday, 11 November 2019 08:38:38 GMT you wrote:
> wishoo!   ;-)
> 
> Thank you.


You're welcome.  :-)  This page explains the new portage fs locations in more 
detail:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Files

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] where is /usr/portage?

2019-11-11 Thread Mick
On Monday, 11 November 2019 08:25:06 GMT n952162 wrote:
> I re-installed gentoo from the minimal boot cd (amd64), re-emerged
> everything from my old, saved world file, overnight, and its up and
> running, more or less.  Then, I wanted to see what was available and
> discovered, there's no /usr/portage directory! What did I do wrong?

Nothing.

/usr/portage has now moved to /var/db/repos/gentoo/.

/usr/portage/distfiles has moved to /var/cache/distfiles/

Portage will work fine with both legacy and new fs locations.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Imagemagick downgrade?

2019-11-10 Thread Mick
On Sunday, 10 November 2019 13:49:32 GMT Nikos Chantziaras wrote:
> On 10/11/2019 14:51, Mick wrote:
> > Having re-synced portage it now asks me to keyword media-gfx/
> > inkscape-1.0_beta1 and once I do, portage wants to downgrade media-gfx/
> > imagemagick from the installed 7.0.8.67 to 6.9.10.67.
> > 
> > I'm not sure why imagemagick is asking to be downgraded, or for that
> > matter
> 
> > why inkscape should be keyworded:
> inkscape-1.0_beta is in testing (~arch) so if your gentoo install is not
> ~arch, then you need to keyword it.
> 
> Also, it depends on:
> 
> 
> that is, a version lower then 7. That's why you need to downgrade to
> imagemagick 6.

Thanks Nikos, I am still confused if the tail is wagging the dog with this 
one.  It is a stable arch, so inkscape should stay stable and not asking me to 
keyword it, especially as its reverse dependency is stable at a higher 
version.  Consequently, imagemagick would stay at the latest stable version 
too.

Anyway, I removed imagemagick from the world file and now portage is no longer 
asking for either inkscape or imagemagick to be emerged.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Imagemagick downgrade?

2019-11-10 Thread Mick
Having re-synced portage it now asks me to keyword media-gfx/
inkscape-1.0_beta1 and once I do, portage wants to downgrade media-gfx/
imagemagick from the installed 7.0.8.67 to 6.9.10.67.

I'm not sure why imagemagick is asking to be downgraded, or for that matter 
why inkscape should be keyworded:

snip...

These are the packages that would be merged, in order:

Calculating dependencies... done!

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by @selected
# required by @world (argument)
=media-gfx/inkscape-1.0_beta1 ~amd64

Would you like to add these changes to your config files? [Yes/No] no

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

!!! All ebuilds that could satisfy "https://www.imagemagick.org/
 Description: A collection of tools and libraries for many image 
formats

$ eix -l inkscape
[U] media-gfx/inkscape
 Available versions:  
0.92.4^t[cdr dbus dia exif gnome imagemagick inkjar 
jpeg latex lcms nls openmp postscript spell static-libs visio wpg 
PYTHON_TARGETS="python2_7"] ["python_targets_python2_7"]
   (~)  1.0_beta1 ^t[cdr dbus dia exif gnome graphicsmagick 
imagemagick inkjar jemalloc jpeg lcms nls openmp postscript spell static-libs 
svg2 visio wpg PYTHON_SINGLE_TARGET="python3_5 python3_6 python3_7" 
PYTHON_TARGETS="python3_5 python3_6 python3_7"] ["^^ ( 
python_single_target_python3_5 python_single_target_python3_6 
python_single_target_python3_7 ) python_single_target_python3_5? ( 
python_targets_python3_5 ) python_single_target_python3_6? ( 
python_targets_python3_6 ) python_single_target_python3_7? ( 
python_targets_python3_7 )"]
 Installed versions:  0.92.4^t(10:16:19 14/10/19)(cdr dbus exif 
imagemagick jpeg lcms nls openmp postscript spell -dia -gnome -inkjar -latex -
static-libs -visio -wpg PYTHON_TARGETS="python2_7")
 Homepage:https://inkscape.org/
 Description: SVG based generic vector-drawing program


Am I misreading portage's output above?
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


  1   2   3   4   5   6   7   8   9   10   >