Re: fmt - formater un texte

2017-11-10 Thread Jean-Michel OLTRA

Bonjour,


Le samedi 11 novembre 2017, G2PC a écrit...


> Effectivement, j'ai du mal m'exprimer, tu as bien compris mon attente,
> j'aimerais n'avoir aucun retour à la ligne.

tr -d '\n' < input.txt > output.txt

-- 
jm



Re: fmt - formater un texte

2017-11-10 Thread Gabriel Moreau



Pour être inclus dans un wiki ne vaut-il pas mieux n'avoir aucun
retour à la ligne et laisser la page les gérer ?


Normalement, le moteur du wiki supprime les fins de ligne à l'affichage. 
Donc au contraire, comme celui-ci conserve toutes les versions de la 
page (tout comme git, subversion...), il est préférable de faire des 
lignes courtes. La correction d'un 's' sur un mot sera gérer par un 
patch/diff petit et non un patch énorme et peu pratique.


Donc, des lignes courtes dans les wiki ;-)

A+

gaby
--
Gabriel Moreau - IR CNRShttp://www.legi.grenoble-inp.fr
LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels
Domaine Universitaire, CS 40700, 38041 Grenoble Cedex 9, France
mailto:gabriel.mor...@legi.grenoble-inp.fr  tel:+33.476.825.015



Re: mysqldump from mysql 5.1.73 to mariadb 10.1.26 imports no data

2017-11-10 Thread Mark Fletcher
On Fri, Nov 10, 2017 at 05:20:15PM +0200, Tapio Lehtonen wrote:
> I am importing databases from old host to new. Checking stuff I noticed all
> databases were created but they had no tables and no records.
> 
> > Examining this I tried to run the mysqldump that tries to copy the
> > database from SOURCE to TARGET. Seems it does not dump the contents of
> > the database, just some SET lines. Example below with usernames and
> > passwords edited out. This command was run on the TARGET. I did not see
> > error messages in logs.
> > 
> > root@ispc6:~# mysqldump -cCQ --triggers --routines --quote-names
> > --hex-blob -h  -p'password' alfamat_db
> > -- MySQL dump 10.16  Distrib 10.1.26-MariaDB, for debian-linux-gnu
> > (x86_64)
> > -- 

I'm not sure I'd expect that much newer a mysqldump client to work on 
that much older a server. And the mysql - mariadb divide won't be 
helping either (although it also may not be hindering much)

Isn't it an option to use the old version's mysqldump command to dump to 
a compressed file, by doing on the server something like:

mysqldump  | bzip2 > dump.sql.bz2

Then honk that compressed dump over the network to the new server, and 
do:

bzcat dump.sql.bz2 | mysql 

to use the new server's mysql command to load the data into the new 
server?

[I recommend bzip2 for this job over xz as it's been my experience that 
with mysqldump output bzip2 achieves better compression and doesn't take 
noticably longer]

If storage space on the old server is a problem, an option would be 
creative use of mounts to get around that.

HTH

Mark



Re: Weird Konqueror issue

2017-11-10 Thread kamaraju kusumanchi
On Fri, Nov 10, 2017 at 9:32 PM, Fjfj109  wrote:
> Hi, in Debian Sid, launching Konqueror from Krunner does nothing. When I
> start it in Konsole, it launches successfully, and gives this message:
> konqueror(12567)/kdecore (services)
> KServiceFactory::findServiceByDesktopPath: "searchproviders/wikit.desktop"
> not found
>
> Any ideas?

No idea. But can you please provide the following info to narrow down the issue.

What versions of krunner and konqueror are you using?
Has it ever worked before and stopped working suddenly or has it
always been like this?

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Weird Konqueror issue

2017-11-10 Thread Fjfj109
Hi, in Debian Sid, launching Konqueror from Krunner does nothing. When I start 
it in Konsole, it launches successfully, and gives this message: 
konqueror(12567)/kdecore (services) KServiceFactory::findServiceByDesktopPath: 
"searchproviders/wikit.desktop" not found

Any ideas?

codesearch across lines

2017-11-10 Thread kamaraju kusumanchi
In codesearch.debian.net , is it possible to search for multiple words
that may occur across different lines and not necessarily on the same
line? For example, there are no results when I search for

pandas str filetype:python

which probably happens because it looks for lines that contain
'pandas' and 'str'. But what I would like to see is files where both
words are present (but not necessarily on the same line). Any ideas on
how to achieve that?

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: fmt - formater un texte

2017-11-10 Thread G2PC
Effectivement, j'ai du mal m'exprimer, tu as bien compris mon attente,
j'aimerais n'avoir aucun retour à la ligne.

Actuellement, j'ai un texte formaté avec des retours à la ligne, et,
j'aimerais enlever les retours à la ligne.

Le 10/11/2017 à 17:34, Benoit B a écrit :
> Bonjour,
>
> Imaginons que le texte soit contenu dans testFmt1.txt .
>
> fmt testFmt1.txt > resultat.txt
>
> Sans option puisque les options par défaut (The default width is 75
> columns) font le boulot ! ;)
>
> Si tu veux plus large : lignes de 200 caractères :
> fmt -w 200 testFmt1.txt > resultat200.txt
>
> Pour être inclus dans un wiki ne vaut-il pas mieux n'avoir aucun
> retour à la ligne et laisser la page les gérer ?
>
> --
> Benoit
>
> Le 10 novembre 2017 à 15:40, G2PC  a écrit :
>> Bonjour, on m'a parlé de fmt pour formater des textes plus facilement.
>> Mes sources proviennent de pdf, que l'on m'a autorisé à diffuser en ligne.
>>
>> J'ai consulté le manuel de fmt :
>> http://www.man-linux-magique.net/man1/fmt.html
>>
>> Je ne sais pas comment formater le texte, pour qu'il n'y ait pas de
>> retour chariot en fin de ligne, comme c'est le cas sur l'exemple
>> suivant. Dans mon cas, il faudrait que le texte se suive, pour être
>> inclus dans un wiki.
>>
>>
>> Démarche éthique
>> Rassembler toutes les personnes qui, par leurs actions journalières,
>> dans le domaine de la Bioconstruction
>> (comme dans les autres domaines de la vie) œuvrent pour un environnement
>> plus sain et plus écologique.
>> Promouvoir, enseigner, imaginer, concevoir, restaurer et construire des
>> habitats sains et écologiques
>> s'intégrant au milieu naturel, pour le bien-être des populations et le
>> respect de l'environnement.
>> Mettre en commun les savoir-faire et le fruit des recherches dans tous
>> les domaines de la Bioconstruction et
>> dans les métiers qui se préoccupent de l’écologie pour un monde plus
>> cohérent et plus solidaire.
>> Créer une synergie entre les professionnels optant pour la
>> Bioconstruction et s'engageant à proposer des
>> alternatives saines à leurs clients et une qualité de prestation dans la
>> déontologie de leurs métiers,
>> Communiquer ses connaissances à tous ceux qui œuvrent pour une vraie
>> qualité de la vie, permettant de
>> préserver les ressources naturelles de la planète Terre que nous
>> léguerons aux générations futures.
>>



Problem with kernel compiling 4.12.13 Debian Stretch

2017-11-10 Thread c . nill

Hello everybody.

I hope someone can help me out of this (hopefully) simple problem.

Currently iam working on a new kernel (4.12.13) for my debian server. 
The kernel compiles fine, the initrd will be created using


mkinitramfs -o /boot/initrd.img-4.12.13 4.12.13

but on a reboot and booting with the new kernel my server cannot boot 
with the error:


crc32c not found

What iam doing wrong ?

I used the make oldconfig command and checked if crc32c crc32-intl and 
so on is checked. It seems all good (like the old config from 
4.9.0-4-amd64


Please help me. I compile now since 8 hours without any success.

Greetings

Christian Nill



Debian-capable NAS with free software and hardware (was: Wanted - a Debian SOHO NAS)

2017-11-10 Thread Ben Finney
Reco  writes:

> On Sat, Nov 11, 2017 at 06:25:01AM +1100, Ben Finney wrote:
> > The GnuBee PC-2 is being crowd-funded now (until 2017-11-30)
> > .
>
> Terrific, thanks.
>
> I'll wait for 3.5'' one, maybe pledge something.

The crowd-fund campaign ends soon for the GnuBee PC-2, so anyone who
wants one should pledge now. It'll be cheaper than waiting.

I've booked mine :-)

-- 
 \“Odious ideas are not entitled to hide from criticism behind |
  `\   the human shield of their believers' feelings.” —Richard M. |
_o__) Stallman |
Ben Finney



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Gary Roach

On 11/10/2017 12:32 PM, Reco wrote:

On Sat, Nov 11, 2017 at 06:25:01AM +1100, Ben Finney wrote:

Reco  writes:


What I'm looking for is a suitable replacement with the following
treats:

- Able to run Debian, stock kernel is strongly preferred.
- Non-x86, and I don't need another kirkwood ARM.
- Gigabit Ethernet.
- 4 SATA disk slots.
- I don't care whenever it's a box or a rack mount.


The GnuBee PC-1 is already available
.

The GnuBee PC-2 is being crowd-funded now (until 2017-11-30)
.

Both meet your criteria I believe, as well as being open hardware
designs and have only free software requirements.

Buy the former if you want one now. Fund the latter if you want 3.5-inch
drives.


Terrific, thanks.

I'll wait for 3.5'' one, maybe pledge something.

Reco


I recently upgraded one of my boxes after a mother board failure. I did 
a fair amount of research and came up with the following:

MSI1970A-G43 motherboard (very reasonably priced)
AMD Athlon FX4350 4 core CPU
It's fast and handles Debian very well. I don't remember how much I 
paid, but it was reasonable. I also had to add an above board, cheep, 
graphics card ($45). While not too expensive, this is a gamers board and 
can be overclocked. There are 6 Sata slots and room for 16Gb memory. Has 
a nice BIOS screen. They have dropped IDE connectors. So if you have IDE 
drives you will need IDE to Sata adapters.


Hope this helps

GAry R



Re: Talking about RAID - disks with same id

2017-11-10 Thread deloptes
David Christensen wrote:

> On 11/10/17 00:12, deloptes wrote:
>> this raid was created ~12y ago without metadata.
> 
> https://www.psychologytoday.com/basics/self-harm
> 
> 
> ;-)
> 
> David

appreciated :D - one that respects sarcasm :D



Re: Anyone using stretch/buster/sid on ARMv4t ?

2017-11-10 Thread Adrian Bunk
On Wed, Nov 08, 2017 at 10:56:03PM +0100, Arnd Bergmann wrote:
> On Wed, Nov 8, 2017 at 9:18 PM, Adrian Bunk  wrote:
> > On Wed, Nov 08, 2017 at 12:52:05AM +0200, Aaro Koskinen wrote:
> >>
> >>... OMAP15xx is frequently tested and used
> >> by OMAP1 hackers (thanks to Amstrad Delta).
> >
> > But is anyone still using Debian on OMAP15xx?
> >
> > Looking at the amount of RAM in the Amstrad Delta,
> > I'd be surprised if anyone is actually using
> > Debian on that hardware.
> 
> It's 128MB, right?

AFAIK 32MB (but I could be wrong on that).

> How unrealistic is that these days?

The stretch installation manual says at least 31MB RAM [1],
but since it says the same for jessie says the same it is
possible that noone ever tried stretch with that few RAM.

> All the ARMv4T chips I checked (at91rm9200, imx1, ep73xx, ep93xx,
> ks8695, omap1510 and s3c24xx) with the exception of the s3c2443
> (which we barely support) only support SDRAM, not DDR, so they
> are already limited to 64MB (512Mbit) per memory chip, and typically
> 256MB as the absolute maximum on a 32-bit interface with four x8
> chips.

Neo FreeRunner with 128MB RAM would still be fine if there would
be a working recent kernel and people actually running current
Debian on it.

So far I haven't heard from a single person running stretch/buster/sid 
on ARMv4t, and I'm becoming confident that there are no users left.[2]

>Arnd

cu
Adrian

[1] https://www.debian.org/releases/stable/armel/ch02s05.html.en
[2] there might still be people running Linux on such hardware and
it might be possible to get Debian running if someone wants to,
but actual users who would also report breakages seem gone

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Reco
On Sat, Nov 11, 2017 at 06:25:01AM +1100, Ben Finney wrote:
> Reco  writes:
> 
> > What I'm looking for is a suitable replacement with the following
> > treats:
> >
> > - Able to run Debian, stock kernel is strongly preferred.
> > - Non-x86, and I don't need another kirkwood ARM.
> > - Gigabit Ethernet.
> > - 4 SATA disk slots.
> > - I don't care whenever it's a box or a rack mount.
> 
> The GnuBee PC-1 is already available
> .
> 
> The GnuBee PC-2 is being crowd-funded now (until 2017-11-30)
> .
> 
> Both meet your criteria I believe, as well as being open hardware
> designs and have only free software requirements.
> 
> Buy the former if you want one now. Fund the latter if you want 3.5-inch
> drives.

Terrific, thanks.

I'll wait for 3.5'' one, maybe pledge something.

Reco



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Reco
Hi.

On Fri, Nov 10, 2017 at 11:17:14AM -0800, David Christensen wrote:
> On 11/10/17 07:57, Reco wrote:
> > I have this QNAP TS-412 box ...
> > [and] I'm looking for [a] replacement with the following treats:
> > 
> > - Able to run Debian, stock kernel is strongly preferred.
> > - Non-x86, and I don't need another kirkwood ARM.
> 
> CPU -- number of cores, number of bits, frequency, power saving features,
> cryptographic acceleration, random number acceleration, other?

Irrelevant. Crypto accelerator could be nice though.


> Memory -- slots, module type, form factor, capacity, speed, ECC, ranking,
> other?

512Mb minimum.


> > - Gigabit Ethernet.
> 
> Quantity?  Aggregation?

At least one. No amount of bonding will allow me to exceed Cat5e
limitations, and fault tolerance is not a factor here.


> > - 4 SATA disk slots.
> 
> SATA 1/2/3/3.x?

SATA 2 at least.


> Internal or external?  Cabled, trayed, trayless, other?

Internal, trayed.


> Drive form factor, height, capacity, performance (RPM, seek time, latency,
> IOPS, power consumption, other), other?

Form factor is 3.5''. And of course I'll purchase drives separately.


> Optical drive(s), system drive(s), L2ARC(s), ZIL(s), other?

N/a. I need conventional 4-bay home NAS without extras.


> > - I don't care whenever it's a box or a rack mount.
> 
> Chassis material (steel, aluminum, plastic, other), finish (paint, anodized,
> raw, other?), size limits, weight limits, fans, noise, other?

Chassis material is irrelevant, size should not exceed standard 1U,
weight should not exceed 10 lbs (without HDDs).


> On 11/10/17 08:38, Reco wrote:
> > [Price range?]  <= $500
> 
> 
> On 11/10/17 09:01, Reco wrote:
> > power consumption ... [less than] 37-47 Watts
> 
> 
> Expansion card slots -- quantity, type (PCI, PCI-X, PCIe, other), height,
> depth, other?

None. 


> Internal or external power supply?

External.


> Overall performance requirements -- capacity, throughput, latency, other?
> Now?  Next several years?

Capacity - 4 Tb.
Thoughtput - 30-40 Mb/s.
Latency - 20 ms is tolerable.
IOPS - 1200.

I'm not planning on SSDs, so these should be achieved easily.


> Lifetime?

3-4 years.


> Remote management?  When powered down?

No. That's strict no.
The only kind of out-of-band management I use is old trusty RS-232.
So no iLO or equivalent.


> Other?

n/a

Reco



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Reco
On Fri, Nov 10, 2017 at 01:44:32PM -0500, rhkra...@gmail.com wrote:
> On Friday, November 10, 2017 10:57:18 AM Reco wrote:
> > - Non-x86, and I don't need another kirkwood ARM.
> 
> I'm curious, what is your objection to x86--is it power usage, or (maybe) 
> less 
> security than a non-x86 platform, or something else?

Current NAS lived 6.5 hours on UPS power once. That's with HDD power
management disabled.
Show me x86-64 solution that can do the same.


> And, for extra credit, what's the problem / story on the kirkwood ARM?

SATA speed is OK, but not stellar - 12.5 Mbps / 1200 IOPS on sequential
read from RAID5.
Advertized Gigabit ethernet is in fact 400 Mbps, but I can live with
that (see above).
CPU speed is horrid. You can forget running anything that's even python
(includes iotop), let alone something CPU hungry (CUPS, java, etc).
Amount of RAM is tiny by today's standards - 256Mb.

Last, but not least - they plan to ditch ARM4 in Debian (unless they did
it already). Kirkwood is ARM5.

Reco



Re: Talking about RAID - disks with same id

2017-11-10 Thread David Christensen

On 11/10/17 00:12, deloptes wrote:

this raid was created ~12y ago without metadata.


https://www.psychologytoday.com/basics/self-harm


;-)

David



Re: Re: Reproducible bug

2017-11-10 Thread deloptes
Laurent Lyaudet wrote:

>> >> My install is up-to-date with latest security updates (that's the
>> >> first thing I do anytime I start my laptop).

There is a rule: "never touch a running system" which means if something
works let it work. through your process you are exposed to bugs without a
way back. this is just an advise to review the process

I don't use Gnome, because gtk with the concept behind caused a lot of
trouble long time ago and could not convince me that it will ever get
better so I can't help much. But ... there should be logging facility and
you need perhaps to enable something somewhere to see where it is coming
from or what is happening when the problem appears.

I usually look first in ~/.xsession-errors

someone else perhaps could help on where and how to debug gtk/gnome



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread David Christensen

On 11/10/17 11:17, David Christensen wrote:

Remote management?  When powered down?

  ^^

Correction:  When in ACPI S1-S5 states?

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


David




Re: Talking about RAID - disks with same id

2017-11-10 Thread deloptes
Joe Pfeiffer wrote:

> It's my understanding that PTUUID on a disk using an MBR corresponds to
> the UUID on a disk using a GPT, not to PARTUUID (I don't know what on an
> MBR-based disk would correspond to PARTUUID, if anything).

# blkid /dev/sdf1
/dev/sdf1: UUID="5427071b-25c8-fff8-476d-ff8c9852b714"
TYPE="linux_raid_member" PARTUUID="13e17ac7-01"
# blkid /dev/sdg1
/dev/sdg1: UUID="5427071b-25c8-fff8-476d-ff8c9852b714"
TYPE="linux_raid_member" PARTUUID="13e17ac7-01"

# blkid /dev/sdf
/dev/sdf: PTUUID="13e17ac7" PTTYPE="dos"
  
# blkid /dev/sdg
/dev/sdg: PTUUID="13e17ac7" PTTYPE="dos"
  

Correct and exactly this is the subject of my concern. What blkid is
reporting for the disk matches (correctly) to the PARTUUID - which as it
looks like tells us which partition it is.

I can't believe that this blkid library might be used in raid as if you read
the description it can easily report identical IDs.

Might be really worth examining the code - the last thing I wanted to do
now. Perhaps I ask on the kernel list.

thanks and regards



Re: Re: Reproducible bug

2017-11-10 Thread Laurent Lyaudet
2017-11-09 20:03 GMT+01:00 Laurent Lyaudet :

> >On Wed, Nov 08, 2017 at 08:19:11PM +0100, Laurent Lyaudet wrote:
> >>Hello,
> >>
> >>I found a reproducible bug in latest stable Debian on my laptop.
> >>My install is up-to-date with latest security updates (that's the first
> >>thing I do anytime I start my laptop).
> >>I'm using Gnome.
> >>Steps to reproduce on my laptop:
> >> - activate the wifi with upper right screen controls
> >> - repeatedly click on "Activities" in the upper left corner to show the
> >>quick launch bar and click below to hide it. After a few seconds after 
> >> the
> >>network connection is set, the click on Activities no longer works. 
> >> After
> >>one minute, it starts working again.
> >>
> >>Note that if I don't activate the wifi, then I can repeatedly click on
> >>"Activities" without triggering the bug.
> >
> >This sounds like some sort of network-related time out.  Do you have
> >LDAP authentication, Kerberos, Samba, NFS automounts, etc.?  Does it
>   >the network's DHCP server or an override configuration you are using?
>
> Hello Roberto,
>
> Thanks for the response.
>
> I have nothing of LDAP authentication, Kerberos, Samba, NFS, etc.
>
> I'm using my laptop only at home with the box of my ISP.
>
> I changed nothing with the box for years.
> When I fresh installed Debian Stretch, the only thing I did was choosing the 
> wifi of my box with gnome interface and entering the password for it.
>
> Hence I assume it is using DHCP.
>
> I have no override configuration or anything complicated.
>
> Basically, I just use Firefox with my laptop. Sometimes I code C or PHP stuff 
> or compile latex file but that's it.
>
> I will take my laptop at work, tomorrow, and try to connect to the wifi 
> network there if you think it might help finding the cause.
>
> Thanks, best regards,
>
>Laurent
>
>
Hello Roberto,

As you suggested, I took my laptop at work and tested with the wifi there.
I reproduced the bug also there.
I don't know if I can reproduce it with any wifi network but at least it is
not particular to my home network only.

Let me know what I can do next to find the cause of the bug.

Thanks, best regards,
Laurent


Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Ben Finney
Reco  writes:

> What I'm looking for is a suitable replacement with the following
> treats:
>
> - Able to run Debian, stock kernel is strongly preferred.
> - Non-x86, and I don't need another kirkwood ARM.
> - Gigabit Ethernet.
> - 4 SATA disk slots.
> - I don't care whenever it's a box or a rack mount.

The GnuBee PC-1 is already available
.

The GnuBee PC-2 is being crowd-funded now (until 2017-11-30)
.

Both meet your criteria I believe, as well as being open hardware
designs and have only free software requirements.

Buy the former if you want one now. Fund the latter if you want 3.5-inch
drives.

-- 
 \   “I do not believe in forgiveness as it is preached by the |
  `\church. We do not need the forgiveness of God, but of each |
_o__)other and of ourselves.” —Robert G. Ingersoll |
Ben Finney



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread David Christensen

On 11/10/17 07:57, Reco wrote:

I have this QNAP TS-412 box ...
[and] I'm looking for [a] replacement with the following treats:

- Able to run Debian, stock kernel is strongly preferred.
- Non-x86, and I don't need another kirkwood ARM.


CPU -- number of cores, number of bits, frequency, power saving 
features, cryptographic acceleration, random number acceleration, other?



Memory -- slots, module type, form factor, capacity, speed, ECC, 
ranking, other?




- Gigabit Ethernet.


Quantity?  Aggregation?



- 4 SATA disk slots.


SATA 1/2/3/3.x?


Internal or external?  Cabled, trayed, trayless, other?


Drive form factor, height, capacity, performance (RPM, seek time, 
latency, IOPS, power consumption, other), other?



Optical drive(s), system drive(s), L2ARC(s), ZIL(s), other?



- I don't care whenever it's a box or a rack mount.


Chassis material (steel, aluminum, plastic, other), finish (paint, 
anodized, raw, other?), size limits, weight limits, fans, noise, other?



On 11/10/17 08:38, Reco wrote:
> [Price range?]  <= $500


On 11/10/17 09:01, Reco wrote:
> power consumption ... [less than] 37-47 Watts


Expansion card slots -- quantity, type (PCI, PCI-X, PCIe, other), 
height, depth, other?



Internal or external power supply?


Overall performance requirements -- capacity, throughput, latency, 
other?  Now?  Next several years?



Lifetime?


Remote management?  When powered down?


Other?


Please sort the requirements into a list by priority, with the highest 
priority requirement at the top and the lowest priority requirement at 
the bottom.



David



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread rhkramer
On Friday, November 10, 2017 10:57:18 AM Reco wrote:
> - Non-x86, and I don't need another kirkwood ARM.

I'm curious, what is your objection to x86--is it power usage, or (maybe) less 
security than a non-x86 platform, or something else?

And, for extra credit, what's the problem / story on the kirkwood ARM?

Thanks!



Re: Ethernet card locking up when acting as virtual bridge

2017-11-10 Thread Christian Seiler
Hi there,

On 11/10/2017 07:24 PM, Andrew W wrote:
> That turned out to be the Cisco switch on the other end which is an
> ESW500 series Small Business Switch (i.e web gui only no IOS CLI). On
> there there is a 'Smartports Wizard' which allows you to set a 'role'
> for each port and unless it is set to 'Access Point' I got the
> strange behaviour.
> 
> As the virtual bridge and wifi access point are pretty much the same
> thing in principle I tried changing the port role to 'Access Point'
> as well and it seems to have solved the issue. Ive no idea what that
> is changing in the switch config, and when I asked on the Cisco forum
> I couldnt get an answer but it seems to be the cause of the trouble.

I presume that if a port is not set in "Access point' mode the switch
will assume that packets coming from that port will always come from
the same MAC address, and since the VMs you have all have differing
addresses this causes the switch to silently drop packets from a
different MAC address. And depending on how they actually implemented
that in detail the behavior may be quite weird.

Regards,
Christian



Re: Ethernet card locking up when acting as virtual bridge

2017-11-10 Thread Andrew W


On 09/11/2017 19:52, Michael Stone wrote:

I'd wonder if it's reached the point tha that the hardware is failing.
I was a bit premature in thinking it was fixed!  Tried 3 different 3Com 
cards now plus a Linksys with a Via chipset but got identical behavour 
on all.


Back to the original config: did you know you could add the built-in 
adapter to the bridge, give your IP address to the bridge rather than 
directly to the built-in interface, and use the VMs the same way you 
are now without a second NIC?



Yes but as I was experiementing I wanted to keep it separate so if I 
screwed up I could at least still SSH into the host.


The weird thing is I have 3 VMs, all started with the same commands just 
the made up MAC address and virtual bridge port numbers differing. One 
of them has never given a problem it always works, the other two seem to 
alternate, one "goes offline" the other comes online, then vice versa, 
yet if I use VNC to bring up the console for the VM it is still running 
ok and I cant see any log messages on it indicating that the network has 
gone down.


The arping command  is indicating that when a VM goes offline it is not 
responding to ARP requests over the network yet it does from another VM 
and can be connected to perfectly from another VM


I then had a brainwave, I had a similar issue with a Cisco wifi access 
point where some wifi clients could connect ok, others would connect but 
then there was no traffic flowing.


That turned out to be the Cisco switch on the other end which is an 
ESW500 series Small Business Switch (i.e web gui only no IOS CLI). On 
there there is a 'Smartports Wizard' which allows you to set a 'role' 
for each port and unless it is set to 'Access Point' I got the strange 
behaviour.


 As the virtual bridge and wifi access point are pretty much the same 
thing in principle I tried changing the port role to 'Access Point' as 
well and it seems to have solved the issue. Ive no idea what that is 
changing in the switch config, and when I asked on the Cisco forum I 
couldnt get an answer but it seems to be the cause of the trouble.




Re: Talking about RAID - disks with same id

2017-11-10 Thread Joe Pfeiffer
deloptes  writes:

> Hi Joe,
>
> thank you for the mesage
>
> Joe Pfeiffer wrote:
>
>> This is normal.  It's the identical UUIDs that tell the system that the
>> partitions go into the same RAID array.
>> 
>> Here's what I see when I look at my RAID disks:
>> 
>> /dev/sda2: UUID="67d3c233-96a0-737c-5f88-ed9b936ea3ae"
>> UUID_SUB="48b56869-6f19-21b9-283f-3eee3ac90cf8" LABEL="snowball:1"
>> TYPE="linux_raid_member" PARTUUID="3bb3729a-528b-4384-b6a5-b6d9e148ed2a"
>> /dev/sdb2: UUID="67d3c233-96a0-737c-5f88-ed9b936ea3ae"
>> UUID_SUB="1f48f805-4173-78cd-1f52-957920f66335" LABEL="snowball:1"
>> TYPE="linux_raid_member" PARTUUID="1bdd3893-9346-49d2-8292-a61075ad0c5e"
>> 
>
> you see in your case PARTUUID is different for both members. In my case it
> is identical and this is what is bothering me

It's my understanding that PTUUID on a disk using an MBR corresponds to
the UUID on a disk using a GPT, not to PARTUUID (I don't know what on an
MBR-based disk would correspond to PARTUUID, if anything).



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Reco
Hi.

On Fri, Nov 10, 2017 at 08:48:23AM -0800, Weaver wrote:
> On 2017-11-11 02:38, Reco wrote:
> > On Fri, Nov 10, 2017 at 08:07:31AM -0800, Weaver wrote:
> >> On 2017-11-11 01:57, Reco wrote:
> >> > Dear list.
> >> >
> >> > I've read recent 'Anyone using stretch/buster/sid on ARMv4t' and 'Wanted
> >> > - a Debian handheld' threads, and decided to ask you all for an advice.
> >> >
> >> > I have this QNAP TS-412 box that runs Debian for several years with
> >> > small downtimes and it works beautifully. But, the thing starts to show
> >> > its age.
> >> >
> >> > What I'm looking for is a suitable replacement with the following
> >> > treats:
> >> >
> >> > - Able to run Debian, stock kernel is strongly preferred.
> >> > - Non-x86, and I don't need another kirkwood ARM.
> >> > - Gigabit Ethernet.
> >> > - 4 SATA disk slots.
> >> > - I don't care whenever it's a box or a rack mount.
> >> >
> >> > All suggestions are welcome.
> >>
> >> Price range?
> > 
> > <= $500
> 
> Just thought I'd ask, but considering life, these might still be worth
> considering:
> 
> https://www.ixsystems.com/freenas-mini/

Thanks. Interesting thing (ZFS out-the-box, no less), but '8-Core 2.4GHz
Intel CPU with AES-NI' (as datasheet puts it) violates my 'non-x86'
criteria.

Way too much power consumption (datasheet states 37-47 Watts), and don't
get me started on inevitable Intel ME.

What I'm looking for is more like Seagate SRPD40, QNAP TS-421U, but
newer.

Reco



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Weaver
On 2017-11-11 02:38, Reco wrote:
> On Fri, Nov 10, 2017 at 08:07:31AM -0800, Weaver wrote:
>> On 2017-11-11 01:57, Reco wrote:
>> > Dear list.
>> >
>> > I've read recent 'Anyone using stretch/buster/sid on ARMv4t' and 'Wanted
>> > - a Debian handheld' threads, and decided to ask you all for an advice.
>> >
>> > I have this QNAP TS-412 box that runs Debian for several years with
>> > small downtimes and it works beautifully. But, the thing starts to show
>> > its age.
>> >
>> > What I'm looking for is a suitable replacement with the following
>> > treats:
>> >
>> > - Able to run Debian, stock kernel is strongly preferred.
>> > - Non-x86, and I don't need another kirkwood ARM.
>> > - Gigabit Ethernet.
>> > - 4 SATA disk slots.
>> > - I don't care whenever it's a box or a rack mount.
>> >
>> > All suggestions are welcome.
>>
>> Price range?
> 
> <= $500

Just thought I'd ask, but considering life, these might still be worth
considering:

https://www.ixsystems.com/freenas-mini/

-- 
"It is the duty of the patriot to protect his country from its 
government."
 -- Thomas Paine

Registered Linux User: 554515



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Reco
On Fri, Nov 10, 2017 at 08:07:31AM -0800, Weaver wrote:
> On 2017-11-11 01:57, Reco wrote:
> > Dear list.
> > 
> > I've read recent 'Anyone using stretch/buster/sid on ARMv4t' and 'Wanted
> > - a Debian handheld' threads, and decided to ask you all for an advice.
> > 
> > I have this QNAP TS-412 box that runs Debian for several years with
> > small downtimes and it works beautifully. But, the thing starts to show
> > its age.
> > 
> > What I'm looking for is a suitable replacement with the following
> > treats:
> > 
> > - Able to run Debian, stock kernel is strongly preferred.
> > - Non-x86, and I don't need another kirkwood ARM.
> > - Gigabit Ethernet.
> > - 4 SATA disk slots.
> > - I don't care whenever it's a box or a rack mount.
> > 
> > All suggestions are welcome.
> 
> Price range?

<= $500

Reco



Re: fmt - formater un texte

2017-11-10 Thread Benoit B
Bonjour,

Imaginons que le texte soit contenu dans testFmt1.txt .

fmt testFmt1.txt > resultat.txt

Sans option puisque les options par défaut (The default width is 75
columns) font le boulot ! ;)

Si tu veux plus large : lignes de 200 caractères :
fmt -w 200 testFmt1.txt > resultat200.txt

Pour être inclus dans un wiki ne vaut-il pas mieux n'avoir aucun
retour à la ligne et laisser la page les gérer ?

--
Benoit

Le 10 novembre 2017 à 15:40, G2PC  a écrit :
> Bonjour, on m'a parlé de fmt pour formater des textes plus facilement.
> Mes sources proviennent de pdf, que l'on m'a autorisé à diffuser en ligne.
>
> J'ai consulté le manuel de fmt :
> http://www.man-linux-magique.net/man1/fmt.html
>
> Je ne sais pas comment formater le texte, pour qu'il n'y ait pas de
> retour chariot en fin de ligne, comme c'est le cas sur l'exemple
> suivant. Dans mon cas, il faudrait que le texte se suive, pour être
> inclus dans un wiki.
>
>
> Démarche éthique
> Rassembler toutes les personnes qui, par leurs actions journalières,
> dans le domaine de la Bioconstruction
> (comme dans les autres domaines de la vie) œuvrent pour un environnement
> plus sain et plus écologique.
> Promouvoir, enseigner, imaginer, concevoir, restaurer et construire des
> habitats sains et écologiques
> s'intégrant au milieu naturel, pour le bien-être des populations et le
> respect de l'environnement.
> Mettre en commun les savoir-faire et le fruit des recherches dans tous
> les domaines de la Bioconstruction et
> dans les métiers qui se préoccupent de l’écologie pour un monde plus
> cohérent et plus solidaire.
> Créer une synergie entre les professionnels optant pour la
> Bioconstruction et s'engageant à proposer des
> alternatives saines à leurs clients et une qualité de prestation dans la
> déontologie de leurs métiers,
> Communiquer ses connaissances à tous ceux qui œuvrent pour une vraie
> qualité de la vie, permettant de
> préserver les ressources naturelles de la planète Terre que nous
> léguerons aux générations futures.
>



Re: Wanted - a Debian handheld

2017-11-10 Thread Gene Heskett
On Friday 10 November 2017 07:37:28 Richard Owlett wrote:

> I've asked a very similar question on two fora and received useful
> feedback. I've revised my feature list.
>
> Must:
> 1. be currently available from U.S. retail vendor.
> 2. have a physical form factor similar to a "smartphone".
> 3. have provision for using an _optional_ full size keyboard.
> [A permanently attached keyboard is undesirable.]
> 4. have touchscreen display.
> 5. be able to read/write a USB flash drive (preferably FAT32 or ext2).
> 6. not have cell network connectivity as purchased.
>
> Raspberry Pi was suggested on both fora. I investigated it and
> Beaglebone. Both are uncomfortably DIY. Minimally acceptable would be
> a parts list [including case and battery] known to work together.
>
> TIA
Richard, there is a pi kiler out there, all we have to do is write the 
software.  Its called a rock64, and the memory is factory fixed so you 
buy what you need. I bought two of the 4Gb equipt ones for $44 each. And 
I intend to to replace a pi running some heavy machinery in my home 
machine shop. Unfortunately I have not been successful at obtaining the 
header files for the gpio facility, which is supposed to be pi 
compatible at the header pins level. So I've been unable to compile an 
SPI driver to address the interface card. That, and I may not have the 
talent left in the wet ram to make it work.  The pi's problem is that 
for everything but the SPI, the i/o data is forced to pass thru an 
internal usb2 speed hub. That results in missed mouse and keyboard 
events. It can be solved but often requires several reboots to get thing 
all in a row and working (with the best realtime kernel build we have).

So be aware, the pi does have a problem, one that makes a daily update of 
its jessie install a watching paint dry job.  This rock64, running 
stretch, is around 20x faster updateing a similar list of security 
related packages because it doesn't have the usb2 speed limit to its 
i/o.

Whether cutting a trail thru software is your cup of tea or not, it might 
be worth looking at, see it on the pine site. They also see a 
pre-assembled thing they call a pinebook, based on the pine64, an older 
variation on the rock64.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Wanted - a Debian SOHO NAS

2017-11-10 Thread Weaver
On 2017-11-11 01:57, Reco wrote:
> Dear list.
> 
> I've read recent 'Anyone using stretch/buster/sid on ARMv4t' and 'Wanted
> - a Debian handheld' threads, and decided to ask you all for an advice.
> 
> I have this QNAP TS-412 box that runs Debian for several years with
> small downtimes and it works beautifully. But, the thing starts to show
> its age.
> 
> What I'm looking for is a suitable replacement with the following
> treats:
> 
> - Able to run Debian, stock kernel is strongly preferred.
> - Non-x86, and I don't need another kirkwood ARM.
> - Gigabit Ethernet.
> - 4 SATA disk slots.
> - I don't care whenever it's a box or a rack mount.
> 
> All suggestions are welcome.

Price range?

-- 
"It is the duty of the patriot to protect his country from its 
government."
 -- Thomas Paine

Registered Linux User: 554515



Wanted - a Debian SOHO NAS

2017-11-10 Thread Reco
Dear list.

I've read recent 'Anyone using stretch/buster/sid on ARMv4t' and 'Wanted
- a Debian handheld' threads, and decided to ask you all for an advice.

I have this QNAP TS-412 box that runs Debian for several years with
small downtimes and it works beautifully. But, the thing starts to show
its age.

What I'm looking for is a suitable replacement with the following
treats:

- Able to run Debian, stock kernel is strongly preferred.
- Non-x86, and I don't need another kirkwood ARM.
- Gigabit Ethernet.
- 4 SATA disk slots.
- I don't care whenever it's a box or a rack mount.

All suggestions are welcome.

Reco



Re: Wanted - a Debian handheld

2017-11-10 Thread Neo

Ah and btw:

https://wiki.debian.org/Handheld



Re: Wanted - a Debian handheld

2017-11-10 Thread Neo


Am 10.11.2017 um 15:24 schrieb Darac Marjal:




The easiest solution is to not fit a SIM card, however, be aware that 
in some countries limited cellular access may be possible even without 
a SIM card (for example, in some countries you can call emergency 
services from a phone with no SIM card; in some you do need a SIM card 
even if it is out-of-range, blocked or not activated). 


Its in fact part of the spec.

Part of the GSM authentication and network attach spec allows any device 
w/o a SIM, or without a valid SIM, to attach to the network, and will 
accept emergency calls.


E.g. If you have a T-Mobile phone, and occasionally see it in SOS mode, 
what's happened is that the phone can't see a T-Mobile tower, and 
connects to an AT tower instead. There's no roaming agreement, so AT 
won't let the device onto the network, but will accept SOS calls.


Re: Wanted - a Debian handheld

2017-11-10 Thread Darac Marjal

On Fri, Nov 10, 2017 at 09:06:22AM -0600, Richard Owlett wrote:

On 11/10/2017 08:30 AM, Darac Marjal wrote:

On Fri, Nov 10, 2017 at 02:24:18PM +, Darac Marjal wrote:

On Fri, Nov 10, 2017 at 06:37:28AM -0600, Richard Owlett wrote:

I've asked a very similar question on two fora and received useful
feedback. I've revised my feature list.

Must:


Given JUST these requirements, almost any android device will
suffice.



*BUT* The subject line did explicitly state "Debian" for two


True. The message claimed to be about Debian handhelds, but it actually 
wasn't. 


reasons:
 1. exclude Android devices.
 2. restrict discussion to my preferred Linux.

I've been literal minded for over 70 years and bull headed for most of it ;/


[snip]


Oh, and I've remembered another alternative, the Purism Librem 5[2].
This is NOT available in the U.S. (though it should be in the coming
months), but it's a 5" touchsceen smartphone with USB hosting
capability, and a hardware kill-switch for disabling baseband
(cellular) radio.

[2] https://puri.sm/shop/librem-5/



That's going in the right direction. We'll see if I haven't found 
another solution by the time its available in the U.S.





--
For more information, please reread.


signature.asc
Description: PGP signature


mysqldump from mysql 5.1.73 to mariadb 10.1.26 imports no data

2017-11-10 Thread Tapio Lehtonen
I am importing databases from old host to new. Checking stuff I noticed 
all databases were created but they had no tables and no records.


Examining this I tried to run the mysqldump that tries to copy the 
database from SOURCE to TARGET. Seems it does not dump the contents of 
the database, just some SET lines. Example below with usernames and 
passwords edited out. This command was run on the TARGET. I did not 
see error messages in logs.


root@ispc6:~# mysqldump -cCQ --triggers --routines --quote-names 
--hex-blob -h  -p'password' alfamat_db
-- MySQL dump 10.16  Distrib 10.1.26-MariaDB, for debian-linux-gnu 
(x86_64)

--
-- Host: 999.999.999.999    Database: alfamat_db
-- --
-- Server version    5.1.73-1+deb6u1-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, 
FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, 
SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
root@ispc6:~# 


I tried the same dump command on the SOURCE with suitable username and 
password, there the command does dump oodles of stuff after similar /* 
. */ lines.


As can be seen form the above dump output, the TARGET has MariaDb and 
SOURCE has very old MySQL. Is this some incompatibility that prevents 
dumping contents of database?I did find similar problems from year 2008, 
when running mysqldump on MySQL 5 to dump data from MySQL 4 server 
resulted in no data in the dump.


Tapio Lehtonen



Re: Wanted - a Debian handheld

2017-11-10 Thread Richard Owlett

On 11/10/2017 08:30 AM, Darac Marjal wrote:

On Fri, Nov 10, 2017 at 02:24:18PM +, Darac Marjal wrote:

On Fri, Nov 10, 2017 at 06:37:28AM -0600, Richard Owlett wrote:

I've asked a very similar question on two fora and received useful
feedback. I've revised my feature list.

Must:


Given JUST these requirements, almost any android device will
suffice.



*BUT* The subject line did explicitly state "Debian" for two
reasons:
  1. exclude Android devices.
  2. restrict discussion to my preferred Linux.

I've been literal minded for over 70 years and bull headed for most of it ;/


[snip]


Oh, and I've remembered another alternative, the Purism Librem 5[2].
This is NOT available in the U.S. (though it should be in the coming
months), but it's a 5" touchsceen smartphone with USB hosting
capability, and a hardware kill-switch for disabling baseband
(cellular) radio.

[2] https://puri.sm/shop/librem-5/



That's going in the right direction. We'll see if I haven't found 
another solution by the time its available in the U.S.





fmt - formater un texte

2017-11-10 Thread G2PC
Bonjour, on m'a parlé de fmt pour formater des textes plus facilement.
Mes sources proviennent de pdf, que l'on m'a autorisé à diffuser en ligne.

J'ai consulté le manuel de fmt :
http://www.man-linux-magique.net/man1/fmt.html

Je ne sais pas comment formater le texte, pour qu'il n'y ait pas de
retour chariot en fin de ligne, comme c'est le cas sur l'exemple
suivant. Dans mon cas, il faudrait que le texte se suive, pour être
inclus dans un wiki.


Démarche éthique
Rassembler toutes les personnes qui, par leurs actions journalières,
dans le domaine de la Bioconstruction
(comme dans les autres domaines de la vie) œuvrent pour un environnement
plus sain et plus écologique.
Promouvoir, enseigner, imaginer, concevoir, restaurer et construire des
habitats sains et écologiques
s'intégrant au milieu naturel, pour le bien-être des populations et le
respect de l'environnement.
Mettre en commun les savoir-faire et le fruit des recherches dans tous
les domaines de la Bioconstruction et
dans les métiers qui se préoccupent de l’écologie pour un monde plus
cohérent et plus solidaire.
Créer une synergie entre les professionnels optant pour la
Bioconstruction et s'engageant à proposer des
alternatives saines à leurs clients et une qualité de prestation dans la
déontologie de leurs métiers,
Communiquer ses connaissances à tous ceux qui œuvrent pour une vraie
qualité de la vie, permettant de
préserver les ressources naturelles de la planète Terre que nous
léguerons aux générations futures.



Re: Wanted - a Debian handheld

2017-11-10 Thread Darac Marjal

On Fri, Nov 10, 2017 at 02:24:18PM +, Darac Marjal wrote:

On Fri, Nov 10, 2017 at 06:37:28AM -0600, Richard Owlett wrote:
I've asked a very similar question on two fora and received useful 
feedback. I've revised my feature list.


Must:


Given JUST these requirements, almost any android device will suffice.


1. be currently available from U.S. retail vendor.


Android makes up ~50% of the U.S. handheld market.


2. have a physical form factor similar to a "smartphone".


While non-"smartphone" android devices exist (Tablets, TV devices, 
Android Auto etc), they are a relatively small percentage of the 
Android install base. Almost all are non-flip smartphone form-factor.



3. have provision for using an _optional_ full size keyboard.
 [A permanently attached keyboard is undesirable.]


This is achievable either through bluetooth or through USB (additional 
hardware such as a USB-on-the-go adapter and USB hub may be required)



4. have touchscreen display.


Android smartphones without touchscreen displays are, if they exist, 
so rare as to be unheard of. Some of the cheaper ones MAY come with a 
resistive touchscreen, though, if that's an issue.



5. be able to read/write a USB flash drive (preferably FAT32 or ext2).


Again, this would be achievable with a USB-on-the-go cable, though 
something like Stickmount[1] may make mounting the device easier.


[1] 
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount



6. not have cell network connectivity as purchased.


The easiest solution is to not fit a SIM card, however, be aware that 
in some countries limited cellular access may be possible even without 
a SIM card (for example, in some countries you can call emergency 
services from a phone with no SIM card; in some you do need a SIM card 
even if it is out-of-range, blocked or not activated).


Oh, and I've remembered another alternative, the Purism Librem 5[2]. 
This is NOT available in the U.S. (though it should be in the coming 
months), but it's a 5" touchsceen smartphone with USB hosting 
capability, and a hardware kill-switch for disabling baseband (cellular) 
radio.


[2] https://puri.sm/shop/librem-5/





Raspberry Pi was suggested on both fora. I investigated it and 
Beaglebone. Both are uncomfortably DIY. Minimally acceptable would 
be a parts list [including case and battery] known to work together.


TIA




--
For more information, please reread.




--
For more information, please reread.


signature.asc
Description: PGP signature


Re: Wanted - a Debian handheld

2017-11-10 Thread Darac Marjal

On Fri, Nov 10, 2017 at 06:37:28AM -0600, Richard Owlett wrote:
I've asked a very similar question on two fora and received useful 
feedback. I've revised my feature list.


Must:


Given JUST these requirements, almost any android device will suffice.


1. be currently available from U.S. retail vendor.


Android makes up ~50% of the U.S. handheld market.


2. have a physical form factor similar to a "smartphone".


While non-"smartphone" android devices exist (Tablets, TV devices, 
Android Auto etc), they are a relatively small percentage of the Android 
install base. Almost all are non-flip smartphone form-factor.



3. have provision for using an _optional_ full size keyboard.
  [A permanently attached keyboard is undesirable.]


This is achievable either through bluetooth or through USB (additional 
hardware such as a USB-on-the-go adapter and USB hub may be required)



4. have touchscreen display.


Android smartphones without touchscreen displays are, if they exist, so 
rare as to be unheard of. Some of the cheaper ones MAY come with a 
resistive touchscreen, though, if that's an issue.



5. be able to read/write a USB flash drive (preferably FAT32 or ext2).


Again, this would be achievable with a USB-on-the-go cable, though 
something like Stickmount[1] may make mounting the device easier.


[1] 
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount



6. not have cell network connectivity as purchased.


The easiest solution is to not fit a SIM card, however, be aware that in 
some countries limited cellular access may be possible even without a 
SIM card (for example, in some countries you can call emergency services 
from a phone with no SIM card; in some you do need a SIM card even if it 
is out-of-range, blocked or not activated).




Raspberry Pi was suggested on both fora. I investigated it and 
Beaglebone. Both are uncomfortably DIY. Minimally acceptable would be 
a parts list [including case and battery] known to work together.


TIA




--
For more information, please reread.


signature.asc
Description: PGP signature


Problème avec les alternatives de python et l'installation de meld et caja

2017-11-10 Thread Benoit B
Bonjour à tous,


J'avais mis python3.5 par défaut, mais ça crée des problèmes avec dpkg
lors d'installation de paquets dépendants de python.
Je les ai supprimées pour 2.7 et 3.5, mais il n'y a plus de liens
symbolique vers le binaire.
update-alternatives --remove python /usr/bin/python3.5
update-alternatives --remove python /usr/bin/python2.7

Comment remettre en ordre les alternatives par défaut de python ?
Une réinstallation n'a pas fonctionné :

apt --reinstall install python python3.5

D'autre part j'ai des problèmes en installant meld et caja

dpkg: erreur de traitement du paquet caja (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 meld
 python-urllib3
 python-requests
 mate-desktop
 caja
E: Sub-process /usr/bin/dpkg returned an error code (1)

Comme les résoudre ?

Merci d'avance.

--
Benoit



Wanted - a Debian handheld

2017-11-10 Thread Richard Owlett
I've asked a very similar question on two fora and received useful 
feedback. I've revised my feature list.


Must:
1. be currently available from U.S. retail vendor.
2. have a physical form factor similar to a "smartphone".
3. have provision for using an _optional_ full size keyboard.
   [A permanently attached keyboard is undesirable.]
4. have touchscreen display.
5. be able to read/write a USB flash drive (preferably FAT32 or ext2).
6. not have cell network connectivity as purchased.

Raspberry Pi was suggested on both fora. I investigated it and 
Beaglebone. Both are uncomfortably DIY. Minimally acceptable would be a 
parts list [including case and battery] known to work together.


TIA




Re: Imposible reproducir nada vía gstreamer con otro usuario distinto de ROOT

2017-11-10 Thread jEsuSdA 8)

El 10/11/17 a las 08:34, Rafael Ruiz Gonzalez escribió:

Buenas, puede que sea porque el usuario no pertenezca al grupo video?

en todo caso, un # usermod -a -G video nombre_usuario
puede que solucione el problema?


Gracias, Rafael, por responder a mi correo. ;)

El tema del grupo video no creo que sea:

jesusda@lucas in ~
$ → cat /etc/group | grep video
video:x:44:jesusda


¿Hay algún otro grupo al que deba añadirme?




saludos.


Mil gracias. ;)



El 09/11/17 a las 20:56, jEsuSdA 8) escribió:

Hola,

Recientemente reinstalé mi PC con Debian y ahora me doy cuenta de que
no puedo ver ningún vídeo o audio con Parole, Totem o ningún otro
programa que emplee Gstreamer como backend.

Curiosamente, si ejecuto dichos programas como ROOT, sí se ven, lo que
descartaría, a mi entender, ningún problema de códecs.

He probado algunos trucos que he encontrado en internet sin ninguna
fortuna.

¿Alguna sugerencia o ayuda?




Re: Sync two disks and hot swap

2017-11-10 Thread Curt
On 2017-11-10, Curt  wrote:
>>
>> I didn't get the impression it's a software question as much as a "how 
>> does unskilled/unprivileged person know when it's ok to pull out the 
>> drive" question, because the actual backing up is already done.
>
> Hack the person.
>
>> And remember the first rule of backup software: all backup software is 
>> terrible. :) The reason there are so many packages available is that so 
>> many people couldn't stand using anything that already existed.
>
> There are good Chinese restaurants.

Sorry. I meant to say there can be good dishes in Chinese restaurants.
Excuse me for the mental faux pas.

>> Mike Stone
>>
>>
>
>


-- 
"A simpering Bambi narcissist and a thieving, fanatical Albanian dwarf."
Christopher Hitchens, commenting shortly after the nearly concurrent deaths 
of Lady Diana and Mother Theresa.



Re: Sync two disks and hot swap

2017-11-10 Thread Curt
On 2017-11-09, Michael Stone  wrote:
> On Thu, Nov 09, 2017 at 10:54:57AM -0800, David Christensen wrote:
>>There are many choices for software:
>
> I didn't get the impression it's a software question as much as a "how 
> does unskilled/unprivileged person know when it's ok to pull out the 
> drive" question, because the actual backing up is already done.

Hack the person.

> And remember the first rule of backup software: all backup software is 
> terrible. :) The reason there are so many packages available is that so 
> many people couldn't stand using anything that already existed.

There are good Chinese restaurants.

> Mike Stone
>
>


-- 
"A simpering Bambi narcissist and a thieving, fanatical Albanian dwarf."
Christopher Hitchens, commenting shortly after the nearly concurrent deaths 
of Lady Diana and Mother Theresa.



Re: Talking about RAID - disks with same id

2017-11-10 Thread deloptes
Hi Joe,

thank you for the mesage

Joe Pfeiffer wrote:

> This is normal.  It's the identical UUIDs that tell the system that the
> partitions go into the same RAID array.
> 
> Here's what I see when I look at my RAID disks:
> 
> /dev/sda2: UUID="67d3c233-96a0-737c-5f88-ed9b936ea3ae"
> UUID_SUB="48b56869-6f19-21b9-283f-3eee3ac90cf8" LABEL="snowball:1"
> TYPE="linux_raid_member" PARTUUID="3bb3729a-528b-4384-b6a5-b6d9e148ed2a"
> /dev/sdb2: UUID="67d3c233-96a0-737c-5f88-ed9b936ea3ae"
> UUID_SUB="1f48f805-4173-78cd-1f52-957920f66335" LABEL="snowball:1"
> TYPE="linux_raid_member" PARTUUID="1bdd3893-9346-49d2-8292-a61075ad0c5e"
> 

you see in your case PARTUUID is different for both members. In my case it
is identical and this is what is bothering me

> and here's the relevant line in my /etc/mdadm/mdadm.conf
> ARRAY /dev/md/1  metadata=1.2 UUID=67d3c233:96a0737c:5f88ed9b:936ea3ae
> name=snowball:1
> 

It looks like the new style raid (I don't recall in which version it was
introduced). However this raid was created ~12y ago without metadata.

> But...  if this data is that important, you should be running backups.
> RAID is to keep you running if a disk fails, it isn't to keep you from
> losing data.

Indeed this is true - I make backups but not that often as data changes not
that often, however it might be good idea to run on regular bases.

I guess I'll have to sit over the weekend and make a plan.

thanks

regards