Re: any way to get the mouse position on two places on the screen?

2013-07-20 Thread François TOURDE
Le 15906ième jour après Epoch,
Ralf Mardorf écrivait:

> On Sat, 2013-07-20 at 20:24 +, Albretch Mueller wrote:
>>  Thank you,
>>  lbrtchx
>
> One mouse cursor at two different positions at the same time?
> What is it good for?

Schizophrenic people?

Or maybe cut/paste speedup?

I remember an old software on some Oric/Atmos/other small computer on
which you were able to "drop" a part of the mouse pointer to put a
graphic operation on standby mode, that allow you to use the rest of
the mouse to select another tool.

If I remember correctly, you were able to "suspend" a path selection
using the shift-crtl key, to change the kind of operation, and
shift-ctrl again allow you to continue drawing the selection path.

Totally amazing !!!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ob9wc439@tourde.org



[Solved] Strange network problem with Xen 4.0 on stable

2013-06-28 Thread François TOURDE
Hi.

For the archives:

Le 15883ième jour après Epoch,
François TOURDE écrivait:

> Hi list.
>
> I'm using Xen (long time ago), and I've a strange problem with one of
> the DomU. It's the only DomU with this behaviour. It doesn't reply to
> ping and can't have access to the net.
>
> In detail:

[...]

> Packets seems to be forwarded from Dom0 to DomU, but not from DomU to Dom0:

[...]

> Routes are:
>
> Dom0:
> root@srv04:~# ip route
> 88.191.222.127 dev vif115.0  scope link  src 88.191.108.41 
> 88.191.223.138 dev vif114.0  scope link  src 88.191.108.41 
> 88.191.229.230 dev vif113.0  scope link  src 88.191.108.41 
> 88.191.226.108 dev vif116.0  scope link  src 88.191.108.41 
> 88.191.108.0/24 dev eth0  proto kernel  scope link  src 88.191.108.41 
> 88.191.110.0/24 dev eth1  proto kernel  scope link  src 88.191.110.41 
> default via 88.191.110.1 dev eth1 
> default via 88.191.108.1 dev eth0 

Even with accept_source_routing on all concerned interfaces, the
vif114.0 packets that should be sent to outside network are routed by
eth1, not the receiving interface eth0.

Disabling eth1 (not yet used) solves the problem.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87bo6q9y7n@tourde.org



Strange network problem with Xen 4.0 on stable

2013-06-27 Thread François TOURDE
Hi list.

I'm using Xen (long time ago), and I've a strange problem with one of
the DomU. It's the only DomU with this behaviour. It doesn't reply to
ping and can't have access to the net.

In detail:

Dom0 Debian stable:
  Linux srv04 2.6.32-5-xen-amd64 #1 SMP Fri May 10 11:48:05 UTC 2013 x86_64 
GNU/Linux

Working DomU:
  Linux wiki 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 GNU/Linux

Not working DomU:
  Linux rh42g1 2.6.32-5-amd64 #1 SMP Fri May 10 11:48:05 UTC 2013 x86_64 
GNU/Linux

Packets seems to be forwarded from Dom0 to DomU, but not from DomU to Dom0:

(srv04=Dom0, Xternal NIC=eth0)

root@srv04:~# tcpdump -n -i eth0  src 88.191.223.138 or dst 88.191.223.138
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
10:21:51.437722 IP 62.147.184.98 > 88.191.223.138: ICMP echo request, id 1448, 
seq 1, length 64
10:21:52.445622 IP 62.147.184.98 > 88.191.223.138: ICMP echo request, id 1448, 
seq 2, length 64
10:21:53.454046 IP 62.147.184.98 > 88.191.223.138: ICMP echo request, id 1448, 
seq 3, length 64

But packets from DomU to Dom0 seems to be sent to Dom0:

root@srv04:~# tcpdump -n -i vif114.0  src 88.191.223.138 or dst 88.191.223.138
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vif114.0, link-type EN10MB (Ethernet), capture size 65535 bytes
10:22:13.224780 IP 62.147.184.98 > 88.191.223.138: ICMP echo request, id 1459, 
seq 1, length 64
10:22:13.224866 IP 88.191.223.138 > 62.147.184.98: ICMP echo reply, id 1459, 
seq 1, length 64
10:22:14.224020 IP 62.147.184.98 > 88.191.223.138: ICMP echo request, id 1459, 
seq 2, length 64
10:22:14.224114 IP 88.191.223.138 > 62.147.184.98: ICMP echo reply, id 1459, 
seq 2, length 64
10:22:18.223371 ARP, Request who-has 88.191.223.138 tell 88.191.108.41, length 
28
10:22:18.223467 ARP, Reply 88.191.223.138 is-at 00:16:3e:6b:9e:3c, length 28

Routes are:

Dom0:
root@srv04:~# ip route
88.191.222.127 dev vif115.0  scope link  src 88.191.108.41 
88.191.223.138 dev vif114.0  scope link  src 88.191.108.41 
88.191.229.230 dev vif113.0  scope link  src 88.191.108.41 
88.191.226.108 dev vif116.0  scope link  src 88.191.108.41 
88.191.108.0/24 dev eth0  proto kernel  scope link  src 88.191.108.41 
88.191.110.0/24 dev eth1  proto kernel  scope link  src 88.191.110.41 
default via 88.191.110.1 dev eth1 
default via 88.191.108.1 dev eth0 

Working DomU:
88.191.229.0/24 dev eth0  proto kernel  scope link  src 88.191.229.230 
default dev eth0  scope link 

Not working DomU:
88.191.223.0/24 dev eth0  proto kernel  scope link  src 88.191.223.138 
default dev eth0  scope link 

Any ideas are welcome


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87li5warkj@tourde.org



Re: raid recomendation

2012-12-06 Thread François TOURDE
Le 15680ième jour après Epoch,
Roberto Scattini écrivait:

> hi, i have a new dell r720 server with 5 600gb disks.
> his function will be a postgresql server (the size of the databases is
> really small with 600gb we should be fine for a long time).
>
> which raid configuration would you recommend?
> i was thinking in raid 5 with all five disks but i am not a expert.
>
> i prefer redundandcy against size (i mean, i can sacrifice space). and i
> dont want performance degradation for doing raid with an incorrect number
> of disks.

In this case, avoid RAID5 and choose RAID1 or RAID10. Use 4 disks on the
RAID10 array and the 5th as a spare one, for example.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8738zjrur7@tourde.org



Re: Copy 2 partitions to .img file

2012-12-06 Thread François TOURDE
Le 15680ième jour après Epoch,
Hélder Pinheiro écrivait:

> Hello all,
>
> I have a memory card with 16GB of size, but only 4GB are partitioned
> through 2 partitions (sdb1 and 2).
>
> I want to copy the content of both partitions into a .img file, in order to
> be able to flash it on another 4GB memory card..
> I tried with dd command, but I am only able to copy one partition each time
> or the entire 16 GB.
>
> Could you help me copying only the two partitions?

You could try the seek= and/or skip= options of dd to create only one
.img file, but why not create 2 .img files?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fw3js325@tourde.org



Re: [OT] End of the world

2012-12-04 Thread François TOURDE
Le 15678ième jour après Epoch,
Chris Harries écrivait:

> It's funny how "...the Myans seamed to be able to predict the world
> ending, but couldn't see the end of their own demise"

How could you affirm that? Maybe they have predicted their own end.

And don't forget they have "created" tomatoes, and no mayan has survived
... :)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87d2yqukst@tourde.org



Re: protecting web directories in apache2

2012-11-27 Thread François TOURDE
Le 15671ième jour après Epoch,
Zachary Uram écrivait:

> Running Apache2 on Debian testing release. Say I have a directory
> http://www.website.org/files/
> And I want to let a user download a file:
> http://www.website.org/files/example.txt
> But I don't want them to be able to browse the directory and see the
> other files in there.
> So how can I protect the directory?

Maybe you can use Linux File System rights:

  chmod a=x files

and give the complete path to the user. Not sure Apache will accept, but
on a non-readable dir, you can access files if the dir is 'x'
(i.e. traversal)

Not tested.

HTH


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87txsbovxb@tourde.org



Re: Denigrating messages on Debian lists [Re: [ralf.mard...@alice-dsl.net: Re: Mail client, threads, etc...]]

2012-11-21 Thread François TOURDE
Le 15665ième jour après Epoch,
Ralf Mardorf écrivait:

> On Wed, 2012-11-21 at 10:28 -0800, Don Armstrong wrote:
>> > On Wed, 21 Nov 2012 14:10:11 +0100
>> > fra...@tourde.org (François TOURDE) wrote:
>> > 
>> > > - Errare humanum est, but to make a big mistake, you need a
>> > > computer ;)
>> > 
>> > Or a woman. I hope this isn't too sexist.
>> 
>> Sending messages which denigrate members of the Debian community
>> aren't acceptable on Debian lists.

I'm so sorry denigrating computers on my initial sentence, I apologize.

If I look at the two sentences, Ralf's one is equipollent to mine, so I
consider it harmful for computers and I apologize.

>> Please refrain from doing so in the future, or listmast...@debian.org
>> may take action to curtail your posting ability to Debian lists.

I agree.

/F - Happy french native ;)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87txsid158@tourde.org



Re: Outrageous sexism. Was: Re: Mail client, threads, etc...

2012-11-21 Thread François TOURDE
Le 15665ième jour après Epoch,
Lisi Reisz écrivait:

> On Wednesday 21 November 2012 16:55:22 Beco wrote:
>> Use of smiley face should point this was just a joke. As we can see in
>> this first use in 1982:
>
> That is what is so very offensive.  He thinks that being so rude about just 
> over half of the population is _funny_. As apparently do you.

Yes, me too. Because I'm a french native, I consider joking is a good
way to avoid the toxic "politically correct" way of life.

Please, Lisi, could you put me on your "kill-file", because there is
chances that I post jokes sometimes.

Thanks in advance.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y5hud20p@tourde.org



Re: Mail client, threads, etc...

2012-11-21 Thread François TOURDE
Le 15665ième jour après Epoch,
Ralf Mardorf écrivait:

> François, a good idea to open a new subject, but keeping the id.

And Gnus, on reply on this kind of subjects, ask me if I want to remove
the [Was: ] ...

> We should be aware that newbies never ever will use (e)lisp to set up
> preferences for their MUAs, newsgroup thingies etc., they will use a
> GUI, with a menu for preferences and theay don't know about email
> headers and ids. Any selection on an open users list by something
> averaged non-experts can't know is stupid. It's completely impossible
> that this ever will work on an open users list. The experts and the
> software they use should be smarter by being more flexible.

Just some replies to others info on the thread, and on this message:

- Yes, it's recurent to read "You break thread" or "Don't reply directly
  to OP" ... IMHO, it's because this list is about Debian, but about
  /How to use a ML/ too.

- Errare humanum est, but to make a big mistake, you need a computer ;)

- I don't recommand Gnus for newbies, even if Gnus is GUI
  configurable. But I think it's really important to enlight (is this a
  real english word?) mechanisms hidden by GUI. If someone is not
  interrested, he/she can skip the text and focus only on the answer. If
  he/she is interrested, it's a way to learn.

- It's not about making selection, just about trying to explain people
  the way ML are working, and if they can learn more on their MUA to do
  smarter things. Your assertion "We are leaders, progs are tools" is
  only true if you know your tools, and it is adapted for your work. I'm
  not a leader on a car, I'm a danger ;)

I now will stop on this thread, to avoid making too much noise. Sorry
for the already-done noise.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87boerdrv0@tourde.org



Mail client, threads, etc... [Was: Sources.list Question]

2012-11-21 Thread François TOURDE
Le 15665ième jour après Epoch,
Lisi Reisz écrivait:

> On Wednesday 21 November 2012 10:39:46 François TOURDE wrote:
[...]
>>
>> Lisi, consider change or upgrade your client ;)
>
> Obviously!!  This is the first time, to my knowledge, that it has let me 
> down, 
> but one could say once is too often. :-(

Don't worry, be happy :P ... In your case, that let you see new
questions on hijacks. Not me.

> I wonder which email client Ralf is using, since he too thought that Fred was 

X-Mailer: Evolution 3.6.0-0ubuntu3 

As marked on his message.

> the OP?  I haven't looked at Gnus.  Perhaps I should? 

Be prepared. Gnus run under emacs, and is originally designed for
newsgroups, not for mails. It's a rugged mail client ;)

But it has powerfull possibilities, and is customisable using Lisp.

May emacs be with you.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87obirdxe1.fsf...@tourde.org



Re: Sources.list Question

2012-11-21 Thread François TOURDE
Le 15665ième jour après Epoch,
Ralf Mardorf écrivait:

> On Wed, 2012-11-21 at 09:27 +, Lisi Reisz wrote:
>> On Wednesday 21 November 2012 09:22:57 Ralf Mardorf wrote:
>> > On Wed, 2012-11-21 at 09:18 +, Lisi Reisz wrote:
>> > > On Wednesday 21 November 2012 08:53:38 Chris Bannister wrote:
>> > > > On Tue, Nov 20, 2012 at 10:43:16PM -0500, Fred White wrote:
>> > > > > Hello List,
>> > > >
>> > > > It is considered (well, actually it is) rude to hijack threads on
>> > > > mailing lists.
>> > >
>> > > According to my email client (KMail 1.9.10) he didn't.  What thread did
>> > > you think that he had hijacked?
>> > >
>> > > Gmail also thinks that he started a new "conversation", but Gmail often
>> > > breaks threads.
>> >
>> > http://lists.debian.org/debian-user/2012/11/msg00909.html
>> >
>> > so Fred is the OP.
>> 
>> Quite.  Exactly.  And Chris said that he hijacked the thread.
>
> errare humanum est

No error in this case. He hijacked Crypticmofo's message id
50ac43a5.3010...@gmail.com as marked on my client (Gnus), and marked on
lists.debian.org:

  http://lists.debian.org/debian-user/2012/11/thrd2.html#00909

Maybe gmail uses refs + subject to mark threads.

The real problem hijacking threads is that fred question can be deleted
because of original thread removal.

Lisi, consider change or upgrade your client ;)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vcczdytp@tourde.org



Re: max bandwidth measurement tool

2012-02-24 Thread François TOURDE
Le 15392ième jour après Epoch,
hvw écrivait:

> Hi,
>
[...]
> Is there a tool that will tell me what my max bandwith is at any one
> moment?

You can try bing from its eponym package. I use it to check the
bandwidth between my computer and other points on my network.

It normally works better on SDSL/Symmetric lines, but you can have a
good idea of your bandwidth even on ADSL.

HTH.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878vjs3825@fermat.tourde.home



Xen 4.0 restore result in freezed DomU (64 bits)

2011-12-29 Thread François TOURDE
Hi all

I've a little issue with Xen VM. Here are the facts:

On the Dom0, I've a process who save the VM (xm save ...), copy the
system, then restore (xm restore ...). When it runs on Debian 5.0 32
bits all works good, but on Debian 6.0 64 bits, restore works but the
DomU doesn't respond.

No infos on DomU /var/log/syslog, xend.log is here:

http://pastebin.com/erDikgaw

On the failing Dom0, I've:

ii  libxenstore3.0   4.0.1-4
ii  linux-image-2.6.32-5-xen-amd64   2.6.32-38
ii  xen-hypervisor-4.0-amd64 4.0.1-4
ii  xen-linux-system-2.6.32-5-xen-amd64  2.6.32-38
ii  xen-tools4.2-1
ii  xen-utils-4.04.0.1-4
ii  xen-utils-common 4.0.0-1
ii  xenstore-utils   4.0.1-4

kernel is:

root@srv02:/var/log/xen# uname -a
Linux srv02 2.6.32-5-xen-amd64 #1 SMP Mon Oct 3 07:53:54 UTC 2011 x86_64 
GNU/Linux


On the working Dom0, I've:

ii  libc6-xen 2.7-18lenny7
ii  libxenstore3.03.2.1-2
ii  linux-image-2.6.26-2-xen-686  2.6.26-27
ii  linux-modules-2.6.26-2-xen-6862.6.26-27
ii  xen-hypervisor-3.2-1-i386 3.2.1-2
ii  xen-linux-system-2.6.26-2-xen-686 2.6.26-27
ii  xen-shell 1.8-3
ii  xen-tools 3.9-4+lenny1
ii  xen-utils-3.2-1   3.2.1-2
ii  xen-utils-common  3.2.0-2
ii  xenstore-utils3.2.1-2

Looking BTS and goole doesn't help me.

Any hints?

Thank in advance.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y5tvg05l@fermat.tourde.home



Re: how to handle the not upgraded package

2011-10-24 Thread François TOURDE
Le 15271ième jour après Epoch,
Bob Proulx écrivait:

> A safe-upgrade requires that no packages be removed and no new
> packages be added.

Wrong! New packages can be installed during a safe-upgrade:

fermat:~# aptitude safe-upgrade
Résolution des dépendances...
Les NOUVEAUX paquets suivants vont être installés : 
  aisleriot{a} glchess{a} glines{a} gnect{a} gnibbles{a} gnobots2{a} 
  gnome-games-extra-data{a} gnome-sudoku{a} gnomine{a} gnotravex{a} 
  gnotski{a} gtali{a} iagno{a} libclutter-gtk-1.0-0{a} mahjongg{a} 
  quadrapassel{a} 
Les paquets suivants seront mis à jour : 
  apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-bin 
  apache2.2-common csladspa csound csound-data csound-gui csound-utils 
  foomatic-db gnash gnash-common gnome-cards-data gnome-games 
[...]


pgpLNPdMkZpWa.pgp
Description: PGP signature


Re: cron on a system without a hardware persistant clock

2011-09-27 Thread François TOURDE
Le 15244ième jour après Epoch,
David Goodenough écrivait:

[...]
> I could use update-rc.d to disable cron, and only enable it 
> once wpa_supplicant has established the connection, but then
> what if the wireless link goes down and back up while the 
> hardware is powered up, in which case it would get restarted
> unnecessarily.
>
> Does anyone know if there is a way to tell and of the crons to
> ignore unset times?

You can take a look to anacron, which is designed for machines with
suspend/resume cycles.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxdqp7cw@fermat.tourde.home



Re: a quick Q: how to replace the value quickly

2011-09-10 Thread François TOURDE
Le 15226ième jour après Epoch,
Ivan Shmakov écrivait:

> $ (i=world ; printf 'Hello, %s!\n' "$i") 
> Hello, world!
> $ 
>
>   (The parentheses there ensure that the variable will be used for
>   this command line only and will not linger.)

Or, if it's only for one command, you can do:

i="some value" command parm1 parm2 ... some_parm_with_i


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zkic8t7l@fermat.tourde.home



Re: Routing weird IPs

2011-07-28 Thread François TOURDE
Le 15183ième jour après Epoch,
Paulo Santos écrivait:

>> You can't have 2 gateway lines, because gateway is equiv to "route
>> default", and you can't have 2 default destinations.
>
> Ok. I'll correct that in the end of the day, since it's in production I
> can't restart the network.

You don't need to restart the network. Check the default routes actives
using "ip route", and then delete the wrong one with "ip route del "

Hope this help.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878vriwhax@fermat.tourde.home



Re: Routing weird IPs

2011-07-27 Thread François TOURDE
Le 15182ième jour après Epoch,
Paulo Santos écrivait:

> Hello list,
>
> We have an Asterisk PBX running on Debian with 1 NIC. We're adding a
> SIP trunk and, for that, the ISP/ITSP installed a router/gateway (I
> think that's what it is).
>
> They've told me I needed to have configuration like this:
[... some config details ...]

Please, re-check your mail, because of probably lot of typo errors...

> Plus this routes:
>
>  10.0.0.0 /255.0.0.0 - 10.120.43.158
>  62.48.163.64/255.224.0.0 - 10.200.34.158
>  192.168.168.0/255.255.255.192 - 10.120.43.158

If your syntax is "ip/mask - gateway", then the second line use a
gateway not in your ip range (10.200... vs 10.120...), or this is a typo
error.

> I also need the PBX be in the our network as well, 192.168.0.200. For
> that I created an alias and now I have my interfaces like this:
>
> auto eth0
> iface eth0 inet static
>   address 192.168.0.200
>   netmask 255.255.255.0
>   network 192.168.0.0
>   broadcast 192.168.0.255
>   gateway 192.168.0.254
>
> auto eth0:0
> iface eth0:0 inet static
>   address 10.120.43.153
>   netmask 255.255.255.248
>   gateway 10.120.43.158

You can't have 2 gateway lines, because gateway is equiv to "route
default", and you can't have 2 default destinations.

> But when I try any of the other 2, I get:
>
>  route: bogus netmask 255.225.255.192
>  Usage: ...

Look at the "225" instead of "255" in the second byte of the netmask. Is
it a typo error?

Please use cut and paste of your commands and the results in your next
mail, to avoid errors and to permit a good diagnosis.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871uxb8k98@fermat.tourde.home



Re: ssh: no route to host

2011-07-24 Thread François TOURDE
Le 15179ième jour après Epoch,
Camaleón écrivait:

> On Sat, 23 Jul 2011 23:22:57 +0200, François TOURDE wrote:
[...]
>> 
>> No route to host means: "I or some other router on the road can't find
>> the hardware associated with the IP given, or the way to reach it".
>
> (...)
>
> "No route to host" is a generic message that you can get on very 
> different situations.

"No route to host" is the consequence of receiving an ICMP "host
unreachable" error. It means the ARP resolution failed for reaching the
next hop.

> For instance, when your ISP has smtp port of your DSL connection closed 
> and you try to establish a connection on port 25 via telnet with a remote 
> e-mail server, you get a "no route to host" message which basically means 
> that you cannot establish a connection with the selected computer on 
> choosen port but it does not invlove that computer you are trying to 
> reach is "off" or disconnected.

When your ISP, like mine, is blocking the xx port, you should receive
a "connection timed out" message.

That's what I receive:

  francois@fermat:~$ telnet gmail.com 25
  Trying 209.85.147.17...
  telnet: Unable to connect to remote host: Connection timed out

But perhaps you didn't receive the same error?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ei1ftiqn@fermat.tourde.home



Re: ssh: no route to host

2011-07-23 Thread François TOURDE
Le 15177ième jour après Epoch,
Camaleón écrivait:

> "No route to host" usually means "I cannot see the machine at all" and "I 
> cannot see the machine at all" usually involves:
>
> a) SSH service is not running on the client
> b) IP of the client is unreachable

I don't agree with that.

No route to host means: "I or some other router on the road can't find
the hardware associated with the IP given, or the way to reach it".

The reasons are often:

1) machine is power off/unplugged/whatever that involves ARP resolution.
2) the routes (default or other) are pointing to a wrong interface.

Please, OP, could you post the result of the "route" or "ip route"
command on the originating machine and the router?

And what kind of router is it?

Try also to send a ping from the destination machine to the
ssh-originating one, and then ssh it again, to see if it changes
something.

Anyway, sending us the results of "ifconfig" on each peer is also a good
idea.

HTH.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxg4u1xq@fermat.tourde.home



Re: Scratchy sound when encoding mkv to DVD with mencoder

2011-05-31 Thread François TOURDE
Le 15124ième jour après Epoch,
Ron Johnson écrivait:

> The same commands applied to the same input created good sound some
> weeks ago but now produces bad sound?  (That would have been good to
> know in your OP.)

Yes... and yes. Sorry for omitting this info.

It's probably after an upgrade, but I can't really point the date of
that.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ei3ftizv@fermat.tourde.home



Re: Scratchy sound when encoding mkv to DVD with mencoder

2011-05-30 Thread François TOURDE
Le 15124ième jour après Epoch,
William Hopkins écrivait:

> I don't want to discourage you from posting to debian-user, as someone there 
> may have a solution for you (although I regrettably do not).
> But may I recommend the mplayer-user ML?

Hi.

I prefer post here because I think it's debian & debian-multimedia
specific, cause it was working well weeks ago.

Another reason is that the last time I posted to mplayer ML, the
leitmotiv response was: "Install the last/svn/git version", and I don't
want to do that ;)

But thanks for your good generic recommendation ;)


pgpLWgJWetod0.pgp
Description: PGP signature


Scratchy sound when encoding mkv to DVD with mencoder

2011-05-29 Thread François TOURDE
Hi,

I've a problem trying to convert a mkv video into a DVD suitable for a
home DVD player:

I use stable/testing, with debian-multimedia repositories for mplayer
and mencoder, and when I try to encode the mkv, I've a scratchy sound,
and only the firsts minuts of the video encoded.

Using mplayer to read the mkv works like a charm, but mencoder say after
a few seconds:

  > Too many audio packets in the buffer: (4096 in 4194304 bytes).
  > Maybe you are playing a non-interleaved stream/file or the codec failed?
  > For AVI files, try to force non-interleaved mode with the -ni option.
  >
  > Flushing video frames.
  > Writing index...
  >
  > Overhead: 2.566% (1060247 / 41314921)
  > Writing header...
  >
  > Video stream: 2901.276 kbit/s  (362659 B/s)  size: 38746537 bytes  106.840 
secs  2331 frames
  >
  > Audio stream:  192.000 kbit/s  (24000 B/s)  size: 2574336 bytes  107.264 
secs

My encoding options are:

mencoder -really-quiet -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf 
-vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts 
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9
 -ofps 25 -o  

I've looked at the net (not enough?), but nothing really revelant.

mencoder:  3:1.0~rc4+svn20110505-0.0
mplayer:   3:1.0~rc4+svn20110505-0.0

Any help appreciated.

Thanks in advance.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8739jxurrw@fermat.tourde.home



Re: new hard drive usb "WD My Passport essential SE" 1Tb

2011-03-05 Thread François TOURDE
Le 15036ième jour après Epoch,
Kjetil brinchmann Halvorsen écrivait:

> I have a new usb hard drive of the specs in the subject line. On
> plugging it in it shows on the desktop,
> but on clicking it nothing happens. Anybody have experience getting
> this to work on debian
> (squeeze)?

I've exactly the same external HD, and it works like a charm on my
squeeze, and now with my wheezy, without installing other software.

One of my friend buy the same model, and it doesn't work with W$7, nor
with my Linux, even after "upgrading microcode unit" as described on the
troubleshooting section of WD website. One exchange later, it works
good.

Maybe some have a build problem, or maybe it can be the power drain of
the unit?

HTH.

-- 
Et le multiprocessorage me direz-vous...
Je n'y connais rien : je n'ai pas de lave-linge automatique.
-+- BY sur debian-french : "Bien défaire les i-noeuds mouillés" -+-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r5amszp8@fermat.tourde.home



Re: OpenSSH key based authorisation problem

2011-01-18 Thread François TOURDE
Le 14992ième jour après Epoch,
Adrian Levi écrivait:

> Carolyn is a newly created test account, nothing but "adduser carolyn"
> and "ssh-keygen -b4096"
> My key is 4096 bytes long, it works, default length keys didn't work
> so I thought i'd try the same key length.
>
> This box is newly updated from lenny to testing, although the package
> versions are identical (Version: 1:5.5p1-6) with another Squeeze box
> that works perfectly.
>
> I discovered this problem while trying to set up a sftp account for a
> Website designer, My accound can sftp perfectly.
>
> I can't think on what else to provide at the moment.

Did you put the public key on the correct .ssh/authorised_keys ? The new
user (carolyn) must have his/her own ~/.ssh/authorized_keys, or you must
try "ssh -v adrian@localhost" if you put the key on adrian's home.

My 2 cents.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zkqygm3r@fermat.tourde.home



Re: Please ignore this test.

2011-01-12 Thread François TOURDE
Le 14986ième jour après Epoch,
Klistvud écrivait:

> Dne, 12. 01. 2011 14:07:53 je Kleene, Nancy (kleenenl) napisal(a):
>> Please ignore this test.
>
> Ignoring.
>
> Please ignore this reply.

Should we ignore you've replied, or should we ignore that you've ignored
the first msg?

It's confusing ;) ... Oh, ignore it :P


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87oc7mt7k0@fermat.tourde.home



Re: Got recursion not available from...

2011-01-05 Thread François TOURDE
Le 14979ième jour après Epoch,
vr écrivait:

> On Wed, 5 Jan 2011 10:03:36 -0800, Mike Bird wrote:
>> On Wed January 5 2011 09:11:50 vr wrote:
>>> nslookup X.X.X.X
>>> ;; Got recursion not available from x.x.x.x, trying next server
>>> ;; Got recursion not available from x.x.x.x, trying next server
>> 
>> Please "cat /etc/resolv.conf" and post the result here.
>> 
>> --Mike Bird
>
> nameserver x.x.x.x
> nameserver x.x.x.x
>
> The x's are obviously my IP's which I don't want on a public mailing
> list.

Your ip is probably 99.30.25.3, which is on your mail headers.. ;)

It's strange to have your public IP used as a resolver on your local
network.

Could you give us more infos about your connection and your router? How
are the machines connected ?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r5crur9c@fermat.tourde.home



Re: variable in loop

2011-01-02 Thread François TOURDE
Le 14976ième jour après Epoch,
S. Mathias écrivait:

> What am i missing?

Saying "Hello, this post is Off Topic, but can someone help me, please",
perhaps?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ipy6ybp4@fermat.tourde.home



Re: Tool to perform same task over several hosts at same time.

2010-12-26 Thread François TOURDE
Le 14968ième jour après Epoch,
Bob Proulx écrivait:

> Not to knock cssh, I am familiar with it and use it too for a small
> number of hosts, but how do you handle 300 open terminal windows on
> the display all at once?  (Before it gets to that point I start
> scripting things.)

Maybe with grouping servers on themes/usages... You can use some "a=b c
d e" syntax on the .csshrc file, to open "b c d e" when you type "cssh
a"

Another way is to use a massive multi headed video card, but I agree
it's not so cheap and easy ;)


pgpqXD8VJVvgR.pgp
Description: PGP signature


Re: Tool to perform same task over several hosts at same time.

2010-12-24 Thread François TOURDE
Le 14967ième jour après Epoch,
julio écrivait:

> El vie, 24-12-2010 a las 17:46 +0400, Roman Khomasuridze escribió:
>> Hello kind people,
>> 
>> I am interested if there is any tool to execute same task over several
>> hosts 
>
> Maybe taktuk.

Or cssh from the clusterssh package.


pgpFk70NkjfNd.pgp
Description: PGP signature


Re: lavcopts: Unknown suboption vcompressc

2010-12-24 Thread François TOURDE
Le 14967ième jour après Epoch,
Sthu Deus écrivait:

> /usr/bin/mencoder -oac mp3lame -lameopts vbr=4:abr=3:q=4:aq=3 -srate
> 11025 -ovc lavc -lavcopts
> vcompressc=mpeg4:vbitrate=3000:autoaspect=yes:v4mv=yes:trell=yes:mbd=2:nr=600:vpass=1:turbo
> -ffourcc DIVX -vf hqdn3d=4:1:1 -o MVI_4877.AVI-enc.avi MVI_4877.AVI
>
> I get:
>
> Option lavcopts: Unknown suboption vcompressc
> Error parsing option on the command line: -lavcopts

Maybe you can try vcodec instead of vcompressc ... vcompressc is not
documented on the mencoder man pages.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fwtn75g2@fermat.tourde.home



Re: how to kill a process that is "defunct"?

2010-11-22 Thread François TOURDE
Le 14934ième jour après Epoch,
Dotan Cohen écrivait:

> If it's running in a shell, then I agree that it is no bother (doesn't
> use any memory or CPU). However, if it is a GUI app who's window is
> still stuck on the screen, then something ought to be done to get rid
> of that window!

xkill is your friend.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877hg53buz@fermat.tourde.home



Re: how to kill a process that is "defunct"?

2010-11-21 Thread François TOURDE
Le 14934ième jour après Epoch,
Dotan Cohen écrivait:

> On Sun, Nov 21, 2010 at 12:58, Eduardo M KALINOWSKI
>  wrote:
>>  It's a zombie process: http://en.wikipedia.org/wiki/Zombie_process
>>
>
> Eduardo's right, it's a zombie. I didn't look at the output that was
> in the screenshot, but now that I did I see the Z in the stats column.
> Killall -9 or reboot at that point.

What??? Why killall or reboot?

The zombie process don't use any resources in general. No need to reboot
at this point, because nothing is wrong.

On some case, nevertheless, I remember that there can be a kernel
problem, or a device driver one. The process was killed during a
blocking IO, so it is marked as Z until IO finished. If the IO could not
stop, or is on a CPU consuming loop, there is no other way than reboot.

But it's in my old memories, maybe it's not so precise, or obsolete.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zkt23jv3@fermat.tourde.home



Re: making the web server also a dns server

2010-09-10 Thread François TOURDE
Le 14861ième jour après Epoch,
Siju George écrivait:

> Hi,
>
> I have registered a domain "livingwaters-international.org".
>  The website is currently running in google pages.

???

> I would like to know how I can change the website as well as the DNS
> server to a dedicated server I have.
>
> If I configure Bind9 as the DNS server I can configure the nameserver as
>
> ns1.livingwaters-international.org
>
> So when I configure the name server for
> "livingwaters-international.org" should I configure the IP address
> instead of "ns1.livingwaters-international.org" ?
>
> I mean if the NS record is configured on the nameserver itself how
> will the IP of the NS record be resolved before contacting the name
> server?

It is possible thanks to GLUE records. You must define your ns as a glue
record in your registrar config.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87hbhyyo6z@fermat.tourde.home



Re: Is it possible to put a swap file in the fstab

2010-08-30 Thread François TOURDE
Le 14851ième jour après Epoch,
Christopher Judd écrivait:

> On Monday 30 August 2010 11:50:56 T o n g wrote:
>> Hi,
>> 
>> Is it possible to tell fstab to loop mount a swap file during boot up?
>> 
>> Thanks

>   Why not just install dphys-swapfile?

One reply line...

> -Chris
>
> 
> |   Christopher Judd, Ph. D.   |
> |   Research Scientist III |
> |   NYS Dept. of Health   j...@wadsworth.org   | 
> |   Wadsworth Center - ESP |
> |   P. O. Box 509518 486-7829  |
> |   Albany, NY 12201-0509  |
> 
>
>
> IMPORTANT NOTICE: This e-mail and any attachments may contain
> confidential or sensitive information which is, or may be, legally
> privileged or otherwise protected by law from further disclosure.  It
> is intended only for the addressee.  If you received this in error or
> from someone who was not authorized to send it to you, please do not
> distribute, copy or use it or any attachments.  Please notify the
> sender immediately by reply e-mail and delete this from your
> system. Thank you for your cooperation.

20 noise lines...

What a signal/noise ratio  1/20 :(


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y6bnbwlg@fermat.tourde.home



Re: Interactive diff rsync

2010-07-22 Thread François TOURDE
Le 14812ième jour après Epoch,
Andre Majorel écrivait:

> Anyone knows of some software that will compare two trees and, for
> each file that differs, show you a diff and ask whether you want
> to update the destination file ?
>
> It must run in a terminal (no GUI) and it must be able to access
> the source tree through an SSH tunnel, like rsync.

Try emacs with ediff-directories, maybe with tramp package, and use
the syntax "/hostname:/some/path/to/tree/". It's a must for this kind of
usage.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87k4ono02n@fermat.tourde.home



Re: is this result of keylogger? am i hacked?

2010-07-21 Thread François TOURDE
Le 14811ième jour après Epoch,
Sergey Spiridonov écrivait:

> Hi
>
> On 07/21/2010 03:40 PM, Jochen Schulz wrote:
>
>> One possible reason: your memory is corrupt. Run memtest86 to check
>> that.
>
> I think memory is not the reason, because some time ago I get broken
> /etc/shells file also on another machine, which is running Lenny.

If you are so confident, why asking here?

1) Try memtest, it's a good idea.

2) Unplug you box from the net, to avoid more corruption

3) Check the syslog about disk errors

4) Check colocs/friends/family for any acces to your box

5) Tell us more about software installed, especially non Debian packaged
software.

6) If you are creationist, ask God ;)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vd88qz9i@fermat.tourde.home



Re: how to rebuild single kernel module

2010-06-23 Thread François TOURDE
Le 14783ième jour après Epoch,
Alexander Samad écrivait:

> Okay, thats a bit extreme, m-a seems to be able to build a module with
> just the headers.
>
> so all I want to do is rebuild qcserial, patched it to add new id.
> don't need to produce a deb.
>
> what i tried was installed the linux-source-2.6.34-1 deb
>
> copied .config from the headers directory did
> make oldconfig
> make M=
>
> copied the qcserial.ko to /updates
>
> did a depmod -a
>
> then modprobe -v qcserial
>
> but it gave me errors wouldn't load
>

Could you please post the exact error message, and extracts of syslog
that can be related ?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87d3vi9hw7@fermat.tourde.home



Re: Encrypted /tmp fails after recent kernel upgrade

2010-05-29 Thread François TOURDE
Le 14758ième jour après Epoch,
Todd A. Jacobs écrivait:

> After a recent kernel upgrade to 2.6.32-5-amd64, I now get the following
> when trying to mount an encrypted /tmp with dev/mapper:
>
> $ sudo mount /tmp
> mount: wrong fs type, bad option, bad superblock on /dev/mapper/tmp,
>  missing codepage or helper program, or other error
>  In some cases useful info is found in syslog - try
>  dmesg | tail  or so

Maybe bug #581203 [1].

swap is probably less impacted by this bug.

[1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581203


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aarjcf1c@fermat.tourde.home



Re: Sed or awk: remove a line from a file

2010-05-28 Thread François TOURDE
Le 14757ième jour après Epoch,
Dotan Cohen écrivait:

> As I regularly format my test box, I often get stuck SSHing into it, like 
> this:
>
> $ ssh u...@domain
> @@@
> @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
> @@@
> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> Someone could be eavesdropping on you right now (man-in-the-middle attack)!
> It is also possible that the RSA host key has just been changed.
> The fingerprint for the RSA key sent by the remote host is
> --:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--
> Please contact your system administrator.
> Add correct host key in /home/user/.ssh/known_hosts to get rid of this 
> message.
> Offending key in /home/user/.ssh/known_hosts:44
> RSA host key for domain has changed and you have requested strict checking.
> Host key verification failed.
>
>
>
> Now, I need strict checking but I'd like to just remove line 44 from
> ~/.ssh/known_hosts. Easy to do in VIM, probably even easier to do in
> sed or awk. But I've been reading sed and awk tutorials for two hours
> and I cannot figure out how to remove line N from the file without
> creating a second file. If I'm already going through the hassle of
> creating then moving a second file then I might as well just edit the
> file in VIM.
>
> Any ideas?

Don't use sed nor awk...

man ssh-keygen say:

 -R hostname
 Removes all keys belonging to hostname from a known_hosts file.  
This option is useful to delete hashed
 hosts (see the -H option above).


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87eigwci0b@fermat.tourde.home



Re: Monitoring network activity

2010-05-27 Thread François TOURDE
Le 14756ième jour après Epoch,
AG écrivait:

> Is there a bash command (or a GUI app) that will identify what the
> connection is and who/ what initiated it, etc.?

Maybe ntop could help you.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871vcxhe5h@fermat.tourde.home