Re: Fenêtre sur deux écrans

2018-02-13 Thread François LE GAD

Le 13/02/2018 à 14:59, Daysfled a écrit :

Est-il possible d'afficher une fenêtre sur deux écrans séparés sans pour
autant que l'un des écrans soit un clone de l'autre ?


J'utilise couramment arandr (une interface graphique pour xrandr) pour 
deux écrans, ou un écran et un projecteur. Tu disposes tes écrans comme 
tu veux, gauche-droite, haut-bas, en se chevauchant si nécessaire, même 
s'ils ont des résolutions différentes. Et tu peux enregistrer plusieurs 
configurations pour les retrouver rapidement.


--
François



Re: Créer un dossier avec shell bash uniquement si il n'existe pas

2018-02-13 Thread Charles Plessy
Le Tue, Feb 13, 2018 at 01:45:11PM +0100, G2PC a écrit :
> 
> # Créer le dossier installeur si il n'existe pas.

mkdir -p ~/installeur  # Ne fait pas d'erreur si le dossier existe déjà.

Amicalement,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



Re: MIDI-to-USB on Debian?

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 09:09:12 PM Cindy-Sue Causey wrote:
> On 2/13/18, Doug  wrote:
> > On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
> >> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> >> and/or linux?
> >> This is just for a point-to-point connection from a Yamaha keyboard to
> >> a laptop. Software on the laptop remains undetermined, probably some
> >> combination of Rhythmbox, CSound, Supercollider and god knows what
> >> else. Thanks..Nick
> > 
> > Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
> > model M keyboard into a Dell laptop, and it works perfectly. (No
> > manufacturer's name on it--it just says
> > "Made in China" like so much else these days.
> 
> Newegg has them, too, in varying prices. Both male and female
> directions on their various separate offerings. Am even looking at a
> pic for a dual PS/2 funneled into one USB connection.
> 
> How good they are, I don't know, but I've been using a 99 cent VGA to
> DVI-I adapter for almost a year with no obvious ill effects...

I guess until somebody knows that what I described in a recent reply on this 
thread, with the addition of a PS2 to old computer keyboard connector, we 
should caution everybody not to try this.



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Cindy-Sue Causey
On 2/13/18, Cindy-Sue Causey  wrote:
> On 2/13/18, Doug  wrote:
>>
>> On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
>>> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
>>> and/or linux?
>>> This is just for a point-to-point connection from a Yamaha keyboard to
>>> a laptop. Software on the laptop remains undetermined, probably some
>>> combination of Rhythmbox, CSound, Supercollider and god knows what
>>> else. Thanks..Nick
>>>
>>>
>> Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
>> model M keyboard into a Dell laptop, and it works perfectly. (No
>> manufacturer's name on it--it just says
>> "Made in China" like so much else these days.
>
>
> Newegg has them, too, in varying prices. Both male and female
> directions on their various separate offerings. Am even looking at a
> pic for a dual PS/2 funneled into one USB connection.
>
> How good they are, I don't know, but I've been using a 99 cent VGA to
> DVI-I adapter for almost a year with no obvious ill effects...


Sorry about that. Apparently, just don't buy your... mouse there.

Or super cheap caged USB fans, either, long as I have to do this. Two
arrived crushed because of lousy wrapping.

Cindy *oops*
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Cindy-Sue Causey
On 2/13/18, Doug  wrote:
>
> On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
>> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
>> and/or linux?
>> This is just for a point-to-point connection from a Yamaha keyboard to
>> a laptop. Software on the laptop remains undetermined, probably some
>> combination of Rhythmbox, CSound, Supercollider and god knows what
>> else. Thanks..Nick
>>
>>
> Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
> model M keyboard into a Dell laptop, and it works perfectly. (No
> manufacturer's name on it--it just says
> "Made in China" like so much else these days.


Newegg has them, too, in varying prices. Both male and female
directions on their various separate offerings. Am even looking at a
pic for a dual PS/2 funneled into one USB connection.

How good they are, I don't know, but I've been using a 99 cent VGA to
DVI-I adapter for almost a year with no obvious ill effects...

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Jon Leonard
On Tue, Feb 13, 2018 at 03:00:20PM -0600, Nicholas Geovanis wrote:
> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> and/or linux?
> This is just for a point-to-point connection from a Yamaha keyboard to
> a laptop. Software on the laptop remains undetermined, probably some
> combination of Rhythmbox, CSound, Supercollider and god knows what
> else. Thanks..Nick

I have what lsusb reports as:
Bus 003 Device 004: ID 0763:1002 Midiman MidiSport 2x2

It does need to download some firmware to the device, but aside from that
it has been working with no issues for me.  I don't remember what it cost
new, and it looks a little different from the "Anniversary edition" that's
for sale now.  But such things do exist.

Jon Leonard



Re: MIDI-to-USB on Debian?

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 08:27:50 PM rhkra...@gmail.com wrote:
> I bought a USB to MIDI adapter on ebay.  I didn't save the URL, but the
> description is / was: "USB IN-OUT MIDI Interface Cable Converter PC to
> Music Keyboard Adapter Cord 2017".
> 
> It was about $6, with free shipping, and it probably came from the far east
> (most of the stuff I buy on ebay comes from the far east)--it may take 30
> days or so to arrive.  (There may be a US supplier of the same thing, at a
> higher price.)
> 
> (I thought I bought two, one as a spare, but my notes don't say that, and I
> don't immediately see the other one--if I bought 2, I got the 2 for $6
> (i.e., $3 each).)

Ok, I looked up a link:

https://www.ebay.com/itm/USB-IN-OUT-MIDI-Interface-Cable-Converter-PC-to-
Music-Keyboard-Adapter-
Cord-2017/152759422217?epid=918698895=item23912bcd09:g:ZuMAAOSwZC1Z8VKU=true

They are $2.95 each, but they now charge $0.40 shipping.  (I did buy 2, and I 
now remember where the spare is ;-)



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Doug


On 02/13/2018 08:27 PM, rhkra...@gmail.com wrote:

On Tuesday, February 13, 2018 08:06:52 PM Doug wrote:

On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:

Does anyone have a MIDI-to-USB adapter they could recommend for Debian
and/or linux?
This is just for a point-to-point connection from a Yamaha keyboard to
a laptop. Software on the laptop remains undetermined, probably some
combination of Rhythmbox, CSound, Supercollider and god knows what
else. Thanks..Nick

Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
model M keyboard into a Dell laptop, and it works perfectly. (No
manufacturer's name on it--it just says
"Made in China" like so much else these days.

I bought a USB to MIDI adapter on ebay.  I didn't save the URL, but the
description is / was: "USB IN-OUT MIDI Interface Cable Converter PC to Music
Keyboard Adapter Cord 2017".

It was about $6, with free shipping, and it probably came from the far east
(most of the stuff I buy on ebay comes from the far east)--it may take 30 days
or so to arrive.  (There may be a US supplier of the same thing, at a higher
price.)

(I thought I bought two, one as a spare, but my notes don't say that, and I
don't immediately see the other one--if I bought 2, I got the 2 for $6 (i.e.,
$3 each).)

I'm using it to interface from Rosegarden on my PC to a Yamaha TG-100.   At
some point I might also hook up a MIDI keyboard.  I use the TG-100 to output
songs for me to practice my "singing" ;-)

For my purposes, if there is any latency, I don't notice it.  (OTOH, I have a
problem with Rosegarden displaying "long" lyrics--I joined a Rosegarden
maillist to ask for help on that.)



Sorry for brain-fog! I didn't realize you were talking about a MUSIC 
keyboard!


--doug



Re: MIDI-to-USB on Debian?

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 08:06:52 PM Doug wrote:
> On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
> > Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> > and/or linux?
> > This is just for a point-to-point connection from a Yamaha keyboard to
> > a laptop. Software on the laptop remains undetermined, probably some
> > combination of Rhythmbox, CSound, Supercollider and god knows what
> > else. Thanks..Nick
> 
> Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
> model M keyboard into a Dell laptop, and it works perfectly. (No
> manufacturer's name on it--it just says
> "Made in China" like so much else these days.

I bought a USB to MIDI adapter on ebay.  I didn't save the URL, but the 
description is / was: "USB IN-OUT MIDI Interface Cable Converter PC to Music 
Keyboard Adapter Cord 2017".

It was about $6, with free shipping, and it probably came from the far east 
(most of the stuff I buy on ebay comes from the far east)--it may take 30 days 
or so to arrive.  (There may be a US supplier of the same thing, at a higher 
price.)

(I thought I bought two, one as a spare, but my notes don't say that, and I 
don't immediately see the other one--if I bought 2, I got the 2 for $6 (i.e., 
$3 each).)

I'm using it to interface from Rosegarden on my PC to a Yamaha TG-100.   At 
some point I might also hook up a MIDI keyboard.  I use the TG-100 to output 
songs for me to practice my "singing" ;-)

For my purposes, if there is any latency, I don't notice it.  (OTOH, I have a 
problem with Rosegarden displaying "long" lyrics--I joined a Rosegarden 
maillist to ask for help on that.)




Re: MIDI-to-USB on Debian?

2018-02-13 Thread Doug


On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:

Does anyone have a MIDI-to-USB adapter they could recommend for Debian
and/or linux?
This is just for a point-to-point connection from a Yamaha keyboard to
a laptop. Software on the laptop remains undetermined, probably some
combination of Rhythmbox, CSound, Supercollider and god knows what
else. Thanks..Nick


Look for a PS2 to USB adapter. I have one that allows me to plug an IBM 
model M keyboard into a Dell laptop, and it works perfectly. (No 
manufacturer's name on it--it just says

"Made in China" like so much else these days.

--doug



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 18:11:55 Dan Ritter wrote:

> On Tue, Feb 13, 2018 at 03:00:20PM -0600, Nicholas Geovanis wrote:
> > Does anyone have a MIDI-to-USB adapter they could recommend for
> > Debian and/or linux?
> > This is just for a point-to-point connection from a Yamaha keyboard
> > to a laptop. Software on the laptop remains undetermined, probably
> > some combination of Rhythmbox, CSound, Supercollider and god knows
> > what else. Thanks..Nick
>
> I haven't used it, but I have heard the
> http://www.m-audio.com/products/view/uno
> M-Audio Uno recommended in the past.
>
Unfortunately, the price is top secret.

> In general, there shouldn't be a problem, because MIDI-over-USB
> is a well-recognized protocol with kernel support, like USB mass
> storage.
>
> -dsr-



-- 
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: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 18:06:31 Dan Ritter wrote:

> On Tue, Feb 13, 2018 at 02:28:51PM -0500, Gene Heskett wrote:
> > Those prices would appear to be aimed at a corporate setting, as
> > opposed to something that a retiree on SS might be able to afford,
> > nor is the plea taken as being aimed at me. IMO this is a mistake. I
> > am well aware
>
> No, they'll happily take your $5 pledge, too.
>
> What they are doing is telling you what it costs to hire,
> approximately, 1.5 Debian developers. If you would like to
> contribute towards that, great. If you can't afford to give
> them any money, OK, they're still doing the work as long as
> they can, and the LTS repo will continue to be updated until
> they stop.
>
> > would be able to make an annual donation of perhaps $100 toward the
> > expenses of the LTS. Tain't much, but how many other old farts like
> > me would be willing to do likewise?
>
> They would be happy to get that, too.
>
> > arm64 since there are now, shipping versions of arm64 out in the
> > wild for at least a year. I have 2 of the rock64's myself. Runs at
> > about 3/4 the speed of this machine, which is a quad core phenom
> > about 10 years old, and once the drivers (dual mali gfx engines,
> > high speed spi) have been written, will easily take over from
> > thousands of power slurping wintel boxes controlling industrial
> > machines.
> >
> > Thats a $44 card, with 4GiB of installed dram. You are going to get
> > more and more requests as folks take note of the rock64.
>
> I'm pretty sure that there is no existing wheezy support for it,
> so they are unlikely to port it. However, when LTS stops
> supporting wheezy and moves on to jessie, they will probably
> support jessie on arm64.
>
> That said, why are you not running stretch (current stable) on
> your arm64 machines?
>
Yes

And by May, I expect to see an install iso from the linuxcnc guys that is 
based on stretch. But its not happened yet... One of the basic tenets of 
linuxcnc is that it MUST run on older hardware, whatever was originally 
installed on that machine when it was first converted in the late 90's. 
If debian drops support for 486/586 machines, a lot of them will have to 
be replaced, so a leap frog to the latest, low cost hardware must be a 
viable path. Thats gonna make some of the oldtimers without a background 
like mine, retire before its time, so we've got to make it as easy and 
cheap as we can to make the hdwe upgrade needed. Thats one of the things 
I am trying to do. I have around $250 in the cards etc to run a big 
lathe from a raspberry pi. But the pi's all have a huge internal 
architecture, problem, the data from the keyboard and mouse dongles all 
has to get into the system via the invisible internal usb-2 hub, which 
results in thrown away events. Once the code is committed to a file on 
the sdcard, it runs the machine perfectly, but editing that code can be 
quite a trip.

This particular $44 card promises to fix all that.

> -dsr-



-- 
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: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 17:02:10 deloptes wrote:

> Gene Heskett wrote:
> > I wouldn't but they are running stretch just fine once I'd killed
> > light-locker.
>
> I upgraded last year my 10y old Geode with 256MB RAM from wheezy to
> jessie to stretch. As this Geode machine is 586 with a strange hd
> controller, I had to compiled and build the kernel package on stretch
> in chroot on a fat x86_64 machine - installed the package on the Geode
> one without an issue. I upgraded the kernel twice since then following
> same procedure - it takes just 15min to compile install and reboot.
> It took me however a whole eternity to find the right combination for
> the HDD controller and this was the blocker for a long time, so after
> I had the new kernel the upgrade was painless - except I left old grub
> as it can somehow not handle grub2.
>
> However I am not sure whats the status of your machines, Gene - you
> post very often bizarre issues.

The demands of linuxcnc on the kernel can lead one down some unexplored 
garden paths, running into all sorts of "bizarre" issues. The simulator, 
which is not complete, will run on a stock kernel. You can download that 
and run it on darned near anything except when you need motion control 
locked to spindle rpms. That generally rules out thread cutting as that 
takes feedback from a running spindle the simulation doesn't have.

> I think you are simply missing how good debian become since wheezy.
>
> regards

I agree Deloptes, debian's newer releases are generally better, if the 
ever increasing paranoia can be worked around. The major problems are 
with the difficulties in building and installing, a newer, realtime 
kernel for machine control usage, when the boot protocol is not grub 
like, and none of these modern whiz bang credit card sized offerings use 
grub to boot. I have sourced some docs on the u-boot process, intending 
to write a script that will install a realtime kernel such as 
v4.14.15-rt13 I've built on that rock64 in well under an hour, but I'm 
still walking thru the ayufan stretch image trying to discern which of 
the 4 paths to a good boot he took thru what at first looks like 4! (16) 
ways to do it that Mark Harris actually used. Its getting clearer, and I 
am starting to make notes, but I'm at  least a weeks worth of days from 
starting a script. There's stuff there thats probably GPT/MBR related 
but what is it? Gibberish to the untrained eye looking at a hexdump.


That, and fighting with my printer because theres no pdf of this doco,



only html, so I must strip and print the html to get a hard copy that I 
then have to read with a magnifying glass by the time I've reduced it to 
about 75% to keep the gfx diagrams from being cut off by the right edge 
of the paper. By then the text fonts are about 4 points high.  Thats a 
bit small for 83 yo eyes beginning to have cataracts.
But that is my problem, not this lists.


Thank you Deloptes.

-- 
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: MIDI-to-USB on Debian?

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 05:59:19PM -0500, Gene Heskett wrote:
> On Tuesday 13 February 2018 16:00:20 Nicholas Geovanis wrote:
> 
> > Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> > and/or linux?
> > This is just for a point-to-point connection from a Yamaha keyboard to
> > a laptop. Software on the laptop remains undetermined, probably some
> > combination of Rhythmbox, CSound, Supercollider and god knows what
> > else. Thanks..Nick
> 
> There may be such a critter, but expect to pay thru the nose for it, and 
> that the midi timing may suffer critically.

Prices start at about $30, and get very fancy by the time you
hit a hundred.

> The usb chips are all optimized for std serial port speeds, but midi is 
> not a std serial port speed, its 31,250 baud falling smack in the middle 
> between 19,200, baud and 38,400 baud. I do not know of a usb chip that 
> would recognize a 31,250 baud signal as anything but noise to be 
> ignored.

That's why they have dedicated midi hardware on one end, and
dedicated USB hardware on the other hand. Getting 31.25Kbaud
across a 12Mb/s USB1 connection is not difficult. USB2 is 480
Mb/s, and so most of the time is going to be spent waiting for 
MIDI events to come in.

-dsr-



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 03:00:20PM -0600, Nicholas Geovanis wrote:
> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> and/or linux?
> This is just for a point-to-point connection from a Yamaha keyboard to
> a laptop. Software on the laptop remains undetermined, probably some
> combination of Rhythmbox, CSound, Supercollider and god knows what
> else. Thanks..Nick

I haven't used it, but I have heard the
http://www.m-audio.com/products/view/uno
M-Audio Uno recommended in the past.

In general, there shouldn't be a problem, because MIDI-over-USB
is a well-recognized protocol with kernel support, like USB mass
storage.

-dsr-



Re: end of security support for wheezy LTS

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 02:28:51PM -0500, Gene Heskett wrote:
> 
> Those prices would appear to be aimed at a corporate setting, as opposed 
> to something that a retiree on SS might be able to afford, nor is the 
> plea taken as being aimed at me. IMO this is a mistake. I am well aware 

No, they'll happily take your $5 pledge, too.

What they are doing is telling you what it costs to hire,
approximately, 1.5 Debian developers. If you would like to
contribute towards that, great. If you can't afford to give
them any money, OK, they're still doing the work as long as
they can, and the LTS repo will continue to be updated until
they stop.


> would be able to make an annual donation of perhaps $100 toward the 
> expenses of the LTS. Tain't much, but how many other old farts like me 
> would be willing to do likewise?

They would be happy to get that, too.


> arm64 since there are now, shipping versions of arm64 out in the wild 
> for at least a year. I have 2 of the rock64's myself. Runs at about 3/4 
> the speed of this machine, which is a quad core phenom about 10 years 
> old, and once the drivers (dual mali gfx engines, high speed spi) have 
> been written, will easily take over from thousands of power slurping 
> wintel boxes controlling industrial machines.
> 
> Thats a $44 card, with 4GiB of installed dram. You are going to get more 
> and more requests as folks take note of the rock64.

I'm pretty sure that there is no existing wheezy support for it,
so they are unlikely to port it. However, when LTS stops
supporting wheezy and moves on to jessie, they will probably
support jessie on arm64.

That said, why are you not running stretch (current stable) on
your arm64 machines?

-dsr-



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 16:00:20 Nicholas Geovanis wrote:

> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> and/or linux?
> This is just for a point-to-point connection from a Yamaha keyboard to
> a laptop. Software on the laptop remains undetermined, probably some
> combination of Rhythmbox, CSound, Supercollider and god knows what
> else. Thanks..Nick

There may be such a critter, but expect to pay thru the nose for it, and 
that the midi timing may suffer critically.

The usb chips are all optimized for std serial port speeds, but midi is 
not a std serial port speed, its 31,250 baud falling smack in the middle 
between 19,200, baud and 38,400 baud. I do not know of a usb chip that 
would recognize a 31,250 baud signal as anything but noise to be 
ignored.

You would, for performance reasons, be far better off to search for a 
card that was designed from the gitgo, to run at midi speeds. And expect 
that its going to need a desktop to house it, primarily because the full 
sized din connector is going to use the full width of a cards back 
panel.

Frankly, as an operating electronics technician involved in television 
broadcasting since back the '60's, I am amazed at the longevity 
exhibited by midi. It should have been replaced with better, faster ways 
of doing it several times over the last nearly 60 years. Modern RS-485 
hardware can be bidirectional, is a low voltage differential signal on 
two wires that do not within reason, need a ground reference, and can 
run at several megabuad for signal rates.  And I can buy them on fleabay 
for less than 10 bucks for 10 of them. Sure, midi still manages to get 
the job done, but when you have the equ of a 40 piece orchestra being 
played, you cannot get away from the impression that Floyd Cramer is 
playing every instrument. And that is not how the original paper copy of 
the music was written.

So find a real midi card, and forget about the effects of usb's latency 
(which can be tens of milliseconds) as it translates the speed 
differences.


-- 
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: Shell

2018-02-13 Thread BERTRAND Joël
Francois Lafont a écrit :
> On 02/13/2018 09:03 PM, Étienne Mollier wrote:
> 
>> Pour aller encore plus loin, il est possible de transférer
>> complètement la main au shell et obtenir du même coup la remontée
>> des éventuels codes d'erreurs en ajoutant des directives exec.
>> Cela donnerait :
>>
>>  #!/bin/sh
>>  if which bash >/dev/null
>>  then
>>  exec bash "$@"
>>  fi
>>  exec /bin/sh "$@"
> 
> Ah oui, tout à fait, c'est encore mieux avec le exec. :)
> 
> 

Bonsoir à tous,

Je vais regarder tout cela attentivement et ferai un retour dès que
possible (j'ai un truc beaucoup plus important sur le feu).

Bien cordialement,

-- 
http://www.systella.fr



Re: Interface web host facile ?

2018-02-13 Thread Gal Seib
Le mardi 13 février 2018 à 19:16 +0100, Pierre L. a écrit :
Bonjour,
Bonsoir


Petit serveur à monter pour des utilisateurs novices qui vont bosser sur
php, mysql/mariadb, ftp... Bref, avoir en local les conditions et
services d'un hébergeur web standard.
Je vais m'installer apache2 ce soir pour proposer une page html.


Je ne trouve que des interfaces bien "lourdes", dans le sens de "riches"
en features, qui vont repousser à coup sûr la personne devant
"administrer" ces comptes...
Le classique pour une base de donnée et du dynamique c'est LAMP, après pour 
l'administration ce serait à chacun de s'adapter.


Si toutefois vous avez déjà bossé avec ce type d'outil ? (distrib dédiée
éventuellement)
Les distrib dédiées, elles sont surtout montées pour tester la sécurité des 
serveurs, histoire de vérifier justement si ils sont administrés comme il faut.


Merci d'avance :)
Pour de l'utilisation en local je ne vois pas l'intérêt de lancer une 
configuration poussé du serveur.




Re: repiquer les cassettes vhs

2018-02-13 Thread Yann Serre

Le 13/02/2018 à 21:04, Bernard Schoenacker a écrit :

bonjour,

quel est le logiciel ad'hoc pour ce genre de job ?

slt
bernard


Bonsoir,

Il doit y avoir beaucoup de solutions logicielles pour numériser (et peu 
importe laquelle choisir, elles vont enregistrer un flux, ce qu'on 
envoie en entrée).
Ce qui fera toute la différence c'est le traitement du signal analogique 
en amont d'une part et les traitements numériques d'autre part pour 
recadrer, adapter la taille, ré-équilibrer les niveaux, gonfler la 
couleur et réduire le bruit dans l'image.


J'ai eu à traiter des centaines de cassettes avec cette solution :
- un magnétoscope VHS neuf ou presque, têtes nettoyées,
- un TBC (et si c'est du SECAM, un TBC/transcodeur pour sortir du PAL),
- un processeur vidéo numérique :
 -> entrée analogique composite (reclockée par le TBC),
 -> sortie numérique SDI (ou HDMI),
- une carte vidéo pour numériser (entrée de préférence en SDI),
- un logiciel qui enregistre le flux dans le format final souhaité (h.264).

Je comprends que tout ça semble disproportionné pour "repiquer" quelques 
cassettes vidéos. Mais sans un traitement un peu sérieux en amont le 
résultat est décevant (vraiment "merdique").


Conclusion : confier les VHS à un labo si c'est vraiment important.
Ou s'équiper.

Slt
Yann



TBC : mémoire deux trames : compense les variations d'horloge induites 
par le vieillissement et l'étirement de la bande magnétique. Le signal 
ressort "reclocké", image stable. (exemple d'un fabricant broadcast 
français : http://fougerolle-fr.com/)


Processeur vidéo numérique :
de type Teranex de Blackmagic Design, par exemple.
C'est pour :
- enlever le fourmillement dans l'image (réducteur de bruit)
- régler le niveau de noir, la luminosité,
- l'équilibrage des couleurs,
Tout ça en temps réel !

Théoriquement, il devrait être possible de remplacer l'étape processeur 
vidéo numérique par un traitement d'image software (et donc plus du tout 
en temps réel, prévoir du temps de calcul du genre 20mn pour rendre une 
minute, etc...)

- logiciel : Resolve (voir Blackmagic...)
- plus une machine puissante avec une grosse carte graphique



Re: Shell

2018-02-13 Thread Francois Lafont
On 02/13/2018 09:03 PM, Étienne Mollier wrote:

> Pour aller encore plus loin, il est possible de transférer
> complètement la main au shell et obtenir du même coup la remontée
> des éventuels codes d'erreurs en ajoutant des directives exec.
> Cela donnerait :
> 
>   #!/bin/sh
>   if which bash >/dev/null
>   then
>   exec bash "$@"
>   fi
>   exec /bin/sh "$@"

Ah oui, tout à fait, c'est encore mieux avec le exec. :)


-- 
François Lafont



Re: What is available for setting services to run levels

2018-02-13 Thread Forest Dean Feighner
Perhaps, from man systemctl


   isolate NAME
   Start the unit specified on the command line and its
dependencies and stop all others. If a unit name
   with no extension is given, an extension of ".target" will be
assumed.

   This is similar to changing the runlevel in a traditional init
system. The isolate command will
   immediately stop processes that are not enabled in the new unit,
possibly including the graphical
   environment or terminal you are currently using.

   Note that this is allowed only on units where AllowIsolate= is
enabled. See systemd.unit(5) for details.

I haven't tinkered with it yet

HTH

On Tue, Feb 13, 2018 at 4:08 PM, Harry Putnam  wrote:

> What tools do we have for setting services to run levels
>
>


Re: end of security support for wheezy LTS

2018-02-13 Thread deloptes
Gene Heskett wrote:

> I wouldn't but they are running stretch just fine once I'd killed
> light-locker.

I upgraded last year my 10y old Geode with 256MB RAM from wheezy to jessie
to stretch. As this Geode machine is 586 with a strange hd controller, I
had to compiled and build the kernel package on stretch in chroot on a fat
x86_64 machine - installed the package on the Geode one without an issue. I
upgraded the kernel twice since then following same procedure - it takes
just 15min to compile install and reboot.
It took me however a whole eternity to find the right combination for the
HDD controller and this was the blocker for a long time, so after I had the
new kernel the upgrade was painless - except I left old grub as it can
somehow not handle grub2.

However I am not sure whats the status of your machines, Gene - you post
very often bizarre issues.

I think you are simply missing how good debian become since wheezy.

regards





Re: Fenêtre sur deux écrans

2018-02-13 Thread Yves Rutschle
On Tue, Feb 13, 2018 at 05:37:39PM +0100, Daysfled wrote:
> Je suppose que tu veux dire apt install pdf-presenter-console ?

Heu oui, je le lance plus souvent que je ne l'installe :-)

> D'où mon idée de parvenir à dupliquer/cloner (je ne sais comment dire)
> une fenêtre sur deux écrans plutôt que de chercher un logiciel particulier.

Ok, compris. 

En console, je partirais sur un bricolage avec screen ou
tmux: une fenêtre sur l'écran secondaire, une fenêtre sur
l'écran primaire, ça marche très bien.

L'équivalent graphique, ça peut être VNC:

apt install tightvncserver xtightvncviewer

(j'ai vérifié cette fois-ci :-) ).

Ensuite, dans un terminal:
$ vncserver

Ça te donne un nouveau display:

[...]
New 'X' desktop is simcoe:2
[...]

Ailleurs, tu lances 2 fois:
$ xvncviewer simcoe:2
(en adaptant le nom de l'hote bien sûr)

Maintenant tu as 2 vues sur le même display X. Pour y lancer
qq chose rapidement, dans un autre terminal:

$ export DISPLAY=simcoe:2
$ xterm

et un xterm arrive dans la session partagée. Tu déplaces une
des fenêtres sur l'écran partagé (avec KDE/Gnome en 'écran
étendu classique), et voilà.

Réglage fin de la géométrie du serveur et du lancement d'un
bureau complet dans le second serveur X laissé en exercise.

HTH!
Y.




What is available for setting services to run levels

2018-02-13 Thread Harry Putnam
What tools do we have for setting services to run levels



MIDI-to-USB on Debian?

2018-02-13 Thread Nicholas Geovanis
Does anyone have a MIDI-to-USB adapter they could recommend for Debian
and/or linux?
This is just for a point-to-point connection from a Yamaha keyboard to
a laptop. Software on the laptop remains undetermined, probably some
combination of Rhythmbox, CSound, Supercollider and god knows what
else. Thanks..Nick



Re: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 15:10:22 David Wright wrote:

> On Tue 13 Feb 2018 at 14:28:51 (-0500), Gene Heskett wrote:
> > On Tuesday 13 February 2018 09:28:06 David Wright wrote:
> > > On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> > > > Hi all,
> > >
> > > Hello again,
> > >
> > > > Our PCI compliance scanner (probably falsely) claims it's
> > > > 2018-05-01.
> > > >
> > > > The Wikipedia page:
> > > > https://en.wikipedia.org/wiki/Debian_version_history just says
> > > > "May 2018".
> > > >
> > > > Debian website:
> > > >
> > > > https://www.debian.org/releases/wheezy/
> > > > https://wiki.debian.org/LTS
> > > >
> > > > clearly states "end of May 2018".
> > > >
> > > > I'm treating the latter as the more reliable source.
> > > >
> > > > My related question:
> > > >
> > > > Is it likely for this date to still be moved forward or back?
> > > > Can it happen on a short notice (say less than a month)?
> > >
> > > No idea, but the people here may by closer to the action:
> > > https://wiki.debian.org/LTS/Contact
> > > They're all open lists.
> >
> > I noted one thing on the frexian pages, the prices for funding are
> > in euro's.  And since I run on dollars, would need an exchange rate.
>
>   USD US Dollars   0.7235642449 1.3820472847
>   EUR Euros0.8866900420 1.1277898168
>   GBP British Pounds   1.00 1.00
>
> > Those prices would appear to be aimed at a corporate setting, as
> > opposed to something that a retiree on SS might be able to afford,
> > nor is the plea taken as being aimed at me. IMO this is a mistake.
>
> I think that the LTS is aimed at people who might have invested
> heavily in the OS and need a longer timescale to migrate their
> systems. We hear about banks still running programs from the 1960s.
>
> > I am well aware
> > of the TANSTAAFL principle, and if the paperwork didn't drown them,
> > would be able to make an annual donation of perhaps $100 toward the
> > expenses of the LTS. Tain't much, but how many other old farts like
> > me would be willing to do likewise?
>
> To what end? If you're still running your lathes on wheezy, why not
> just isolate them from the Internet to avoid any security dangers.

I have dd-wrt between the net and anything of mine, been there, kept 
reasonably uptodate for over a decade. Only one person has come thru it, 
and I needed some help, so I gave him the usernames and pw.
 
> > On a secondary note, I see armel and armhf? listed there, but what
> > about arm64 since there are now, shipping versions of arm64 out in
> > the wild for at least a year.
>
> If that's how new they are to the world, why would people install
> wheezy on them?
>
I wouldn't but they are running stretch just fine once I'd killed 
light-locker.

> Cheers,
> David.



-- 
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: Shell

2018-02-13 Thread Étienne Mollier
Joël Bertrand, le 2018-02-13 :
> Étienne Mollier a écrit :
> > Est-ce que le problème se présentait si vous aviez l'un des
> > bash codé en dur dans votre entrée NIS, en vous loguant en
> > sftp sur le système correspondant ?
>
>   Si je mets l'un des bash en dur, ça fonctionne sur le
> poste en question (mais pas sur les autres...).

D'accord, on peut écarter ce problème de sortie texte.

>   La question que je me suis posé est de savoir si
> /etc/shells doit contenir mon script ou non. Visiblement non
> puisque l'exécutable réel est le vrai shell.

Dans le doute, je l'y mettrais tout de même.  Si j'en juge par le
manuel, les vénérables dæmons ftp pouvaient interdire l'accès
s'ils ne trouvaient pas le shell de l'utilisateur dans la liste
fournie par le fichier /etc/shells.

man 5 shells :
>  Be aware that there are programs which consult this file
>  to find out if a user is a normal user; for example, FTP
>  daemons  traditionally  disallow  access  to  users with
>  shells not included in this file.

Ça n'apparaît pas dans le manuel de sftp, mais rien ne dit qu'il
n'a pas hérité, ou n'héritera pas, de ce comportement.


François Lafont, le 2018-02-13 :
> On 02/12/2018 04:01 PM, BERTRAND Joël wrote:
> > Je me suis cru malin en écrivant :
> >
> > #!/bin/sh
> > if [ `uname -s` = Linux ]; then
> > /bin/bash
> > else
> > if [ -e /usr/pkg/bin/bash ]; then
> > /usr/pkg/bin/bash
> > else
> > /bin/sh
> > fi
> > fi
> > exit 0
>
> Ce script ne prend en charge aucun argument alors qu'en
> principe c'est le cas d'un shell. Éventuellement tenter de
> faire ça (où "$@" permet de reprendre les arguments passés au
> script) :
>
> 
> #!/bin/sh
>
> if [ `uname -s` = Linux ]; then
> /bin/bash "$@"
> else
> if [ -e /usr/pkg/bin/bash ]; then
> /usr/pkg/bin/bash "$@"
> else
> /bin/sh "$@"
> fi
> fi
> 
>
> Enfin si bash est correctement installé sur le système, la
> logique voudrait qu'il soit dans le PATH. Dans ce cas, je
> tenterais plutôt :
>
> if which bash >/dev/null
> then
> bash "$@"
> else
> /bin/sh "$@"
> fi

Bien vu, sans le transfert des arguments, l'option de login shell
« -l » ne peut pas être transférée par le wrapper au shell du
système.  Il y a fort à parier que ça aide à résoudre pas mal de
problèmes.  :-)

Pour aller encore plus loin, il est possible de transférer
complètement la main au shell et obtenir du même coup la remontée
des éventuels codes d'erreurs en ajoutant des directives exec.
Cela donnerait :

#!/bin/sh
if which bash >/dev/null
then
exec bash "$@"
fi
exec /bin/sh "$@"


À plus,
-- 
Étienne Mollier 




Re: end of security support for wheezy LTS

2018-02-13 Thread David Wright
On Tue 13 Feb 2018 at 14:28:51 (-0500), Gene Heskett wrote:
> On Tuesday 13 February 2018 09:28:06 David Wright wrote:
> 
> > On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> > > Hi all,
> >
> > Hello again,
> >
> > > Our PCI compliance scanner (probably falsely) claims it's
> > > 2018-05-01.
> > >
> > > The Wikipedia page:
> > > https://en.wikipedia.org/wiki/Debian_version_history just says "May
> > > 2018".
> > >
> > > Debian website:
> > >
> > > https://www.debian.org/releases/wheezy/
> > > https://wiki.debian.org/LTS
> > >
> > > clearly states "end of May 2018".
> > >
> > > I'm treating the latter as the more reliable source.
> > >
> > > My related question:
> > >
> > > Is it likely for this date to still be moved forward or back?
> > > Can it happen on a short notice (say less than a month)?
> >
> > No idea, but the people here may by closer to the action:
> > https://wiki.debian.org/LTS/Contact
> > They're all open lists.
> 
> I noted one thing on the frexian pages, the prices for funding are in 
> euro's.  And since I run on dollars, would need an exchange rate.

  USD US Dollars   0.7235642449 1.3820472847
  EUR Euros0.8866900420 1.1277898168
  GBP British Pounds   1.00 1.00

> Those prices would appear to be aimed at a corporate setting, as opposed 
> to something that a retiree on SS might be able to afford, nor is the 
> plea taken as being aimed at me. IMO this is a mistake.

I think that the LTS is aimed at people who might have invested
heavily in the OS and need a longer timescale to migrate their
systems. We hear about banks still running programs from the 1960s.

> I am well aware 
> of the TANSTAAFL principle, and if the paperwork didn't drown them, 
> would be able to make an annual donation of perhaps $100 toward the 
> expenses of the LTS. Tain't much, but how many other old farts like me 
> would be willing to do likewise?

To what end? If you're still running your lathes on wheezy, why not
just isolate them from the Internet to avoid any security dangers.

> On a secondary note, I see armel and armhf? listed there, but what about 
> arm64 since there are now, shipping versions of arm64 out in the wild 
> for at least a year.

If that's how new they are to the world, why would people install
wheezy on them?

Cheers,
David.



repiquer les cassettes vhs

2018-02-13 Thread Bernard Schoenacker
bonjour,

quel est le logiciel ad'hoc pour ce genre de job ?

slt
bernard



Re: at based alarm.

2018-02-13 Thread Greg Wooledge
On Tue, Feb 13, 2018 at 01:58:50PM -0600, David Wright wrote:
> Because .bashrc wasn't called. This might work for a bash function:
> 
> xterm -display :0 -e bash -c  . .bashrc ; wake

You probably meant:

xterm -display :0 -e bash -c '. ~/.bashrc; wake'

It would be a lot simpler to put the script in ~/bin/wake though.



Re: at based alarm.

2018-02-13 Thread David Wright
On Tue 13 Feb 2018 at 08:47:56 (-0800), pe...@easthope.ca wrote:
> Test the function.
> peter@computer:~$ wake
> Yes, it works .
> 
> Test the function with xterm.
> peter@computer:~$ xterm -e wake
> The xterm window opens and immediately closes.  A function 
> is not an acceptable option?
> 
> Try the alarm using the working script.
> peter@computer:~$ echo "xterm -display :0 -e ./wake" | at 6:30
> 
> The xterm window doesn't open but there is no error message 
> to the originating terminal or to syslog.
> 
> I need to understand why "xterm -display :0 -e ./wake" fails for at 
> but works interactively.

Because .bashrc wasn't called. This might work for a bash function:

xterm -display :0 -e bash -c  . .bashrc ; wake

Cheers,
David.



Re: end of security support for wheezy LTS

2018-02-13 Thread deloptes
Gene Heskett wrote:

> I am well aware
> of the TANSTAAFL principle, and if the paperwork didn't drown them,
> would be able to make an annual donation of perhaps $100 toward the
> expenses of the LTS. Tain't much, but how many other old farts like me
> would be willing to do likewise?

So you can prolong the LTS support for wheezy with 5h.




Re: Interface web host facile ?

2018-02-13 Thread Pierre L.


Le 13/02/2018 à 20:02, Gal Seib a écrit :
>>
>> Petit serveur à monter pour des utilisateurs novices qui vont bosser sur
>> php, mysql/mariadb, ftp... Bref, avoir en local les conditions et
>> services d'un hébergeur web standard.
> Je vais m'installer apache2 ce soir pour proposer une page html.
Oui ca parait être un bon standard qui va bien, et très documenté :)

>
>>
>> Je ne trouve que des interfaces bien "lourdes", dans le sens de "riches"
>> en features, qui vont repousser à coup sûr la personne devant
>> "administrer" ces comptes...
> Le classique pour une base de donnée et du dynamique c'est LAMP, après
> pour l'administration ce serait à chacun de s'adapter.
Effectivement, LAMP ressort assez souvent dans les exemples. A voir pour
le serveur FTP... quelques uns ont l'air de ressortir aussi du lot

>
>>
>> Si toutefois vous avez déjà bossé avec ce type d'outil ? (distrib dédiée
>> éventuellement)
> Les distrib dédiées, elles sont surtout montées pour tester la
> sécurité des serveurs, histoire de vérifier justement si ils sont
> administrés comme il faut.
>
>
>> Merci d'avance :)
> Pour de l'utilisation en local je ne vois pas l'intérêt de lancer une
> configuration poussé du serveur.
Oui c'est bien pour cela que j'imagine qu'un soft léger doit exister
pour gérer ce type d'install, de manière simple.
Il y a bien des Webmin et autres ISPConfig, mais à mettre dans des mains
pas trop expertes, ca me semble très lourd pour juste une gestion d'une
dizaine de comptes qui bosseront leur site perso/commun... Il est
évident que quelques lignes de commande sauront remplir ces tâches, mais
je vois plutot un truc clés-en-mains en mode sur-couche pour Debian (ou
autre, pas de sectarisme!)

Merci pour ta réponse ;)



signature.asc
Description: OpenPGP digital signature


Re: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 09:28:06 David Wright wrote:

> On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> > Hi all,
>
> Hello again,
>
> > Our PCI compliance scanner (probably falsely) claims it's
> > 2018-05-01.
> >
> > The Wikipedia page:
> > https://en.wikipedia.org/wiki/Debian_version_history just says "May
> > 2018".
> >
> > Debian website:
> >
> > https://www.debian.org/releases/wheezy/
> > https://wiki.debian.org/LTS
> >
> > clearly states "end of May 2018".
> >
> > I'm treating the latter as the more reliable source.
> >
> > My related question:
> >
> > Is it likely for this date to still be moved forward or back?
> > Can it happen on a short notice (say less than a month)?
>
> No idea, but the people here may by closer to the action:
> https://wiki.debian.org/LTS/Contact
> They're all open lists.
>
> Cheers,
> David.

I noted one thing on the frexian pages, the prices for funding are in 
euro's.  And since I run on dollars, would need an exchange rate.

Those prices would appear to be aimed at a corporate setting, as opposed 
to something that a retiree on SS might be able to afford, nor is the 
plea taken as being aimed at me. IMO this is a mistake. I am well aware 
of the TANSTAAFL principle, and if the paperwork didn't drown them, 
would be able to make an annual donation of perhaps $100 toward the 
expenses of the LTS. Tain't much, but how many other old farts like me 
would be willing to do likewise?

On a secondary note, I see armel and armhf? listed there, but what about 
arm64 since there are now, shipping versions of arm64 out in the wild 
for at least a year. I have 2 of the rock64's myself. Runs at about 3/4 
the speed of this machine, which is a quad core phenom about 10 years 
old, and once the drivers (dual mali gfx engines, high speed spi) have 
been written, will easily take over from thousands of power slurping 
wintel boxes controlling industrial machines.

Thats a $44 card, with 4GiB of installed dram. You are going to get more 
and more requests as folks take note of 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: Interface web host facile ?

2018-02-13 Thread Bernard Schoenacker


- Mail original -
> De: "Pierre L." 
> À: debian-user-french@lists.debian.org
> Envoyé: Mardi 13 Février 2018 19:16:22
> Objet: Interface web host facile ?
> 
> Bonjour,
> 
> Petit serveur à monter pour des utilisateurs novices qui vont bosser
> sur
> php, mysql/mariadb, ftp... Bref, avoir en local les conditions et
> services d'un hébergeur web standard.
> 
> Le but est de trouver une interface web (simple si possible) qui
> saurait
> gérer facilement les comptes utilisateurs, leur créant à chacun un
> accès
> ftp, base de données, espace de stockage pour leur site test...
> Je ne trouve que des interfaces bien "lourdes", dans le sens de
> "riches"
> en features, qui vont repousser à coup sûr la personne devant
> "administrer" ces comptes...
> 
> Si toutefois vous avez déjà bossé avec ce type d'outil ? (distrib
> dédiée
> éventuellement)
> Merci d'avance :)
> 
> 

bonjour,

pour le choix, je conseille de laisser ftp au profit de sftp et il
suffit de prendre filezilla ou mc pour réaliser le transfert

pour l'administration pourquoi ne pas penser à alternc ?

autrement voire ispconfig


slt
bernard



Interface web host facile ?

2018-02-13 Thread Pierre L.
Bonjour,

Petit serveur à monter pour des utilisateurs novices qui vont bosser sur
php, mysql/mariadb, ftp... Bref, avoir en local les conditions et
services d'un hébergeur web standard.

Le but est de trouver une interface web (simple si possible) qui saurait
gérer facilement les comptes utilisateurs, leur créant à chacun un accès
ftp, base de données, espace de stockage pour leur site test...
Je ne trouve que des interfaces bien "lourdes", dans le sens de "riches"
en features, qui vont repousser à coup sûr la personne devant
"administrer" ces comptes...

Si toutefois vous avez déjà bossé avec ce type d'outil ? (distrib dédiée
éventuellement)
Merci d'avance :)



signature.asc
Description: OpenPGP digital signature


Re: at based alarm.

2018-02-13 Thread Greg Wooledge
On Tue, Feb 13, 2018 at 08:47:56AM -0800, pe...@easthope.ca wrote:
> peter@computer:~$ cat wake
> #!/bin/bash
>   input=""
>   until [[ $input != "" ]] ; do
> echo Beginning until loop.
> /usr/bin/play /home/peter/ring.wav
> read -n 1 -t 4 input
>   done
> 
> Test the script.
> peter@computer:~$ xterm -e ./wake
> Yes, it works for bash.  Appears [[ or read is not available in dash.

The [[ command is a bashism, yes.

The read command is not a bashism, but read -t and read -n *are*.
The only portable option for read is -r.

Since you're relying heavily on the read-with-timeout, just stick
with bash and do not even ATTEMPT it in sh.



Re: How to safely hold kernel packages ?

2018-02-13 Thread Stéphane Rivière
Sounds like a nice computer, but without the model number, cores, bus 
speed it's hard to tell just how fast it can work or move a Tb or two of 
data.


You're right.

Supermicro X9SR
Intel Xeon E5 1620v2
4 cores / 8 threads
3.7 GHz / 3,9 GHz
10 Mo cache
64Go DDR3 ECC 1600 MHz

Debian 8 stable.

I've no internal router in a dedicated  VM. I only use pure Linux 
network tools (network layer + netfilter/iptables) with geoiptables, 
fail2ban and other classic tools.


Between hypervisor and a VM : 8500 Mbps
Between two VM using a virtual intranet : 4500 Mbps.
Internet connectivity : 1000 Mbps (with very good peering).

8 cores should be better. But no money for :)
It's a second hand server. But worth the price...

--
Stéphane Rivière
Ile d'Oléron - France



Re: at based alarm.

2018-02-13 Thread peter
From: davidson 
Date: Sun, 11 Feb 2018 10:31:25 + (UTC)
> In the "wake" script, you could start xterm with the -e option (and
> put the remainder of your "wake" script in a separate "wake-aux"
> script, I guess):

OK, thanks.  wake is now simplified to this.

peter@computer:~$ cat wake
#!/bin/bash
  input=""
  until [[ $input != "" ]] ; do
echo Beginning until loop.
/usr/bin/play /home/peter/ring.wav
read -n 1 -t 4 input
  done

Test the script.
peter@computer:~$ xterm -e ./wake
Yes, it works for bash.  Appears [[ or read is not available in dash.

Also tried defining a function in .bashrc.
peter@computer:~$ declare -f wake
wake ()
{
  input=""
  until [[ $input != "" ]] ; do
echo Beginning until loop.;
/usr/bin/play /home/peter/ring.wav;
read -n 1 -t 4 input;
  done
}

Test the function.
peter@computer:~$ wake
Yes, it works .

Test the function with xterm.
peter@computer:~$ xterm -e wake
The xterm window opens and immediately closes.  A function 
is not an acceptable option?

Try the alarm using the working script.
peter@computer:~$ echo "xterm -display :0 -e ./wake" | at 6:30

The xterm window doesn't open but there is no error message 
to the originating terminal or to syslog.

I need to understand why "xterm -display :0 -e ./wake" fails for at 
but works interactively.

> I ask about your intent above because this next line...
> 
> until [[ $input != "" ]] ; do
> 
> ...employs the new-fangled Korn shell/Bash conditional test '[[',
> instead of the old-fangled test builtin '['.

bash is now specified.  I'd prefer "test" rather than "[[" but haven't 
found how to make it work.  In common use, "[" and "[[" are delimiters. 
"test" is a better keyword.

Thanks,  ... P.



-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202  Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: Fenêtre sur deux écrans

2018-02-13 Thread Daysfled
Le 13/02/18 à 16:16, eric.bernard a écrit :
> Je suis pas au boulot mais de mémoire c'est dans les paramètres de la
> carte graphique .
> Je regarde demain .

Merci,

Note que je ne dispose que d'une carte graphique sommaire (intel) donc
si cela dépend par exemple de nvidia je ne pourrai le faire. (Mais cela
pourrait peut-être intéresser d'autres ?)

-- 
Days Fled



Re: Fenêtre sur deux écrans

2018-02-13 Thread Daysfled
Le 13/02/18 à 15:21, Yves Rutschle a écrit :
> On Tue, Feb 13, 2018 at 02:59:22PM +0100, Daysfled wrote:
>> Pour une présentation, l'écran vu par le public est dans mon dos. 
> 
> apt install pdfpc

Je suppose que tu veux dire apt install pdf-presenter-console ?
> 
> qui répond exactement à ton besoin: il affiche un PDF en
> plein écran sur l'écran secondaire (dans ton dos), et sur
> l'écran principal (en face de toi) il affiche le slide en
> cours, le prochain, et des notes (que l'on peut entrer
> directement dans pdfpc ; je ne me suis jamais penché sur le
> format, j'imagine qu'on peut aussi l'éditer avec un éditeur
> de texte standard).

Oui, je viens d'installer le bazar et cela a l'air pas mal.

Mais je me rends compte que mon emploi du mot « présentation » qui dans
ma tête se voulait synonyme de « exposé » est perçu de manière stricte
au sens informatique du terme. Mea culpa.

Mon exposé nécessite d'afficher, parfois, une présentation pdf
(latex/beamer) mais parfois un pdf qui n'est pas une présentation (cela
peut paraître incroyable mais à l'usage ça marche pas mal !), une
fenêtre geogebra ou que sais-je encore... (Oui : mon exposé n'est pas
une belle présentation endormante mais un grand foutoir avec un peu de
tout ; le contexte le permet... voire le nécessite.)

D'où mon idée de parvenir à dupliquer/cloner (je ne sais comment dire)
une fenêtre sur deux écrans plutôt que de chercher un logiciel particulier.

Ceci dit, merci pour pdf-presenter-console ; je ne connaissais pas et
pourrait m'en servir à l'occasion.


-- 
Days Fled



Re: Fenêtre sur deux écrans

2018-02-13 Thread Daysfled
Le 13/02/18 à 15:41, Grégory Bulot a écrit :
> Bonjour, 
> 
> Le Tue, 13 Feb 2018 15:13:49 +0100 hamster a écrit
>> Et je ne sais pas faire.
> 
> 
> Moi non plus, mais je me permet de proposer à Daysfled de regarder le
> mode "presentateur" de libreoffice (si l'outil de présentation est
> libreoffice impress)
> 

Non, ce n'est pas une présentation libreoffice.

Par curiosité, je viens d'installer libreoffice6 depuis les backports et
je suis assez impressionné par ce que le diaporama permet de faire...

-- 
Days Fled



Re: Fenêtre sur deux écrans

2018-02-13 Thread hamster

Le 13/02/2018 à 15:21, Yves Rutschle a écrit :

On Tue, Feb 13, 2018 at 02:59:22PM +0100, Daysfled wrote:

Pour une présentation, l'écran vu par le public est dans mon dos.

apt install pdfpc


Ca a l'air de pas etre aussi simple que ca…
https://packages.debian.org/search?keywords=pdfpc=names=all=all=mozilla-search


qui répond exactement à ton besoin: il affiche un PDF en
plein écran sur l'écran secondaire (dans ton dos), et sur
l'écran principal (en face de toi) il affiche le slide en
cours, le prochain, et des notes (que l'on peut entrer
directement dans pdfpc ; je ne me suis jamais penché sur le
format, j'imagine qu'on peut aussi l'éditer avec un éditeur
de texte standard).


La description est alléchante. Mais pour moi la question reste ouverte 
parce que j'aimerais pouvoir faire ca avec toutes sortes de fenetres, 
pas uniquement des documents au format pdf. Par exemple, dans une 
présentation sur openstreetmap, pouvoir montrer une carte dans firefox 
ou encore comment on édite la carte avec le logiciel spécialisé pour ca.




Re: Fenêtre sur deux écrans

2018-02-13 Thread hamster

Le 13/02/2018 à 15:40, Daysfled a écrit :

Du coup si elle est aussi affichée sur ton écran, tu ne verra
plus rien d'autre.

Sauf si l'autre fenêtre sur laquelle je veux pouvoir jeter un œil à
l'occasion recouvre (quand j'en ai besoin) une partie de la fenêtre de
présentation.


Ok, mais la aussi j'ai envie de dire "pis aller". Si tu peux continuer a 
utiliser ton ordi normalement (voir le bureau, naviguer dans les menus, 
ouvrir un dossier, lancer un autre logiciel, etc…) c'est quand meme 
nettement plus pratique.




Re: Fenêtre sur deux écrans

2018-02-13 Thread eric.bernard
Je suis pas au boulot mais de mémoire c'est dans les paramètres de la carte 
graphique .Je regarde demain .


Envoyé depuis mon smartphone Samsung Galaxy.
 Message d'origine De : Eddy Flas  Date 
: 13/02/2018  15:47  (GMT+01:00) À : debian-user-french@lists.debian.org Objet 
: Re: Fenêtre sur deux écrans 
Le 13/02/18 à 15:25, eric.bernard a écrit :
> Oui. J'utilise 4 écrans indépendants 

Mais encore... ? Si tu as l'occasion de m'en dire plus car j'ai beau
cherché et je ne trouve rien...

Moi aussi je peux utiliser plusieurs écrans indépendants. La question
est qu'une fenêtre — et une seule — soit clonée sur tous les écrans.



-- 
Eddy Flas
Message réalisé et envoyé grâce à Debian GNU/Linux



Re: Finding older ISOs

2018-02-13 Thread john doe

On 2/13/2018 2:51 PM, Jude DaShiell wrote:
What is the meaning of repeated tracker not found messages with a 
bittorrent download?  I've been having this happen repeatedly with one 
of the firmware-buster x86_64 iso files I've been trying to get.




Jude you should ask a new question to get more exposure and also answer 
older question when people are trying to help you and go step by step.


I'm glad you know the debian-user list though.

Your question is about Buster and irrelevant to this threads while here 
it is about older version of Debian.


From older conversations you clearly have some issues on your systems 
(poor connection, unstable installation of Debian, to many broken 
packages ...).


I have tried to help you two times in the passed on debian-accessibility 
and from now on I will simply point out the errors but won't waste my 
time trying to  help you.



On Tue, 13 Feb 2018, Thomas Schmitt wrote:


Date: Tue, 13 Feb 2018 07:42:32
From: Thomas Schmitt 
To: debian-user@lists.debian.org
Subject: Re: Finding older ISOs
Resent-Date: Tue, 13 Feb 2018 12:43:17 + (UTC)
Resent-From: debian-user@lists.debian.org

Hi,

Rick Thomas wrote:

Out of curiosity, I tried this myself.
...
HTTP request sent, awaiting response... 404 Not Found
...
Aaargh - 8 files could not be downloaded.


This is not what is supposed to happen.

I forwarded your report to debian-cd:
 https://lists.debian.org/debian-cd/2018/02/msg00030.html


Have a nice day :)

Thomas







--
John Doe



Re: Conexion compartida entre pcs debian 9

2018-02-13 Thread divagante

El 10/02/18 a las 11:02, rv riveravaldez escribió:

2018-01-22 22:03 GMT-03:00 divagante :


  El pc "A" es una notebbok, utiliza network-manager-gnome y esta conectado
al router con salida a internet mediante wi-fi.

  El pc B es un desktop, utiliza network-manager-gnome, no posee wi-fi y lo
conecto mediante ethernet al pc A.


Imagino que quisiste decir "mediante ethernet al pc A". <<-- asi es! corregido


  Lo extraño del caso (al menos para mi) es que antes realice varias veces
una conexcion compartida mediante network-manager-gnome.

  Enumero los pasos para despejar dudas:

  En el pc A -conectado por wi-fi- creo una conexion cableada y en el
apartado ipv4 elijo "compartida con otros equipos". Conecto el cable
ethernet a esta.

  En el pc B -que cuenta solo con ethernet- simplemente enchufo a la placa de
red el cable y selecciono una conexion estandar por cable.

  Esta vez el pc B no logra recibir el internet.


¿Puede ser que estés conectando A con B a expensas de desconectar A del router?
¿A sigue conectado al router y con salida a Internet?



Si! A continuaba conectado al router, falla la conexion compartida 
cableada, ya que esta en una pc "saltaba" y buscaba la eternet comun. En 
la otra pc direcctamente jamas se conectaba.
 Dentro de poco reanudo las pruebas, aunque esta vez la pc B tendra 
windows.. no creo sea lo mismo.




Re: Fenêtre sur deux écrans

2018-02-13 Thread Eddy Flas
Le 13/02/18 à 15:25, eric.bernard a écrit :
> Oui. J'utilise 4 écrans indépendants 

Mais encore... ? Si tu as l'occasion de m'en dire plus car j'ai beau
cherché et je ne trouve rien...

Moi aussi je peux utiliser plusieurs écrans indépendants. La question
est qu'une fenêtre — et une seule — soit clonée sur tous les écrans.



-- 
Eddy Flas
Message réalisé et envoyé grâce à Debian GNU/Linux



Re: VPS para multiples dominios

2018-02-13 Thread juan
Mira:
https://www.uv.es/sto/charlas/2010_CIM/hvl-cim-2010.html/index.html#virtualizacion-completa-o-nativa-sin-apoyo-hardware


Los más usados son KVM y OpenVZ con este tipo de software s que los
datacenters virtualizan las máquinas de hosting, pero ya te digo,
primero ponte a estudiar y a hacer muchas pruebas a ganar experiencia,
antes de comprometerte a administrar servidores e otros :)

Luego para tener varios dominios en una misma máquina se puede separar
desde apache, por ejemplo asignado diferentes puertos a diferentes
dominios (hay otras formas de hacerlo por ip por ejemplo)

http://httpd.apache.org/docs/current/mod/core.html#virtualhost





On 13/02/18 14:31, Oswaldo Franco wrote:
> Lo que estoy investigando es cuáles servicios serían necesarios para
> acondicionar un vps como un plan Reseller de los que ofrecen las
> compañías de hosting.
>
> De igual manera gracia por sus comentarios
>
> Saludos.
>
> El 12 de febrero de 2018, 18:03, Ariel Martín Bellio
> > escribió:
>
>
>
> El 12/02/2018 a las 06:14 a.m., Galvatorix Torixgalva escribió:
>>
>> ​Voy a decir algo, y que conste que lo digo con animo
>> constructivo, sin animo de ofender.
>>
>> Creo que es preferible que primero sepa como hacer las cosas en
>> linea de comandos y despues aprenda desde un entorno grafico.
>>
>> Saludos.
>>
>>
>> 
>> 
>>  Libre de virus. www.avast.com
>> 
>> 
>>
>>
> Tengo coronita de paja... Estoy muy de acuerdo, yo solo le decía
> del Virtualmin porque a mi me costó encontrar algo así GPL.
>
>
>
>
> -- 
> OSWALDO FRANCO
> GNU/Linux User # 508524



Re: end of security support for wheezy LTS

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 11:03:29AM +, Adam Weremczuk wrote:
> Hi all,
> 
> Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.
> 
> The Wikipedia page: https://en.wikipedia.org/wiki/Debian_version_history
> just says "May 2018".
> 
> Debian website:
> 
> https://www.debian.org/releases/wheezy/
> https://wiki.debian.org/LTS
> 
> clearly states "end of May 2018".
> 
> I'm treating the latter as the more reliable source.
> 
> My related question:
> 
> Is it likely for this date to still be moved forward or back?
> Can it happen on a short notice (say less than a month)?

If you offered them enough money -- yes, really -- it could
probably be moved later.

LTS runs on a sponsorship model. Your company can become 
a sponsor. For about 17K euros, you can pay for a whole month
of LTS support for the whole world.

https://wiki.debian.org/LTS/Funding

-dsr-



Re: end of security support for wheezy LTS

2018-02-13 Thread Roberto C . Sánchez
On Tue, Feb 13, 2018 at 09:50:20AM -0500, rhkra...@gmail.com wrote:
> On Tuesday, February 13, 2018 09:28:06 AM David Wright wrote:
> > On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> 
> ...
> 
> > > Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.
> 
> ...
> 
> > No idea, but the people here may by closer to the action:
> > https://wiki.debian.org/LTS/Contact
> > They're all open lists.
> 
> If you get an answer, would you please post it here (or cc me).
> 

Support is official through the end of May:

https://lists.debian.org/debian-announce/2016/msg5.html

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Fenêtre sur deux écrans

2018-02-13 Thread Yves Rutschle
On Tue, Feb 13, 2018 at 02:59:22PM +0100, Daysfled wrote:
> Pour une présentation, l'écran vu par le public est dans mon dos. 

apt install pdfpc

qui répond exactement à ton besoin: il affiche un PDF en
plein écran sur l'écran secondaire (dans ton dos), et sur
l'écran principal (en face de toi) il affiche le slide en
cours, le prochain, et des notes (que l'on peut entrer
directement dans pdfpc ; je ne me suis jamais penché sur le
format, j'imagine qu'on peut aussi l'éditer avec un éditeur
de texte standard).


Y.



Re: end of security support for wheezy LTS

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 09:28:06 AM David Wright wrote:
> On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:

...

> > Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.

...

> No idea, but the people here may by closer to the action:
> https://wiki.debian.org/LTS/Contact
> They're all open lists.

If you get an answer, would you please post it here (or cc me).



Re: exim4 wont configure resolved

2018-02-13 Thread Jonathan Dowland

On Mon, Feb 12, 2018 at 09:46:42AM -0500, Marc Auslander wrote:

Problem was a complicated smarthost specification which exim4 is happy
to honor bug exim-config postinst could not grok.
error was:

+ RET=20 Unsupported command "${if" (full line was "${if
match{${lc:$header_subject:}}{MarcAtAuslanderDotNameWorkingCheck}{mail.optonline.net}\")
received from confmodule.

Issue may be use of continuation but I'm not sure about that.


Ouch.

I believe a lot of people who use Debian exim for more-complicated-than-
average-use-cases opt to avoid the Debian/debconf-generated exim
configuration machinery, at least once it has generated something to
begin working from.

To achieve this, one copies /var/lib/exim4/config.autogenerated to
/etc/exim4/exim4.conf and restarts the daemon.


From that point forward, you will not get the benefit of any

improvements made to the debconf-exim-config-generation machinery in
newer package versions, but it is quite static anyway. You would also
side-step bugs like the above.


--
Jonathan Dowland



Re: Fenêtre sur deux écrans

2018-02-13 Thread Grégory Bulot
Bonjour, 

Le Tue, 13 Feb 2018 15:13:49 +0100 hamster a écrit
>Et je ne sais pas faire.


Moi non plus, mais je me permet de proposer à Daysfled de regarder le
mode "presentateur" de libreoffice (si l'outil de présentation est
libreoffice impress)



Re: Fenêtre sur deux écrans

2018-02-13 Thread Daysfled
Le 13/02/18 à 15:13, hamster a écrit :
> Le 13/02/2018 à 14:59, Daysfled a écrit :
>> Pour une présentation, l'écran vu par le public est dans mon dos. En
>> face de moi, le public et mon écran de portable. Je voudrais pouvoir
>> avoir sur mon portable des fichiers infos que le public ne voit pas
>> (essentiellement un pense-bête) donc il me faut deux écrans séparés (et
>> non un clonage d'écran) mais alors je ne vois plus ma présentation sur
>> mon écran et se retourner sans cesse pour voir ce qui est affiché
>> derrière moi, ce n'est pas top. Du coup, j'aimerais que la fenêtre de ma
>> présentation soit affichée sur les deux écrans...
> 
> Ta présentation est affichée sur l'écran pour le public en mode "plein 
> écran".

Idéalement, oui. Mais pas nécessairement : une fenêtre maximisée serait
un pis-aller.

> Du coup si elle est aussi affichée sur ton écran, tu ne verra 
> plus rien d'autre. 

Sauf si l'autre fenêtre sur laquelle je veux pouvoir jeter un œil à
l'occasion recouvre (quand j'en ai besoin) une partie de la fenêtre de
présentation. Ça marche sans problème dans KDE : je le teste à
l'instant; en écrivant ce mail j'ai un fichier pdf ouvert par okular en
plein écran et la fenêtre de rédaction de ce mail que je fais passer
dessous ou dessus à coup de alt-tab...

> Et toi tu veux pouvoir la redimentionner ou meme la 
> réduire pour voir tes notes, sans que ca ne change l'affichage "plein 
> écran" coté public.

Non, cfr. ci-dessus.

[8<...]

> Et je ne sais pas faire.

Merci pour tes réflexions. J'espère qu'elles auront permis d'éclaircir
ma question. Non seulement moi non plus je ne sais le faire mais je ne
sais même pas si c'est possible ou si ma question est farfelue...

En attendant, j'utilise une feuille de papier comme second écran
pense-bête... :-(


-- 
Days Fled



Re: Fenêtre sur deux écrans

2018-02-13 Thread eric.bernard
Oui. J'utilise 4 écrans indépendants 


Envoyé depuis mon smartphone Samsung Galaxy.
 Message d'origine De : Daysfled  Date : 
13/02/2018  14:59  (GMT+01:00) À : Debian user french 
 Objet : Fenêtre sur deux écrans 
Bonjour,

Est-il possible d'afficher une fenêtre sur deux écrans séparés sans pour
autant que l'un des écrans soit un clone de l'autre ?

J'utilise debian stretch à jour et kde (mais s'il faut passer par un
autre environnement de bureau, pourquoi pas...) ; une seule carte
graphique et un seul serveur X, les deux écrans sont gérés par
l'interface de kde qui, je suppose, fait office de front end pour xrandr.

Voilà, l'essentiel est dit. Je mets un peu de contexte au cas où cela
aiderait à comprendre ma demande ou à m'indiquer de chercher une autre voie.

Pour une présentation, l'écran vu par le public est dans mon dos. En
face de moi, le public et mon écran de portable. Je voudrais pouvoir
avoir sur mon portable des fichiers infos que le public ne voit pas
(essentiellement un pense-bête) donc il me faut deux écrans séparés (et
non un clonage d'écran) mais alors je ne vois plus ma présentation sur
mon écran et se retourner sans cesse pour voir ce qui est affiché
derrière moi, ce n'est pas top. Du coup, j'aimerais que la fenêtre de ma
présentation soit affichée sur les deux écrans...

Est-ce seulement possible ? Si oui, des idées ?

Merci

-- 
Eddy F.



Re: end of security support for wheezy LTS

2018-02-13 Thread David Wright
On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> Hi all,

Hello again,

> Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.
> 
> The Wikipedia page:
> https://en.wikipedia.org/wiki/Debian_version_history just says "May
> 2018".
> 
> Debian website:
> 
> https://www.debian.org/releases/wheezy/
> https://wiki.debian.org/LTS
> 
> clearly states "end of May 2018".
> 
> I'm treating the latter as the more reliable source.
> 
> My related question:
> 
> Is it likely for this date to still be moved forward or back?
> Can it happen on a short notice (say less than a month)?

No idea, but the people here may by closer to the action:
https://wiki.debian.org/LTS/Contact
They're all open lists.

Cheers,
David.



Re: Finding older ISOs

2018-02-13 Thread Thomas Schmitt
Hi,

Jude DaShiell wrote:
> What is the meaning of repeated tracker not found messages with a bittorrent
> download?

You surely know more about BitTorrent than me.
If there are problems with getting a Debian ISO via BitTorrent, then
debian-cd would be the place to ask.

But possibly we have people on debian-user who can help to distinguish
whether it's a local problem on your side or a problem how the ISOs are
offered by the peers.
In the latter case the next question would be: Is the .torrent file from
Debian to blame ?


> I've been having this happen repeatedly with one of the
> firmware-buster x86_64 iso files I've been trying to get.

Do you mean this ?
  
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/buster_di_alpha2/amd64/bt-cd/


Have a nice day :)

Thomas



Re: Créer un dossier avec shell bash uniquement si il n'existe pas

2018-02-13 Thread Stephane Ascoet

Le 13/02/2018 à 13:45, G2PC a écrit :

# Créer le dossier installeur si il n'existe pas.
# ~/installeur est toujours inexistant du fait d'un chemin relatif donc
toujours recréé. Utiliser -h ne change rien.
# Je suis obligé de donner le path directement /home/seo/installeur


Bonjour, ~ n'est pas un chemin relatif. Pour traiter ce cas, je filtre par:
Admettons que ton dossier est stocke dans la variable dossiersc, ca donne:

dossierscr=$(echo ${dossiersc:-/dev/zero} | sed -e 's#~#$HOME#' | sed -e 
"s#\$HOME#$HOME#")

--
Cordialement, Stephane Ascoet



Re: Fenêtre sur deux écrans

2018-02-13 Thread hamster

Le 13/02/2018 à 14:59, Daysfled a écrit :

Pour une présentation, l'écran vu par le public est dans mon dos. En
face de moi, le public et mon écran de portable. Je voudrais pouvoir
avoir sur mon portable des fichiers infos que le public ne voit pas
(essentiellement un pense-bête) donc il me faut deux écrans séparés (et
non un clonage d'écran) mais alors je ne vois plus ma présentation sur
mon écran et se retourner sans cesse pour voir ce qui est affiché
derrière moi, ce n'est pas top. Du coup, j'aimerais que la fenêtre de ma
présentation soit affichée sur les deux écrans...


Ta présentation est affichée sur l'écran pour le public en mode "plein 
écran". Du coup si elle est aussi affichée sur ton écran, tu ne verra 
plus rien d'autre. Et toi tu veux pouvoir la redimentionner ou meme la 
réduire pour voir tes notes, sans que ca ne change l'affichage "plein 
écran" coté public.


Je reformule donc ta demande : avoir 2 fenetres qui soient gérées par le 
serveur X comme indépendantes (qu'on puisse redimentionner ou réduire 
l'une sans que ca n'affecte l'autre) mais avec le meme contenu (ta 
présentation) affiché a l'identique dans les 2 fenetres. Ainsi tu 
pourrais mettre une des deux fenetres en plein écran pour le public, et 
jouer avec l'autre.


Et je ne sais pas faire.



Re: Dell Open Manage

2018-02-13 Thread Adam Weremczuk

Please keep me updated Dave.
Especially if you discover something big :)
I'm not desperate , happy to wait for another few weeks or so.

Thanks
Adam


On 13/02/18 13:37, Dave Sherohman wrote:

Coincidentally, earlier today I installed srvadmin-idracadm8 on stretch
from

debhttp://linux.dell.com/repo/community/ubuntu  jessie openmanage

and racadm was able to read the network config from my drac with no
problems.  I haven't tried changing the network config yet, or any other
operations, so I can't say whether it works completely, but it's at
least partially functional.

-- Dave Sherohman




Re: Packages for debian-8.8.0-amd64-netinst.jigdo are missing on fallback mirrors

2018-02-13 Thread Steve McIntyre
On Tue, Feb 13, 2018 at 01:38:47PM +0100, Thomas Schmitt wrote:
>Hi,
>
>a thread on debian-user reveils problems with package mirrors for 8.8.0
>jigdo images. It begins at
>  https://lists.debian.org/debian-user/2018/02/msg00531.html
>
>I wrote on debian-user:
>> > "File not found" messages from the user chosen mirror server during
>> > the first pass of jigdo-lite are normal, if the ISO is old. But the
>> > fallback mirror which is given by the .jigdo file should have the
>> > missing ones.
>
>Rick Thomas wrote on debian-user:
>> Out of curiosity, I tried this myself.
>> The commands I used were:
>>
>>wget 
>> https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.jigdo
>>wget 
>> https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.template
>>jigdo-lite debian-8.8.0-amd64-netinst.jigdo
>>
>> Here’s the last screenful of messages from jigdo-lite:
>> ...
>> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/cdrom/initrd.gz
>> Reusing existing connection to us.cdimage.debian.org:80.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2018-02-13 00:23:17 ERROR 404: Not Found.
>> ...
>> Aaargh - 8 files could not be downloaded. [...]
>
>Rick did not show all 8 file URLs. To see are 3 more than the above one:
>
>http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot.mod
>
>http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/http.mod
>
>http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot2.mod
>
>This time it does not look like no-matching MD5s but rather like flatly
>missing URLs.
>
>The .jigdo file has as flabback servers:
>  [Servers]
>  Debian=http://snapshot.debian.org/archive/debian/20170506T140911Z/
>  Debian=http://us.cdimage.debian.org/cdimage/snapshot/Debian/ --try-last

It looks like there's been two failures causing files not to be
archived on *both* snapshot.d.o and us.cdimage.d.o. I've just copied
across the missing files onto us.cdimage.d.o now and tested again
successfully with jigdo. I'll file a bug on snapshot.d.o too, to get
things fixed up there.

Thanks for the report!

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
Who needs computer imagery when you've got Brian Blessed?



Fenêtre sur deux écrans

2018-02-13 Thread Daysfled
Bonjour,

Est-il possible d'afficher une fenêtre sur deux écrans séparés sans pour
autant que l'un des écrans soit un clone de l'autre ?

J'utilise debian stretch à jour et kde (mais s'il faut passer par un
autre environnement de bureau, pourquoi pas...) ; une seule carte
graphique et un seul serveur X, les deux écrans sont gérés par
l'interface de kde qui, je suppose, fait office de front end pour xrandr.

Voilà, l'essentiel est dit. Je mets un peu de contexte au cas où cela
aiderait à comprendre ma demande ou à m'indiquer de chercher une autre voie.

Pour une présentation, l'écran vu par le public est dans mon dos. En
face de moi, le public et mon écran de portable. Je voudrais pouvoir
avoir sur mon portable des fichiers infos que le public ne voit pas
(essentiellement un pense-bête) donc il me faut deux écrans séparés (et
non un clonage d'écran) mais alors je ne vois plus ma présentation sur
mon écran et se retourner sans cesse pour voir ce qui est affiché
derrière moi, ce n'est pas top. Du coup, j'aimerais que la fenêtre de ma
présentation soit affichée sur les deux écrans...

Est-ce seulement possible ? Si oui, des idées ?

Merci

-- 
Eddy F.



Re: Finding older ISOs

2018-02-13 Thread Jude DaShiell
What is the meaning of repeated tracker not found messages with a 
bittorrent download?  I've been having this happen repeatedly with one 
of the firmware-buster x86_64 iso files I've been trying to get.


On Tue, 13 Feb 2018, Thomas Schmitt wrote:


Date: Tue, 13 Feb 2018 07:42:32
From: Thomas Schmitt 
To: debian-user@lists.debian.org
Subject: Re: Finding older ISOs
Resent-Date: Tue, 13 Feb 2018 12:43:17 + (UTC)
Resent-From: debian-user@lists.debian.org

Hi,

Rick Thomas wrote:

Out of curiosity, I tried this myself.
...
HTTP request sent, awaiting response... 404 Not Found
...
Aaargh - 8 files could not be downloaded.


This is not what is supposed to happen.

I forwarded your report to debian-cd:
 https://lists.debian.org/debian-cd/2018/02/msg00030.html


Have a nice day :)

Thomas




--



Re: Dell Open Manage

2018-02-13 Thread Dave Sherohman
On Mon, Feb 12, 2018 at 08:41:32AM -0600, David Wright wrote:
> On Mon 12 Feb 2018 at 10:34:45 (+), Adam Weremczuk wrote:
> > I'm referring to:
> > 
> > http://linux.dell.com/repo/community/debian/
> > 
> > Does anybody know if jessie version works well on stretch?
> > 
> > Or if an official release for stretch is going to be available soon?
> 
> On stretch, if *they* don't know, I doubt you'll get much joy here.

Coincidentally, earlier today I installed srvadmin-idracadm8 on stretch
from

deb http://linux.dell.com/repo/community/ubuntu jessie openmanage

and racadm was able to read the network config from my drac with no
problems.  I haven't tried changing the network config yet, or any other
operations, so I can't say whether it works completely, but it's at
least partially functional.

-- 
Dave Sherohman



Re: VPS para multiples dominios

2018-02-13 Thread Oswaldo Franco
Lo que estoy investigando es cuáles servicios serían necesarios para
acondicionar un vps como un plan Reseller de los que ofrecen las compañías
de hosting.

De igual manera gracia por sus comentarios

Saludos.

El 12 de febrero de 2018, 18:03, Ariel Martín Bellio  escribió:

>
>
> El 12/02/2018 a las 06:14 a.m., Galvatorix Torixgalva escribió:
>
>
> ​Voy a decir algo, y que conste que lo digo con animo constructivo, sin
> animo de ofender.
>
> Creo que es preferible que primero sepa como hacer las cosas en linea de
> comandos y despues aprenda desde un entorno grafico.
>
> Saludos.
>
>
>
> 
>  Libre
> de virus. www.avast.com
> 
>
> Tengo coronita de paja... Estoy muy de acuerdo, yo solo le decía del
> Virtualmin porque a mi me costó encontrar algo así GPL.
>



-- 
OSWALDO FRANCO
GNU/Linux User # 508524


Ganhe 01 curso grátis presencial nas áreas: Tributária, Fiscal, Contábil ou Pessoal

2018-02-13 Thread Andréa Lacerda Cursos
Problema com a
visualização da mensagem? Clique aqui 
[http://mbox12.andrealacerdaead.com.br/visualizar/MwewR6ssk95aXvcmpl6lMm5pZzzYrt7VzPbEQ8eVSYUMzdW9-b9oX9e3N9B2utsj6pS5vI1dVAm-LwM5QS6PD8P32MQ7lb0RnMBJwM__V_U].

[http://mbox12.andrealacerdaead.com.br/img/templates/img/topEsqPaper.png]

 

[http://mbox12.andrealacerdaead.com.br/img/templates/img/topMeioPaper.png]

 

[http://mbox12.andrealacerdaead.com.br/img/templates/img/topDirPaper.png]

 

 

[http://mbox12.andrealacerdaead.com.br/img/18167_5a823abf7fcff.png]

 

Ganhe 01 curso grátis presencial nas áreas:

Tributária, Fiscal, Contábil ou Pessoal

Não é sorteio!

Veja regulamento

 

Adicione até 10 amigos em nosso WhatsApp (031) 98761-9577;
Após adicioná-los, convide-os a realizarem a inscrição no nosso site 
www.andrealacerda.com.br 
[http://mbox12.andrealacerdaead.com.br/link/ReKzpFLkH2dOdOp13LEnLZ5anu5nskMOM_Nj72y9UNeOsqYqFvwtk--SnVDhV7_SFAqOzdbLsYKoznO1Jp6rtDNYeS9ARAeeGwJZUKhWCNEDNg0DgeXRFRZnq-rooAO9pC_Ongl-dacC01O685PxP82Y3ymsom5Lu7YRfR8771c],
 Aba Cursos Presenciais para o curso que escolherem;
Se três de 10 amigos fizerem o pagamento e a inscrição em alguns dos cursos 
lecionados, você ganha 01 curso presencial. Não perca. Aproveite essa 
oportunidade!
Promoção válida até 22/02/2018.

 

COMPARTILHE COM SUA REDE DE CONTATOS!!!

Programação Completa dos Cursos e Inscrição

 

Visite nossos sites: www.andrealacerda.com.br

www.andrealacerdaead.com.br

Celular /WhatsApp (OI): (31) 98761-9577 Andréa Lacerda

Telefone Fixo: (31) 3090-9577

 

 

Nós respeitamos a sua privacidade e somos contra o spam.
Se você não deseja mais receber nossos e-mails, cancele seu recebimento 
acessando aqui 
[http://mbox12.andrealacerdaead.com.br/descadastro/MwewR6ssk95aXvcmpl6lMm5pZzzYrt7VzPbEQ8eVSYUMzdW9-b9oX9e3N9B2utsj6pS5vI1dVAm-LwM5QS6PD8P32MQ7lb0RnMBJwM__V_U].



Re: lftp breakage upcoming

2018-02-13 Thread Jude DaShiell
I wish I could, as things stand I forgot to save the message and this 
mail setup doesn't save sent messages so far as I can discover.  Also 
lynx isn't set up here to bring up the last visited link or I'd have 
that for you now.


On Mon, 12 Feb 2018, Brian wrote:


Date: Mon, 12 Feb 2018 15:34:14
From: Brian 
To: debian-user@lists.debian.org
Subject: Re: lftp breakage upcoming
Resent-Date: Mon, 12 Feb 2018 20:34:31 + (UTC)
Resent-From: debian-user@lists.debian.org

On Mon 12 Feb 2018 at 14:56:35 -0500, Jude DaShiell wrote:


If debian users can download torrents with lftp now, expect as systemd gets
upgraded systemd will break lftp and make it no longer useable.  The
archlinux distribution is on the bleeding edge of a rolling release and
that's what's happened over here.  I just figured to send out a heads up so
you'll know why lftp breaks when that day happens.


That day might never come. Fancy giving a link for the source of your
information?




--



Unsuscribe

2018-02-13 Thread stephane . lebel
Bonjour,

Merci de retirer mon adresse mail de la liste.

Cordialement



Créer un dossier avec shell bash uniquement si il n'existe pas

2018-02-13 Thread G2PC
# Créer le dossier installeur si il n'existe pas.
# ~/installeur est toujours inexistant du fait d'un chemin relatif donc
toujours recréé. Utiliser -h ne change rien.
# Je suis obligé de donner le path directement /home/seo/installeur

if [ -d "/home/seo/installeur" ]; then
echo " Le dossier ~/installeur existe déjà "
sleep 4
else
echo " Le dossier ~/installeur va être créé "
sleep 4
mkdir ~/installeur
fi


NB : L'idée était de créer un dossier installeur, dans lequel charger
executer puis supprimer les scripts d'installation.
Le soucis comme indiqué en commentaire :
# ~/installeur est toujours inexistant du fait d'un chemin relatif donc
toujours recréé. Utiliser -h ne change rien.


Merci de votre aide.



Re: Finding older ISOs

2018-02-13 Thread Thomas Schmitt
Hi,

Rick Thomas wrote:
> Out of curiosity, I tried this myself.
> ...
> HTTP request sent, awaiting response... 404 Not Found
> ...
> Aaargh - 8 files could not be downloaded. 

This is not what is supposed to happen.

I forwarded your report to debian-cd:
  https://lists.debian.org/debian-cd/2018/02/msg00030.html


Have a nice day :)

Thomas



Re: 4 printer limit to cups printers is a debian limit, why?

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 03:47:50 Curt wrote:

> On 2018-02-12, Gene Heskett  wrote:
> > Do adequately describe the various jobs it can do, by selecting
> > the "printer" to send this job to, would need at least 8, individual
> > profiles setup in the cups menu's at localhost:631/printers.
>
> Your problem description is inadequate (exactly what you do and what
> happens or doesn't happen when you do it--error messages, etc).
>
> Have you flushed your cache and cookies in whatever browser you use to
> perform cups administration? Have you tried creating a printer
> instance from the command line? Have you stopped and restarted the
> cups daemon while simultaneously throwing a prayer up (or down to the
> devil is in the details)?
>
> Do you have 500+ print jobs pending (I have read there is or was a
> default max jobs limit set at 500)?

No jobs pending. Error_logs don't seem to be where the browser can find 
them. I know where they are so thats NBD.

I followed the plan I outlined in a previous message just now, 
successfully adding a 5th printer to do single sided glossy photo's and 
a test page had perfect color. I found that spaces are not allowed in 
the name, so used _ as hard spaces. The description suffers no such 
limitations.

There are 2 or 3 more variations that would be handy to have available, 
and I am still trying to decode the actual effect of turning a color up 
and down, on plain duplex copy paper the color is I guess, doomed to 
be "pastel" and if you ask it to add a right edge header "pg 2 of 7" the 
7, while not off the edge of the paper, is quite washed out. Copy paper, 
the 6 to 9 dollar a ream variety soaks up ink like a blotter. You do get 
color, but not what you put in. OTOH, I've had it nearly 3 years, and 
I'm still on the original color tanks.

Due to the location internally of the usb input, putting it out of legal 
5 foot reach for a usb cable, I am using the network port, but thats 
either running at 10 megabit on a gigabit network, or it takes lots and 
lots of data to print a page. I claims lots faster than I've ever 
observed in pages a minute, more like minutes per page.

The scanner driver apparently try's several times to wake that up, the 
first 6 attempts have a bad tcp crc, which the scanner then ignores, as 
wireshark willingly tells me, then it changes tactics and sends good 
messages, so sane always has a 6 second startup lag. Go figure, maybe 
brothers attempt to cover all the bases.

This is somewhat of an unconventional bird of a printer as the paper is 
fed sideways. So it does, I assume in the brother supplied drivers, a 90 
degree page rotation when you tell it "portrait" in order to actually 
give a portrait format. The printhead actually sweeps up and down the 
length of the paper in every mode but tabloid, but you have to feed the 
tabloid into a slot in the rear, and keeping that free-hand feed 
straight is a trick. I've made a feed tray, but need a way to make it 
self supporting when its in position to feed a sheet, one at a time. 
I'll get something cobbled up eventually as the only time I use that 
mode is when printing the 8 to 12 up tabloid sized output from 
ps2poster, or whatever its called, generates from the rockhopper outout 
file.

Thanks Curt.

-- 
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 



openssh-server change log

2018-02-13 Thread Adam Weremczuk

Hello,

Just to let you know - the link on Debian website gives 404:

https://packages.debian.org/wheezy/openssh-server

http://metadata.ftp-master.debian.org/changelogs/main/o/openssh/openssh_6.0p1-4+deb7u7_changelog

I got it from the tarball so it's not critical.

Thanks
Adam



end of security support for wheezy LTS

2018-02-13 Thread Adam Weremczuk

Hi all,

Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.

The Wikipedia page: https://en.wikipedia.org/wiki/Debian_version_history 
just says "May 2018".


Debian website:

https://www.debian.org/releases/wheezy/
https://wiki.debian.org/LTS

clearly states "end of May 2018".

I'm treating the latter as the more reliable source.

My related question:

Is it likely for this date to still be moved forward or back?
Can it happen on a short notice (say less than a month)?

Regards
Adam



Create Debian package from multiple Git repos

2018-02-13 Thread Denny Fuchs

Hello,

we have a Debian Jenkins job, which clones four Git repos into:

project/main
project/main/module1
project/module2
project/debian


The debian/rules is a bit old and contains a lot things, which could 
cleaned a bit Also out of this projects, we create two Debian 
packages. Both packages have more or less the same files (all 
bash/Perl), but with different options/names ... so after the first 
packages was created, the source has to be "reset" before the second 
package can created.


Instead of let Jenkins do all the git clone the jobs, I want to create a 
debian/rule file, which is a bit cleaner and make use of all new Debian 
package create stuff.


Can anybody show me, what is the good way, to clone all this repos, 
(g...@host.example.com:/ and later we switch to Gitlab) and how to 
reset, after the first package was created ?


Nearly every howto shows only one GitRepo  (debian/watch) / gbp ..


cu denny



Re: Shell

2018-02-13 Thread Gabriel Moreau

  if [ `uname -s` = Linux ]; then


Je remplace juste ce test par celui-là

   if [ "$(uname -s)" = Linux ]; then

cela permet d'assurer à 100% d'avoir une vraie chaîne à gauche
et sur le principe, le $() est plus sur que le `` (car récursif).

gabriel
--
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: Shell

2018-02-13 Thread Francois Lafont
Bonjour,
Bonjour,

Pardon, j'ai envoyé mon message en privé au lieu de l'envoyer sur la liste.
Je reposte.

On 02/12/2018 04:01 PM, BERTRAND Joël wrote:

>   Je me suis cru malin en écrivant :
> 
> #!/bin/sh
> if [ `uname -s` = Linux ]; then
> /bin/bash
> else
> if [ -e /usr/pkg/bin/bash ]; then
> /usr/pkg/bin/bash
> else
> /bin/sh
> fi
> fi
> exit 0

Ce script ne prend en charge aucun argument alors qu'en principe
c'est le cas d'un shell. Éventuellement tenter de faire ça (où
"$@" permet de reprendre les arguments passés au script) :


#!/bin/sh

if [ `uname -s` = Linux ]; then
/bin/bash "$@"
else
if [ -e /usr/pkg/bin/bash ]; then
/usr/pkg/bin/bash "$@"
else
/bin/sh "$@"
fi
fi


Enfin si bash est correctement installé sur le système, la logique
voudrait qu'il soit dans le PATH. Dans ce cas, je tenterais plutôt :

if which bash >/dev/null
then
bash "$@"
else
/bin/sh "$@"
fi

-- 
François Lafont



Re: 4 printer limit to cups printers is a debian limit, why?

2018-02-13 Thread Curt
On 2018-02-12, Gene Heskett  wrote:
>
> Do adequately describe the various jobs it can do, by selecting 
> the "printer" to send this job to, would need at least 8, individual 
> profiles setup in the cups menu's at localhost:631/printers.
>

Your problem description is inadequate (exactly what you do and what
happens or doesn't happen when you do it--error messages, etc).

Have you flushed your cache and cookies in whatever browser you use to
perform cups administration? Have you tried creating a printer instance
from the command line? Have you stopped and restarted the cups daemon
while simultaneously throwing a prayer up (or down to the devil is in
the details)?

Do you have 500+ print jobs pending (I have read there is or was a
default max jobs limit set at 500)?


-- 
I think it’s more like we both had this rich neighbor named Xerox and I broke
into his house to steal the TV set and found out that you had already stolen
it.”  Gates telling Jobs why Apple didn't really get ripped off by Microsoft.





Re: Thunderbird et le monde extérieur : mbox, maildir, import et export ?

2018-02-13 Thread Stephane Ascoet

Le 12/02/2018 à 16:12, hamster a écrit :


Tant d'engagement t'honore. Je sais plus si tu connait mon velo…


Bonjour, s'il n'a pas change oui, tu m'avais envoye des photos ;-)



Pour etre honnête, je recois tous les messages que tu poste en double.


Normal, je fais "repondre a tous"(pas cette fois-ci) :-p

--
Cordialement, Stephane Ascoet



Re: Finding older ISOs

2018-02-13 Thread Rick Thomas

On Feb 12, 2018, at 12:47 PM, Thomas Schmitt  wrote:

> Hi,
> 
> David Christensen quoted that
> richey goldberg wrote:
>>> That's what I've been using to find the files to plug into jigdo-lite
>>> and I get the file not found errors.
> 
> "File not found" messages from the user chosen mirror server during
> the first pass of jigdo-lite are normal, if the ISO is old. But the
> fallback mirror which is given by the .jigdo file should have the
> missing ones. In case of debian-8.8.0-amd64-DVD-1.jigdo there are two:
>  Debian=http://snapshot.debian.org/archive/debian/20170506T141043Z/
>  Debian=http://us.cdimage.debian.org/cdimage/snapshot/Debian/
> 
> What do you get as final message of the jigdo-lite run ?
> 
> Does the resulting .iso file have the checksum as listed in the
> SHA512SUMS form the directory where you found the .jidgo file ?
> 
> 
> Have a nice day :)
> 
> Thomas
> 

Out of curiosity, I tried this myself.

The commands I used were:

wget 
https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.jigdo
wget 
https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.template
jigdo-lite debian-8.8.0-amd64-netinst.jigdo

Here’s the last screenful of messages from jigdo-lite:

> --2018-02-13 00:23:16--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot.mod
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:16 ERROR 404: Not Found.
> 
> --2018-02-13 00:23:16--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/http.mod
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:16 ERROR 404: Not Found.
> 
> --2018-02-13 00:23:16--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot2.mod
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:17 ERROR 404: Not Found.
> 
> --2018-02-13 00:23:17--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/cdrom/initrd.gz
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:17 ERROR 404: Not Found.
> 
> Skipping object `debian-8.8.0-amd64-netinst.iso.tmpdir' (No such file or 
> directory)
> Found 0 of the 8 files required by the template
> Copied input files to temporary file `debian-8.8.0-amd64-netinst.iso.tmp' - 
> repeat command and supply more files to continue
> 
> -
> Aaargh - 8 files could not be downloaded. This should not
> happen! Depending on the problem, it may help to retry downloading
> the missing files.
> Also, you could try changing to another Debian or Non-US server,
> in case the one you used is out of sync.
> 
> However, if all the files downloaded without errors and you
> still get this message, it means that the files changed on the
> server, so the image cannot be generated.
> As a last resort, you could try to complete the CD image download
> by fetching the remaining data with rsync.
> 
> Press Return to retry downloading the missing files.
> Press Ctrl-C to abort. (If you re-run jigdo-lite later, it will
> resume from here, the downloaded data is not lost if you press
> Ctrl-C now.)
> : ^C
> 

So where did the missing files go?

Rick


Re: Shell

2018-02-13 Thread BERTRAND Joël
Étienne Mollier a écrit :
> On 02/12/2018 04:01 PM, BERTRAND Joël wrote:
>>  J'arrive à me connecter à n'importe quelle machine en ssh
>> sans aucun problème. Mais il m'est impossible d'effectuer en
>> sftp.
> 
> Bonsoir,
> 
> Au risque de passer à côté du sujet, j'ai rencontré un problème
> similaire.  Si j'édite le fichier de ressource de mon shell pour
> lui faire afficher quelque chose, alors ça me plante sftp, mais
> pas ssh :
> 
>   $ head -n2 ~/.bashrc
>   #!/bin/bash
>   echo plante
> 
>   $ ssh localhost
>   plante
>   $ echo 'Dans une session ssh...  :)'
>   Dans une session ssh...  :)
> 
>   $ sftp localhost
>   Received message too long 1886151022
>   $ echo 'Pas dans une session sftp...  :('
>   Pas dans une session sftp...  :(
> 
> « Il suffit » d'enlever tout ce qui pourrait écrire dans stdout
> pour corriger le problème.  Si j'efface mon « echo plante »,
> alors le problème est corrigé :
> 
>   $ head -n2 ~/.bashrc
>   #!/bin/bash
>   
> 
>   $ sftp localhost
>   Connected to localhost.
>   sftp>
> 
> Sauf que, et à moins que j'ai loupé quelque chose, votre script
> ne devrait pas engendrer de message dans stdout.

Effectivement, le script en question ne renvoie rien sur stdout (ni sur
stderr du reste).

> Est-ce que le
> problème se présentait si vous aviez l'un des bash codé en dur
> dans votre entrée NIS, en vous loguant en sftp sur le système
> correspondant ?

Si je mets l'un des bash en dur, ça fonctionne sur le poste en question
(mais pas sur les autres...).

La question que je me suis posé est de savoir si /etc/shells doit
contenir mon script ou non. Visiblement non puisque l'exécutable réel
est le vrai shell.

Bien cordialement,

JKB