Re: WTF does Firefox 58?

2018-03-04 Thread Michelle Konzack
Hello Виталий Воронов,

 (whatever this mean)

Am 2018-03-04 hackte Виталий Воронов in die Tasten:
> One of the dumbest features modern browsers have integrated for some
> reason.

Grmpf!

> Setting network.prefetch-next to false seems to be the first result on
> looking up, but I presume that failed.

It was set to false, but it still prefetch...

> There may be something working along the lines of
> media.autoplay.enabled

Hmmm, this was set to "true"...

> or other "media." options. If those don't work nor anything in
> https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections,
> you might need to disable video support. All of it. Yeah, it sucks.

I have ALL disabled from the link. Left over this WebRTC stuff,
which trigger all the day my firewall and SELinux warnings.

I can not get rid of the WebRTC stuff in FF58.

> Good luck.

Thanks in advance

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400



Re: NUC7i3DNKE + écrans qui clignotent

2018-03-04 Thread Yann Serre

Bonjour,

- la connectique
(cas le plus souvent rencontré - tenter d'essuyer les broches ?)

- la bande passante des câbles
(un câble de mauvaise qualité ou bien qui touche un transformateur 
d'alimentation qui génère des perturbations électro-magnétiques et le 
câble n'est plus capable de transmettre 100% du signal)


- la carte graphique est-elle correctement ventilée ?
si ce n'est pas une ventilation mécanique, la ventilation passive 
a-t-elle un flux d'air suffisant ?
(une sécurité pourrait couper brièvement l'étage de puissance de la 
carte graphique à une température maximale)



Autre problème matériel :
- un vieux moniteur peut avoir une alimentation dont un composant a 
besoin de se stabiliser au démarrage (montée en température), avant de 
provoquer une panne d'alimentation complète dans les semaines suivantes.




Re: WTF does Firefox 58?

2018-03-04 Thread Michelle Konzack
Hi,

Am 2018-03-04 hackte deloptes in die Tasten:
> May be Putin designed it specially for you (with irony) :)

Hehehe, time to do something in russia...

> now seriously I think it is HTML5 feature

This is what I suspect, because when I used the "mediaplayer43.swf"
anything went fine.

> regards

Thanks in advance

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400



Re: WTF does Firefox 58?

2018-03-04 Thread Michelle Konzack
Hi Carl,

Am 2018-03-04 hackte Carl Fink in die Tasten:
> I haven't tested, but will the advice here help you?
> https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections

Thankyou for the link, now even some strange SELinux warnings  are  gone
and I do not even know, which of the about:config options has solved it.

However, I will see if it downloads again stuff, because prefetching was
already set to false.

Thanks and nice week

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400



(solved) Re: can't install mplayer of stretch

2018-03-04 Thread Long Wind
i've found the causegcc-6-base from security update is cause9.3.0 CD isn't cause
during re-installation, i disconnect ethernetto prevent installing security 
update 

On Monday, March 5, 2018 6:02 AM, Long Wind  wrote:
 

 there is a typo in my last post:  not -> now
the cause might be i use installation CD 9.3.0but now apt source is newest 
(ftp.utexas.edu) 

On Sunday, March 4, 2018 4:55 PM, Long Wind  wrote:
 

 the cause might be i use installation CD 9.3.0but not apt source is newest 
(ftp.utexas.edu)
below is error msg of "apt-get install mplayer"is it possible to fix it? Thanks!

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mplayer : Depends: libavcodec57 (>= 7:3.2.2) but it is not going to be 
installed or
libavcodec-extra57 (>= 7:3.2.2) but it is not going to be 
installed
   Depends: libavformat57 (>= 7:3.2.2) but it is not going to be 
installed
   Depends: libswresample2 (>= 7:3.2.2) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.


   

   

Re: NUC7i3DNKE + écrans qui clignotent

2018-03-04 Thread Hugues MORIN
Salut


C est bizarre en effet.
Il faudrai controler le materiel car ca ressemble a un probleme
electronique (alimentation, carte video ou meme carte mere) plus que
logiciel

C est le genre de panne galere a resoudre

Cordialement
Hugues

Le 4 mars 2018 22:03, "JF Straeten"  a écrit :

>
> Chère Liste,
>
>
> Je me permets de vous soumettre le problème que je rencontre sur une
> nouvelle machine, après avoir essayé une série de choses qui ne le
> résolvent pas, en espérant que quelqu'un aurait une expérience utile
> en la matière, ou déjà une idée ou deux :-)
>
> La machine est un NUC Intel, modèle NUC7i3DNKE.
>
> Son processeur est un Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz
>
> Sa carte graphique, selon lspci : Intel Corporation HD Graphics 620 (rev
> 02)
>
> Elle a 4GB de RAM de marque 2-Power dans le slot inférieur et est
> couplée à deux écrans DELL U3011 par des câbles HDMI to DVI-D Dual
> Link (ce barebone n'a que deux connecteurs HDMI 2.0). Ça fait donc 2x
> 2560x1600 en résolution (et il peut aller jusqu'à 2x 4k, @60 Hz).
>
> Enfin, elle est utilisée comme client léger sous LTSP, bootant sur un
> serveur LTSP en NFS, mais l'aspect LTSP est indifférent.
>
> Question OS, a priori tout est du stretch pur jus, à jour (donc tant
> le serveur LTSP que l'OS utilisé par le client léger, c.-à-d. ici le
> NUC).
>
>
> Le souci rencontré est que les écrans clignotent de temps en temps :
> ils s'éteignent (l'un ou l'autre ou les deux) une à deux secondes,
> voire parfois 4-5, et puis se rallument...
>
> Jusqu'ici, j'ai lancé le NUC sous stretch 32bits et amd64, sans et
> puis avec le microcode Intel (avec, ça améliore sensiblement les
> choses, bien que ça ne soit pas encore parfait), pour finir enfin en
> buster, avec le noyau 4.14.
>
> Toujours avec le microcode, les résultats varient en fonction de la
> version du noyau : avec le 4.9 de stretch, c'est inutilisable
> tellement ça clignote. C'est un poil mieux avec le 4.14 des backports,
> toujours en stretch et ça devient utilisable, mais encore gênant avec
> le 4.14 de buster.
>
> Pour voir, j'ai booté aussi, toujours sous buster, avec le noyau
> 4.15.7 de sid, mais là c'est catastrophique (et pour cause : le noyau
> désactive une partie du microcode Intel en signalant qu'il ne résout
> pas Spectre (j'ai oublié les termes exacts, mais le microcode est
> pourtant la dernière version de chez Intel : 20171117).
>
> Enfin, à part en 4.15.7, j'ai chaque fois essayé avec les pilotes
> graphiques modesetting et Intel. On ne peut toutefois pas dire que ça
> fait une différence notable de comportement, et comme modesetting est
> recommandé et semble (mais c'est subjectif) un poil plus rapide à
> l'affichage, je tourne avec ce pilote, sous buster pour le moment.
>
> Enfin encore, je viens aussi d'upgrader le bios du NUC à la dernière
> version (039) du 22/02/2018.
>
> Mais même si ça n'a plus rien à voir avec les débuts sous stretch, les
> clignotements persistent quand même encore, sur l'un ou l'autre des
> écrans, au point que j'hésite à laisser ça comme poste de travail en
> l'état...
>
> Inverser les écrans ne change rien ; un à la fois ou deux, c'est tout
> à fait pareil ; les connecteurs sont bien vissés aux écrans, etc.
>
> Rien n'y fait : c'est totalement erratique. L'un ou l'autre s'éteint
> puis se rallume, jusqu'à parfois 10x sur quelques minutes, et puis
> plus rien pendant un moment, etc.
>
> Les seuls constats qui semblent pouvoir être posés sont :
>
> - que le phénomène ne semble jamais se produire quand l'écran change
>   en permanence : en lançant xscreensaver ou un film, je ne l'ai
>   jamais surpris à s'éteindre de manière inexpliquée. C'est quand
>   l'image est fixe, mais qu'on tape du texte ou non, ça le fait ;
>
> - que l'écran qui n'a pas le focus *semble* s'exciter davantage que
>   celui qui contient la fenêtre où je tape ceci, mais c'est difficile
>   d'en être sûr...
>
> Voilà le phénomène bizarre. Si quelqu'un a une expérience utile à
> partager ou ne fut-ce qu'une idée de piste à explorer, je suis
> preneur :-)
>
> Je vous remercie d'avance, en tout cas de m'avoir lu.
>
> A+
>
>
>
> --
>
> JFS.
>
>


Re: Does bash have a tool ?

2018-03-04 Thread Erik Christiansen
On 04.03.18 10:28, Richard Owlett wrote:
> 
> I don't have any background in Perl and the last formal course in
> programming was in the 60's.
> 
> However awk and/or sed may be what I'm looking for and are well documented.
> Your description of nedit is interesting. I'll investigate. I'm on my way
> out at the moment.

Awk and Sed were created in the unix big bang, and might indeed be just
be your speed. (Some enhancements have been added to Awk since, such as
co-processes, but the current use case won't need that.)

It seems you're onto some doco, but this is hard to beat:
The Addison Wesley "The AWK programming Language" is a slender concise
exposition of the tool's use and capabilities, written by Awk's authors,
Aho, Weinberger, and Kernighan. The permuted index greatly eases finding
stuff in it.

This is a quick start: www.gnu.org/software/gawk/manual/gawk.html
Like the Addison Wesley dead-tree book, its "Sample Programs" shows that
Awk has a C-like syntax, supercharged with posix regexes, associative
arrays, etc.

A quick intro to regular expressions can be found in:
$ man regex
(Awk defaults to the more compact and easily read EREs, rather than
obsolete BREs.)

The awk manpage is a good reference, but as with all manpages, not a
tutorial.

Over the last three decades or more, I've found that Awk and shell have
more than adequately handled all my text munging requirements, right up
to a C-code generator taking structured English input to create
heterogenous communities of interacting state machines.

Erik



Re: can someone tell me how to make FF fill out, or type into a form, and submit it?

2018-03-04 Thread Jude DaShiell
I wonder, is wput available as a package?  It's supposed to be able to 
do the reverse of what wget does.  Curl might also get the job done too, 
but I think I'd try wput first.


On Sun, 4 Mar 2018, rhkra...@gmail.com wrote:


Date: Sun, 4 Mar 2018 23:35:37
From: rhkra...@gmail.com
To: debian-user@lists.debian.org
Subject: Re: can someone tell me how to make FF fill out, or type into a form,
and submit it?
Resent-Date: Mon,  5 Mar 2018 04:36:09 + (UTC)
Resent-From: debian-user@lists.debian.org

On Sunday, March 04, 2018 10:19:00 PM Gene Heskett wrote:

I have just completed trying nearly all the browsers in the wheezy
repo's, without finding one that can do that. All, when arriving at such
a page, spin the mouse cursor forever, blocking any progress from that
point on. I can with most, type into the form, but the spinning cursor
prevents any response to the submit, or next page buttons. True even
when no pluggins are installed.

Is there a fix for this?


Do you have an example of a form / URL that doesn't work?  I don't think I
have any trouble.




--



Re: can someone tell me how to make FF fill out, or type into a form, and submit it?

2018-03-04 Thread Gene Heskett
On Sunday 04 March 2018 23:35:37 rhkra...@gmail.com wrote:

> On Sunday, March 04, 2018 10:19:00 PM Gene Heskett wrote:
> > I have just completed trying nearly all the browsers in the wheezy
> > repo's, without finding one that can do that. All, when arriving at
> > such a page, spin the mouse cursor forever, blocking any progress
> > from that point on. I can with most, type into the form, but the
> > spinning cursor prevents any response to the submit, or next page
> > buttons. True even when no pluggins are installed.
> >
> > Is there a fix for this?
>
> Do you have an example of a form / URL that doesn't work?  I don't
> think I have any trouble.



But I've just now found a browser that does Just Work, palemoon. Walked 
right thru that site and sent messages to my congress critters without a 
fuss.

-- 
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: can someone tell me how to make FF fill out, or type into a form, and submit it?

2018-03-04 Thread rhkramer
On Sunday, March 04, 2018 10:19:00 PM Gene Heskett wrote:
> I have just completed trying nearly all the browsers in the wheezy
> repo's, without finding one that can do that. All, when arriving at such
> a page, spin the mouse cursor forever, blocking any progress from that
> point on. I can with most, type into the form, but the spinning cursor
> prevents any response to the submit, or next page buttons. True even
> when no pluggins are installed.
> 
> Is there a fix for this?

Do you have an example of a form / URL that doesn't work?  I don't think I 
have any trouble. 



Re: Does bash have a tool ?

2018-03-04 Thread rhkramer
On Sunday, March 04, 2018 09:18:56 PM Richard Hector wrote:
> A KSR-35 seems to be a sniper rifle ... Ah, but an IBM 026 might be a
> key punch? So I guess the KSR-35 is for punching paper tape at a
> distance. Communication was primitive in those days, wasn't it :-)

LOL!!



Re: Does bash have a tool ?

2018-03-04 Thread John Hasler
Richard Owlett writes:
> Do youngsters here recognize they are being teased?
> a KSR-35 wrote/read paper tape
> a 026 punched Hollerith(sp?) cards
> We'll leave to their anemic imagination what "high speed paper tape" might
> be! *ROFL*

You're describing an ASR (Automatic Send Receive) teleprinter.  KSR
means Keyboard Send Receive: no tape.

The Model 19 was more fun.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



can someone tell me how to make FF fill out, or type into a form, and submit it?

2018-03-04 Thread Gene Heskett
greetings all;

I have just completed trying nearly all the browsers in the wheezy 
repo's, without finding one that can do that. All, when arriving at such 
a page, spin the mouse cursor forever, blocking any progress from that 
point on. I can with most, type into the form, but the spinning cursor 
prevents any response to the submit, or next page buttons. True even 
when no pluggins are installed.

Is there a fix for this?

Thanks.

-- 
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: Does bash have a tool ?

2018-03-04 Thread Richard Owlett

On 03/04/2018 06:51 PM, David Wright wrote:

On Sun 04 Mar 2018 at 12:14:36 (-0600), John Hasler wrote:

Richard Owlett writes:

I don't have any background in Perl and the last formal course in
programming was in the 60's.


Perl is just bash, ed, sed, awk, grep, etc all smushed together into
one.


However awk and/or sed may be what I'm looking for and are well
documented.


It's exactly what those tools are for.  Don't forget the rest of the
toolkit.


There's a case here for using specialist tools as we know we're
dealing with emails.

I'd start by using a client like mutt to sort out which messages to
process. The easiest way of doing this is¹ to copy the outbox, open
the copy and sort the index by Subject. (o s in mutt.)

Because Re: is normally ignored in mutt when sorting thus, type
:set reply_regexp=""
to temporarily defeat that. As a result, all the Re: messages now
sort together.

On the first Re: in the list, press and hold down the  key to
mark them as deleted. $ will now purge them. Quit.

Now I would run formail on the shrunken mailbox using the -s option
to run itself recursively, thus:

$ formail -s formail -I "" < path/to/shrunken-mailbox > 
file-of-concatenated-bodies

The first formail splits the mailbox and pipes each message to the
second one which strips the headers, pipes it back to the first which
pipes it into the output file.

¹the process may differ from client to client.

Cheers,
David.





IOW I should become educated

IOW "I should think"
I did not recognize appropriate direction





Re: Does bash have a tool ?

2018-03-04 Thread Richard Owlett

On 03/04/2018 08:18 PM, Richard Hector wrote:

[snip ;]

You youngsters. KSR-35 and 026 are my speed ;}


A KSR-35 seems to be a sniper rifle ... Ah, but an IBM 026 might be a
key punch? So I guess the KSR-35 is for punching paper tape at a
distance. Communication was primitive in those days, wasn't it :-)



*ROFL*
Do youngsters here recognize they are being teased?
a KSR-35 wrote/read paper tape
a 026 punched Hollerith(sp?) cards
We'll leave to their anemic imagination what "high speed paper tape" 
might be! *ROFL*





Re: jessie powermac yboot: ybin fails

2018-03-04 Thread Rick Thomas

On Mar 2, 2018, at 7:51 AM, Felix Miata  wrote:

> Rick Thomas composed on 2018-03-02 04:17 (UTC-0800):
> 
>> Felix Miata wrote:
> 
>>> # ybin
>>> ofpath: Device: /dev/ata-ST is not supported
>>> ybin: Unable to determine OpenFirmware path for 
>>> macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10
>>> ybin: Try specifying the real OpenFirmware path for 
>>> macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10 in 
>>> /etc/yaboot.conf
> 
>>> I tried to add cmdline options via /etc/yaboot.conf, but as above, ybin 
>>> fails. I've
>>> looked at 
>>> https://www.debian.org/ports/powerpc/inst/yaboot-howto/index.en.html#contents
>>> over and over, and the yaboot.conf and ybin man pages, and cannot figure 
>>> out which
>>> partition is the OpenFirmware path that I apparently need to give ybin with 
>>> the -o
>>> option. Can anyone see from what follows what it would be, or tell me how 
>>> to find it,
>>> or what else I'm missing? Is the partition labeled bootstrap (sda13) the 
>>> same as the
>>> OpenFirmware partition?
> 
>>> # ls -l /dev/disk/by-id/*M03
>>> lrwxrwxrwx 1 root root 9 Feb 28 03:13 
>>> /dev/disk/by-id/ata-ST340015A_5LA13M03 -> ../../sda
> 
>>> # ls -l /dev/disk/by-label/
>>> total 0
>>> lrwxrwxrwx 1 root root 11 Feb 28 04:04 bootstrap -> ../../sda13
>>> lrwxrwxrwx 1 root root 11 Feb 28 03:13 ST40-OSX -> ../../sda10
> 
>>> # parted -l /dev/sda
>>> Model: ATA ST340015A (scsi)
>>> Disk /dev/sda: 40.0GB
>>> Sector size (logical/physical): 512B/512B
>>> Partition Table: mac
>>> Disk Flags:
> 
>>> Number  Start   End SizeFile system Name  Flags
>>> 1  512B32.8kB  32.3kB  Apple
>>> 2  32.8kB  61.4kB  28.7kB  Macintosh
>>> 3  61.4kB  90.1kB  28.7kB  Macintosh
>>> 4  90.1kB  119kB   28.7kB  Macintosh
>>> 5  119kB   147kB   28.7kB  Macintosh
>>> 6  147kB   410kB   262kB   Macintosh
>>> 7  410kB   672kB   262kB   Macintosh
>>> 8  672kB   934kB   262kB   Patch Partition
>>> 13  934kB   135MB   134MB   hfs Yabootboot
>>> 10  135MB   20.0GB  19.9GB  hfs+Apple_HFS_Untitled_1
>>> 9  20.0GB  20.9GB  900MB   linux-swap(v1)  swap  swap
>>> 11  20.9GB  31.9GB  11.0GB  ext4jessieRoot
>>> 12  31.9GB  40.0GB  8109MB  ext4LinuxHome
> 
>>> # blkid /dev/sda1
>>> /dev/sda1: PARTLABEL="Apple"
>>> # blkid /dev/sda2
>>> /dev/sda2: PARTLABEL="Macintosh" # &3-7
>>> # blkid /dev/sda8
>>> /dev/sda8: PARTLABEL="Patch Partition"
> 
>>> # ofpath /dev/sda
>>> /pci@f400/ata-6@d/@1
> 
>> You’re more likely to get an answer to this on the powerpc list, so I CC’ed 
>> them.
> 
>> Also, it would be helpful to see what your /etc/yaboot.conf looks like.
> 
> boot="/dev/disk/by-id/ata-ST340015A_5LA13M03-part13"
> device=/pci@f400/ata-6@d/@1
> partition=11
> root="UUID=3d6512d0-21d2-410f-bf71-2fb2dbdb94e5"
> timeout=300
> delay=16
> install=/usr/lib/yaboot/yaboot
> magicboot=/usr/lib/yaboot/ofboot
> enablecdboot
> macosx="/dev/disk/by-id/ata-ST340015A_5LA13M03-part10"
> 
> image=/boot/vmlinux
>   label=curKernelShell
>   alias=3
>   read-only
>   initrd=/boot/initrd.img
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1024x768 3"
> 
> image=/boot/vmlinux.old
>   label=prvKernel
>   alias=p
>   read-only
>   initrd=/boot/initrd.img.old
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1280x800"
> 
> image=/boot/vmlinux
>   label=GUIcurKernel
>   alias=5
>   read-only
>   initrd=/boot/initrd.img
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1024x768 5"
> 
> image=/boot/vmlinux
>   label=NoSMP
>   alias=s
>   read-only
>   initrd=/boot/initrd.img
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1024x768 5"
> 
> macosx=/dev/hda10
> -- 
> "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/

For what it’s worth, here is the /etc/yaboot.conf on my PowerMac G5 that has 
both OSX and Debian Sid

rbthomas@kmac:~$ cat /etc/yaboot.conf
## yaboot.conf generated by debian-installer
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot="/dev/disk/by-id/ata-WDC_WD2500JD-41HBC0_WD-WCAL74658375-part2"
device=/ht@0,f200/pci@5/k2-sata-root@c/@0/@0
partition=3
root="/dev/mapper/kmac--vg-root"
timeout=50
install=/usr/lib/yaboot/yaboot

Re: can't install mplayer of stretch

2018-03-04 Thread deloptes
Mark Fletcher wrote:

> On Sun, Mar 04, 2018 at 10:01:23PM +, Long Wind wrote:
>> there is a typo in my last post:  not -> now
>> the cause might be i use installation CD 9.3.0but now apt source is
>> newest (ftp.utexas.edu)
>> 
>> On Sunday, March 4, 2018 4:55 PM, Long Wind 
>> wrote:
>>  
>> 
>>  the cause might be i use installation CD 9.3.0but not apt source is
>>  newest (ftp.utexas.edu)
>> below is error msg of "apt-get install mplayer"is it possible to fix it?
>> Thanks!
>> 
>> Reading package lists...
>> Building dependency tree...
>> Reading state information...
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>> 
>> The following packages have unmet dependencies:
>>  mplayer : Depends: libavcodec57 (>= 7:3.2.2) but it is not going to be
>>  installed or
>> libavcodec-extra57 (>= 7:3.2.2) but it is not going
>> to be installed
>>Depends: libavformat57 (>= 7:3.2.2) but it is not going to be
>>installed Depends: libswresample2 (>= 7:3.2.2) but it is not
>>going to be installed
>> E: Unable to correct problems, you have held broken packages.
>> 
>> 
>>
> Do apt update && apt upgrade as root, and see what it wants to do. You
> don't have to let it do it -- you can answer N when it asks for
> confirmation on the upgrade -- but you can see if it wants to upgrade a
> ton of packages. If it does, my suggestion would be to let it do so and
> then try the installation again.
> 

Alternatively related to those multimedia packages I sometimes need to
apt-get install --reinstall, which pulls some dependencies.

sudo apt-get install --reinstall libavcodec57 libavcodec-extra57
libavformat57 libswresample2 

regards




Re: can't install mplayer of stretch

2018-03-04 Thread Mark Fletcher
On Sun, Mar 04, 2018 at 10:01:23PM +, Long Wind wrote:
> there is a typo in my last post:  not -> now
> the cause might be i use installation CD 9.3.0but now apt source is newest 
> (ftp.utexas.edu) 
> 
> On Sunday, March 4, 2018 4:55 PM, Long Wind  wrote:
>  
> 
>  the cause might be i use installation CD 9.3.0but not apt source is newest 
> (ftp.utexas.edu)
> below is error msg of "apt-get install mplayer"is it possible to fix it? 
> Thanks!
> 
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  mplayer : Depends: libavcodec57 (>= 7:3.2.2) but it is not going to be 
> installed or
> libavcodec-extra57 (>= 7:3.2.2) but it is not going to be 
> installed
>Depends: libavformat57 (>= 7:3.2.2) but it is not going to be 
> installed
>Depends: libswresample2 (>= 7:3.2.2) but it is not going to be 
> installed
> E: Unable to correct problems, you have held broken packages.
> 
> 
>
Do apt update && apt upgrade as root, and see what it wants to do. You 
don't have to let it do it -- you can answer N when it asks for 
confirmation on the upgrade -- but you can see if it wants to upgrade a 
ton of packages. If it does, my suggestion would be to let it do so and 
then try the installation again.

The issue could be that it still thinks something is in the repository 
with a dependency on an older version of one of those libraries, and you 
need to update its understanding for it to see how it can fulfill your 
request to install mplayer.

If that doesn't help then you need to look closely at the libraries 
mplayer depends on and see if you have something pinning an older 
version of them or a conflict preventing them from being installed. I 
don't recall if apt has a why / why-not command, but aptitude does -- 
one early step would be to let the system tell you why it can't install 
the dependencies of mplayer. Note your error message complained about 
all of them, but it only takes one to actually have a problem, so check 
them all.

HTH

Mark



Re: Does bash have a tool ?

2018-03-04 Thread Richard Hector
On 05/03/18 07:59, Richard Owlett wrote:
> On 03/04/2018 11:02 AM, rhkra...@gmail.com wrote:
>> On Sunday, March 04, 2018 11:28:55 AM Richard Owlett wrote:
>>> I don't have any background in Perl and the last formal course in
>>> programming was in the 60's.
>>
>> Mine was very early 70's ('71)
>>
>>> However awk and/or sed may be what I'm looking for and are well
>>> documented. Your description of nedit is interesting. I'll investigate.
>>> I'm on my way out at the moment.
>>
>> Oh, I forgot, nedit doesn't handle UTF-8 (or any form of
>> Unicode)--that could
>> be a problem for you.
>>
>>
> 
> You youngsters. KSR-35 and 026 are my speed ;}

A KSR-35 seems to be a sniper rifle ... Ah, but an IBM 026 might be a
key punch? So I guess the KSR-35 is for punching paper tape at a
distance. Communication was primitive in those days, wasn't it :-)

Richard




signature.asc
Description: OpenPGP digital signature


Re: Does bash have a tool ?

2018-03-04 Thread David Wright
On Sun 04 Mar 2018 at 12:14:36 (-0600), John Hasler wrote:
> Richard Owlett writes:
> > I don't have any background in Perl and the last formal course in
> > programming was in the 60's.
> 
> Perl is just bash, ed, sed, awk, grep, etc all smushed together into
> one.
> 
> > However awk and/or sed may be what I'm looking for and are well
> > documented.
> 
> It's exactly what those tools are for.  Don't forget the rest of the
> toolkit.

There's a case here for using specialist tools as we know we're
dealing with emails.

I'd start by using a client like mutt to sort out which messages to
process. The easiest way of doing this is¹ to copy the outbox, open
the copy and sort the index by Subject. (o s in mutt.)

Because Re: is normally ignored in mutt when sorting thus, type
:set reply_regexp=""
to temporarily defeat that. As a result, all the Re: messages now
sort together.

On the first Re: in the list, press and hold down the  key to
mark them as deleted. $ will now purge them. Quit.

Now I would run formail on the shrunken mailbox using the -s option
to run itself recursively, thus:

$ formail -s formail -I "" < path/to/shrunken-mailbox > 
file-of-concatenated-bodies

The first formail splits the mailbox and pipes each message to the
second one which strips the headers, pipes it back to the first which
pipes it into the output file.

¹the process may differ from client to client.

Cheers,
David.



Re: An answer - was [Re: Does bash have a tool ?]

2018-03-04 Thread Forest Dean Feighner
I found this to be a good command line text editing reference:

https://github.com/learnbyexample/Command-line-text-processing



On Sun, Mar 4, 2018 at 6:54 PM, Richard Owlett  wrote:

> On 03/04/2018 09:26 AM, Richard Owlett wrote:
>
>> My eventual goal is to create a personalized FAQ.
>> To that end I've collected all my outgoing mail which DOES NOT have "Re:"
>> in the Subject into a single file {used standard SeaMonkey tools}.
>>
>> Using a text editor's search function I've placed "KEY1" at the
>> beginning of the body of each message. Similarly, I've placed "KEY2" at the
>> end of each body.
>>
>> Searches led to  which
>> describes tools to do word frequency tasks, primarily with bash builtins.
>>
>> First I need to eliminate the irrelevant text between "KEY2" of the
>> previous message and "KEY1" of the message of interest. It should be
>> straight forard to do in BASIC.
>>
>> But is there an already tested function for that?
>> TIA
>>
>
> I've received several suggestions.
> It appears that "vim" is closest to my "mind set".
> I went to the homepage and found ~half-dozen links.
> I found >dozen links to problems I hadn't mentioned.
>
> *FOR THE RECORD*
> Although EVERYTHING could solve stated problem, the vim homepage suggested
> solutions to problems I had not specified.
> I don't know ho they would take it, BUT the think like me.
>
> I've got up to a week's homework ...
>
> THANK YOU
>
>
>
>


Re: WTF does Firefox 58?

2018-03-04 Thread Joe Dennigan
Hi Brad,

> Pale Moon can spoof different user agent strings.  A feature that allows
> one to fool most sites into thinking you're using FF.
> 
> Look for useragent.override in about:config - there are quite a few set
> up by default to ensure certain sites work as well as possible.
> 
> I've yet to come across a site that won't work in PM.

Now that's something I hadn't thought of.  I'll have to give it a try.

Thanks for the idea.

Regards,

Joe



Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Brian
On Sun 04 Mar 2018 at 22:34:28 +0100, Philip Hands wrote:

> Jude DaShiell  writes:
> 
> ...
> > Many ways exist to solve this problem and it took a while to find out
> > what to do and how because there's more and better support from
> > debian-users than is in debian wiki
> 
> If you can see a way to improve the information on the wiki, please go
> ahead and do so -- that's what wikis are for, after all.

Indeed they are. It's a pity the people who incorporated
55netcfg-copy-config into netcfg didn't avail themselves of it.

> > or debian documentation.
> 
> We also have a bug tracker, and patches are generally welcome.

At least four bugs on this issue against netcfg; senior developers
declare themselves mystified as to the cause. Patches (suggestions
for workarounds have been posted to -boot) to 55netcfg-copy-config
might not be too hard. Patches for the reasoning behind its present
contents might be harder.

> > I had learned how to do this earlier but apparently an individual
> > known as longwind from China ran into this problem after I had learned
> > to solve it on this end and the original message I read from Brian had
> > a solution I hadn't read earlier and hadn't tried yet which involved
> > far fewer steps.  Fortunately I have a hard drive available so I will
> > try Brian's solution out on this end and see how it works.
> 
> Contributions can take a while to get incorporated, but if you come up
> with an improvement for the documentation and/or the code (assuming that
> it doesn't break things elsewhere) it will generally get used.

If one had some existing documentation it could be improved. Writing
it from scratch would mean knowing the reasons that brought about the
change in Debian 7.0.0 and why no connectivity is seen as better than
some connectivity.

-- 
Brian.



An answer - was [Re: Does bash have a tool ?]

2018-03-04 Thread Richard Owlett

On 03/04/2018 09:26 AM, Richard Owlett wrote:

My eventual goal is to create a personalized FAQ.
To that end I've collected all my outgoing mail which DOES NOT have 
"Re:" in the Subject into a single file {used standard SeaMonkey tools}.


Using a text editor's search function I've placed "KEY1" at the 
beginning of the body of each message. Similarly, I've placed "KEY2" at 
the end of each body.


Searches led to  which 
describes tools to do word frequency tasks, primarily with bash builtins.


First I need to eliminate the irrelevant text between "KEY2" of the 
previous message and "KEY1" of the message of interest. It should be 
straight forard to do in BASIC.


But is there an already tested function for that?
TIA


I've received several suggestions.
It appears that "vim" is closest to my "mind set".
I went to the homepage and found ~half-dozen links.
I found >dozen links to problems I hadn't mentioned.

*FOR THE RECORD*
Although EVERYTHING could solve stated problem, the vim homepage 
suggested solutions to problems I had not specified.

I don't know ho they would take it, BUT the think like me.

I've got up to a week's homework ...

THANK YOU





Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Brian
On Sun 04 Mar 2018 at 19:10:02 +0100, Philip Hands wrote:

> Jude DaShiell  writes:
> 
> > The least debian-boot membership could do would be to have a note come 
> > up for installers to execute a shell and do the file copy before 
> > rebooting once hard drive got mounted.  This is a problem for wifi users 
> > with no impact for ethernet users.
> 
> Your tone does not encourage a civil response, but you're going to get
> one anyway I'm afraid.
> 
> Since you didn't bother to say what you are complaining about in any
> useful way, I thought I'd look at the first post in the first thread
> referred to in the mail from Brian, which is about the fact that
> desktop-configured wifi connections don't come up until someone logs in.

You would have done better to have read further and, amongst other posts
which are pertinent to what Long Wind and Charlie S wrote, you would have
found this:

  https://lists.debian.org/debian-user/2018/02/msg00015.html

The plain and simple fact is that a user who installs over a wireless
link and does not have network-manager does not have any connectivity
to the internet after first boot. Long Wind solved the issue by taking
the advice given and Charlie S used his initiative and knowledge to
devise an /e/n/i file which replaced the one the installer had wiped
out.

This has been going on since Debian 7.0.0 and is not the first time the
issue has arisen here. Debian must be the only OS which deliberately
removes connectivity present during installation.

In the link above David Wright asks whether this is a "sick joke". If
the reasons for inflicting this issue on users were explained in some
detail, we could perhaps answer sensibly.

[Snip. The issue in this thread has nothing to do with an installed
network-manager.]

-- 
Brian.



Re: WTF does Firefox 58?

2018-03-04 Thread Brad Rogers
On Sun, 04 Mar 2018 22:10:18 +
Joe Dennigan  wrote:

Hello Joe,

>palemoon for everything else

Pale Moon can spoof different user agent strings.  A feature that allows
one to fool most sites into thinking you're using FF.

Look for useragent.override in about:config - there are quite a few set
up by default to ensure certain sites work as well as possible.

I've yet to come across a site that won't work in PM.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Well you tried it just the once and found it alright for kicks
Orgasm Addict - Buzzcocks


pgprGEG_BZTx4.pgp
Description: OpenPGP digital signature


Re: WTF does Firefox 58?

2018-03-04 Thread Jeremy Nicoll
On Sun, 4 Mar 2018, at 20:26, Michelle Konzack wrote:
 
> Yesterday I was working on the website
> 
> and if I reload the page, Firefox is prefetching ALL HTML5 Videos!,
> mean 900 MByte!
> 
> WTF is this?

You might be better-off asking at:

  mozilla-support-fire...@lists.mozilla.org


-- 
Jeremy Nicoll - my opinions are my own.



Re: WTF does Firefox 58?

2018-03-04 Thread Joe Dennigan
I also had problems when upgrading firefox at the insistence of my bank,
though in my case it was add-ons (and bloat - overall cpu usage was up).

In the end I wound up reserving firefox solely for banking and installing
palemoon for everything else.  Some trouble finding working add-ons for
my needs but I got a good working setup in the end. YMMV.

Regards,

Joe



Re: Stretch with Gnome 3.22 : Icons on desktop

2018-03-04 Thread Liam O'Toole
On 2018-03-04, Bernard  wrote:
>
>
> On 03/03/2018 00:55, Liam O'Toole wrote:

[...]

>> Have you tried a simple
>> 
>>  cp /usr/share/applications/evince.desktop Desktop/
>
> I just tried it : it works !  Since it did not work the way it did with 
> Gnome 2, I had not even tried this before !
>
> The first time I click onto the icon, it says that this new launcher is 
> not reliable though... However it works and, after the first launch, the 
> name changes and you no longer have any warnings.
>
> In the end, I think that I will use it as is, and not bother testing 
> 'mate' nor the 'nemo' fork for Nautilus
>
> Thanks for your help
>
> Bernard

Glad it worked. Don't worry about nautilus not trusting the launcher
initially. It's a security feature of recent nautilus versions.

-- 

Liam



Re: can't install mplayer of stretch

2018-03-04 Thread Long Wind
there is a typo in my last post:  not -> now
the cause might be i use installation CD 9.3.0but now apt source is newest 
(ftp.utexas.edu) 

On Sunday, March 4, 2018 4:55 PM, Long Wind  wrote:
 

 the cause might be i use installation CD 9.3.0but not apt source is newest 
(ftp.utexas.edu)
below is error msg of "apt-get install mplayer"is it possible to fix it? Thanks!

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mplayer : Depends: libavcodec57 (>= 7:3.2.2) but it is not going to be 
installed or
libavcodec-extra57 (>= 7:3.2.2) but it is not going to be 
installed
   Depends: libavformat57 (>= 7:3.2.2) but it is not going to be 
installed
   Depends: libswresample2 (>= 7:3.2.2) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.


   

Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Philip Hands
Jude DaShiell  writes:

...
> Many ways exist to solve this problem and it took a while to find out
> what to do and how because there's more and better support from
> debian-users than is in debian wiki

If you can see a way to improve the information on the wiki, please go
ahead and do so -- that's what wikis are for, after all.

> or debian documentation.

We also have a bug tracker, and patches are generally welcome.

> I had learned how to do this earlier but apparently an individual
> known as longwind from China ran into this problem after I had learned
> to solve it on this end and the original message I read from Brian had
> a solution I hadn't read earlier and hadn't tried yet which involved
> far fewer steps.  Fortunately I have a hard drive available so I will
> try Brian's solution out on this end and see how it works.

Contributions can take a while to get incorporated, but if you come up
with an improvement for the documentation and/or the code (assuming that
it doesn't break things elsewhere) it will generally get used.

Please take notes during your testing, and try to find a way to use your
findings that will help people bumping into the same issue in future.

> Thanks for your assistance and interest.

Thank you for your future contributuons :-)

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,GERMANY


signature.asc
Description: PGP signature


Re: WTF does Firefox 58?

2018-03-04 Thread Виталий Воронов
On Sun, 4 Mar 2018 22:26:39 +0200
"Michelle Konzack"  wrote:
> 
> Yesterday I was working on the website
> 
> and if I reload the page, Firefox is prefetching ALL HTML5 Videos!,
> mean 900 MByte!
> 
> WTF is this?

One of the dumbest features modern browsers have integrated for some
reason.
 
> Prefetching videos without user knowledge is just terrorism!
> ...and there is no possibility in Firesuck to stop this.

Setting network.prefetch-next to false seems to be the first result on
looking up, but I presume that failed.

There may be something working along the lines of media.autoplay.enabled
or other "media." options. If those don't work nor anything in
https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections,
you might need to disable video support. All of it. Yeah, it sucks.
 
> Thanks in advance

Good luck.



Re: WTF does Firefox 58?

2018-03-04 Thread deloptes
Michelle Konzack wrote:

> Prefetching videos without user knowledge is just terrorism!
> ...and there is no possibility in Firesuck to stop this.

May be Putin designed it specially for you (with irony) :)

now seriously I think it is HTML5 feature

regards



Re: WTF does Firefox 58?

2018-03-04 Thread Carl Fink

On 03/04/2018 03:26 PM, Michelle Konzack wrote:

Yesterday I was working on the website

and if I reload the page, Firefox is prefetching ALL HTML5 Videos!,
mean 900 MByte!

WTF is this?

With LTE/4G in Estonia, you get the 900MByte in lightspeed  because  our
GSM Network deliver up to 300MBit which is the fastest in Europe!

Prefetching videos without user knowledge is just terrorism!
...and there is no possibility in Firesuck to stop this.


I haven't tested, but will the advice here help you?
https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections 



--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com



NUC7i3DNKE + écrans qui clignotent

2018-03-04 Thread JF Straeten

Chère Liste,


Je me permets de vous soumettre le problème que je rencontre sur une
nouvelle machine, après avoir essayé une série de choses qui ne le
résolvent pas, en espérant que quelqu'un aurait une expérience utile
en la matière, ou déjà une idée ou deux :-)

La machine est un NUC Intel, modèle NUC7i3DNKE.

Son processeur est un Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz

Sa carte graphique, selon lspci : Intel Corporation HD Graphics 620 (rev 02)

Elle a 4GB de RAM de marque 2-Power dans le slot inférieur et est
couplée à deux écrans DELL U3011 par des câbles HDMI to DVI-D Dual
Link (ce barebone n'a que deux connecteurs HDMI 2.0). Ça fait donc 2x
2560x1600 en résolution (et il peut aller jusqu'à 2x 4k, @60 Hz).

Enfin, elle est utilisée comme client léger sous LTSP, bootant sur un
serveur LTSP en NFS, mais l'aspect LTSP est indifférent.

Question OS, a priori tout est du stretch pur jus, à jour (donc tant
le serveur LTSP que l'OS utilisé par le client léger, c.-à-d. ici le
NUC).


Le souci rencontré est que les écrans clignotent de temps en temps :
ils s'éteignent (l'un ou l'autre ou les deux) une à deux secondes,
voire parfois 4-5, et puis se rallument...

Jusqu'ici, j'ai lancé le NUC sous stretch 32bits et amd64, sans et
puis avec le microcode Intel (avec, ça améliore sensiblement les
choses, bien que ça ne soit pas encore parfait), pour finir enfin en
buster, avec le noyau 4.14.

Toujours avec le microcode, les résultats varient en fonction de la
version du noyau : avec le 4.9 de stretch, c'est inutilisable
tellement ça clignote. C'est un poil mieux avec le 4.14 des backports,
toujours en stretch et ça devient utilisable, mais encore gênant avec
le 4.14 de buster.

Pour voir, j'ai booté aussi, toujours sous buster, avec le noyau
4.15.7 de sid, mais là c'est catastrophique (et pour cause : le noyau
désactive une partie du microcode Intel en signalant qu'il ne résout
pas Spectre (j'ai oublié les termes exacts, mais le microcode est
pourtant la dernière version de chez Intel : 20171117).

Enfin, à part en 4.15.7, j'ai chaque fois essayé avec les pilotes
graphiques modesetting et Intel. On ne peut toutefois pas dire que ça
fait une différence notable de comportement, et comme modesetting est
recommandé et semble (mais c'est subjectif) un poil plus rapide à
l'affichage, je tourne avec ce pilote, sous buster pour le moment.

Enfin encore, je viens aussi d'upgrader le bios du NUC à la dernière
version (039) du 22/02/2018.

Mais même si ça n'a plus rien à voir avec les débuts sous stretch, les
clignotements persistent quand même encore, sur l'un ou l'autre des
écrans, au point que j'hésite à laisser ça comme poste de travail en
l'état...

Inverser les écrans ne change rien ; un à la fois ou deux, c'est tout
à fait pareil ; les connecteurs sont bien vissés aux écrans, etc.

Rien n'y fait : c'est totalement erratique. L'un ou l'autre s'éteint
puis se rallume, jusqu'à parfois 10x sur quelques minutes, et puis
plus rien pendant un moment, etc.

Les seuls constats qui semblent pouvoir être posés sont :

- que le phénomène ne semble jamais se produire quand l'écran change
  en permanence : en lançant xscreensaver ou un film, je ne l'ai
  jamais surpris à s'éteindre de manière inexpliquée. C'est quand
  l'image est fixe, mais qu'on tape du texte ou non, ça le fait ;

- que l'écran qui n'a pas le focus *semble* s'exciter davantage que
  celui qui contient la fenêtre où je tape ceci, mais c'est difficile
  d'en être sûr...

Voilà le phénomène bizarre. Si quelqu'un a une expérience utile à
partager ou ne fut-ce qu'une idée de piste à explorer, je suis
preneur :-)

Je vous remercie d'avance, en tout cas de m'avoir lu.

A+



-- 

JFS.



WTF does Firefox 58?

2018-03-04 Thread Michelle Konzack
Hello *,

since my bank forced me to an upgrade to Firefox 58 I am runing into the
hell of problems because there are no replacements for most of my AddOns
(I have not very much) and Firefox 58 kill my internet connection!

I am in Estonia and we have no DSL here.

Only LTE/4G with a 30 GByte contract.

Yesterday I was working on the website

and if I reload the page, Firefox is prefetching ALL HTML5 Videos!,
mean 900 MByte!

WTF is this?

With LTE/4G in Estonia, you get the 900MByte in lightspeed  because  our
GSM Network deliver up to 300MBit which is the fastest in Europe!

Prefetching videos without user knowledge is just terrorism!
...and there is no possibility in Firesuck to stop this.

Thanks in advance

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400



Re: stretch and DNS name resolution service for other devices on a LAN

2018-03-04 Thread David Wright
On Fri 02 Mar 2018 at 23:56:02 (+0100), Pascal Hambourg wrote:
> Le 28/02/2018 à 21:13, David Wright a écrit :
> >>>#
> >>># /etc/interfaces.d/directcable for west 2018-02-25
> >>>
> >>>auto eth0
> >>>iface eth0 inet static
> >>>   address 192.168.2.15/24
> >>
> >>Fine. You could also add "allow-hotplug eth0" in case eth0 would be
> >>discovered late.
> >
> >OK. Tried that here. The   ip a   is before and after connecting the cable.
> (...)
> >allow-hotplug eth0
> >iface eth0 inet static
> >   address 192.168.2.15/24
> 
> Note : I wrote "also", not "instead".

Restored.

> >2: eth0:  mtu 1500 qdisc mq state UP group 
> >default qlen 1000
> > link/ether 00:1c:23:3b:9f:34 brd ff:ff:ff:ff:ff:ff
> > inet6 fe80::21c:23ff:fe3b:9f34/64 scope link
> >valid_lft forever preferred_lft forever
> 
> Something went wrong. eth0 is up but the IPv4 address defined in
> /etc/interfaces.d/directcable is not configured.
> 
> Could you post the output of
> 
> ifdown -v eth0
> ifup -v eth0

[…]
2: eth0:  mtu 1500 qdisc mq state UP group 
default qlen 1000
link/ether 00:1c:23:3b:9f:34 brd ff:ff:ff:ff:ff:ff
inet6 fe80::21c:23ff:fe3b:9f34/64 scope link 
   valid_lft forever preferred_lft forever
[…]
# ifdown -v eth0
Parsing file /etc/network/interfaces.d/directcable
ifdown: interface eth0 not configured
# ifup -v eth0
Parsing file /etc/network/interfaces.d/directcable
Configuring interface eth0=eth0 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/linux-wlan-ng-pre-up
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
ip addr add 192.168.2.15/255.255.255.0 broadcast 192.168.2.255dev eth0 
label eth0
ip link set dev eth0   up

run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/openvpn
run-parts: executing /etc/network/if-up.d/upstart
run-parts: executing /etc/network/if-up.d/wpasupplicant
Configuring interface eth0=eth0 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/linux-wlan-ng-pre-up
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
ip addr add 192.168.2.15/255.255.255.0 broadcast 192.168.2.255dev eth0 
label eth0
RTNETLINK answers: File exists
Failed to bring up eth0.
# 
[…]
2: eth0:  mtu 1500 qdisc mq state UP group 
default qlen 1000
link/ether 00:1c:23:3b:9f:34 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.15/24 brd 192.168.2.255 scope global eth0
   valid_lft forever preferred_lft forever
inet6 fe80::21c:23ff:fe3b:9f34/64 scope link 
   valid_lft forever preferred_lft forever
[…]
$ ip r
default via 192.168.1.1 dev wlan0 
169.254.0.0/16 dev eth0  scope link  metric 1000 
192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.15 
192.168.2.0/24 dev eth0  proto kernel  scope link  src 192.168.2.15 
$ 

So, yes, that allows commands like this to work:

$ scp -p /etc/network/interfaces.d/directcable root@192.168.2.10:/tmp

leaving just the two problems:

a) if the cable is connected at boot, the machines' normal default
   routes don't come up properly, but they're only able to connect
   with each other,
b) I have to down and up the interface as root before making transfers.

which leads me to see no reason for withdrawing my original remark:

"I have one valuable use for IPv6 which is point-to-point connections.
I plug a CAT5 cable into the two ends and use predefined functions
to bulk-transfer files with scp."

but just to point out what I didn't make explicit six weeks ago:

1) you don't have to change anything as root in /etc,
2) you don't need root access for configuring the interfaces
   before doing transfers,
3) it's unimportant whether the CAT5 cable is connected at other
   times (particularly when booting).

So I'll be ignoring the Keep Off The Grass signs. Really.

Cheers,
David.



Re: Does bash have a tool ?

2018-03-04 Thread Richard Owlett

On 03/04/2018 11:02 AM, rhkra...@gmail.com wrote:

On Sunday, March 04, 2018 11:28:55 AM Richard Owlett wrote:

I don't have any background in Perl and the last formal course in
programming was in the 60's.


Mine was very early 70's ('71)


However awk and/or sed may be what I'm looking for and are well
documented. Your description of nedit is interesting. I'll investigate.
I'm on my way out at the moment.


Oh, I forgot, nedit doesn't handle UTF-8 (or any form of Unicode)--that could
be a problem for you.




You youngsters. KSR-35 and 026 are my speed ;}





Re: Besoin d'aide pour interpréter erreur smartmontool

2018-03-04 Thread Etienne Vogt

On Sun, 4 Mar 2018, Daysfled wrote:


Y a-t-il quelqu'un pour m'aider à comprendre la nature et la sévérité de
l'erreur de disque (pour moi c'est du chinois !) ? Quelle est l'erreur
qui s'est produite ? Faut-il s'en inquiéter alors que le self se termine
sans erreur et que je vois « SMART overall-health self-assessment test
result: PASSED » ?


C'est une erreur de somme de contrôle sur le bus SATA, donc une erreur
dans le transfert de données entre le disque et le contrôleur.
Si cela se reproduit, essayer de changer le cable SATA, mais à priori le
disque lui-même semble en bonne santé.

--
Etienne Vogt (etienne.v...@obspm.fr)
Observatoire de Paris-Meudon
Service Informatique



Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Jude DaShiell
Wifi doesn't come up after a console login once a normal install happens 
until after the network is configured on the post-install system unless 
the /etc/networks/interfaces file created as a result of the install 
process originally gets copied to the hard drive in the correct 
directory with the proper name and contents.  Many ways exist to solve 
this problem and it took a while to find out what to do and how because 
there's more and better support from debian-users than is in debian wiki 
or debian documentation.  I had learned how to do this earlier but 
apparently an individual known as longwind from China ran into this 
problem after I had learned to solve it on this end and the original 
message I read from Brian had a solution I hadn't read earlier and 
hadn't tried yet which involved far fewer steps.  Fortunately I have a 
hard drive available so I will try Brian's solution out on this end and 
see how it works.  Thanks for your assistance and interest.


On Sun, 4 Mar 2018, Philip Hands wrote:


Date: Sun, 4 Mar 2018 13:10:02
From: Philip Hands 
To: Jude DaShiell , Brian ,
debian-user@lists.debian.org
Cc: debian-b...@lists.debian.org
Subject: Re: (solved) Re: wireless fail after stretch installation

Jude DaShiell  writes:


The least debian-boot membership could do would be to have a note come
up for installers to execute a shell and do the file copy before
rebooting once hard drive got mounted.  This is a problem for wifi users
with no impact for ethernet users.


Your tone does not encourage a civil response, but you're going to get
one anyway I'm afraid.

Since you didn't bother to say what you are complaining about in any
useful way, I thought I'd look at the first post in the first thread
referred to in the mail from Brian, which is about the fact that
desktop-configured wifi connections don't come up until someone logs in.

Given that one has generally specified the wifi password as the user in
the desktop environment, or at least indicated the fact that you want to
connect to that network, it would be inappropriate for the wifi to come
up earlier, because that might allow other users on the machine to
access a network that was intended to be private.

There is generally an option available in network manager that allows
one to indicate that the connection should be made available to others.
Ticking that box should make it come up at boot time AFAIK.

This seems to have very little to do with the installer.

Cheers, Phil.



--



Re: Stretch with Gnome 3.22 : Icons on desktop

2018-03-04 Thread Bernard



On 03/03/2018 00:55, Liam O'Toole wrote:

On 2018-03-02, Bernard  wrote:



On 02/03/2018 14:03, Liam O'Toole wrote:

On 2018-03-02, Bernard  wrote:

Hi !









You can create your own icons by drag-and-drop, copy-and-paste, or by
creating files in your ~/Desktop directory.



It works this way on my old desktop running Debian Lenny and Gnome 2.22
also on my laptop on Ubuntu 14.04..




Strange. It works for me (as they say) with GNOME 3.22 on Stretch. I
also tried it with the same GNOME version on CentOS 7, also with
success.


I surely can have text files or pdf files
that will launch either Libreoffice or evince...


Have you tried a simple

cp /usr/share/applications/evince.desktop Desktop/


I just tried it : it works !  Since it did not work the way it did with 
Gnome 2, I had not even tried this before !


The first time I click onto the icon, it says that this new launcher is 
not reliable though... However it works and, after the first launch, the 
name changes and you no longer have any warnings.


In the end, I think that I will use it as is, and not bother testing 
'mate' nor the 'nemo' fork for Nautilus


Thanks for your help

Bernard


?


and I could possibly put there a few sim links to apps, but this is
far from being quick and easy as it used to be with gnome 2


Agreed.





Re: Does bash have a tool ?

2018-03-04 Thread John Hasler
Richard Owlett writes:
> I don't have any background in Perl and the last formal course in
> programming was in the 60's.

Perl is just bash, ed, sed, awk, grep, etc all smushed together into
one.

> However awk and/or sed may be what I'm looking for and are well
> documented.

It's exactly what those tools are for.  Don't forget the rest of the
toolkit.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Philip Hands
Jude DaShiell  writes:

> The least debian-boot membership could do would be to have a note come 
> up for installers to execute a shell and do the file copy before 
> rebooting once hard drive got mounted.  This is a problem for wifi users 
> with no impact for ethernet users.

Your tone does not encourage a civil response, but you're going to get
one anyway I'm afraid.

Since you didn't bother to say what you are complaining about in any
useful way, I thought I'd look at the first post in the first thread
referred to in the mail from Brian, which is about the fact that
desktop-configured wifi connections don't come up until someone logs in.

Given that one has generally specified the wifi password as the user in
the desktop environment, or at least indicated the fact that you want to
connect to that network, it would be inappropriate for the wifi to come
up earlier, because that might allow other users on the machine to
access a network that was intended to be private.

There is generally an option available in network manager that allows
one to indicate that the connection should be made available to others.
Ticking that box should make it come up at boot time AFAIK.

This seems to have very little to do with the installer.

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,GERMANY


signature.asc
Description: PGP signature


Re: Does bash have a tool ?

2018-03-04 Thread Curt
On 2018-03-04, Richard Owlett  wrote:
> My eventual goal is to create a personalized FAQ.
> To that end I've collected all my outgoing mail which DOES NOT have 
> "Re:" in the Subject into a single file {used standard SeaMonkey tools}.
>
> Using a text editor's search function I've placed "KEY1" at the 
> beginning of the body of each message. Similarly, I've placed "KEY2" at 
> the end of each body.
>
> Searches led to  which 
> describes tools to do word frequency tasks, primarily with bash builtins.
>
> First I need to eliminate the irrelevant text between "KEY2" of the 
> previous message and "KEY1" of the message of interest. It should be 
> straight forard to do in BASIC.

vim (hit escape to get into command mode)

:/KEY2/+1;/KEY1/-1d 

will delete everything between KEY2 and KEY1, excluding the 
matching lines.

I think. Well, I just gave it a trivial workout and it worked (for a
trivial case).

> But is there an already tested function for that?
> TIA
>
>
>
>


-- 
Bah, the latest news, the latest news is not the last.
Samuel Beckett



Re: Does bash have a tool ?

2018-03-04 Thread rhkramer
On Sunday, March 04, 2018 11:28:55 AM Richard Owlett wrote:
> I don't have any background in Perl and the last formal course in
> programming was in the 60's.

Mine was very early 70's ('71)

> However awk and/or sed may be what I'm looking for and are well
> documented. Your description of nedit is interesting. I'll investigate.
> I'm on my way out at the moment.

Oh, I forgot, nedit doesn't handle UTF-8 (or any form of Unicode)--that could 
be a problem for you.



Re: Does bash have a tool ?

2018-03-04 Thread Richard Owlett

On 03/04/2018 10:02 AM, rhkra...@gmail.com wrote:

On Sunday, March 04, 2018 10:26:51 AM Richard Owlett wrote:

First I need to eliminate the irrelevant text between "KEY2" of the
previous message and "KEY1" of the message of interest. It should be
straight forard to do in BASIC.

But is there an already tested function for that?


Well, I would tend to use awk, sed, or perl, or even a "decent" text editor
(or word processor) with decent support for regular expressions in the search
and replace function.  Multiline regexes will be helpful, at the moment I
don't remember if they are supported in kate / kwrite.

I have done stuff like this in nedit, even saving a series of search and
replace functions as, essentially, a macro / script (I forget what nedit calls
it).

If you expect to do this often, I would think that developing a perl script
would be worth the effort.




I don't have any background in Perl and the last formal course in 
programming was in the 60's.


However awk and/or sed may be what I'm looking for and are well 
documented. Your description of nedit is interesting. I'll investigate. 
I'm on my way out at the moment.


Thank you.





Re: Does bash have a tool ?

2018-03-04 Thread rhkramer
On Sunday, March 04, 2018 10:26:51 AM Richard Owlett wrote:
> First I need to eliminate the irrelevant text between "KEY2" of the
> previous message and "KEY1" of the message of interest. It should be
> straight forard to do in BASIC.
> 
> But is there an already tested function for that?

Well, I would tend to use awk, sed, or perl, or even a "decent" text editor 
(or word processor) with decent support for regular expressions in the search 
and replace function.  Multiline regexes will be helpful, at the moment I 
don't remember if they are supported in kate / kwrite.  

I have done stuff like this in nedit, even saving a series of search and 
replace functions as, essentially, a macro / script (I forget what nedit calls 
it).

If you expect to do this often, I would think that developing a perl script 
would be worth the effort.



Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Jude DaShiell
The least debian-boot membership could do would be to have a note come 
up for installers to execute a shell and do the file copy before 
rebooting once hard drive got mounted.  This is a problem for wifi users 
with no impact for ethernet users.


On Sun, 4 Mar 2018, Brian wrote:


Date: Sun, 4 Mar 2018 05:35:28
From: Brian 
To: debian-user@lists.debian.org
Subject: Re: (solved) Re: wireless fail after stretch installation
Resent-Date: Sun,  4 Mar 2018 10:35:45 + (UTC)
Resent-From: debian-user@lists.debian.org

On Sun 04 Mar 2018 at 08:41:00 +, Long Wind wrote:


Thank Brian! Your instructions are right, wireless works now!
the 1st time i use network installthis time i use cdrom install, it has same
problemas this problem is easily reproduced, why don't they fix it??
i attach wrong and right interfaces:t1 and t2 respectively(key removed)


The installer team do not consider there is anything to fix. This is the
way they want it. Some users think it is a bug and have said so in the
BTS (see the netcfg package).

We discused this recently on -user. The thread starts at

 https://lists.debian.org/debian-user/2018/01/msg00800.html

and continues at

 https://lists.debian.org/debian-user/2018/02/msg0.html




--



Does bash have a tool ?

2018-03-04 Thread Richard Owlett

My eventual goal is to create a personalized FAQ.
To that end I've collected all my outgoing mail which DOES NOT have 
"Re:" in the Subject into a single file {used standard SeaMonkey tools}.


Using a text editor's search function I've placed "KEY1" at the 
beginning of the body of each message. Similarly, I've placed "KEY2" at 
the end of each body.


Searches led to  which 
describes tools to do word frequency tasks, primarily with bash builtins.


First I need to eliminate the irrelevant text between "KEY2" of the 
previous message and "KEY1" of the message of interest. It should be 
straight forard to do in BASIC.


But is there an already tested function for that?
TIA





Re: no se puede montar modo escritura una particion ntfs en debian 9

2018-03-04 Thread Constantino Vargas
bueno estimados amigos desde ya gracias por su respuesta y Dios les
bendiga. Mi disco duro físico instalado en mi pc y mi disco duro externo
están particionados de la siguiente manera

# fdisk -l

Disco /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Tipo de etiqueta de disco: dos
Identificador del disco: 0xb21b5104

Disposit.  Inicio  Comienzo Final  Sectores Tamaño Id Tipo
/dev/sda1  *   2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
/dev/sda2   1026048 308226047 30720 146,5G  7 HPFS/NTFS/exFAT
/dev/sda3 308226048 758786047 45056 214,9G  7 HPFS/NTFS/exFAT
/dev/sda4 758788094 976771071 217982978   104G  5 Extendida
/dev/sda5 758788096 817379327  5859123228G 83 Linux
/dev/sda6 817381376 825589759   8208384   3,9G 82 Linux swap /
Solaris
/dev/sda7 825591808 976771071 151179264  72,1G 83 Linux


Disco /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectores
Unidades: sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico/físico): 512 bytes / 512 bytes
Tamaño de E/S (mínimo/óptimo): 512 bytes / 512 bytes
Tipo de etiqueta de disco: dos
Identificador del disco: 0x5a781fe4

Disposit.  Inicio Comienzo  Final   Sectores Tamaño Id Tipo
/dev/sdb1 2048 1953523119 1953521072 931,5G  7 HPFS/NTFS/exFAT

la particion ntfs /dev/sda3 que debian monta desde explorador de archivo
Nemo y Thunar en
/media/tinoman

el sistema ha credo las siguientes carpetas dentro de tinoman /

disco2-win10
TOSHIBA-HD-EXT

estas carpetas han sido  creados con por sistema con el siguiente permiso

ls -l
total 20
drwxrwxrwx 1 tinoman tinoman  4096 feb 18 12:42 disco2-win10
drwxrwxrwx 1 tinoman tinoman 16384 mar  4 05:49 TOSHIBA-HD-EXT

pero una vez montado las particion

/dev/sda3 308226048 758786047 45056 214,9G  7 HPFS/NTFS/exFAT
disco duro local
/dev/sdb1 2048 1953523119 1953521072 931,5G  7 HPFS/NTFS/exFAT
disco duro externo

solo se puede leer en la partición /dev/sda3 en /dev/sdb1 disco duro
externo normal puedo escribir

en windows 10 desactive

Activar inicio rápido (recomendado) en configuración del sistema, opciones
de energía


asi estan las cosas, saludos

El 3 de marzo de 2018, 5:09, fernando sainz 
escribió:

> El día 3 de marzo de 2018, 3:18, Constantino Vargas
>  escribió:
> > mi estimado gracias por su respuesta, mi problema creo que no por allí,
> ya
> > que puedo montar sin problema desde debian 9 una partición ntfs solo se
> > monta en modo de lectura, lo que quiero es poder respaldar mi
> información en
> > esta partición desde debian 9, saludos
> >
>
> Bueno, no cuesta mucho probarlo.
> Si Debian se encuentra una partición "inestable" porque windows no la
> ha desmontado, ya que sigue, digamos encendido no va a intentar
> escribir porque podría dañar los datos, entonces solo lo monta en modo
> lectura.
> (Doy por supuesto que tienes ntfs-3g instalado)
>
> S2.
>
>
> > El 2 de marzo de 2018, 7:00, fernando sainz <
> fernandojose.sa...@gmail.com>
> > escribió:
> >>
> >> El día 2 de marzo de 2018, 7:00, Constantino Vargas
> >>  escribió:
> >> > Buenos días, tengo instalado debian 9 en dual boot con w10, tengo una
> >> > partición destinado solo exclusivo para datos en ntfs el cual he
> montado
> >> > desde debian pero solo lo monta en modo lectura, los codigos que use
> >> > desde
> >> > etc/fstab son:
> >> >
> >> > /dev/sda3 /media/windows ntfs defaults,umask=007,gid=46 0 0
> >> > UUID=C864722F6472207C   /mnt/w10   ntfs-3g
> >> > users,rw,uid=1000,gid=users,umask=0022   0   0
> >> > UUID=C864722F6472207C   /mnt/w10   ntfs-3g   default  0   0
> >> >
> >> >
> >> > --
> >> > Atentamente.
> >> >
> >> > Constantino Vargas Cornejo
> >> >
> >>
> >> Hola.
> >> Hace mucho que no tengo sistemas con arranque dual, pero me suena
> >> haber oído por aquí que había problemas con las particiones ntfs ya
> >> que windows no hace un apagado total sino una especie de hibernación y
> >> eso bloqueaba el acceso desde Debian.
> >>
> >> Haz la prueba, busca como apagar "del todo" windows y luego entra con
> >> Debian.
> >>
> >> S2.
> >>
> >
> >
> >
> > --
> > Atentamente.
> >
> > Constantino Vargas Cornejo
> >
>
>


-- 
Atentamente.

Constantino Vargas Cornejo


Re: jessie powermac yboot: ybin fails

2018-03-04 Thread Frank Scheiner

Hi Felix,

what Debian release are you actually running and what yaboot version 
(shown above yaboot boot prompt) have you installed? I'm running Sid 
(just upgraded all packages minutes ago) and yaboot 1.3.17.


On 03/02/2018 04:51 PM, Felix Miata wrote:

# ybin
ofpath: Device: /dev/ata-ST is not supported
ybin: Unable to determine OpenFirmware path for 
macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10
ybin: Try specifying the real OpenFirmware path for 
macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10 in 
/etc/yaboot.conf


It looks like you have the "macosx=" option twice in your `yaboot.conf` 
on top and at the bottom. I'm unsure if this is an issue though. Does 
someone with Debian and Mac OS X on their machine know more?


But does `/dev/hda10` really exist on your machine?

Apart from that I did some testing with `ofpath` and seem to be able to 
create a similar behaviour on my Mac mini G4:


```
root@mac-mini:/dev/disk/by-id# ls -la
total 0
drwxr-xr-x 2 root root 340 Mar  4 13:28 .
drwxr-xr-x 6 root root 120 Mar  4 13:28 ..
[...]
lrwxrwxrwx 1 root root   9 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456 -> ../../sda
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part1 -> ../../sda1
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part2 -> ../../sda2
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part3 -> ../../sda3
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part4 -> ../../sda4
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part5 -> ../../sda5
lrwxrwxrwx 1 root root  10 Mar  4 13:29 
ata-SAMSUNG_HM160HC_S12TABCD123456-part6 -> ../../sda6

[...]
root@mac-mini:/dev/disk/by-id# ofpath 
ata-SAMSUNG_HM160HC_S12TABCD123456-part6

ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath 
./ata-SAMSUNG_HM160HC_S12TABCD123456-part6

ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath 
/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part6

ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

[...]

root@mac-mini:/dev/disk/by-id# ofpath 
/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part1

ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath 
/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456

ofpath: Device: /dev/ata-SAMSUNG_HM is not supported

root@mac-mini:/dev/disk/by-id# ofpath /dev/sda6
/pci@f400/ata-6@d/@0:6
```

So it works with the actual path. Interestingly I have:

```
boot="/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part2"
```

...in my `/etc/yaboot.conf` and running `ybin` doesn't make an issue for 
me although `ofpath` doesn't seem to work with it when specified as 
argument. Maybe `ybin` does resolve the symlinkg before feeding the 
device path to `ofpath`.


I'd still try to replace the symlink device paths 
(`/dev/disk/by-id/[...]`) in your yaboot.conf against the actual device 
paths (`/dev/sda?`) or the result from ofpath for the actual device 
paths and try again to run `ybin` with the modified `yaboot.conf`.


Cheers,
Frank



Besoin d'aide pour interpréter erreur smartmontool

2018-03-04 Thread Daysfled
Bonjour,

Y a-t-il quelqu'un pour m'aider à comprendre la nature et la sévérité de
l'erreur de disque (pour moi c'est du chinois !) ? Quelle est l'erreur
qui s'est produite ? Faut-il s'en inquiéter alors que le self se termine
sans erreur et que je vois « SMART overall-health self-assessment test
result: PASSED » ?

Voici les détails. D'avance merci.

J'ai obtenu, il y a environ 14 heures un message d'erreur (envoyé par
mail à root) :

~~~ Début du mail ~~~
This message was generated by the smartd daemon running on:

   host name:  ely
   DNS domain: home

The following warning/error was logged by the smartd daemon:

Device: /dev/sdb [SAT], ATA error count increased from 0 to 1

Device info:
HGST HTS721010A9E630, S/N:JR10006PHGWX8E, WWN:5-000cca-6acd4dd7a,
FW:JB0OA3J0, 1.00 TB

For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.
Another message will be sent in 24 hours if the problem persists.
~~~ Fin du mail ~~~

J'ai terminé mon travail, effectué une sauvegarde et éteint la machine.

Plusieurs heures plus tard j'ai exécuté « smartctl -t long /dev/sdb »
et, au-delà du délai indiqué par la commande précédente,
smartctl -a /dev/sdb pour obtenir

~~~ Résultat de la commande ~~~
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-6-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: HGST Travelstar 7K1000
Device Model: HGST HTS721010A9E630
Serial Number:JR10006PHGWX8E
LU WWN Device Id: 5 000cca 6acd4dd7a
Firmware Version: JB0OA3J0
User Capacity:1.000.204.886.016 bytes [1,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate:7200 rpm
Form Factor:  2.5 inches
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Sun Mar  4 13:58:53 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (   0) The previous self-test routine
completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection:(   45) seconds.
Offline data collection
capabilities:(0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off 
support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:( 167) minutes.
SCT capabilities:  (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000b   100   100   062Pre-fail  Always
  -   0
  2 Throughput_Performance  0x0005   100   100   040Pre-fail
Offline  -   0
  3 Spin_Up_Time0x0007   125   125   033Pre-fail  Always
  -   2
  4 Start_Stop_Count0x0012   098   098   000Old_age   Always
  -   4303
  5 Reallocated_Sector_Ct   0x0033   100   100   005Pre-fail  Always
  -   0
  7 Seek_Error_Rate 0x000b   100   100   067Pre-fail  Always
  -   0
  8 Seek_Time_Performance   0x0005   100   100   040Pre-fail
Offline  -   0
  9 Power_On_Hours  0x0012   079   079   000Old_age   Always
  -   9448
 10 Spin_Retry_Count

Re: Éditeur de code en python

2018-03-04 Thread yahoo
Bonjour,

dans Pycharm, pour régler l'interpreteur python et ses packages,

il faut allez dans :

files -> Settings > Project: > Project Infrastructure.

Là il est possible de définir l’interpréteur Python et les packages
présents pour l’interpréteur.

Cdt,

Loïc

Le 04/03/2018 à 13:43, Benoit B a écrit :
> J'ai essayé Pycharm les autre suivront et me déciderai ensuite
>
> Le premier problème que je rencontre avec Pycharm, c'est qu'il  me
> renvois cette erreur :
> «from PyQt5.QtWidgets import QApplication, QWidget
> ImportError: No module named 'PyQt5'»
>
> Alors que le même code lancé en ligne de commande ./test.py
> Ca fonctionne
>
> Comment indiquer ce chemin dans la config de Pycharm ?
> Je veux utiliser PyQt5 que j'ai installé avec :
> ~$ pip3 install --user pyqt5
> il se trouve dans :
> $HOME/.local/lib/python3.5/site-packages/PyQt5
>
> Merci d'avance,
>
> Benoit
>
>
>
> Le 2 mars 2018 à 11:59, yahoo  a écrit :
>> Bonjour,
>>
>> pour python je peux en proposer deux que j'utilise:
>>
>> Kate sous Linux en ajoutant des plugins pour la prise en compte de python.
>>
>> Pycharm de Jetbrain qui a une version "community" qui est free -
>> open-source.
>>
>> Il y a sûrement plein d'autre, je laisse au autre leurs propositions.
>>
>> Cdt,
>>
>>
>> Le 02/03/2018 à 11:52, Benoit B a écrit :
>>
>> Bonjour à tous,
>>
>>
>> Parmi la pléthore d'éditeurs de code pour la programmation, j'en
>> cherche un qui fasse aussi bien qu'éclipse, mais sans l'usine à gaz.
>>
>> J'adore éclipse, mais pour toutes ses autres fonctionnalités que
>> l'édition de code, j’utilise des programmes externes(exemple pour
>> subversion je n'utilise pas le client d'éclipse).
>> Idem pour ant, roo...
>>
>> Pour l'usage que j'en fais, il n'est plus qu'un simple éditeur de
>> texte. Mais quel éditeur de texte en java en tout cas, inspecteur de
>> la syntaxe à la volée, va voir et propose en auto-complétion les
>> méthodes publiques dans les classes importées affiche une case pour
>> chaque paramètre de méthode indiquant son type, affiche le commentaire
>> de ces méthodes...
>>
>> Le rêve quoi...
>>
>> Y en aurait-il un aussi balaise en python qui fasse tout ça ?
>>
>> Et si possible juste un éditeur qui remplit toutes les fonctions
>> citées si dessus ?
>>
>> Sous licence libre cela va de soit !
>>
>> D'avance un tout grand merci
>>
>> --
>> Benoit
>>
>>



Re: Éditeur de code en python

2018-03-04 Thread Benoit B
J'ai essayé Pycharm les autre suivront et me déciderai ensuite

Le premier problème que je rencontre avec Pycharm, c'est qu'il  me
renvois cette erreur :
«from PyQt5.QtWidgets import QApplication, QWidget
ImportError: No module named 'PyQt5'»

Alors que le même code lancé en ligne de commande ./test.py
Ca fonctionne

Comment indiquer ce chemin dans la config de Pycharm ?
Je veux utiliser PyQt5 que j'ai installé avec :
~$ pip3 install --user pyqt5
il se trouve dans :
$HOME/.local/lib/python3.5/site-packages/PyQt5

Merci d'avance,

Benoit



Le 2 mars 2018 à 11:59, yahoo  a écrit :
> Bonjour,
>
> pour python je peux en proposer deux que j'utilise:
>
> Kate sous Linux en ajoutant des plugins pour la prise en compte de python.
>
> Pycharm de Jetbrain qui a une version "community" qui est free -
> open-source.
>
> Il y a sûrement plein d'autre, je laisse au autre leurs propositions.
>
> Cdt,
>
>
> Le 02/03/2018 à 11:52, Benoit B a écrit :
>
> Bonjour à tous,
>
>
> Parmi la pléthore d'éditeurs de code pour la programmation, j'en
> cherche un qui fasse aussi bien qu'éclipse, mais sans l'usine à gaz.
>
> J'adore éclipse, mais pour toutes ses autres fonctionnalités que
> l'édition de code, j’utilise des programmes externes(exemple pour
> subversion je n'utilise pas le client d'éclipse).
> Idem pour ant, roo...
>
> Pour l'usage que j'en fais, il n'est plus qu'un simple éditeur de
> texte. Mais quel éditeur de texte en java en tout cas, inspecteur de
> la syntaxe à la volée, va voir et propose en auto-complétion les
> méthodes publiques dans les classes importées affiche une case pour
> chaque paramètre de méthode indiquant son type, affiche le commentaire
> de ces méthodes...
>
> Le rêve quoi...
>
> Y en aurait-il un aussi balaise en python qui fasse tout ça ?
>
> Et si possible juste un éditeur qui remplit toutes les fonctions
> citées si dessus ?
>
> Sous licence libre cela va de soit !
>
> D'avance un tout grand merci
>
> --
> Benoit
>
>



Re: (solved) Re: wireless fail after stretch installation

2018-03-04 Thread Brian
On Sun 04 Mar 2018 at 08:41:00 +, Long Wind wrote:

> Thank Brian! Your instructions are right, wireless works now!
> the 1st time i use network installthis time i use cdrom install, it has same
> problemas this problem is easily reproduced, why don't they fix it??
> i attach wrong and right interfaces:t1 and t2 respectively(key removed)

The installer team do not consider there is anything to fix. This is the
way they want it. Some users think it is a bug and have said so in the
BTS (see the netcfg package).

We discused this recently on -user. The thread starts at

  https://lists.debian.org/debian-user/2018/01/msg00800.html

and continues at

  https://lists.debian.org/debian-user/2018/02/msg0.html

-- 
Brian.