Re: Experiences with BTRFS -- is it mature enough for enterprise use?

2018-01-03 Thread deloptes
Pascal Hambourg wrote:

> How is it better than using an initramfs ?
> 
>>> By the way, if you compile md in the kernel, you should also compile all
>>> necessary host controller and disk drivers in. And expect failure with
>>> current drivers which do not guarantee that a given disk gets the same
>>> device name at each boot.
>> 
>> While your statement is true, I personally use UUID (/etc/fstab) and have
>> no problem with it at all.
> 
> The kernel cannot use UUIDs to mount the root filesystem. Using UUIDs
> requires an initramfs.


It is not about not using initramfs, it is about keep old things running.



Debian

2018-01-03 Thread luis godoy
No me dejan usar debian.


Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Michael Stone

On Wed, Jan 03, 2018 at 07:04:46PM -0600, David Wright wrote:

(In view of
https://lists.debian.org/debian-user/2018/01/msg00126.html
do you mean public?)


No, it's a pretty common shorthand to say "routable" to mean "routable 
on the public internet", especially where there's no real possibility of 
confusing it with specifically non-routable blocks like 127.0.0.0/8.  
Honestly, I considered it less likely to be confusing than calling them 
RFC1918 addresses in this context. 

As far as 169.254.0.0/16, it's defined as a link local range for address 
autoconfiguration, but it can still be routed internally just as much as 
the RFC1918 space can be. (Doing so just might not be a good idea, 
because some devices might code in some assumptions or add a zeroconf 
route by default. Which is annoying because the whole automatic zero 
knowledge IPv4 autoconfiguration thing is just a spectacularly bad idea 
anyway that typically causes far more trouble than it's worth. I guess 
it was useful back in the days when someone might want to connect two 
win98 machines together to copy a file without using a floppy disk but 
couldn't think of a reason they might want to use the internet.) IPv6 
has an entirely different (and more useful) concept of link local 
addresses. Some of the other reserved ranges can also be internally 
routed in practice, so trying to distinguish between "routable" and 
"non routable" for some meaning other than "not routable on the public 
internet" rapidly becomes a game of semantics and implementations.



But in that case, would https://www.whatismyip.com/ reveal an address
closer to the OP than whoever is providing *their* internet access?
(IOW does https://www.whatismyip.com/ ever yield a private address?)


No, it can't. It will show a public IP that connections from the web 
client to connect to that particular web site, not a private IP. In the 
case of a NAT environment there may be multiple different IPs in use, or 
there may be different IPs for different routes, but there's no reliable 
way to enumerate every possible IP you might be NATed to.


Back to the traceroute idea: it's fairly common for a residential 
endpoint to have a publically routable IP (usually on the router or 
"modem") but traceroute won't help identify that--instead, you'll see 
the private IP that the modem uses to communicate with the machine 
running traceroute.  (In general, traceroute will only show one of many 
IPs that a particular hop has.) So what you're getting from traceroute 
isn't going to be the IP you use when communicating with web sites, it's 
going to be the IP your router uses to communicate with you, then IPs 
associated with other routers along the way (some of which may also be 
using RFC1918 space, though it's more common these days for large 
providers to just pass around encapsulated traffic in a way that's 
opaque to traceroute, likely over IPv6). In theory another option for 
finding the public-side gateway IP is UPnP IGD or PCP, but I wouldn't 
expect those to work on any arbitrary network.


Mike Stone



Re: show searched packages including versions

2018-01-03 Thread Michael Stone

On Wed, Jan 03, 2018 at 07:17:11PM -0500, Felix Miata wrote:

Worse, I should have searched efoX-eSr, to make it clear one shouldn't need to
know a package's complete and exact basename including case


That part's easy--the case is lower...


How did *you* figure out to try apt-cache _pkgnames_ to get a search to include
packages' versions?


Well, that command doesn't show the version, and it only does a prefix 
search, not a substring search. It has a very specific intended purpose, 
and this doesn't really seem like the right use case.


Mike Stone



Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread rhkramer
On Wednesday, January 03, 2018 01:39:14 PM Michael Stone wrote:
> On Wed, Jan 03, 2018 at 10:36:32AM -0500, rhkra...@gmail.com wrote:
> >I've read in this thread) that traceroute may provide a way forward:
> In general, no. Many ISPs use RFC1918 space internally, so you need to
> skip an unknown number of hops before you get to a routeable IP, at
> which point you may or may not find an address that's assigned to the
> entity providing your internet access (as opposed to whoever is
> providing their internet access).

Ahh, ok, thanks!



Re: show searched packages including versions

2018-01-03 Thread David Wright
On Wed 03 Jan 2018 at 19:33:28 (-0500), bw wrote:
> 
> 
> On Wed, 3 Jan 2018, Felix Miata wrote:
> 
> > 
> > How did *you* figure out to try apt-cache _pkgnames_ to get a search to 
> > include
> > packages' versions?
> 
> well, see that's the thing.  In debian, kernel packagenames include 
> the arch and ver in them.  This wouldn't work for mc for instance or other 
> packages.
> 
> The criticism about the different apt commands is a good one.  I think the 
> idea is to merge some of them into just 'apt' but so far all we have is 
> show and search, shortcuts for apt-cache.

s/merge/include/

The reason some of us continue to use apt-foo and would like
continued support for them is that they are stable in what
they do and what they output.

This is not meant as a criticism of apt/aptitude, but because
it's difficult to script a moving target.

Cheers,
David.



Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread David Wright
On Wed 03 Jan 2018 at 13:39:14 (-0500), Michael Stone wrote:
> On Wed, Jan 03, 2018 at 10:36:32AM -0500, rhkra...@gmail.com wrote:
> >I've read in this thread) that traceroute may provide a way forward:
> 
> In general, no. Many ISPs use RFC1918 space internally, so you need
> to skip an unknown number of hops before you get to a routeable IP,

(In view of
https://lists.debian.org/debian-user/2018/01/msg00126.html
do you mean public?)

> at which point you may or may not find an address that's assigned to
> the entity providing your internet access (as opposed to whoever is
> providing their internet access).

But in that case, would https://www.whatismyip.com/ reveal an address
closer to the OP than whoever is providing *their* internet access?
(IOW does https://www.whatismyip.com/ ever yield a private address?)

My idea of using traceroute (the example illustrated the private
address "problem") was not offered to provide a "solution" to
the problem, but only to suggest some means by which the OP
might decide whether to try using a particular service. But
I have no idea why the OP doesn't just try the service to see
whether it is supported, rather than playing guessing games
in advance. And as I posted earlier, I have no idea where the
OP obtained the string home.telecomitalia.it from, and they
haven't yet told us.

Cheers,
David.



Re: show searched packages including versions

2018-01-03 Thread bw


On Wed, 3 Jan 2018, Felix Miata wrote:

> 
> How did *you* figure out to try apt-cache _pkgnames_ to get a search to 
> include
> packages' versions?

well, see that's the thing.  In debian, kernel packagenames include 
the arch and ver in them.  This wouldn't work for mc for instance or other 
packages.

The criticism about the different apt commands is a good one.  I think the 
idea is to merge some of them into just 'apt' but so far all we have is 
show and search, shortcuts for apt-cache.

here's a part of manpage for apt in stretch:

> list (work-in-progress)
>   list is somewhat similar to dpkg-query --list in that it can 
>   display a list of packages satisfying certain criteria. It 
>   supports glob(7) patterns for matching package names as well 
>   as options to list installed (--installed), upgradeable 
>   (--upgradeable) or all available (--all-versions) versions.
>
>   edit-sources (work-in-progress)
>   edit-sources lets you edit your sources.list(5) files in your 
>   preferred texteditor while also providing basic sanity checks.

I didn't think about using dpkg for your problem, but it's really amazing.



Re: show searched packages including versions

2018-01-03 Thread Felix Miata
bw composed on 2018-01-03 18:20 (UTC-0500):

> On Wed, 3 Jan 2018, Felix Miata wrote:

>> What command shows me the newest available linux-image version available
>> anywhere that's been configured in sources.list?

> Here's a quick try at answering your question.  I'm sure there are a 
> zillion ways to get the output arranged to your liking.  but really this 
> is what man pages are for.  Give it a try they don't bite.

>  apt-cache pkgnames linux-image

Thank you! Arrangement was a red herring.

> linux-image-4.9.0-4-rt-amd64
> linux-image-4.9.0-3-amd64
> ...

apt-cache provides all I really was looking for. More, as in the openSUSE repo
or installation status ouput in OP, would simply be gravy. It's obvious from the
thread responses received so far that I did a poor job describing what I want by
using the zypper output that I did.

Worse, I should have searched efoX-eSr, to make it clear one shouldn't need to
know a package's complete and exact basename including case. This, at least on
glance, rules out Michael Stone's apt-cache madison suggestion.

The problem is discovery. Apt isn't Apt, it's apt this, apt-that, apt-foo,
apt-bar, apt-baz, etc., even simply apt! What's the name of the doc that teaches
which apt variant has the power to please? How does anyone discover the logic
reaching a desired conclusion when the information desired (here: version) in
the one of the (multiple apt) dictionaries called man pages isn't even in it?
>From (Buster's) apt-cache:

pkgnames
This command prints the name of each package APT knows. The optional
argument is a prefix match to filter the name list. The output is
suitable for use in a shell tab complete function and the output is
generated extremely quickly. This command is best used with the
--generate option.

How did *you* figure out to try apt-cache _pkgnames_ to get a search to include
packages' versions?
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: show searched packages including versions

2018-01-03 Thread Michael Stone

On Wed, Jan 03, 2018 at 03:28:45PM -0500, Felix Miata wrote:

I've had no luck finding a way to search in Debian that lists versions along
with names. In openSUSE, this is somewhat simple to discover, as zypper includes
everything in one man page rather than having various names to learn along with
separate (or not) man pages, such as apt-cache, apt-get, apt-mark, apt-file,
apt-key, aptitude and dpkg. Generally my searches are seeking whether newer
version is yet available. ATM, the goal is finding whether mc-4.8.17 or older
can readily be replaced by the current version, mc-4.8.20. Output I would like
in a form similar to what follows (from openSUSE):

# zypper se -sx firefox-esr

S  | Name| Type   | Version  | Arch   | Repository
---+-++--++--
vl | firefox-esr | package| 52.5.3-1.1   | i586   | Mozilla131
vl | firefox-esr | package| 45.8.0-1.3   | i586   | MozillaLegacy
vl | firefox-esr | package| 38.8.0-1.22  | i586   | MozillaLegacy
vl | firefox-esr | package| 31.8.0-1.30  | i586   | MozillaLegacy
vl | firefox-esr | package| 17.0.11-1.49 | i586   | MozillaLegacy
vl | firefox-esr | package| 52.5.3-1.1   | i586   | Mozilla

Even better would show packages sorted first by version and skipping arch.

Can any similar output be provided in Debian? If yes, is there a config option
to make it default?


Try "apt-cache madison firefox-esr". It's also pretty simple to write a 
python script to tweak the exact output and parameters, something like:


import apt_pkg
import sys
import re

apt_pkg.init()
cache = apt_pkg.Cache()
for pkg in sorted(cache.packages):
   if re.search(sys.argv[1], pkg.name):
   for version in sorted(pkg.version_list):
   print("%s\t%s\t%s" % (pkg.name, pkg.architecture, version.ver_str))

Which would show something like:


/scratch/pyaptvers.py 'firefox-esr$'

Reading package lists... Done
Building dependency tree   
Reading state information... Done

firefox-esr amd64   52.5.0esr-1~deb9u1
firefox-esr amd64   52.5.2esr-1~deb9u1

Mike Stone



Re: show searched packages including versions

2018-01-03 Thread Felix Miata
Greg Wooledge composed on 2018-01-03 16:56 (UTC-0500):

> On Wed, Jan 03, 2018 at 04:51:13PM -0500, Felix Miata wrote:

>> apt-cache policy linux-image and apt-cache showpkg produce output that in no 
>> way
>> resembles my OP request (searches substring from complete package name; one 
>> line
>> per available package, including its version, source repo optional).

> In that case, I recommend "The C Programming Language" by Kernighan
> and Ritchie.  

Resembles != equals. I'm four decades past learning new languages.

In simple terms, I want a search to return complete package names, base package
name with version string appended. Anything more that fits on a single line is a
bonus. Anything that routinely makes individual results require more than ~80
characters is too verbose.

Another example:

$ grep RETT /etc/os-release
PRETTY_NAME="Mageia 6"
$ urpmq -y kernel-desk
kernel-desktop-4.9.35-1.mga6
kernel-desktop-4.9.40-1.mga6
kernel-desktop-4.9.43-1.mga6
kernel-desktop-4.9.50-1.mga6
kernel-desktop-4.9.56-1.mga6
kernel-desktop-devel-4.9.35-1.mga6
kernel-desktop-devel-4.9.40-1.mga6
kernel-desktop-devel-4.9.43-1.mga6
kernel-desktop-devel-4.9.50-1.mga6
kernel-desktop-devel-4.9.56-1.mga6
kernel-desktop-devel-latest
kernel-desktop-latest
vboxadditions-kernel-desktop-latest
virtualbox-kernel-desktop-latest
xtables-addons-kernel-desktop-latest
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Experiences with BTRFS -- is it mature enough for enterprise use?

2018-01-03 Thread Pascal Hambourg

Le 03/01/2018 à 00:52, deloptes a écrit :

Pascal Hambourg wrote:


Best for what ?


for booting of raid


How is it better than using an initramfs ?


By the way, if you compile md in the kernel, you should also compile all
necessary host controller and disk drivers in. And expect failure with
current drivers which do not guarantee that a given disk gets the same
device name at each boot.


While your statement is true, I personally use UUID (/etc/fstab) and have no
problem with it at all.


The kernel cannot use UUIDs to mount the root filesystem. Using UUIDs 
requires an initramfs.




Re: show searched packages including versions

2018-01-03 Thread Roberto C . Sánchez
On Wed, Jan 03, 2018 at 04:23:06PM -0500, Roberto C. Sánchez wrote:
> On Wed, Jan 03, 2018 at 04:15:51PM -0500, Felix Miata wrote:
> >   mc was bad example. Currently booted is Jessie. Installed kernels are 
> > 3.16 and
> > 4.8. What command shows me the newest available linux-image version 
> > available
> > anywhere that's been configured in sources.list?
> 
> Assuming you are on an amd64 system, then this:
> 
> apt-cache show linux-image-amd64
> 
> The package 'linux-image-amd64' is a meta package which always depend on
> the latest available linux-image-* package for the architecture (in this
> case, amd64).
> 
> If you are interested in knowing which repository in your sources.list
> has that package available, then you want this:
> 
> apt-cache policy linux-image-amd64
> 
You might also have a look at these commands:

root@debian:~# wajig describe linux-image-amd64
Package  Description
-===
linux-image-amd64Linux for 64-bit PCs (meta-package)


root@debian:~# wajig statusmatch linux-image
Package Installed   PreviousNow State
===-===-===-===-=
linux-image-4.14.0-2-amd64  N/A N/A 4.14.7-1
linux-image-4.14.0-2-amd64-dbg  N/A N/A 4.14.7-1
linux-image-4.14.0-2-rt-amd64   N/A N/A 4.14.7-1
linux-image-4.14.0-2-rt-amd64-dbg   N/A N/A 4.14.7-1
linux-image-4.9.0-4-grsec-amd64 N/A N/A 
4.9.65-2+grsecunoff1
linux-image-amd64   N/A N/A 4.14+88
linux-image-amd64-dbg   N/A N/A 4.14+88
linux-image-grsec-amd64 N/A N/A 13
linux-image-rt-amd64N/A N/A 4.14+88
linux-image-rt-amd64-dbgN/A N/A 4.14+88


If you look at the second command, it contains a substring that wajig
uses to match from the list of available package names.

It would like be very simple to modify wajig to provide the additional
bits of information you want.  It is written in Python and the code is
clean and easy to ready.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: show searched packages including versions

2018-01-03 Thread Greg Wooledge
On Wed, Jan 03, 2018 at 04:51:13PM -0500, Felix Miata wrote:
> apt-cache policy linux-image and apt-cache showpkg produce output that in no 
> way
> resembles my OP request (searches substring from complete package name; one 
> line
> per available package, including its version, source repo optional).

In that case, I recommend "The C Programming Language" by Kernighan
and Ritchie.



Re: show searched packages including versions

2018-01-03 Thread Felix Miata
Greg Wooledge composed on 2018-01-03 16:26 (UTC-0500):

> On Wed, Jan 03, 2018 at 04:15:51PM -0500, Felix Miata wrote:

>>   mc was bad example. Currently booted is Jessie. Installed kernels are 3.16 
>> and
>> 4.8. What command shows me the newest available linux-image version available
>> anywhere that's been configured in sources.list?

> For starters, I strongly recommend you stop treating Debian like Ubuntu.
> You're not *supposed* to have a billion package repositories. 
>

I don't do anything "like Buntu" intentionally on account of it. In fact:

$ grep ntu /etc/hosts
0.0.0.0 askubuntu.com
0.0.0.0 ubuntu.com
0.0.0.0 ubuntu.org

I don't like having *buntu/Canonical-speak polluting my browser history. :-D

> That said, you may be looking for "apt-cache policy". 

"policy is meant to help debug issues relating to the preferences file. With no
arguments it will print out the priorities of each source. Otherwise it prints
out detailed information about the priority selection of the named package."

apt-cache policy linux-image and apt-cache showpkg produce output that in no way
resembles my OP request (searches substring from complete package name; one line
per available package, including its version, source repo optional).
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: show searched packages including versions

2018-01-03 Thread Greg Wooledge
On Wed, Jan 03, 2018 at 04:15:51PM -0500, Felix Miata wrote:
>   mc was bad example. Currently booted is Jessie. Installed kernels are 3.16 
> and
> 4.8. What command shows me the newest available linux-image version available
> anywhere that's been configured in sources.list?

For starters, I strongly recommend you stop treating Debian like Ubuntu.
You're not *supposed* to have a billion package repositories.

That said, you may be looking for "apt-cache policy".



Re: show searched packages including versions

2018-01-03 Thread Roberto C . Sánchez
On Wed, Jan 03, 2018 at 04:15:51PM -0500, Felix Miata wrote:
>   mc was bad example. Currently booted is Jessie. Installed kernels are 3.16 
> and
> 4.8. What command shows me the newest available linux-image version available
> anywhere that's been configured in sources.list?

Assuming you are on an amd64 system, then this:

apt-cache show linux-image-amd64

The package 'linux-image-amd64' is a meta package which always depend on
the latest available linux-image-* package for the architecture (in this
case, amd64).

If you are interested in knowing which repository in your sources.list
has that package available, then you want this:

apt-cache policy linux-image-amd64

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: show searched packages including versions

2018-01-03 Thread Felix Miata
bw composed on 2018-01-03 15:50 (UTC-0500):

> On Wed, 3 Jan 2018, Felix Miata wrote:

>> I've had no luck finding a way to search in Debian that lists versions along
>> with names. In openSUSE, this is somewhat simple to discover, as zypper 
>> includes
>> everything in one man page rather than having various names to learn along 
>> with
>> separate (or not) man pages, such as apt-cache, apt-get, apt-mark, apt-file,
>> apt-key, aptitude and dpkg. Generally my searches are seeking whether newer
>> version is yet available. ATM, the goal is finding whether mc-4.8.17 or older
>> can readily be replaced by the current version, mc-4.8.20. Output I would 
>> like
>> in a form similar to what follows (from openSUSE):

>> # zypper se -sx firefox-esr

>> S  | Name| Type   | Version  | Arch   | Repository
>> ---+-++--++--
>> vl | firefox-esr | package| 52.5.3-1.1   | i586   | Mozilla131
>> vl | firefox-esr | package| 45.8.0-1.3   | i586   | MozillaLegacy
>> vl | firefox-esr | package| 38.8.0-1.22  | i586   | MozillaLegacy
>> vl | firefox-esr | package| 31.8.0-1.30  | i586   | MozillaLegacy
>> vl | firefox-esr | package| 17.0.11-1.49 | i586   | MozillaLegacy
>> vl | firefox-esr | package| 52.5.3-1.1   | i586   | Mozilla

>> Even better would show packages sorted first by version and skipping arch.

>> Can any similar output be provided in Debian? If yes, is there a config 
>> option
>> to make it default?

> I don't expect any newer version of mc to be available on stretch, ever.  
> You can see the current stable with apt show mc.  If I wanted to see 
> versions of it in all releases, including backports, testing and 
> unstable, I would go to https://packages.debian.org/mc this works for all 
> packages.  I would never use another version with stable, except 
> stable-backports.
  mc was bad example. Currently booted is Jessie. Installed kernels are 3.16 and
4.8. What command shows me the newest available linux-image version available
anywhere that's been configured in sources.list?
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[Stable/AMD64] Changing gdm background

2018-01-03 Thread Leandro Noferini
Ciao a tutti,

I would like to change the default background of gdm login screen on my
laptop (to put into my contacts); I looked for a solution but none of my
findings worked: is there a way to change this background that actually
works?

-- 
Ciao
leandro
http://6xukrlqedfabdjrb.onion/blog/
Alla bellezza preferisco la verità.
E il dubbio è l'unità di misura.


signature.asc
Description: PGP signature


show searched packages including versions

2018-01-03 Thread Felix Miata
I've had no luck finding a way to search in Debian that lists versions along
with names. In openSUSE, this is somewhat simple to discover, as zypper includes
everything in one man page rather than having various names to learn along with
separate (or not) man pages, such as apt-cache, apt-get, apt-mark, apt-file,
apt-key, aptitude and dpkg. Generally my searches are seeking whether newer
version is yet available. ATM, the goal is finding whether mc-4.8.17 or older
can readily be replaced by the current version, mc-4.8.20. Output I would like
in a form similar to what follows (from openSUSE):

# zypper se -sx firefox-esr

S  | Name| Type   | Version  | Arch   | Repository
---+-++--++--
vl | firefox-esr | package| 52.5.3-1.1   | i586   | Mozilla131
vl | firefox-esr | package| 45.8.0-1.3   | i586   | MozillaLegacy
vl | firefox-esr | package| 38.8.0-1.22  | i586   | MozillaLegacy
vl | firefox-esr | package| 31.8.0-1.30  | i586   | MozillaLegacy
vl | firefox-esr | package| 17.0.11-1.49 | i586   | MozillaLegacy
vl | firefox-esr | package| 52.5.3-1.1   | i586   | Mozilla

Even better would show packages sorted first by version and skipping arch.

Can any similar output be provided in Debian? If yes, is there a config option
to make it default?
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Tool to examine/modify .avi and .mov files

2018-01-03 Thread Jeroen Mathon
After a simple Google search i found a thread which seems to cover your
question: https://ubuntuforums.org/showthread.php?t=1193808

On 01/03/2018 07:40 PM, deloptes wrote:
> Steve Keller wrote:
>
>> I often use jhead to examine EXIF headers in JPG files from my digital
>> camera and I also use jhead to fix EXIF time stamps in those files.
>>
>> But what I'm looking for is an equivalent tool for AVI and MOV movie files
>> which I also get from my cameras.  Most important would be to be able to
>> change the time stamps in these files.
>>
>> Using aptitude search I haven't found anything to do this.
>>
>>
>> Using strings -a on those files, I see usually three identical strings of
>> the
>> format :MM:DD HH:MM:SS.  I could write a simple tool to overwrite
>> these strings with the desired time stamp, but I don't know enough about
>> the file formats to be sure not to corrupt the file, e.g. because of
>> checksums or other items in the file that need to be changed too.
>>
>> Steve
> strange cause I just googled and found avifix - in the transcode-utils there
> is much more - just look into it. It is part of the debian multimedia
> packages http://www.deb-multimedia.org
>
> $ apt-cache search avifix
> transcode-utils - Utility to encode raw video/audio streams
>
>




signature.asc
Description: OpenPGP digital signature


Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Pascal Hambourg

Le 03/01/2018 à 03:19, David Wright a écrit :


For example, and sticking to unroutable addresses, they
might be on 192.168.… in one place, 10.… in another etc.


Private addresses are routable. They are just not routed over the public 
internet. Link local addresses (169.254.0.0/16) are not routable.




Re: Optimisation utilisations CPUs et RAM avec virtualbox

2018-01-03 Thread Étienne Mollier
On 01/01/2018 05:07 PM, zulian wrote:
> Bonjour,

Bonjour Frédéric,

> Le contexte :
> Debian testing, xfce4,
> Noyau : 4.14.0-2-rt-amd64
> Virtualbox avec windows serveur 2016, kali avec X, windows
> serveur 2012, win 10, Debian sans X.
>
> CPU : AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G
> Ram : 20 Go ddr3 1600
>
> Free donne :
> total   used free  shared  buff/cache available
>  20500080   11518772  4784744  175460 4196564   8587604
>
> Swap:  totalused free
>  9921532  139008  9782524
>
> L'ensemble du système et les OS virtuels fonctionnent mais sont
> très ralentis.
>
> htop me dit que les 2 premiers coeurs ne fonctionnent qu'à30 à
> 40 %.  Les deux autres coeurs alternent entre 40 et 100 %
> d'utilisation.
>
> Comment avoir une utilisation optimale des 4 coeurs ?

Cela dépend bien plus de votre usage des machines virtuelles
Windows que de la configuration de votre hyperviseur Debian.
Si les quatre machines sont utilisées avec la même intensité, la
charge sur les quatre cœurs sera à peu près égale, si certaines
machines ne sont pas utilisées, les autres n'iront pas déborder
d'elles même sur les cycles CPU de disponible; à moins que
Virtualbox ait changé, ça fait longtemps que je ne m'en suis plus
servi, je préfère utiliser KVM avec virt-manager.

Vous êtes probablement également très ralenti par les accès
disques.  J'ai entendu dire que Windows démarrait l'usage de la
swap quasi instantanément pour que le système donne moins la
sensation de bloquer complètement lorsque l'usage de la swap est
enfin effectivement nécessaire, mais je peux me tromper.

Si vous en avez la possibilité, essayez de mettre les divers
hôtes sur des disques différents.  De ce point de vue, votre
question suivante est pertinente.

> Pourquoi le système utilise t-il la swap alors qu'il y a encore
> de la RAM de disponible ?

Par défaut, Linux déclenche la swap à peu près à usage de la
moitié de la RAM.  Ici vous en êtes à 56%.

Un paramètre noyau permet de gérer à partir de quel seuil la
machine se met à swapper.  Vous pouvez consulter sa valeur comme
suit :

$ cat /proc/sys/vm/swappiness
60

Vous pouvez changer cette valeur comme suit pour réduire le seuil
de mémoire disponible en dessous duquel la swap se déclenche, ici
quand l'espace disponible descend à peu près en dessous de 10% :

# echo 10 > /proc/sys/vm/swappiness

Pour faire en sorte que votre changement survive au prochain
redémarrage, vous pouvez ajouter la ligne suivante dans votre
fichier /etc/sysctl.conf :

vm.swappiness = 10

Le paramètres est, trop succinctement, décrit dans la
documentation de Linux.  Vous pouvez rechercher la section
« swappiness » dans le document ci-dessous :


https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/Documentation/sysctl/vm.txt?h=v4.14.11

> Des idées ?

...mais pas de pétrole.

> Bonne année

Bonne année,
-- 
Étienne Mollier 




Re: How to relocate LVM pv to make room for grub install

2018-01-03 Thread Pascal Hambourg

Le 03/01/2018 à 09:10, Tom Dial a écrit :

On 01/02/2018 11:14 AM, Pascal Hambourg wrote:


This is one of the many possible plans.


But it is uncomplicated and simple to execute using available or easily
obtained tools. The total outage time was around 2 hours and, as pointed
out below, could have been much less if I had moved only the partitions
on the current boot disk.


IMO, moving partitions is complicated, tedious, and dangerous. I avoid 
doing it as much as possible.
Complicated because it requires running Gparted, in a graphic 
environment, without the partition being in use.
Tedious because it requires moving (=reading and writing) each data 
block around, which can take a long time with big partitions.
Dangerous because if anything interrupts the process before completion 
(system crash, power loss, or maybe even read/write error), the 
partition and its contents is lost.


This is why I suggested alternatives.


Overall, it went fairly well, and in particular, there were no boot
issues or data corruption. The only issue is that the first partition on
the boot drive was resized, but the PV it contains apparently was not,
so now is larger than the partition.


This is not good. The partition should not have been reduced. If it had 
happened to a plain ext4 partition without reducing the filesystem 
first, the kernel would refust to mount it.
You can try to resize the PV with pvresize, in hope that the missing 
extents were not allocated to any LV.



I suspect this happened because the
PV was fully allocated to LVs. It has not caused any apparent problems,
probably because the file systems on the LVs are not very full. I will
need to fix it, though.


If the PV was fully allocated, then I'm afraid you experience trouble 
sooner or later. You can check with pvdisplay.




Re: GRUB and boot partition

2018-01-03 Thread David Christensen

On 01/03/18 06:45, Gary Dale wrote:

On 2018-01-02 02:35 PM, Pascal Hambourg wrote:


Encryption does not require extra space (except for header and 
block padding). Encrypted data have the same size of cleartext data.


+1


Encryption is similar in concept to compression. 


AFAIK common use on Debian systems:

1.  Encryption functions [1] are reversible functions that transform 
data 1:1 in size, and are lossless.


2.  Compression functions [2] are reversible functions that strive for 
size ratios of N:1, where N > 1 (uncompressed:compressed), and can be 
lossless or lossly.



A related topic is hashing functions [3] (N:fixed, can be difficult to 
reverse).




It could even reduce the space requirements.


I'm curious -- can you cite a compressing cipher code that cannot be 
reduced to independent compression and cipher functions?




Encryption and compression both work by replacing strings of letters with 
something else.


I agree that encryption and compression are both forms of coding [4].


Encryption and compression both work by replacing strings of letters 
with something else. What we call clear text, for example, is just a  > Caesar cipher where each letter is replaced by a number (its ASCII code
or unicode). 


ASCII [5] is a transliteration code -- replace a token from one alphabet 
(Roman letters, Arabic numerals, common English symbols, etc.) with a 
token from another alphabet (7-bit binary number).  Spelling, grammar, 
and meaning are unchanged.



The goal of a substitution cipher is to conceal meaning, and can be done 
without changing alphabets (e.g. rot13 [6]).  Spelling and grammar are 
unchanged (which facilitates cryptanalysis).



Morse code, on the other hand, replaces common letters with 
shorter sequences of dots and dashes than less common letters.


I agree that Morse Code [7] uses frequency-based techniques.


David


References:

[1] https://en.wikipedia.org/wiki/Encryption

[2] https://en.wikipedia.org/wiki/Data_compression

[3] https://en.wikipedia.org/wiki/Hash_function

[4] https://en.wikipedia.org/wiki/Code

[5] https://en.wikipedia.org/wiki/ASCII

[6] https://en.wikipedia.org/wiki/ROT13

[7] https://en.wikipedia.org/wiki/Morse_code



Re: problème de syntaxe avec un script shell

2018-01-03 Thread Sébastien NOBILI
Bonjour,

Le vendredi 29 décembre 2017 à 14:44, Daniel Caillibaud a écrit :
> Ça répond pas vraiment à la question, mais je trouve que mettre un pass
> sudo dans un script est une très mauvaise idée (ça revient à laisser
> traîner un accès root à un user +/- lambda, et à donner l'accès au compte
> de ce user à tous ceux qui peuvent lire ce script).

Tout d’accord avec ça.

> Il vaut mieux lister les commandes que ce user peut lancer dans
> un /etc/sudoers.d/userBidule (le mieux étant de lui préparer qq scripts,
> qu'il ne peut pas modifier, pour être sûr que ça ne fera que ce qu'il y a
> dans ces scripts, car lui donner les droits complets sur apt ou un autre
> binaire d'admin peut être inutilement risqué).
> 
> Par ex dans /home/bin/upgrade.sh (exécutable par le user mais pas
> modifiable) du
> 
> apt-get update
> apt-get upgrade -y
> 
> et dans /etc/sudoers.d/userBidule
> 
> Cmnd_Alias C_ADM=/home/bin/upgrade.sh,/home/bin/autreScript.sh
> userBidule ALL = (root) NOPASSWD:C_ADM

On peut aussi mettre des commandes avec arguments dans le fichier sudoers, ça
évite l’étape script (qui peut malgré tout être utile là puisqu’elle permettra
d’enchaîner les commandes) :

Cmnd_Alias C_ADM=/usr/bin/apt-get update,/usr/bin/apt-get upgrade -y
userBidule ALL = (root) NOPASSWD:C_ADM

Sébastien



Re: Tool to examine/modify .avi and .mov files

2018-01-03 Thread deloptes
Steve Keller wrote:

> I often use jhead to examine EXIF headers in JPG files from my digital
> camera and I also use jhead to fix EXIF time stamps in those files.
> 
> But what I'm looking for is an equivalent tool for AVI and MOV movie files
> which I also get from my cameras.  Most important would be to be able to
> change the time stamps in these files.
> 
> Using aptitude search I haven't found anything to do this.
> 
> 
> Using strings -a on those files, I see usually three identical strings of
> the
> format :MM:DD HH:MM:SS.  I could write a simple tool to overwrite
> these strings with the desired time stamp, but I don't know enough about
> the file formats to be sure not to corrupt the file, e.g. because of
> checksums or other items in the file that need to be changed too.
> 
> Steve

strange cause I just googled and found avifix - in the transcode-utils there
is much more - just look into it. It is part of the debian multimedia
packages http://www.deb-multimedia.org

$ apt-cache search avifix
transcode-utils - Utility to encode raw video/audio streams




Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Michael Stone

On Wed, Jan 03, 2018 at 10:36:32AM -0500, rhkra...@gmail.com wrote:

I've read in this thread) that traceroute may provide a way forward:


In general, no. Many ISPs use RFC1918 space internally, so you need to 
skip an unknown number of hops before you get to a routeable IP, at 
which point you may or may not find an address that's assigned to the 
entity providing your internet access (as opposed to whoever is 
providing their internet access).


Mike Stone



Re: Problemas para reconhecer o celular.

2018-01-03 Thread Linux - Junior Polegato

Em 03-01-2018 07:57, Luiz Carlos escreveu:
Eu queria fazer um recovery no meu celular e reinstalar a rom, 
acontece que o celular nem reconhece, quando mando um dmesg dá isso daqui:

[11575.150610] usb 1-5: new high-speed USB device number 8 using xhci_hcd
[11575.318858] usb 1-5: device descriptor read/all, error -71
[11575.446620] usb 1-5: new high-speed USB device number 9 using xhci_hcd
[11575.618856] usb 1-5: device descriptor read/all, error -71
[11575.618927] usb usb1-port5: attempt power cycle
[11576.270633] usb 1-5: new high-speed USB device number 10 using xhci_hcd
[11576.298872] usb 1-5: device descriptor read/8, error -71
Alguém passou por algo assim? Tem uma solução pra resolver isso?


Olá!

        Tenho um note Dell insiron 14 que tem duas portas USB, a da 
direita reconhece o mouse de primeira em low-speed, mas a da esquerda 
não reconhece quando de primeira dá high-speed, às vezes retorna esse 
erro quando reconhece em full-speed, às vezes muda ou reconhece em 
low-speed, aí pelo que percebi é problema de conexão, porta USB com 
problema na soldagem na placa mãe, cabo com mal contato ou quebrado, 
cabo ruim/fino, coisas do tipo, aí não sincroniza...


        Veja com a porta USB da direita (sempre funciona o mouse):

[10380.221877] usb 1-2: new low-speed USB device number 16 using xhci_hcd
[10380.376803] usb 1-2: New USB device found, idVendor=0101, idProduct=0007
[10380.376808] usb 1-2: New USB device strings: Mfr=0, Product=1, 
SerialNumber=0

[10380.376810] usb 1-2: Product: USB OPTICAL MOUSE
[10380.379534] input: USB OPTICAL MOUSE  as 
/devices/pci:00/:00:14.0/usb1/1-2/1-2:1.0/0003:0101:0007.000A/input/input25
[10380.379778] hid-generic 0003:0101:0007.000A: input,hidraw0: USB HID 
v1.11 Mouse [USB OPTICAL MOUSE ] on usb-:00:14.0-2/input0



        Veja agora com a porta da esquerda quando tenta sincronismo em 
full-speed, dá erro de leitura, cai pra low-speed e então reconhece o mouse:


[10525.432550] usb 1-1: new full-speed USB device number 33 using xhci_hcd
[10525.560554] usb 1-1: device descriptor read/64, error -71
[10525.796567] usb 1-1: device descriptor read/64, error -71
[10526.032563] usb 1-1: new low-speed USB device number 34 using xhci_hcd
[10526.183307] usb 1-1: New USB device found, idVendor=0101, idProduct=0007
[10526.183310] usb 1-1: New USB device strings: Mfr=0, Product=1, 
SerialNumber=0

[10526.183312] usb 1-1: Product: USB OPTICAL MOUSE
[10526.185575] input: USB OPTICAL MOUSE  as 
/devices/pci:00/:00:14.0/usb1/1-1/1-1:1.0/0003:0101:0007.000F/input/input30
[10526.185700] hid-generic 0003:0101:0007.000F: input,hidraw0: USB HID 
v1.11 Mouse [USB OPTICAL MOUSE ] on usb-:00:14.0-1/input0


        Não consegui agora capturar o erro quando dá high-speed e então 
não rola, mas é bem semelhante ao seu problema...


        Portanto tenta trocar de porta, trocar de cabo, mexer/forçar a 
conexão com a USB e com o aparelho e veja se colhe algum resultado...



--

[]'s

Junior Polegato



Tool to examine/modify .avi and .mov files

2018-01-03 Thread Steve Keller
I often use jhead to examine EXIF headers in JPG files from my digital camera
and I also use jhead to fix EXIF time stamps in those files.

But what I'm looking for is an equivalent tool for AVI and MOV movie files
which I also get from my cameras.  Most important would be to be able to change
the time stamps in these files.

Using aptitude search I haven't found anything to do this.


Using strings -a on those files, I see usually three identical strings of the
format :MM:DD HH:MM:SS.  I could write a simple tool to overwrite these
strings with the desired time stamp, but I don't know enough about the file
formats to be sure not to corrupt the file, e.g. because of checksums or other
items in the file that need to be changed too.

Steve



Re: LVM: how to avoid scanning all devices

2018-01-03 Thread Steve Keller
On Wed, Dec 20, 2017 at 02:17:59PM +1100, Igor Cicimov wrote:
 
> Look at filter examples in /etc/lvm/lvm.conf
 
That's not what I'm looking for.  I *do* have LVM physical and logical
volumes on most of my drives, e.g. a volume group on my backup drive.
And I want an explicit call to vgscan to find all these volumes.
Therefore a filter excluding these device is not the solution.

But I dislike all my drives spinning up and having to wait for that when I
simply call vgdisplay vg0 to see how much space is left in my primary volume
group with /, /usr, /var and /home file systems, which are active all time.

Steve



Re: ZFS legacy mount fails

2018-01-03 Thread Илья Валеев
Thanks for your help. At this time I stay with non-legacy mountpoint,
but still interesting what is going wrong.

03.01.2018 21:28, Neo пишет:
> a quick google gave me this:
> 
> https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS
> 
> HTH
> 
> 
> Am 03.01.2018 um 17:08 schrieb Илья Валеев:
>> How can I check this? According log spl and zfs modules loaded before
>> this error, and nothing about loaded driver in initrd
>>
>> 03.01.2018 20:37, Neo пишет:
>>> no driver in the initrd and/or kernel module not yet loaded?
>>>
>>>
>>> Am 03.01.2018 um 16:26 schrieb Илья Валеев:
 Hello!

 I'm trying to mount ZFS dataset with /etc/fstab file. Added string
 in it:

 doublediskpool/systemlog /mnt zfs relatime,defaults 0 2

 Rebooted, and system fails to boot. In boot log I see that spl and zfs
 modules loaded, than:

 systemd[1]: mnt.mount: Mount process exited, code=exited status=1
 systemd[1]: Failes to mount /mnt.

 After this zfs.target successfully starts, and system fall into
 emergency mode.
 Tryed to add in [Install] section of /lib/systemd/system/zfs.target
 such
 string:

 Before=local-fs.target

 but it does not help.
 If I enter command (that systemd fail to execute) in emergency mode or
 booted system:

 # mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults

 than mount executed successfully.

 Nothing changes if I set another mountpoint.

 How this can be fixed?
 Debian 9 with last updates.
 Thanks!

> 

-- 
Идентификатор открытого ключа: 1D38C8C9
Отпечаток: 6210 01B6 A34E E490 A9E4  87DD 841D 0ABE 1D38 C8C9



Re: ZFS legacy mount fails

2018-01-03 Thread Илья Валеев


03.01.2018 21:42, Dan Ritter пишет:
> On Wed, Jan 03, 2018 at 08:26:45PM +0500, Илья Валеев wrote:
>> Hello!
>>
>> I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:
>>
>> doublediskpool/systemlog /mnt zfs relatime,defaults 0 2
>>
>> Rebooted, and system fails to boot. In boot log I see that spl and zfs
>> modules loaded, than:
>>
>> systemd[1]: mnt.mount: Mount process exited, code=exited status=1
>> systemd[1]: Failes to mount /mnt.
>>
>> After this zfs.target successfully starts, and system fall into
>> emergency mode.
>> Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
>> string:
>>
>> Before=local-fs.target
>>
>> but it does not help.
>> If I enter command (that systemd fail to execute) in emergency mode or
>> booted system:
>>
>> # mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults
>>
>> than mount executed successfully.
>>
>> Nothing changes if I set another mountpoint.
>>
>> How this can be fixed?
> 
> What does
> 
> zfs get mountpoint doublediskpool/systemlog
> 
> tell you?
> 
> If it doesn't say /mnt as the value, try
> 
> zfs set mountpoint doublediskpool/systemlog /mnt
> 
> -dsr-
> 

Anyway, it works with overlay=on property, but I want to know how to
mount datasets with legacy mountpoint.



Re: Out of root partition space

2018-01-03 Thread Joe Pfeiffer
Sarah Johnson  writes:

> Hi,
> I ran out of root partition disk space and can't install or remove any more 
> packages or even login gui window manager anymore
>
> i spent few good hours researching for solutions and found that i can resize 
> root and home partitions using resize2fs and lvresize tools but they are
> not even installed on my system
>
> so is it safe to resize debian root and other partitions using windows 
> machine partitioning tool ?
> knowing that my debian installation is on a USB stick

No.  MS tools don't understand Linux filesystems.

By any chance is your /var/cache/apt/archives/ on your root partition?
If so, you can remove all the .deb files from that directory to free up
some space so you can install some repartitioning tools.



Re: ZFS legacy mount fails

2018-01-03 Thread Илья Валеев
03.01.2018 21:42, Dan Ritter пишет:
> On Wed, Jan 03, 2018 at 08:26:45PM +0500, Илья Валеев wrote:
>> Hello!
>>
>> I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:
>>
>> doublediskpool/systemlog /mnt zfs relatime,defaults 0 2
>>
>> Rebooted, and system fails to boot. In boot log I see that spl and zfs
>> modules loaded, than:
>>
>> systemd[1]: mnt.mount: Mount process exited, code=exited status=1
>> systemd[1]: Failes to mount /mnt.
>>
>> After this zfs.target successfully starts, and system fall into
>> emergency mode.
>> Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
>> string:
>>
>> Before=local-fs.target
>>
>> but it does not help.
>> If I enter command (that systemd fail to execute) in emergency mode or
>> booted system:
>>
>> # mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults
>>
>> than mount executed successfully.
>>
>> Nothing changes if I set another mountpoint.
>>
>> How this can be fixed?
> 
> What does
> 
> zfs get mountpoint doublediskpool/systemlog
> 
> tell you?
> 
> If it doesn't say /mnt as the value, try
> 
> zfs set mountpoint doublediskpool/systemlog /mnt
> 
> -dsr-
> 

# zfs get mountpoint doublediskpool/systemlog
NAME  PROPERTYVALUE   SOURCE
doublediskpool/systemlog  mountpoint  legacy  local

For empty /mnt folder it works, yes. What if I want to mount it to
/var/log? It will return error than mountpoint is not empty.



Re: update-grub: how to avoid scanning all devices

2018-01-03 Thread Steve Keller
On 15 Dec 2017 at 13:42, Brian  wrote:

> Purge os-prober.

Thanks, that's exactly what I was looking for.

Steve



Re: (solved) Re: need help on wheezy installation

2018-01-03 Thread Curt
On 2018-01-03, David Wright  wrote:
>
> I think you quoted some text from ?kernel documentation, and
> presumably agreed with it. I can't see what the fuss is about.
> The first line of this post says "David Christensen wrote:".
> Should I change it to "David Christensen posted:"? I had
> assumed that we conventionally wrote the second when we meant
> the first.

Or vice-versa.

There is or was a member of this forum (whose Gallic-sounding name
rather escapes me--was it Stéphane Monnier?) who systematically
eliminates the attributions from his posts--well, at least the top-level
attribution. Actually I believe he's a severe trimmer, so in my memory there is
rarely if ever anything but a top-level attribution to eliminate. 

But then he takes care to sign *his* name at the bottom.

Go figure.

This irritated me to the point where I was going to ask him here why he
eliminated the name of the poster to which he was responding while
making a point of signing nominatively his own articles, but I didn't
because I'm striving to be a mature individual.


> Cheers,
> David.
>
>


-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell



Re: ZFS legacy mount fails

2018-01-03 Thread Neo

a quick google gave me this:

https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS

HTH


Am 03.01.2018 um 17:08 schrieb Илья Валеев:

How can I check this? According log spl and zfs modules loaded before
this error, and nothing about loaded driver in initrd

03.01.2018 20:37, Neo пишет:

no driver in the initrd and/or kernel module not yet loaded?


Am 03.01.2018 um 16:26 schrieb Илья Валеев:

Hello!

I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:

doublediskpool/systemlog /mnt zfs relatime,defaults 0 2

Rebooted, and system fails to boot. In boot log I see that spl and zfs
modules loaded, than:

systemd[1]: mnt.mount: Mount process exited, code=exited status=1
systemd[1]: Failes to mount /mnt.

After this zfs.target successfully starts, and system fall into
emergency mode.
Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
string:

Before=local-fs.target

but it does not help.
If I enter command (that systemd fail to execute) in emergency mode or
booted system:

# mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults

than mount executed successfully.

Nothing changes if I set another mountpoint.

How this can be fixed?
Debian 9 with last updates.
Thanks!





Re: ZFS legacy mount fails

2018-01-03 Thread Dan Ritter
On Wed, Jan 03, 2018 at 08:26:45PM +0500, Илья Валеев wrote:
> Hello!
> 
> I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:
> 
> doublediskpool/systemlog /mnt zfs relatime,defaults 0 2
> 
> Rebooted, and system fails to boot. In boot log I see that spl and zfs
> modules loaded, than:
> 
> systemd[1]: mnt.mount: Mount process exited, code=exited status=1
> systemd[1]: Failes to mount /mnt.
> 
> After this zfs.target successfully starts, and system fall into
> emergency mode.
> Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
> string:
> 
> Before=local-fs.target
> 
> but it does not help.
> If I enter command (that systemd fail to execute) in emergency mode or
> booted system:
> 
> # mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults
> 
> than mount executed successfully.
> 
> Nothing changes if I set another mountpoint.
> 
> How this can be fixed?

What does

zfs get mountpoint doublediskpool/systemlog

tell you?

If it doesn't say /mnt as the value, try

zfs set mountpoint doublediskpool/systemlog /mnt

-dsr-



Re: creador de discos usb de arranque

2018-01-03 Thread Marcelo P. Llanos C.
como root:

# cp debian.iso /dev/sdX# sync


(sdX -> es el usb que has insertado)

https://www.debian.org/releases/wheezy/i386/ch04s03.html.en


El 18 de diciembre de 2017, 0:50, CruxoM  escribió:

> El sábado, 16 de diciembre de 2017 05:43:05 -03 Polo Oyarzún escribió:
> > Hola Buenas.
> > ¿Hay algún creador de discos de arranque como el que tienen linux-mint y
> > ubuntu pero en debian?. Probablemente si y sea el mismo pero por synaptic
> > no lo encuentro ¿saben el nombre de ese paquete?
> >
> > Gracias
>
> Como root:
>
> dd if=imagen.iso of=/dev/sdb <-- o la dirección usb que corresponda
>
> y listo...!!!
>
> Saludos.
>
> --
> CruxoM [a.k.a. Omar Murray]
> crux@gmail.com
> JID: c...@jabber.freenet.de
> ICQ: 711672117
> http://mysteriouswaystg.blogspot.com
> *
> Powered by KDE Neon - Kernel 4.10.0
>
>
>


Re: (solved) Re: need help on wheezy installation

2018-01-03 Thread David Wright
On Tue 02 Jan 2018 at 23:38:28 (-0800), David Christensen wrote:
> On 01/02/18 15:47, Long Wind wrote:
> >Thank Richard and David!
> >
> > On Tuesday, January 2, 2018 5:58 PM, David Christensen 
> >  wrote:
> >
> >  On 01/02/18 13:14, Long Wind wrote:
> >>i often use installation from hard diskit means downloading a iso image and 
> >>booting installerbut iso images have been removed from many mirrors
> >
> >Have you looked in the archives?
> >
> >     http://cdimage.debian.org/cdimage/archive/
> >
> >
> >David
> 
> The above is an example of a message where the indentation levels
> are boogered.

Most people here use prefix quotation (as I have here) rather
than indentation quotation. I add indentation to lines in some
of my posts for emphasis, disambiguation, etc, but the text
is still "owned" by me.

I think you quoted some text from ?kernel documentation, and
presumably agreed with it. I can't see what the fuss is about.
The first line of this post says "David Christensen wrote:".
Should I change it to "David Christensen posted:"? I had
assumed that we conventionally wrote the second when we meant
the first.

Cheers,
David.



Re: Problemas para reconhecer o celular.

2018-01-03 Thread Leandro Guimarães Faria Corcete DUTRA
Le mercredi 03 janvier 2018 à 07:57 -0200, Luiz Carlos a écrit :
> Eu queria fazer um recovery no meu celular e reinstalar a rom,
> acontece que o celular nem reconhece, quando mando um dmesg dá isso
> daqui:
> [11575.150610] usb 1-5: new high-speed USB device number 8 using
> xhci_hcd
[…]

Pelo contrário, o GNU/Linux reconheceu; tem de ver se o USB ID é
conhecido, e se teu aplicativo reconhece.


-- 
skype:leandro.gfc.dutra?chat  Yahoo!: ymsgr:sendIM?lgcdutra
+55 (61) 3546 7191  gTalk: xmpp:leand...@jabber.org
+55 (61) 9302 2691ICQ/AIM: aim:GoIM?screenname=61287803
BRAZIL GMT−3  MSN: msnim:chat?contact=lean...@dutra.fastmail.fm



Re: ZFS legacy mount fails

2018-01-03 Thread Илья Валеев
How can I check this? According log spl and zfs modules loaded before
this error, and nothing about loaded driver in initrd

03.01.2018 20:37, Neo пишет:
> no driver in the initrd and/or kernel module not yet loaded?
> 
> 
> Am 03.01.2018 um 16:26 schrieb Илья Валеев:
>> Hello!
>>
>> I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:
>>
>> doublediskpool/systemlog /mnt zfs relatime,defaults 0 2
>>
>> Rebooted, and system fails to boot. In boot log I see that spl and zfs
>> modules loaded, than:
>>
>> systemd[1]: mnt.mount: Mount process exited, code=exited status=1
>> systemd[1]: Failes to mount /mnt.
>>
>> After this zfs.target successfully starts, and system fall into
>> emergency mode.
>> Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
>> string:
>>
>> Before=local-fs.target
>>
>> but it does not help.
>> If I enter command (that systemd fail to execute) in emergency mode or
>> booted system:
>>
>> # mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults
>>
>> than mount executed successfully.
>>
>> Nothing changes if I set another mountpoint.
>>
>> How this can be fixed?
>> Debian 9 with last updates.
>> Thanks!
>>
> 



Re: ZFS legacy mount fails

2018-01-03 Thread Neo

no driver in the initrd and/or kernel module not yet loaded?


Am 03.01.2018 um 16:26 schrieb Илья Валеев:

Hello!

I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:

doublediskpool/systemlog /mnt zfs relatime,defaults 0 2

Rebooted, and system fails to boot. In boot log I see that spl and zfs
modules loaded, than:

systemd[1]: mnt.mount: Mount process exited, code=exited status=1
systemd[1]: Failes to mount /mnt.

After this zfs.target successfully starts, and system fall into
emergency mode.
Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
string:

Before=local-fs.target

but it does not help.
If I enter command (that systemd fail to execute) in emergency mode or
booted system:

# mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults

than mount executed successfully.

Nothing changes if I set another mountpoint.

How this can be fixed?
Debian 9 with last updates.
Thanks!





Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Nicolas George
rhkra...@gmail.com (2018-01-03):
> I hope the OP is still "listening".

If he is, he is probably enjoying the time wasted by his nonsensical
question.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread rhkramer
On Wednesday, January 03, 2018 07:54:06 AM Dan Purgert wrote:
> At the moment, he's already been told how to get "ip" to resolve
> hostnames (in his other thread -- "ip -r route"), seems he didn't like
> that answer; and made a new one.

I hope the OP is still "listening".  (And I'm not the OP.)

(Extraneous Aside: I think it is strange that "we" talk about the OP instead 
of talking to him.)

Anyway, to the OP (and all):

It seems to me (without knowing the OPs complete problem, and based on what 
I've read in this thread) that traceroute may provide a way forward:

   * Connect to (any of) your ISP(s).

   * traceroute somewhere (I'm not sure where atm--maybe some neutral party 
like google)

   * Parse the results of the ping to get the numeric address of your ISP

   * whois that numeric address

I think that would give you the ISP's name.

Presumably this could be scripted, though I'm not sure how easily--I'm not 
sure either:

   * how to (consistently via script) determine which response to the 
traceroute is from your ISP, although I would guess it is the first non-private 
(non-RFC1918) address

   * how to (consistently via script) determine the ISP from the whois

This almost works for me--the problem for me is that my ISP is Earthlink which 
uses / shares the Verizon network, so I find references to Verizon in the whois 
results, but not Earthlink.

PS: I tried to also send this to the OP (Max Power) (because I don't know if 
he is subscribed to the list) , but I'm not sure I have a valid email address.



ZFS legacy mount fails

2018-01-03 Thread Илья Валеев
Hello!

I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:

doublediskpool/systemlog /mnt zfs relatime,defaults 0 2

Rebooted, and system fails to boot. In boot log I see that spl and zfs
modules loaded, than:

systemd[1]: mnt.mount: Mount process exited, code=exited status=1
systemd[1]: Failes to mount /mnt.

After this zfs.target successfully starts, and system fall into
emergency mode.
Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
string:

Before=local-fs.target

but it does not help.
If I enter command (that systemd fail to execute) in emergency mode or
booted system:

# mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults

than mount executed successfully.

Nothing changes if I set another mountpoint.

How this can be fixed?
Debian 9 with last updates.
Thanks!



Re: GRUB and boot partition

2018-01-03 Thread Gary Dale

On 2018-01-02 02:35 PM, Pascal Hambourg wrote:

Le 02/01/2018 à 02:29, microsoft gaofei a écrit :
So AES is very lightweight ? I thought cryptography takes very much 
space , but I saw 1MB space is plenty for AES


What are you talking about ? Where did you see this ? It does not make 
sense. Encryption does not require extra space (except for header and 
block padding). Encrypted data have the same size of cleartext data.


Encryption is similar in concept to compression. It could even reduce 
the space requirements.


Encryption and compression both work by replacing strings of letters 
with something else. What we call clear text, for example, is just a 
Caesar cipher where each letter is replaced by a number (its ASCII code 
or unicode). Morse code, on the other hand, replaces common letters with 
shorter sequences of dots and dashes than less common letters.




Emails with improper quoting (was: Re: (solved) Re: need help on wheezy installation)

2018-01-03 Thread rhkramer
On Wednesday, January 03, 2018 02:38:28 AM David Christensen wrote:
> On 01/02/18 15:47, Long Wind wrote:
> > Thank Richard and David!
> > 
> >  On Tuesday, January 2, 2018 5:58 PM, David Christensen 
 wrote:
> >   On 01/02/18 13:14, Long Wind wrote:
> >> i often use installation from hard diskit means downloading a iso image
> >> and booting installerbut iso images have been removed from many mirrors
> > 
> > Have you looked in the archives?
> > 
> >  http://cdimage.debian.org/cdimage/archive/
> > 
> > David
> 
> The above is an example of a message where the indentation levels are
> boogered.

Ahh, I see (I'm not the OP or anyone who participated in this thread prior to 
now, iirc).

So, I went looking for the original of the post you forwarded here (in my mail 
folder) and couldn't find it--I may have deleted it.

I found a similar one, partially copied below just for reference--a very 
similar email also from Long Wind.

It seems that this message (and the one David refers to above) is the first 
boogered message, and I want to find out which email client caused the problem.

I viewed source and found this:

X-Mailer: WebService/1.1.11051 YahooMailNeo Mozilla/5.0 (X11; Linux i686; 
rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1

I'm not good at either reading or interpreting email headers, but I think this 
is telling me that the mail was generated (or replied to) using a web based 
emailer, presumably on Mozilla/5.0.

I don't know if that is the case, nor if there is some setting that can be 
changed (by the replier) to make quoting come out "properly".



Re: (solved) Re: need help on wheezy installation
From: David Christensen  (resent from debian-
u...@lists.debian.org)
  To: debian-user@lists.debian.org
  Date: Wed Jan  3 02:38:28 2018
   
On 01/02/18 15:47, Long Wind wrote:
> Thank Richard and David!
>   
> 
>  On Tuesday, January 2, 2018 5:58 PM, David Christensen 
 wrote:
>   
> 
>   On 01/02/18 13:14, Long Wind wrote:
>> i often use installation from hard diskit means downloading a iso image and 
booting installerbut iso images have been removed from many mirrors
> 




lumina/mono

2018-01-03 Thread sejobud33
I read that "gnome-desktop-environment" does NOT include Tomboy (or
mono), "gnome" however does (at the installation step do not choose one)
so i wonder  if lumina should not be a better choice.

It is a bsd desktop which does not depends on/runs mono.
does it work well with debian ?

thx.



Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Wright wrote:
> On Tue 02 Jan 2018 at 11:15:16 (-0500), Greg Wooledge wrote:
>> On Tue, Jan 02, 2018 at 04:03:46PM -, Dan Purgert wrote:
>> > Max Power wrote:
>> > > My problem is to know the ISP [e.g. GATEWAY = Vodafone, Telecom or AT]
>> > > before starting browsing or any remote connection...
>> > 
>> > Checking the hostname of an RFC1918 address will nearly never provide
>> > you with an ISP's name, even if you do it on a residential-gateway
>> > device provided by them.
>> 
>> I think the issue here is that he has some sort of unique setup in
>> which this name resolution actually DOES provide meaningful information,
>> much to the surprise of everyone else on the mailing list.
>> 
>> Unfortunately, he doesn't realize that this is atypical, so he doesn't
>> know enough to report it to us as part of his question.
>> 
>> Also unfortunately, we don't know what he's actually DOING with this
>> name resolution information, so we can't help him.
>> 
>> Most particularly, we don't know what the various ISP choices are that
>> he has, what the gateways of those ISPs are, what the name resolutions
>> of those gateways of those ISPs are, or what he wants to do in each of
>> the known, possible cases that he may encounter.
>> 
>> THAT is the kind of information we would need in order to help him.
>
> I can only assume that the OP [...]

That's the point :) that's all any of us can do. 

At the moment, he's already been told how to get "ip" to resolve
hostnames (in his other thread -- "ip -r route"), seems he didn't like
that answer; and made a new one.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJaTNI/AAoJEI4R3fMSeaKBny0IAJc5WMppuzfz84P1n+p83SRY
HrgPbe+WFT1pldTJ6LJ8tI05vfXS/qGwYn2HXHBZ8ow8fNB34wTHQa4kMOcBqv2q
XKS8G6vsm2708CvK/Ho33E8FUgRadjW1W6D0qQRq/sdaOhFMJl3Grtxyb/pPSZGe
U8nkY/fIm925B22UI/DNmh8nDevtP50nZKLJd8QC86JpNOjIsT1BFUqCA/h6E+2z
WDU1fUxkvjqJ1P9kLhgcwNKhHSqa/VEw2dvusbJFnaLKkRtqryP0iURPNh2MX1ay
YnevBbvlyqsnpirQUiVXaJZUPK+90mfIzs61YIRbHMXG6bbK0rrePVn9kxCeOTw=
=NXZv
-END PGP SIGNATURE-

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: neofita

2018-01-03 Thread Felipe Salvador
On Wed, Jan 03, 2018 at 06:24:57AM -0500, Gpat wrote:
> Buongiorno, vorrei provare  Debian e mi domando quanto spazio su hard disck 
> necessito?, Due GB di ram e un processore Intel Core 2 Quad Q6600  possono 
> essere sufficienti?
> attualmente uso photoshop essential e qualche altro programma di disegno, + 
> vlc
> Consigli?
> Grazie
> Gpat

Ciao,
questa è la lista debian-user, supporto in lingua inglese per gli
utenti Debian. Se vuoi seguitare a utilizzare debian-user dovrai
necessariamente scrivere in inglese, altrimenti puoi chiedere aiuto su
debian-italian[1].


[1] https://lists.debian.org/debian-italian/

-- 
Felipe Salvador



Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 wrote:
>
> On Tue, Jan 02, 2018 at 04:03:46PM -, Dan Purgert wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>> 
>> Max Power wrote:
>> > My problem is to know the ISP [e.g. GATEWAY = Vodafone, Telecom or AT]
>> > before starting browsing or any remote connection...
>> 
>> Checking the hostname of an RFC1918 address will nearly never provide
>> you with an ISP's name, even if you do it on a residential-gateway
>> device provided by them.
>
> I think the OP's address was the external address, which very probably
> *isn't* an RFC1918 (unless his provider puts all of their customers
> behind a giant NAT: at least on my part of the world this is highly
> atypical).

It's atypical here too, but that being said, this is a re-hashing of his
other thread "hostname of the modem gateway" (thread started with
Message-ID: ).

- From that post:
  # route
  gateway = home.telecomitalia.it
  # ip route
  gateway = 192.168.1.1


He was told to use the -r switch in that thread (i.e. `ip -r route') ,
seems he didn't like the answer and made a new one.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJaTMOXAAoJEI4R3fMSeaKB2jMH/0uQc86xjvZuD2cCL/UMuwtv
NzwejWF7aPihX/DNT041zpNRdGrSfLsGyDLj9kP/pcygF1+84DdNsVsMj1GYTPSz
A6mWv4jHRYvF1AKUpizdIzacYIGxlPIAnzSjaVJ/QV3D93/hNIrYRunOXl5fnt86
i6NQynxLrBxXw+eATZ/2/ILdp0LbBabelPkTazW9+pEu/cv7IO7TWeMwqBkXgjSC
AwvVQiOeqAKksZDxriA1bYMz/oq4ErCZUrx/AS5vBwp5QVMn4WTSqAAGCDbYqbqK
shGRXymsbRsMdiT3exs3wCW22LmaavDZx9JHPjwjtkTBbNQBuPVVkr8ncAfT0po=
=Lc6Q
-END PGP SIGNATURE-

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



neofita

2018-01-03 Thread Gpat
Buongiorno, vorrei provare  Debian e mi domando quanto spazio su hard disck 
necessito?, Due GB di ram e un processore Intel Core 2 Quad Q6600  possono 
essere sufficienti?
attualmente uso photoshop essential e qualche altro programma di disegno, + vlc
Consigli?
Grazie
Gpat

Sent with [ProtonMail](https://protonmail.com) Secure Email.

Re: hostname of the modem gateway

2018-01-03 Thread David Wright
On Tue 02 Jan 2018 at 08:50:13 (+0100), john doe wrote:
> On 1/2/2018 8:16 AM, john doe wrote:
> >On 1/2/2018 8:01 AM, Tom Furie wrote:
> >>On Tue, Jan 02, 2018 at 07:52:31AM +0100, john doe wrote:
> >>
> >>>My default route is not 192.168.1.1 and host(1) gives me that
> >>>same error.
> >>
> >>What the error actually means is that there is no reverse DNS resolution
> >>for that IP address, in other words the IP address cannot be resolved to
> >>its hostname. It has nothing at all to do with routing.
> >>
> >
> >The OP has said that he want it to get the hostname of his
> >upstream router/gateway.
> >'ip -r r' will show the FQDN of his default route (192.168.1.1) in
> >that case.
> >
> 
> Rereading the all conversation I should have said to "David Wright
> " that the error:
> 
> $ host 192.168.1.1
> Host 1.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
> 
> Meens that there is no hostname associated with that ip.
> But in the case of the OP it should work.

I haven't a clue what works for the OP, not even after glancing at the
subsequent thread that seems to continue the debate. I don't even know
exactly how they generated the lines:

|> # route
|> gateway = home.telecomitalia.it
|> # ip route
|> gateway = 192.168.1.1

All I did was to suggest how the OP could get ip to do what route
appears to do by default, which is to print names in place of
dotted quads.

I have a name associated with 192.168.1.1 but it's not resolvable
through DNS: there's no resolver in the router. I have to resolve
it with getent, and I asume my system is doing just that:

$ getent hosts 192.168.1.1
192.168.1.1 router
$ ping router
PING router (192.168.1.1) 56(84) bytes of data.
64 bytes from router (192.168.1.1): icmp_seq=1 ttl=64 time=2.24 ms
64 bytes from router (192.168.1.1): icmp_seq=2 ttl=64 time=1.53 ms
64 bytes from router (192.168.1.1): icmp_seq=3 ttl=64 time=1.15 ms
64 bytes from router (192.168.1.1): icmp_seq=4 ttl=64 time=1.42 ms
^C
--- router ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.157/1.590/2.245/0.402 ms
$ head -12 /etc/hosts
# /root/hosts-0-acer

127.0.0.1   localhost
127.0.1.1   acer

#
# /root/hosts-1-local-template
# List of local hosts.
# Comment out the line of this host when installing.
# Check the IPv6 lines occasionally because they change them.

192.168.1.1 router
$ 

Cheers,
David.



Problemas para reconhecer o celular.

2018-01-03 Thread Luiz Carlos
Eu queria fazer um recovery no meu celular e reinstalar a rom, acontece que
o celular nem reconhece, quando mando um dmesg dá isso daqui:
[11575.150610] usb 1-5: new high-speed USB device number 8 using xhci_hcd
[11575.318858] usb 1-5: device descriptor read/all, error -71
[11575.446620] usb 1-5: new high-speed USB device number 9 using xhci_hcd
[11575.618856] usb 1-5: device descriptor read/all, error -71
[11575.618927] usb usb1-port5: attempt power cycle
[11576.270633] usb 1-5: new high-speed USB device number 10 using xhci_hcd
[11576.298872] usb 1-5: device descriptor read/8, error -71

Alguém passou por algo assim? Tem uma solução pra resolver isso?


Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread David Wright
On Tue 02 Jan 2018 at 11:15:16 (-0500), Greg Wooledge wrote:
> On Tue, Jan 02, 2018 at 04:03:46PM -, Dan Purgert wrote:
> > Max Power wrote:
> > > My problem is to know the ISP [e.g. GATEWAY = Vodafone, Telecom or AT]
> > > before starting browsing or any remote connection...
> > 
> > Checking the hostname of an RFC1918 address will nearly never provide
> > you with an ISP's name, even if you do it on a residential-gateway
> > device provided by them.
> 
> I think the issue here is that he has some sort of unique setup in
> which this name resolution actually DOES provide meaningful information,
> much to the surprise of everyone else on the mailing list.
> 
> Unfortunately, he doesn't realize that this is atypical, so he doesn't
> know enough to report it to us as part of his question.
> 
> Also unfortunately, we don't know what he's actually DOING with this
> name resolution information, so we can't help him.
> 
> Most particularly, we don't know what the various ISP choices are that
> he has, what the gateways of those ISPs are, what the name resolutions
> of those gateways of those ISPs are, or what he wants to do in each of
> the known, possible cases that he may encounter.
> 
> THAT is the kind of information we would need in order to help him.

I can only assume that the OP connects through a number of different
networks which have been set up with, perhaps, different ranges of
IP addresses. For example, and sticking to unroutable addresses, they
might be on 192.168.… in one place, 10.… in another etc.

I have no idea how you'd find out which ISP is being used, except by
making assumptions of this sort, without any connection (assuming
"external" connection). The only sugestion I can give to the OP
would be to use traceroute (if that wasn't blocked too):

$ traceroute -m 4 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 4 hops max, 60 byte packets
 1  router (192.168.1.1)  0.958 ms  2.627 ms  6.284 ms
 2  10.37.37.1 (10.37.37.1)  45.585 ms  45.544 ms  45.594 ms
 3  123.456.789.123 (123.456.789.123)  290.450 ms  290.493 ms  291.698 ms
 4  123.456.798.213 (123.456.798.213)  291.702 ms  291.634 ms  291.832 ms
$ 

In my own case, whois on either of the (garbled) addresses above
gives the correct ISP, Cox in Atlanta. Had the question been posed
a week earlier, I could have tried this from various establishments
across four more states.

Cheers,
David.



Different language per user in MATE and change default lang of greeter

2018-01-03 Thread john doe

Hi list,

My system locale is 'C.UTF-8'.
Obviously, this is not desirable for the users.
So I want to change the language per user in MATE, so user1 would have 
language 'a', user 2 lang 'b' and so on.
Thanks to the list I have all language pack installed for both users 
('a' and 'b').


I have two questions:
- How can I set the language independently for each user?
- How can I change the default language at the prompt when I need to 
enter the credentials (lightdm-greeter, I believe)?


All of this is on a Debian 9 installation with the packages 'debian 
desktop environment' and 'MATE' ('1' and '6').
I'd like to do this using the command line, that way, the users don't 
have to do it themself and I don't need to logg into each one.


--
John Doe



Re: How to relocate LVM pv to make room for grub install

2018-01-03 Thread Tom Dial
On 01/02/2018 11:14 AM, Pascal Hambourg wrote:
> Le 02/01/2018 à 00:56, Tom Dial a écrit :
>>
>>> Which is the boot disk ?
>>
>> /dev/sda
> 
> Then you didn't need to make room for GRUB on /dev/sdb.
> 
>> So maybe the right plan is
> 
> This is one of the many possible plans.

But it is uncomplicated and simple to execute using available or easily
obtained tools. The total outage time was around 2 hours and, as pointed
out below, could have been much less if I had moved only the partitions
on the current boot disk.
> 
>> 0. make a grub-rescue CD just in case of need
>> 1. restore the old (jessie) /boot/grub/*
>> 2. shut down, move the remaining partitions with gparted
> 
> Actually only /dev/sda1, which must not be in used, i.e. no LV having
> extents in it must be active.

I realized that part way through, but pushed on for consistency, and
with a half-formed and unresearched notion of installing grub on the
second disk as well.

What I did not know until finishing is that gparted would, without being
told, leave the first 2048 blocks vacant. So I told it explicitly to
leave 1M empty at the beginning, so the first partitions now actually
begin at block 4096.
> 
>> 3. reboot using the old grub, kernel, initrd, etc.
>> 4. restore the new (stretch) /boot/grub/*
> 
> No need to restore the new /boot/grub/*, grub-install will recreate it.

Another thing I did not know, then.
> 
>> 5. run grub-install to install the new grub
>> 6. reboot and finish the stretch upgrade.

Overall, it went fairly well, and in particular, there were no boot
issues or data corruption. The only issue is that the first partition on
the boot drive was resized, but the PV it contains apparently was not,
so now is larger than the partition. I suspect this happened because the
PV was fully allocated to LVs. It has not caused any apparent problems,
probably because the file systems on the LVs are not very full. I will
need to fix it, though.

Thanks again.

Tom Dial




Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jan 02, 2018 at 04:03:46PM -, Dan Purgert wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Max Power wrote:
> > My problem is to know the ISP [e.g. GATEWAY = Vodafone, Telecom or AT]
> > before starting browsing or any remote connection...
> 
> Checking the hostname of an RFC1918 address will nearly never provide
> you with an ISP's name, even if you do it on a residential-gateway
> device provided by them.

I think the OP's address was the external address, which very probably
*isn't* an RFC1918 (unless his provider puts all of their customers
behind a giant NAT: at least on my part of the world this is highly
atypical).

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlpMkIgACgkQBcgs9XrR2kaYfwCaA2ceXxFjm2efv6hR25DBYu60
hz0An2YCF5YDOeSY9fZ4duxQ97w57ESJ
=WCgo
-END PGP SIGNATURE-