Re: Unison hangs on copy

2011-07-22 Thread Victor Munoz
On Sat, Jul 23, 2011 at 12:21:11AM -0600, Bob Proulx wrote:
> 
> Ping is an ICMP (internet control message protocol) and rsync and
> unison both use TCP.  So not different ports but completely different
> protocols.  Both are part of IP (Internet Protocol).

Got it, not thinking clearly :-) I was actually thinking in something
like an iptables rule blocking selectively either of them, and mixed
that with ports. But of course, no rules currently active :-(

> 
> > Would it make sense? (I undertand unison uses rsync, or a version of
> > it, to synchronize files, and rsync works, so I'd think that copying
> > files with unison should work too, if it were a port problem...)
> 
> I agree that if ssh and rsync is working then unison should work too.
> And so with this I am exhausted of ideas for you.

Fine, thanks for the attempt. Weird problem, and it's been a long day.
I'll have to make a few more systematic and controlled experiments
tomorrow. 

Victor



-- 
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/20110723063815.gc7...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-22 Thread Bob Proulx
Victor Munoz wrote:
> Mm... not obviouss this is the case. I have a ping to the router
> simultaneously with the unison attempt, and while unison is waiting to
> copy files, ping keeps responding, no packet loss. 

That seems good anyway.

> It might be something with the router. Now, I guess ping and unison
> use different ports.

Ping is an ICMP (internet control message protocol) and rsync and
unison both use TCP.  So not different ports but completely different
protocols.  Both are part of IP (Internet Protocol).

> Would it make sense? (I undertand unison uses rsync, or a version of
> it, to synchronize files, and rsync works, so I'd think that copying
> files with unison should work too, if it were a port problem...)

I agree that if ssh and rsync is working then unison should work too.
And so with this I am exhausted of ideas for you.

Bob


signature.asc
Description: Digital signature


Re: Unison hangs on copy

2011-07-22 Thread Victor Munoz
On Fri, Jul 22, 2011 at 11:11:40PM -0600, Bob Proulx wrote:
> 
> This makes me think that there is a NAT router or other device that is
> sometimes losing the virtual circuit between the machines.  Starting a
> new connection works but the old connection is sometimes idled out?
> Usually people run into that problem with idle connections and need to
> set up a diddle to keep the connection alive.  But you are using it so
> it doesn't quite match but I am mentioning it anyway.
> 
> You might check your router hardware.  You might run a ping in another
> window and seeing if you are seeing any packet loss.  If you found a
> high packet loss between the systems then that would point to the
> hardware between them.

Mm... not obviouss this is the case. I have a ping to the router
simultaneously with the unison attempt, and while unison is waiting to
copy files, ping keeps responding, no packet loss. 

It might be something with the router. Now, I guess ping and unison
use different ports. Would it make sense? (I undertand unison uses
rsync, or a version of it, to synchronize files, and rsync works, so
I'd think that copying files with unison should work too, if it were a
port problem...)

Victor



> 
> Bob



-- 
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/20110723061145.gb7...@llacolen.ciencias.uchile.cl



problem with ISA SB 16

2011-07-22 Thread Long Wind
I use lenny and ISA SB 16 sound card
the card work in etch with command below:

modprobe snd-sb16 isapnp=0

but it doesn't work in lenny
kernel messages below seem to be related to SB detection

Jul 23 12:58:31 debian kernel: [   22.029070] sb: Init: Starting Probe...
Jul 23 12:58:31 debian kernel: [   22.029195] sb: Init: Done

below is output by lsmod:

Module  Size  Used by
snd_sb16   11208  0
ipv6  235396  10
ext2   54504  1
nls_utf81760  3
nls_cp437   5568  3
vfat9152  3
fat40864  1 vfat
nls_base6820  4 nls_utf8,nls_cp437,vfat,fat
dm_snapshot14340  0
dm_mirror  15136  0
dm_log  8452  1 dm_mirror
dm_mod 46216  3 dm_snapshot,dm_mirror,dm_log
loop   12748  0
ns558   3712  0
gameport   10700  2 ns558
tuner_simple   12080  1
tuner_types13888  1 tuner_simple
sb_lib 37348  0
uart401 8772  1 sb_lib
sound  64620  2 sb_lib,uart401
sound_firmware  1856  1 sb_lib
snd_sbawe  26912  0
tuner  21960  0
button  6096  0
snd_opl3_lib9344  2 snd_sb16,snd_sbawe
snd_sb16_dsp8416  2 snd_sb16,snd_sbawe
snd_sb16_csp   16576  2 snd_sb16,snd_sbawe
snd_sb_common  14592  4 snd_sb16,snd_sbawe,snd_sb16_dsp,snd_sb16_csp
snd_hwdep   6212  2 snd_opl3_lib,snd_sb16_csp
snd_mpu401_uart 6368  2 snd_sb16,snd_sbawe
snd_pcm_oss32800  0
snd_mixer_oss  12320  1 snd_pcm_oss
snd_rawmidi18496  1 snd_mpu401_uart
bttv  148116  1
snd_seq_device  6380  3 snd_sbawe,snd_opl3_lib,snd_rawmidi
videodev   27520  3 tuner,bttv
v4l1_compat12260  1 videodev
parport_pc 22500  0
firmware_class  6816  1 bttv
snd_pcm62660  4 snd_sb16,snd_sbawe,snd_sb16_dsp,snd_pcm_oss
parport31084  1 parport_pc
ir_common  39620  1 bttv
compat_ioctl32  1312  1 bttv
i2c_algo_bit5188  1 bttv
v4l2_common10240  2 tuner,bttv
videobuf_dma_sg11140  1 bttv
videobuf_core  16100  2 bttv,videobuf_dma_sg
btcx_risc   4264  1 bttv
snd_timer  17800  2 snd_opl3_lib,snd_pcm
i2c_piix4   7216  0
tveeprom   10980  1 bttv
psmouse32336  0
snd45636  14
snd_sb16,snd_sbawe,snd_opl3_lib,snd_sb16_dsp,snd_sb16_csp,snd_sb_common,snd_hwdep,snd_mpu401_uart,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer
soundcore   6368  2 sound,snd
i2c_core   19828  7
tuner_simple,tuner,bttv,i2c_algo_bit,v4l2_common,i2c_piix4,tveeprom
snd_page_alloc  7816  1 snd_pcm
serio_raw   4740  0
intel_agp  22524  1
shpchp 25528  0
agpgart28808  1 intel_agp
pci_hotplug23460  1 shpchp
pcspkr  2432  0
evdev   8000  0
ext3  105576  1
jbd39476  1 ext3
mbcache 7108  2 ext2,ext3
ide_disk   10496  7
ide_pci_generic 3908  0 [permanent]
piix6568  0 [permanent]
ide_core   96168  3 ide_disk,ide_pci_generic,piix
floppy 47844  0
ata_generic 4676  0
tulip  44096  0
uhci_hcd   18672  0
libata140448  1 ata_generic
e100   28908  0
mii 4896  1 e100
usbcore   118192  2 uhci_hcd
scsi_mod  129548  1 libata
dock8304  1 libata
thermal15228  0
processor  32576  2 thermal
fan 4196  0
thermal_sys10856  3 thermal,processor,fan

Can you help me?


-- 
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/cab-gxzdxicu6eyqnymoxunbmdw1a7fnpubf5dm8ybg-eqyi...@mail.gmail.com



Re: Unison hangs on copy

2011-07-22 Thread Bob Proulx
Victor Munoz wrote:
> ... I have noticed today that I suddenly lose the connection between
> both machines. (In fact, I'm writing this at home, where the sid
> machine is, and connecting via ssh to the squeeze machine, and I've
> had to restart this email twice because the terminal hangs.) So
> maybe it's something to do with ssh, but then again, wouldn't know
> what, as I can ssh, rsync, scp between both and everthing looks
> fine. And unison itself is fine, until it is time to copy files.

This makes me think that there is a NAT router or other device that is
sometimes losing the virtual circuit between the machines.  Starting a
new connection works but the old connection is sometimes idled out?
Usually people run into that problem with idle connections and need to
set up a diddle to keep the connection alive.  But you are using it so
it doesn't quite match but I am mentioning it anyway.

You might check your router hardware.  You might run a ping in another
window and seeing if you are seeing any packet loss.  If you found a
high packet loss between the systems then that would point to the
hardware between them.

Bob


signature.asc
Description: Digital signature


Re: Unison hangs on copy

2011-07-22 Thread Victor Munoz
On Fri, Jul 22, 2011 at 09:51:07PM -0600, Bob Proulx wrote:
> 
> I am using 2.27.57 and have not seen the problem.
> 
> Both Sid and Squeeze have unison 2.27.57 available.  You might try
> downgrading both to 'unison2.27.57' and that seems like it should work
> just fine, since it has been working.  If it does then you can even
> double blind the test by upgrading again to 2.32.52 and if the problem
> is recreated.  If so then file a bug report and return to
> unison2.27.57 on both machines so that you can keep running.
> 

Tried, but didn't work. I think it could be something not directly
related to unison, but wouldn't know what or where to look for. I have
a netbook with sid, and I could synchronize with the squeeze machine,
when both were with 2.32.52. Also, I have noticed today that I
suddenly lose the connection between both machines. (In fact, I'm
writing this at home, where the sid machine is, and connecting via ssh
to the squeeze machine, and I've had to restart this email twice
because the terminal hangs.) So maybe it's something to do with ssh,
but then again, wouldn't know what, as I can ssh, rsync, scp between
both and everthing looks fine. And unison itself is fine, until it is
time to copy files. 

Victor




-- 
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/20110723044643.ga7...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-22 Thread Bob Proulx
Victor Munoz wrote:
> I have unison version 2.32.52 in both. So, basically, I don't know
> what to do know.
> ...
> Any ideas?

I am using 2.27.57 and have not seen the problem.

Both Sid and Squeeze have unison 2.27.57 available.  You might try
downgrading both to 'unison2.27.57' and that seems like it should work
just fine, since it has been working.  If it does then you can even
double blind the test by upgrading again to 2.32.52 and if the problem
is recreated.  If so then file a bug report and return to
unison2.27.57 on both machines so that you can keep running.

Bob


signature.asc
Description: Digital signature


Unison hangs on copy

2011-07-22 Thread Victor Munoz
Today, I lost the ability to synchronize between two machines, one had
lenny until today morning, and the other was sid. I was using
apt-pinning to keep both unison versions compatible.

Yesterday night I was able to sync both machines for the last time.
Then, today morning, I was not. It connects to the server, it
recognizes the changes, and it offers me all the changes for approval.
Then, when it has to start copying, it just waits for ever, and no
progress is done.

Last weekend I upgraded the sid machine, so I thought that could be
the problem. I decided to upgrade the lenny machine to squeeze, just
in case. Nothing. I have unison version 2.32.52 in both. So,
basically, I don't know what to do know.

I haven't found ideas in google or Debian Bugs, only problems like
hanging when contacting server and such, but not after going through
all the stages before actually copying.

Any ideas?

Thanks in advance,

Victor


-- 
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/20110723030758.ga6...@llacolen.ciencias.uchile.cl



disable fbcon in Debian Wheezy (Live)?

2011-07-22 Thread Ivan Shmakov
How do I disable fbcon in Debian Wheezy?  I'm using a custom
Debian Live image, and it switches to fbcon as soon as it can
get to the modules!

I've Google'd a bit, but the virtually the only recommendation
I've found is to add fbcon=map:9 to the kernel command line.
Unfortunately, instead of leaving the VGA console alone, it
apparently completely deactivates it (the display enters a power
saving mode.)

As a work-around, I can boot with "emergency", and remove
/lib/modules/2.6.39-2-amd64/kernel/drivers/{gpu,video}/.  Yet,
I'd prefer for a less radical solution.

(And I wonder, what process launches modprobe(8) on these
modules, and is there a way to disable it?)

TIA.

-- 
FSF associate member #7257


-- 
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/8662mtx5ce@gray.siamics.net



pppoeconf can't find new Verizon DSL modem

2011-07-22 Thread Thomas H. George
We subscribed to Verizon DSL ten years ago.  Overall the service has
been as advertised, 3 Mbps.

All last week we had major problems - system freezes and system down for
times ranging from half an hour to several hours.  Tech support finally
conceded the problem was outside our house.  Apparently this was
corrected as this Wednesday performance returned to normal.

Yesterday a Verizon technician came to the house and confirmed a good
connection at the wall outlet dedicated to the dsl modem.

He also brought a new Verizon dsl modem noting that the ten year old
modem from the original installation was slowly failing.  He proceeded
to configure it from his laptop and set the user name and password.  I
now realize it was a mistake to let him do this.  We have a dedicated
firewall computer between the dsl modem and our lan.  pppoeconf run from
the firewall computer finds (found) the access accumulator and allows us
to set the user name and password.  When the new modem is put in place
of the ten year old modem this does not work even when the new modem is
reset to the factory defaults.  Fortunately everything still works with
the old modem an since the external problems have been fixed it seems
steady as a rock.  

Still it may be true that the old modem is gradually failing so it seems
prudent to replace it but not if pppoeconf cannot find the new modem.

Any thoughts?






-- 
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/2011070743.ga27...@tomgeorge.info



Re(2): LaTeX to HTML converters and comments.

2011-07-22 Thread peasthope
*   From: prad 
*   Date: Fri, 22 Jul 2011 15:15:48 -0700
> what's tth as in debian?

http://packages.debian.org/squeeze/tth

Regards, ... Peter E.

-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .


-- 
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/171057078.65128.31705@cantor.invalid



Re: LaTeX to HTML converters and comments.

2011-07-22 Thread prad
peasth...@shaw.ca writes:



> tth converts LaTeX to HTML nicely but strips the comments.
> The manual remarks "% Comments. Simply removed."  Can anyone 
> suggest a converter which encloses each comment in ?
>
what's tth as in debian?

i did 
aptitude search tth

but only got this showing up:
p   libmatthew-debug-java
p   libmatthew-io-java
p   libmatthew-java-doc
p   tthsum

what is it called?

-- 
in friendship,
prad


-- 
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/871uxivu5n@psinom.home



Re: lost disk space

2011-07-22 Thread Frank McCormick

On 22/07/11 08:59 AM, Frank McCormick wrote:

On 21/07/11 10:16 PM, green wrote:

Frank McCormick wrote at 2011-07-20 07:02 -0600:

On 20/07/11 08:48 AM, Selim T. Erdogan wrote:

Try baobab. It's a graphical disk usage analyzer. (I think it comes
with gnome.)


It's the first thing I thought of after doing some preliminary
looking around..but for some reason it's not in Sid on my machine
and because I had no space left I couldn't install it :)


You may want to try ncdu. Fewer dependencies and much more elegant.


I'll have a look..thanks


   Yup. Just what I need. Added -x and "/" to the command line and it's 
perfect.


Thanks

--
Cheers
Frank


--
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/4e29ec46.5030...@videotron.ca



Re: IDT High Definition Audio Codec soundcard

2011-07-22 Thread Andreas Berglund

On 2011-07-22 17:35, Camaleón wrote:

On Thu, 21 Jul 2011 20:50:50 +0200, Andreas Berglund wrote:


张启德(Zhang Qide) skrev 2011-07-21 16:17:

On Thu, Jul 21, 2011 at 02:55:46PM +0200, Andreas Berglund wrote:

Hi!
I have the latest version of debian stable and I have an onboard IDT
High Definition Audio Codec but I can't get it to work, does anyone
know if there's support for it? If not is there any on the way or do I
need to buy a new one?



did you try "sudo alsactl init" ?
see http://wiki.debian.org/ALSA



Thanks for the tip, I just tried it and it didn't make any difference,
still no sound coming out.


IDT is a very generic Sigma chipset. You will have to dig a bit into your
system to find out more information about the codec it uses. For
instance, give us the output of:

cat /proc/asound/card0/codec#* | grep Codec
aplay -L
lspci -nn | grep -i audio

Greetings,



Thanks for the help, I've attached the output of those commands



result of cat /proc/asound/card0/codec#* | grep Codec

Codec: IDT ID 76c7



result of aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
HDA Intel PCH, HDA Generic
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, HDA Generic
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, HDA Generic
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, HDA Generic
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, HDA Generic
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, HDA Generic
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, HDA Generic
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers



result of lspci -nn | grep -i audio

00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition 
Audio Controller [8086:1c20] (rev 05)
01:00.1 Audio device [0403]: nVidia Corporation Device [10de:0bea] (rev a1)


Re: Thanks and SOLVED was:Re: Daisy/MP3 player

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 20:50:53 +0100, Lisi wrote:

> On Friday 22 July 2011 18:59:03 Camaleón wrote:
>> On Fri, 22 Jul 2011 19:44:29 +0200, Claudius Hubig wrote:
>> > Lisi  wrote:
>> >>On Friday 22 July 2011 17:45:32 Camaleón wrote:
>> >>> Better "dmesg | tail -n 30" to get the latest full 30 lines :-)
>> >>
>> >>Bingo!  Thanks, Camaleón!
>> >>I thought I had HAL, but can't seem to find it.
>> >>
>> >>I actually ran your tests before Camaleón's - but hers cracked it.
>> >
>> > So what was the problem? :)
>>
>> Yep... what was the problem?
> 
> PEBKAC.

Ouch! X-)
 
> I needed the device name and couldn't sort it out.  The tail command in
> dmesg gave me the device name.
> 
> Unfortunately I still couldn't mount it.  I suspect more PEBKAC given
> the amount of sleep that I have had recently!

:-)

> I have solved the problem for now with a little lateral thinking.  I
> took the memory card out of the device and put it in a card reader.  I
> have now copied two more books (audio files of) for a very long train
> journey.  

Simple things always work. Well done. 

> Life was definitely easier when I could read actual books, but
> I do now have the advantage of being able to "read" and watch the
> scenery go by at the same time. :-)
> 
> I'll come back to this when I get back next weekend.  Having once had it
> mounted, albeit by accident, I know it can be done.
> 
> So any further ideas you have will be very gratefully received, but not
> acted on for 9 days!

Mmm, the SD card should be automatically mounted under "/media" folder. 
If it does not, reading dmesg ("full" dmesg >:-P) should help, so when 
you have the time, copy/paste the relevant log here so we can review it.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.20.57...@gmail.com



Re: Do I own an unsupported optical IDE drive?

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 19:47:40 +0100, Horace Dynamite wrote:

> On 22 July 2011 18:27, Camaleón  wrote:
>> On Fri, 22 Jul 2011 17:54:00 +0100, Horace Dynamite wrote:
>>
>>> On 22 July 2011 16:43, Camaleón  wrote:
 Uff, have you tried with another IDE cable? Those seem hardware
 errors.
>>>
>>> I installed the Debian system using this optical drive, so I think
>>> this proves that my optical drive and IDE cable are working properly,
>>> for, it was only three days ago that I installed Debian. Is that true?
>>
>> Well, the unit can be in its finals days and the fact you could install
>> from it with no apparent/visible errors is not a proof of its health...
>> BTW, how old is it?
> 
> 2 years old. I've just booted into a Ubuntu Live CD, which I believe
> implies the electronics are working.

As you already checked, your optical reader can be working but giving 
errors, this is not a 0/1 device that works or does not work at all. It 
can be dying slowly.
 
>> Then you can re-sit the current one, just in case it has been slightly
>> moved or became loose.
> 
> I took it out, re-sat, booted the LiveCD again, it worked. Yet I still
> get these hardware errors.

Then the problem can be within the IDE port of the board or the cable. 
Changing the cable would be the most suitable step.

Another possible culprits?

- Software problem (i.e., the kernel)
You can discard this by loading a LiveCD of another distribution with a 
differenet kernel and checking dmesg for any error

- Power supply
Yes, this can be another source for the problem but a faulty power supply 
would affect another components, like hard disk and only the optical unit 
looks like the only one having errors.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.20.48...@gmail.com



Re: bind does not want to die (squeeze)

2011-07-22 Thread Nico Kadel-Garcia
On Fri, Jul 22, 2011 at 12:28 PM, Camaleón  wrote:
> On Fri, 22 Jul 2011 12:13:07 -0300, Henrique de Moraes Holschuh wrote:
>
>> On Fri, 22 Jul 2011, Camaleón wrote:
>>> On Fri, 22 Jul 2011 13:14:52 +0300, Jari Fredriksson wrote:
>>> > I have two 32 bit squeeze machines running bind. Then I try to
>>> > shutdown them, they will not die. The console shows "stopping x"
>>> > (pid) repeatedly.
>>> >
>>> > I have to kill -9 the bind manually, so the shutdown process can
>>> > continue.
>>> >
>>> > Is this is common feature, or there something wrong with my systems?
>>
>> It is a bad initscript.  If bind does not answer for whatever reason, it
>> gets in an endless loop.
>
> You mean is a reported/unsolved bug? :-?
>
> Greetings,

Have you been modifying your init scripts?

I've had some interesting issues lately with tools that someone
insisted on running DNS based services with a hand-installed
"daemontools", and integrating support for that became adventuresome.

Take a look at starting and restarting your DNS services by hand. If
you used the Debian published packages, which I'd urge you to stick
with, you should be able to to "/etc/init.d/bind9 restart" and see
what happens.


--
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/caocn9rxvvshfdfxhaituubg6btsyewvh546immos5f9cns_...@mail.gmail.com



Re: how do I create a kdm login for non-desktop user

2011-07-22 Thread Scott Ferguson
On 22/07/11 22:22, Jari Fredriksson wrote:
> 22.7.2011 14:35, Mark Charles kirjoitti:
>> For remote maintenance I want to add a default user called
>> "fixme" with no password to the system.
>>
>> If the remote user has problems with their computer they should be able
>> to press Enter and "fixme" will login and run a script connecting the
>> machine to the internet and send me the IP address in an email.

You'll want to use curl or such to scrape the IP from a web page after
connecting - which would require running as root...
If the remote user is behind a firewall, ifconfig may not get you the
info you need anyway.

If you don't already have a script, pinch mine ;-p
===
#!/bin/bash
# name, date, description
echo
echo ""
echo
echo  "This will take about a minute thanks for your patience Mum"
echo
echo ""
poff -a
sleep 5s
pon Dodo
IP=""
sleep 10s
IP=`curl -s http://myip.dk/ | egrep -m1 -o
'[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'`
if [[ -z $IP ]]
  then
echo  "Things have not gone as planned - please ring me"
  else
echo $IP | mailx -v -s "Remote assistance requested" -S
smtp-use-starttls -S ssl-verify=ignore -S smtp-auth=login -S
smtp=smtp://smtp.gmail.com:587 -S from="remote_u...@gmail.com(Remote
User)" -S smtp-auth-user=remote_user_gmail_login -S
smtp-auth-password=remote_user_gmail_password -S ssl-verify=ignore -S
nss-config-dir=~/.mozilla/firefox/remote_user.default/
Support_email@address.whatever
  fi
exit 0
===

>>
>> As "fixme" has no password I don't want them to have a desktop... how do
>> I do this??

You would have to seriously modify startkde(?) to create a forced
console login for a given user (fixme).

Alternatively create a desktop and restrict access to just konsole
(kiosk model using action restrictions). Make fixme a member only of
dial, dip, and, nobody (primary group).

>> I'd also prefer they don't have a home directory - is that possible??

See above. (I doubt it).

>> How can I setup fixme's login to just run my script??

If you stop kde from running for fixme - then just setting your script
as the home directory will work, otherwise:-
~.kde/Autostart
~/.kde/share/autostart

>>
> 
> Quite strange setup. But OK.

How so?
Sounds eminently logical to me (I do something similar) - remote
support, no local tech, no usable screen? - just hit enter to initiate
remote assistance.

Ever tried to talk a non-tech through the process of connecting to
mobile broadband without them having a working screen?

> 
> - Set the home folder to /tmp/fixme or some other proprietary folder.

Then log-in setup Nepumok, Strigi, Kaboom and whoops, it all
vanishes when you log out :-(
I suspect the OP wants to avoid a home directory if possible - not put
it somewhere, um, non-standard.
Which is possible - shell as /bin/false, home as
/usr/sbin/connect_internet_and_email_the_IP, primary group nobody, other
groups dip and dial - but not easily from a kdm login. Making fixme the
preselected username with the focus on password and login without
password allowed is simple - finding a simple way to secure that setup
is harder.

> - Set the shell for fixme to your script.

Which won't run the script..


I am working on something similar - hence the script, please post your
success here.

Cheers

-- 
"Today a young man on acid realized that all matter is merely energy
condensed to a slow vibration, that we are all one consciousness
experiencing itself subjectively, there is no such thing as death, life
is only a dream, and we are the imagination of ourselves. Here's Tom
with the Weather."
— Bill Hicks


-- 
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/4e29d4cb.1080...@gmail.com



Re: Thanks and SOLVED was:Re: Daisy/MP3 player

2011-07-22 Thread Lisi
On Friday 22 July 2011 18:59:03 Camaleón wrote:
> On Fri, 22 Jul 2011 19:44:29 +0200, Claudius Hubig wrote:
> > Lisi  wrote:
> >>On Friday 22 July 2011 17:45:32 Camaleón wrote:
> >>> Better "dmesg | tail -n 30" to get the latest full 30 lines :-)
> >>
> >>Bingo!  Thanks, Camaleón!
> >>I thought I had HAL, but can't seem to find it.
> >>
> >>I actually ran your tests before Camaleón's - but hers cracked it.
> >
> > So what was the problem? :)
>
> Yep... what was the problem?

PEBKAC.

I needed the device name and couldn't sort it out.  The tail command in dmesg 
gave me the device name.  

Unfortunately I still couldn't mount it.  I suspect more PEBKAC given the 
amount of sleep that I have had recently!

I have solved the problem for now with a little lateral thinking.  I took the 
memory card out of the device and put it in a card reader.  I have now copied 
two more books (audio files of) for a very long train journey.  Life was 
definitely easier when I could read actual books, but I do now have the 
advantage of being able to "read" and watch the scenery go by at the same 
time. :-)

I'll come back to this when I get back next weekend.  Having once had it 
mounted, albeit by accident, I know it can be done.

So any further ideas you have will be very gratefully received, but not acted 
on for 9 days!

Lisi


--
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/201107222050.53730.lisi.re...@gmail.com



Re: Do I own an unsupported optical IDE drive?

2011-07-22 Thread Horace Dynamite
On 22 July 2011 18:27, Camaleón  wrote:
> On Fri, 22 Jul 2011 17:54:00 +0100, Horace Dynamite wrote:
>
>> On 22 July 2011 16:43, Camaleón  wrote:
>>> Uff, have you tried with another IDE cable? Those seem hardware errors.
>>
>> I installed the Debian system using this optical drive, so I think this
>> proves that my optical drive and IDE cable are working properly, for, it
>> was only three days ago that I installed Debian. Is that true?
>
> Well, the unit can be in its finals days and the fact you could install
> from it with no apparent/visible errors is not a proof of its health...
> BTW, how old is it?

2 years old. I've just booted into a Ubuntu Live CD, which I believe
implies the electronics are working.

> Then you can re-sit the current one, just in case it has been slightly
> moved or became loose.

I took it out, re-sat, booted the LiveCD again, it worked. Yet I still
get these hardware errors.

Thanks for your time,

Horace.


--
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/CAGVW+M2Rq+p=+xsdUi5WA�ggXJJG0gV3e-fyw=p72qjjs...@mail.gmail.com



Re: how do I create a kdm login for non-desktop user

2011-07-22 Thread T o n g
On Fri, 22 Jul 2011 15:22:04 +0300, Jari Fredriksson wrote:

>> If the remote user has problems with their computer they should be able
>> to press Enter and "fixme" will login and run a script connecting . . .
>> 
> Quite strange setup. But OK.

Typical "Windows-thinking".


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
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/j0cfbf$roe$1...@dough.gmane.org



Re: Thanks and SOLVED was:Re: Daisy/MP3 player

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 19:44:29 +0200, Claudius Hubig wrote:

> Lisi  wrote:
>>On Friday 22 July 2011 17:45:32 Camaleón wrote:
>>> Better "dmesg | tail -n 30" to get the latest full 30 lines :-)
>>
>>Bingo!  Thanks, Camaleón!
>>I thought I had HAL, but can't seem to find it.
>>
>>I actually ran your tests before Camaleón's - but hers cracked it.
> 
> So what was the problem? :)

Yep... what was the problem?

I didn't know that dmesg was an automatic problem-solver :-P

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.17.59...@gmail.com



Re: 6rd vs. interfaces(5)

2011-07-22 Thread Rick Thomas

On Jul 22, 2011, at 5:17 AM, Dejan Ribič wrote:

> Dne 22.7.2011 11:09, piše Ivan Shmakov:
>>> Rick Thomas  writes:
>>> On Jul 21, 2011, at 3:29 AM, Ivan Shmakov wrote:
>> […]
>> 
>>  >>  And in the case of NAT'ed IPv4, it's still possible to register for
>>  >>  a free-of-charge tunnel service at http://sixxs.net/ and use AICCU
>>  >>  (# apt-get install aiccu.)
>> 
>>  >  This (SIXXS) is what I use at home.  It works a treat for me.  Easy
>>  >  to set up. Easy to use. Fully connected to the IPv6 internet.
>> 
>>  One of the ISP's here has finally started to offer IPv6, namely:
>>  6to4 (AIUI, they run their own gateway for that) and 6rd.
>> 
>>  Unfortunately, 6rd is only available for Linux 2.6.33 and later
>>  (as per Wikipedia), which isn't in Squeeze.
>> 
>>  But anyway, is there a way to add a 6rd tunnel to interfaces(5)?
>> 
>>  TIA.
>> 
> Hi,
> 
>   you can install 2.6.38 from squeeze-backports[1], works perfectly.
> 
> Cheers,
> 
> Dejan
> 
> [1]http://backports-master.debian.org/Instructions/

Or, if you already have a home network with more than one computer (if  you're 
interested in IPv6, I'll bet that description fits you) I'd recommend to invest 
a small amount of money (http://lists.debian.org/bf124a4c-3e6f-4d9c-ae5d-f4b1945a6...@pobox.com



Re: Thanks and SOLVED was:Re: Daisy/MP3 player

2011-07-22 Thread Claudius Hubig
Lisi  wrote:
>On Friday 22 July 2011 17:45:32 Camaleón wrote:
>> Better "dmesg | tail -n 30" to get the latest full 30 lines :-)
>
>Bingo!  Thanks, Camaleón!
>I thought I had HAL, but can't seem to find it.
>
>I actually ran your tests before Camaleón's - but hers cracked it.

So what was the problem? :)

Best regards,

Claudius
-- 
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net/ http://nightfall.org



--
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/20110722194429.1d891...@ares.home.chubig.net



Thanks and SOLVED was:Re: Daisy/MP3 player

2011-07-22 Thread Lisi
On Friday 22 July 2011 17:45:32 Camaleón wrote:
> On Fri, 22 Jul 2011 15:51:18 +0100, Lisi wrote:
> > I am wanting to mount a Daisy/MP3** player as a block device to get
> > access to the files on it.  dmesg* lists it, but I am not succeeding in
> > finding its device name.  It did once mount itself (or rather, I imagine
> > that HAL mounted it) but I cannot get this behaviour to repeat.
> >
> > *Tux:/home/lisi# dmesg | grep usb
>
> (...)
>
> Better "dmesg | tail -n 30" to get the latest full 30 lines :-)

Bingo!  Thanks, Camaleón!

On Friday 22 July 2011 17:33:42 Claudius Hubig wrote:
> What does
>
> ls -l /dev/sd*

lisi@Tux:~$ ls -l /dev/sd*
brw-rw 1 root disk 8,  0 2011-07-22 08:18 /dev/sda
brw-rw 1 root disk 8,  1 2011-07-22 08:19 /dev/sda1
brw-rw 1 root disk 8, 16 2011-07-22 08:18 /dev/sdb
brw-rw 1 root disk 8, 17 2011-07-22 08:18 /dev/sdb1

My /home (sda) and /backup (sdb)

> say? Does it turn up in $(lsusb)? 

No!
Tux:/home/lisi# lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

> Which other tools (HAL, udev, 
> specific desktop environments) are you using which could interfere
> with the mounting?
udev on Lenny running KDE 3.5.10.

I thought I had HAL, but can't seem to find it.

I actually ran your tests before Camaleón's - but hers cracked it.

Thanks, both!

Lisi


--
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/201107221831.22686.lisi.re...@gmail.com



Re: Does IPv6 preclude use of a NAT gateway?

2011-07-22 Thread Tom H
On Thu, Jul 21, 2011 at 3:45 PM, Henrique de Moraes Holschuh
 wrote:
> On Thu, 21 Jul 2011, Tom H wrote:
>>
>> If incompetent is equivalent to the Windows DNS admins saying "this is
>> a Unix problem", then yes...
>
> Well, it is equivalent to leaking trash to AS112 and the root zone,
> regardless of platform.
>
> What you describe is even worse: being that clueless about DNS when
> you're an "DNS admin" is outright negligence.

I couldn't agree more. This happened in the first week of a four-week
contract so I said that the obvious solution was to create a reverse
zone and everyone told me to shut up. We just edited "nsswitch.conf"
and removed "dns" from the "hosts" line.

TOTALLY OT: As far as the senior Windows sysadmin was concerned, it
was the problem of "toy OSs" and he wasn't willing to set up a reverse
zone for Solaris and Linux. He was very good as a Windows admin and
had the full backing of the IT manager and deputy IT manager. The two
Solaris/Linux admins owed their jobs to the managers (one was Sun
hardware engineer and a friend of the deputy manager and the other was
a Windows admin and friend of the manager; they were sent on Solaris
training and given these jobs; on my first day there, a desktop
support guy asked them what the difference between a soft and a hard
link was and they couldn't answer). They weren't in a position to put
their foot down in spite of the stupidity of the decision.


-- 
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/CAOdo=SzeUJfNaLpt_iP-vDm=avgpmtnbe7srriutjy8r3z2...@mail.gmail.com



Re: Do I own an unsupported optical IDE drive?

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 17:54:00 +0100, Horace Dynamite wrote:

> On 22 July 2011 16:43, Camaleón  wrote:
>> Uff, have you tried with another IDE cable? Those seem hardware errors.
> 
> I installed the Debian system using this optical drive, so I think this
> proves that my optical drive and IDE cable are working properly, for, it
> was only three days ago that I installed Debian. Is that true?

Well, the unit can be in its finals days and the fact you could install 
from it with no apparent/visible errors is not a proof of its health... 
BTW, how old is it?

> Unfortunately, I don't own a spare IDE cable.

Then you can re-sit the current one, just in case it has been slightly 
moved or became loose.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.17.27...@gmail.com



Re: Do I own an unsupported optical IDE drive?

2011-07-22 Thread Horace Dynamite
On 22 July 2011 16:43, Camaleón  wrote:
> Uff, have you tried with another IDE cable? Those seem hardware errors.

I installed the Debian system using this optical drive, so I think
this proves that my optical drive and IDE cable are working properly,
for, it was only three days ago that I installed Debian. Is that true?
Unfortunately, I don't own a spare IDE cable.

Thanks for replying,

Horace.


--
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/CAGVW+M1B0LQX=t+mrikldp2tka0q3ks9vuwbv1duw22qlhs...@mail.gmail.com



Re: Daisy/MP3 player

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 15:51:18 +0100, Lisi wrote:

> I am wanting to mount a Daisy/MP3** player as a block device to get
> access to the files on it.  dmesg* lists it, but I am not succeeding in
> finding its device name.  It did once mount itself (or rather, I imagine
> that HAL mounted it) but I cannot get this behaviour to repeat.
> 
> *Tux:/home/lisi# dmesg | grep usb

(...)

Better "dmesg | tail -n 30" to get the latest full 30 lines :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.45...@gmail.com



Re: Debian Lenny / Twitux 0.61 / Login

2011-07-22 Thread Frederic Robert
On Fri, Jul 22, 2011 at 04:03:39PM +, Camaleón wrote:
> Then it can be what the bug says: the auth method has changed and is not 
> supported :-(

Thank you.

-- 
Frederic Robert


-- 
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/20110722164249.ga13...@petra.fredericrobert.be



Re: Daisy/MP3 player

2011-07-22 Thread Claudius Hubig
Lisi  wrote:
>I am wanting to mount a Daisy/MP3** player as a block device to get access to 
>the files on it.  dmesg* lists it, but I am not succeeding in finding its 
>device name.  It did once mount itself (or rather, I imagine that HAL mounted 
>it) but I cannot get this behaviour to repeat. 

What does

ls -l /dev/sd*

say? Does it turn up in $(lsusb)? Which other tools (HAL, udev,
specific desktop environments) are you using which could interfere
with the mounting?

Best regards,

Claudius
-- 
Pardon me while I laugh.
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net/ http://nightfall.org



-- 
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/20110722183342.288ad...@ares.home.chubig.net



Re: bind does not want to die (squeeze)

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 12:13:07 -0300, Henrique de Moraes Holschuh wrote:

> On Fri, 22 Jul 2011, Camaleón wrote:
>> On Fri, 22 Jul 2011 13:14:52 +0300, Jari Fredriksson wrote:
>> > I have two 32 bit squeeze machines running bind. Then I try to
>> > shutdown them, they will not die. The console shows "stopping x"
>> > (pid) repeatedly.
>> > 
>> > I have to kill -9 the bind manually, so the shutdown process can
>> > continue.
>> > 
>> > Is this is common feature, or there something wrong with my systems?
> 
> It is a bad initscript.  If bind does not answer for whatever reason, it
> gets in an endless loop.

You mean is a reported/unsolved bug? :-?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.28...@gmail.com



Re: OT: Software that will populate a database from csv data?

2011-07-22 Thread George
On Fri, Jul 22, 2011 at 6:42 PM, Darac Marjal  wrote:
> On Fri, Jul 22, 2011 at 04:44:53PM +0300, George wrote:
>> I'm looking for software that will accept as input a csv file and a database
>> schema and will populate the database with the data in the csv. I'm not 
>> talking
>> about something simple that will fill a single table, but rather something 
>> that
>> can work foreign key constraints and can respect one-to-many, many-to-one and
>> many-to-many relations.
>
> You haven't told us which database software you're using (CSV is a kind
> of database, but I'll ignore the trivial cp), so I'll assume mysql.
>
> $ mysqlimport --fields-terminated-by=\, --fields-enclosed-by=\" MyDatabase
> MyBackup.csv

But that only works for a single table, please re-read my original post.


-- 
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/CAO=sJoU9vu6CRmi8mBOOo0cXwFt8Jn6zd=RAt=7g5jbm7dt...@mail.gmail.com



Re: How I can remove my folder icons in desktop screen?

2011-07-22 Thread Camaleón
On Thu, 21 Jul 2011 05:34:04 +0200, Stanisław Findeisen wrote:

> On 2011-07-20 17:12, Camaleón wrote:
>> On Tue, 19 Jul 2011 21:29:50 +0200, Stanisław Findeisen wrote:
>>> # This file is written by xdg-user-dirs-update # If you want to change
>>> or add directories, just edit the line you're # interested in. All
>>> local changes will be retained on the next run # Format is
>>> XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped #
>>> homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an #
>>> absolute path. No other format is supported. #
>>> XDG_DESKTOP_DIR="$HOME/Desktop"
>>> XDG_DOWNLOAD_DIR="$HOME/tmp"
>>> XDG_TEMPLATES_DIR="$HOME/tmp"
>>> XDG_PUBLICSHARE_DIR="$HOME/tmp"
>>> XDG_DOCUMENTS_DIR="$HOME/tmp"
>>> XDG_MUSIC_DIR="$HOME/tmp"
>>> XDG_PICTURES_DIR="$HOME/tmp"
>>> XDG_VIDEOS_DIR="$HOME/tmp"
>>>
>>> and it seems to work (no icons, no dirs) however I don't know if it
>>> has any side effect or not.
>> 
>> I hope not. It is intended for user customization. But does your user
>> have a "/tmp" folder? :-?
> 
> You mean $HOME/tmp ? Yes.

Then it should be okay. That folder is not there by default, so I asked.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.12...@gmail.com



Re: secured pdf

2011-07-22 Thread Camaleón
On Sat, 16 Jul 2011 21:52:16 -0500, Brian Ryans wrote:

> Quoting Camaleón on 2011-07-15 05:59:
>> Secure PDF are files that embed DRM or strong encryption (AES 256) that
>> prevents the reader to perform some operations (copy text, print to
>> file, extrcat images...). There are also files that are very limited
>> based on Adobe LiveCycle settings policy (this is done at server side).
> 
> Or at least _try_ to prevent it. See my sig.
> 
> The only 100% failproof way to prevent John Doe printing a file? Prevent
> Mr Doe from acquiring the file in the first place. It may be rocket
> surgery, but it's not /impossible/.

If it can be viewed, it can be reproduced :-)

But the question here is at what level, what is the cost to get the copy 
and finally if it's worth it. Probably the answer to the last question is 
"no".

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.17...@gmail.com



LaTeX to HTML converters and comments.

2011-07-22 Thread peasthope
Folk,

tth converts LaTeX to HTML nicely but strips the comments.
The manual remarks "% Comments. Simply removed."  Can anyone 
suggest a converter which encloses each comment in ?

Thanks,... Peter E.




-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .


-- 
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/171057078.38127.31701@cantor.invalid



Re: /run pointing to /var/run instead of the opposite

2011-07-22 Thread Sven Joachim
On 2011-07-22 16:44 +0200, Alejandro Exojo wrote:

> I'm running Debian unstable, and I have a chroot environment where I have 
> another Debian unstable installation. Today I've updated the chroot 
> environment because it was very dated, and I've noticed that /run is a 
> symbolic link pointing to /var/run, instead of the other way round:
>
> In the chroot:
> $ file /run /var/run/
> /run:  symbolic link to `/var/run'
> /var/run/: directory
>
> In the true system:
> $ file /run/ /var/run
> /run/:directory
> /var/run: symbolic link to `/run'
>
> I think I can do the changes myself by hand, but I wonder if it will be 
> appropriate (maybe is that way for a reason), or if I have hit a bug that I 
> should report.

This is intentional, read the sysvinit 2.88dsf-13.3 changelog entry for
explanations.

> I need to change it because I need an application in the chroot to connect to 
> CUPS from outside the chroot, and this is done through a socket on 
> (/var)/run/cups. And schroot can't do the bind mount if the chroot /run is a 
> link.

I guess you need to do the changes yourself then.  Note that the problem
does not exist in freshly debootstrapped chroots.

Sven


-- 
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/8739hyuw5c@turtle.gmx.de



Re: Backup Software

2011-07-22 Thread Siard
Michael Checca:
> Camaleón:
> > Ethan Rosenberg:
> > > What software would you recommend to backup a Debian system on a
> > > stand-alone computer?
> >
> > tar + compression
> 
> +1 for simplicity :)

Nowadays' harddisks have plenty of space, so I would make it even
simpler:

cp -a


--
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/20110722181654.fb97ceb1.shiems...@kpnplanet.nl



Re: How I can remove my folder icons in desktop screen?

2011-07-22 Thread Camaleón
On Wed, 20 Jul 2011 18:27:08 +, Liam O'Toole wrote:

> On 2011-07-20, Camaleón  wrote:
>> On Wed, 20 Jul 2011 16:21:14 +, Liam O'Toole wrote:
>>
>>> On 2011-07-20, Camaleón  wrote:
>>> 
>>> (...)
>>> 
 I also wonder what all that pre-set folders are for.
>>> 
>>> Applications which follow the specification use these folders without
>>> requiring the user to configure them manually. So firefox, for
>>> example, will use the DOWNLOAD directory to save downloaded files.
>>> OpenOffice will save new documents in DOCUMENTS, etc. Both
>>> applications can be configured to use alternative locations.
>>
>> Yes, I know that applications find that variables very useful to set
>> their defaults but I wondered if what apps find useful match with
>> user's POW :-)
> 
> POW?

Err... wait, "POV" :-)

>> (i.e., I have instructed Firefox to drop files under my $HOME/Desktop
>> because I barely use the rest of those predefined folders)
> 
> So you can set DOWNLOADS=Desktop in xdg-user-dirs and you don't have to
> instruct firefox or any other compliant application. The idea is that
> you only need to do it once. Furthermore, you can choose which
> predefined folders to use and disregard the rest.

Yes, yes... I know. 

But I don't remember to have had all that folders in GNOME in the past, I 
mean, besides the /Desktop one. The rest (/videos, /images, /sounds, /
movies, /downloads...) looks to me like someone is wanting to imitate the 
Windows system (My Downloads, My Videos, My Pictures... Oh My!).

:-)

 It should be nice to
 have a simple "switch" to turn them off/on.
>>> 
>>> See /etc/xdg/user-dirs.conf.
>>
>> I have nothing in there:
>>
>> sm01@stt008:~$ LANG=POSIX cat /etc/xdg/user-dirs.conf cat:
>> /etc/xdg/user-dirs.conf: No such file or directory
> 
> It is supplied by xdg-user-dirs:
> 
> $ apt-file search /etc/xdg/user-dirs.conf xdg-user-dirs:
> /etc/xdg/user-dirs.conf

I don't have it installed :-)

So, finally, is that package needed to have that setting working? :-?

>> Anyway, I said a "simple swicth" that in GNOME usually means tweaking
>> "gconf", not having to dive into configurations files ;-)
> 
> I don't think GNOME gives you that. The situation is unlikely to improve
> in GNOME 3.

Yes, I know there is not such option. It was just a "wish".

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.10...@gmail.com



Re: Re: Multiseat on Nvidia Card

2011-07-22 Thread Marcelo Laia
Here is my /etc/gdm/gdm.conf

[daemon]
[security]
[xdmcp]
[gui]
[greeter]
[chooser]
[debug]

[servers]
#0=Xbase
0=XServer0
1=XServer1

#[server-Xbase]
#name=Xbase
#command=/usr/bin/X
#handled=false
#flexible=false
#chooser=false
#priority=0

[server-XServer0]
name=Server 0
#command=/usr/bin/X -br -audit 0 -layout seat0 :0 vt7 -sharevts
#command=/usr/bin/X -br -audit 0 -nolisten tcp -novtswitch -sharevts
-layout seat0
command=/usr/bin/X -nolisten tcp -novtswitch -sharevts -r -config
xorg.conf -layout seat0
#command=/usr/bin/X -nolisten tcp -novtswitch -sharevts -layout seat0
handled=true
flexible=true

[server-XServer1]
name=Server 1
#command=/usr/bin/X -br -audit 0 -layout seat1 :1 vt8 -sharevts
#command=/usr/bin/X -br -audit 0 -nolisten tcp -novtswitch -sharevts
-layout seat1
command=/usr/bin/X -nolisten tcp -novtswitch -sharevts -r -config
xorg.conf -layout seat1
#command=/usr/bin/X -nolisten tcp -novtswitch -sharevts -layout seat1
handled=true
flexible=true



-- 
Marcelo Luiz de Laia


-- 
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/CAEEYVUD01+3jCZm4Y6FDBYzyi-oUhEXYBUE2u=zahf--++d...@mail.gmail.com



Re: Debian Lenny / Twitux 0.61 / Login

2011-07-22 Thread Camaleón
On Thu, 21 Jul 2011 01:14:58 +, Frederic Robert wrote:

> On Wed, Jul 20, 2011 at 03:16:27PM +, Camaleón wrote:
>> How about launching the client from command line?
> 
> Acces Denied.

Then it can be what the bug says: the auth method has changed and is not 
supported :-(

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.03...@gmail.com



Re: ssh: no route to host

2011-07-22 Thread Camaleón
On Wed, 20 Jul 2011 14:51:45 -0500, Hugo Vanwoerkom wrote:

> Camaleón wrote:
>> On Wed, 20 Jul 2011 10:05:24 -0500, Hugo Vanwoerkom wrote:
>> 
>> (...)
>> 
>>> Every so often when I connect from the desktop to the laptop with ssh,
>>> I get:
>>>
>>> ssh: connect to host 192.168.1.194 port 22: No route to host
>> 
>> (...)
>> 
>> Yep, as Walter suggested, this can be a problem with DHCP that has
>> given another IP to the laptop. If you have only two machines in the
>> LAN, give them static IPs so you don't have to depend on your router's
>> DHCP eccentricities :-)
>> 
>> 
> But the IP should show up in ifconfig, no?

Yes, please run it ("/sbin/ifconfig") and put here the output.

> And that did not change after the failure...

We cannot know unless you provide additional data :-)

"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

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.16.00...@gmail.com



Re: Debian on x86.

2011-07-22 Thread Camaleón
On Thu, 21 Jul 2011 01:56:57 +0400, stayvoid stayvoid wrote:

> My processor is x86.

Wow... that's very generic :-)

Processor brand and model?

64-bits capable processors are also x86.

> Which one should I download?
> http://www.debian.org/releases/squeeze/debian-installer/

That would depend... how much memory do you have?

> My OS is Windows XP and I need to make a backup of my data, but I also
> want to use this data in the future (on Debian). Could you recommend me
> something? Are there any software solutions (not just copy and paste)?
> Windows-based ntbackup is not working in that way.

Windows backup utility is quite good. It allows normal, differential and 
incremental backups, scheduled backups, etc... The only drawback is that 
it uses a proprietary format and generated files can be only read by 
windows systems.

In the past I used Areca Backup¹ (it's java based, it works on both, 
windows and linux systems) and there is also Cobian² Backup for Windows, 
which seems to be very popular for that OS.

But you can still access your windows data from Debian, so no need to 
make a backup for that specific reason.

¹http://www.areca-backup.org/
²http://www.educ.umu.se/~cobian/cobianbackup.htm

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.55...@gmail.com



Re: Backup Software

2011-07-22 Thread Michael Checca

On Fri, 22 Jul 2011 11:44:50 -0400, Camaleón  wrote:


On Wed, 20 Jul 2011 23:52:45 -0400, Ethan Rosenberg wrote:


What software would you recommend to backup a Debian system on a
stand-alone computer?


tar + compression

Greetings,



+1 for simplicity :)
I've used this method before to completely restore my laptop and it worked  
perfectly.


--
Michael Checca
echo "complaints" > /dev/null


--
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/op.vy02efii4b8ft1@michael-laptop



Re: Backup Software

2011-07-22 Thread Camaleón
On Wed, 20 Jul 2011 23:52:45 -0400, Ethan Rosenberg wrote:

> What software would you recommend to backup a Debian system on a
> stand-alone computer?

tar + compression

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.44...@gmail.com



Re: Do I own an unsupported optical IDE drive?

2011-07-22 Thread Camaleón
On Thu, 21 Jul 2011 11:28:07 +0100, Horace Dynamite wrote:

> I have a lot of ATA link errors in my dmesg, 
> ;  BEGIN 
> [318539.569748] ata2: exception Emask 0x73 SAct 0x0 SErr 0x
> action 0xe frozen
> [318539.569751] ata2: irq_stat 0x, unknown FIS  
>  , host bus
> [318539.569756] ata2: SError: { RecovData RecovComm UnrecovData Persist
> Proto HostInt PHYRdyChg PHYInt CommWake 10B8B Dispar BadCRC Handshk
> LinkSeq TrStaTrns UnrecFIS DevExch } [318539.569765] ata2: hard
> resetting link [318541.100038] ata1: failed to resume link (SControl
> ) 
> ; END 

Uff, have you tried with another IDE cable? Those seem hardware errors.
 
(...)

> Am I right in thinking this implies my optical drive is not supported?
> My current optical drive has an IDE interface, using this Ultra DMA
> stuff on an Abit AB9 motherboard. I thought I should get a SATA drive,
> does this seem reasonable (my SATA disk drives work flawlessly with the
> SATA interface)?

There are not unsupported IDE optical devices. There can be problems with 
the firmware with some of these units (I remember about LG devices that 
came with the "bluebirds" utility embedded on it that caused problems in 
linux systems) but as per the above errors I would think it's a kind of 
hardware related issue (either change the IDE cable with a new one and/or 
remove the optical unit to use it with an external enclosure to connect 
it via USB port. A failure in the IDE port of the board is also a 
possibility besides a problem with the unit itself).

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.43...@gmail.com



Re: OT: Software that will populate a database from csv data?

2011-07-22 Thread Darac Marjal
On Fri, Jul 22, 2011 at 04:44:53PM +0300, George wrote:
> I'm looking for software that will accept as input a csv file and a database
> schema and will populate the database with the data in the csv. I'm not 
> talking
> about something simple that will fill a single table, but rather something 
> that
> can work foreign key constraints and can respect one-to-many, many-to-one and
> many-to-many relations.

You haven't told us which database software you're using (CSV is a kind
of database, but I'll ignore the trivial cp), so I'll assume mysql.

$ mysqlimport --fields-terminated-by=\, --fields-enclosed-by=\" MyDatabase
MyBackup.csv

> 
> 
> -- 
> 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/CAO=sjovt_u_tjuhuye7fwfpb+6s+m1dxoqdpw1vzgh-75fb...@mail.gmail.com
> 

-- 
-- 
Paul Saunders


signature.asc
Description: Digital signature


Re:

2011-07-22 Thread Umarzuki Mochlis
2011/7/22 

> Hi
>
> I have copied a local repository they with squeeze that a friend
> facilitated me now I want to upgrade it of internet.
>
> the question is that i gives me error when verifying the keys.
>
> with which commands can be requested and did to install the keys of
> ftp.debian.org or ftp.us.debian.org and security.debian.org to upgrade my
> repository Owe squeeze???
>

what is the output of these two commands?

aptitude update
aptitude safe-upgrade -y

-- 
Regards,

Umarzuki Mochlis
http://debmal.my


Re: IDT High Definition Audio Codec soundcard

2011-07-22 Thread Camaleón
On Thu, 21 Jul 2011 20:50:50 +0200, Andreas Berglund wrote:

> 张启德(Zhang Qide) skrev 2011-07-21 16:17:
>> On Thu, Jul 21, 2011 at 02:55:46PM +0200, Andreas Berglund wrote:
>>> Hi!
>>> I have the latest version of debian stable and I have an onboard IDT
>>> High Definition Audio Codec but I can't get it to work, does anyone
>>> know if there's support for it? If not is there any on the way or do I
>>> need to buy a new one?

>> did you try "sudo alsactl init" ?
>> see http://wiki.debian.org/ALSA

> Thanks for the tip, I just tried it and it didn't make any difference,
> still no sound coming out.

IDT is a very generic Sigma chipset. You will have to dig a bit into your 
system to find out more information about the codec it uses. For 
instance, give us the output of:

cat /proc/asound/card0/codec#* | grep Codec
aplay -L
lspci -nn | grep -i audio

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.35...@gmail.com



Re: Download Debian live CD testing?

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 14:30:24 +0200, W. Martin Borgert wrote:

> Quoting "Noah Duffy" :
>> http://www.debian.org/CD/live/
>>
>> That should help you out.
> 
> I cannot find any reference to wheezy/testing (nor sid/unstable) on that
> page, only squeeze/stable. Thanks anyway.

http://live.debian.net/

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.22...@gmail.com



Re: How to Clone a Drive with 512 byte Sectors to a Drive with 4096 bytes/sector (AF)?

2011-07-22 Thread Camaleón
On Thu, 21 Jul 2011 19:26:08 -0700, Mark Phillips wrote:

(...)

> I want to clone the smaller drive to the larger drive so I can replace
> the smaller drive with the larger drive, so I need to preserve the dual
> boot capability. I have tried the latest testing-amd64 Clonezilla, but
> it fails. I tried the proportional setting and it still failed.

Take a look (again) at Clonezilla LiveCD, it has some advanced options 
you can tweak when restoring the partition (e.g., do not create partition 
table and resize the partition).

Also, I prefer to use Gparted in the target disk to have all the 
partitioning made before dumping the image from Clonezilla.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.18...@gmail.com



Re: Repository keys (was: (none))

2011-07-22 Thread Simon Brandmair
On 22/7/2011 16:40 co...@esid.gecgr.co.cu wrote:
> I have copied a local repository they with squeeze that a friend
> facilitated me now I want to upgrade it of internet.
>
> the question is that i gives me error when verifying the keys.
>
> with which commands can be requested and did to install the keys of
> ftp.debian.org or ftp.us.debian.org and security.debian.org to upgrade my
> repository Owe squeeze???

The keys with which the debian repository is signed are in the package
"debian-archive-keyring". Also have a look at apt-key.

If you need more help, post more info (what excatly are you doing, what
error message).

Cheers,
Simon


-- 
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/j0c2qf$c09$1...@news.albasani.net



Re: bind does not want to die (squeeze)

2011-07-22 Thread Henrique de Moraes Holschuh
On Fri, 22 Jul 2011, Camaleón wrote:
> On Fri, 22 Jul 2011 13:14:52 +0300, Jari Fredriksson wrote:
> > I have two 32 bit squeeze machines running bind. Then I try to shutdown
> > them, they will not die. The console shows "stopping x" (pid)
> > repeatedly.
> > 
> > I have to kill -9 the bind manually, so the shutdown process can
> > continue.
> > 
> > Is this is common feature, or there something wrong with my systems?

It is a bad initscript.  If bind does not answer for whatever reason, it
gets in an endless loop.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
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/20110722151306.ga9...@khazad-dum.debian.net



Re: Postfix and virtual_transport = maildrop

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 11:03:25 +0200, Andrea Ganduglia wrote:

> I have a Debian-box well configured with
> Postfix+saslauthd+dovecot+spamassassin. Mail accounts are virtual, with
> password stored into MySQL and messages store into /home/vmail.
> 
> I would like introduce maildrop in delivery chain, basically for move
> spam messages into proper .Junk account folder, but it's not so easy as
> I expected.

(...)

Yes, as Darac has suggested, use sieve for filter messages.

It works very well (at least with Cyrus imap server that's what I use, 
but Dovecot should be similar) and is very easy to setup once you know 
how it works. Besides, there are also tools for users to manage their own 
filter rules at server side.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.15.05...@gmail.com



Re: Keys and repo Debian

2011-07-22 Thread Facundo Aguirre
Hi, check
http://wiki.debian.org/SecureApt
http://serendipity.ruwenzori.net/index.php/2006/01/05/apt-update-public-key-is-not-available-no_pubkey

Hope that helps!


On Fri, Jul 22, 2011 at 10:42:08AM -0400, co...@esid.gecgr.co.cu wrote:
> Hi
> 
> I have copied a local repository they with squeeze that a friend
> facilitated me now I want to upgrade it of internet.
> 
> the question is that i gives me error when verifying the keys.
> 
> with which commands can be requested and did to install the keys of
> ftp.debian.org or ftp.us.debian.org and security.debian.org to upgrade my
> repository Owe squeeze???
> 
> 
> Greetings
> Cosme
> 
> 
> 
> 
> 
> **
> Empresa de Servicios de Ingeniería y Diseño de Granma
> 
> 
> 
> 
> -- 
> 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/3e3252b8499d64072b04e1e20b723545.squirrel@sax

-- 
Por favor, evita enviarme documentos adjuntos en formato Word o PowerPoint
http://www.gnu.org/philosophy/no-word-attachments.es.html


-- 
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/20110722150448.gb1...@debian-movil.com.ar



Re: Multiseat on Nvidia Card

2011-07-22 Thread Hugo Vanwoerkom

Marcelo Luiz de Laia wrote:

Thank you for point me out that Nvidia Forum post.

In there, I found:

[quote]
The trick it seems is to start both X servers as close in time as
possible to one another.
[/quote]

[quote]
To make it easier on myself, I have written two simple bash scripts
that wait until the other script is running before they start the X
servers. This ensures both start very close together.
[/quote]

Could someone that have skill on bash script help me here? I didn't
have no idea how do that.



I thought you used gdm to start the servers. Where would the scripts go?

Hugo


--
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/j0c37s$cfn$1...@dough.gmane.org



Re: bind does not want to die (squeeze)

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 13:14:52 +0300, Jari Fredriksson wrote:

> I have two 32 bit squeeze machines running bind. Then I try to shutdown
> them, they will not die. The console shows "stopping x" (pid)
> repeatedly.
> 
> I have to kill -9 the bind manually, so the shutdown process can
> continue.
> 
> Is this is common feature, or there something wrong with my systems?

Stopping bind9 can take some time.

How are you stopping the service?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.14.59...@gmail.com



Re: ssh: no route to host

2011-07-22 Thread Hugo Vanwoerkom

Joe wrote:

On Thu, 21 Jul 2011 19:55:16 +0100
Brian  wrote:


On Wed 20 Jul 2011 at 14:51:45 -0500, Hugo Vanwoerkom wrote:


Camaleón wrote:
Yep, as Walter suggested, this can be a problem with DHCP that has 
given another IP to the laptop. If you have only two machines in

the LAN, give them static IPs so you don't have to depend on your
router's DHCP eccentricities :-)


But the IP should show up in ifconfig, no? And that did not change
after the failure...

The advice is still not unsound though. It will take DHCP out of
consideration.

Is the problem one which appears after being able to ssh to the laptop
successfully at some earlier time, like 5 minutes ago? What happens
with ping/traceroute/ssh/telnet/route/arp from desktop to laptop and
vice versa? Is there wireless on either machine? Does taking down the
firewall on the router make any difference?




Another line of thought: being a laptop, does it go into standby or
hibernation? Debian doesn't have a great record for waking up the
machine properly afterwards.

Not without first doing some research using Ubuntu...



No, as I said, the problem only occurs after doing a reboot on the laptop

Hugo


--
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/j0c2sc$ap0$1...@dough.gmane.org



Daisy/MP3 player

2011-07-22 Thread Lisi
I am wanting to mount a Daisy/MP3** player as a block device to get access to 
the files on it.  dmesg* lists it, but I am not succeeding in finding its 
device name.  It did once mount itself (or rather, I imagine that HAL mounted 
it) but I cannot get this behaviour to repeat. 

*Tux:/home/lisi# dmesg | grep usb
[snip]
25822.364046] usb 3-6: new high speed USB device using ehci_hcd and address 3
[25822.497726] usb 3-6: configuration #1 chosen from 1 choice
[25822.498624] usb 3-6: New USB device found, idVendor=11e2, idProduct=0054
[25822.498630] usb 3-6: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[25822.498633] usb 3-6: Product: BookSense
[25822.498635] usb 3-6: Manufacturer: HIMS
[25822.498638] usb 3-6: SerialNumber: 005274
[25822.865831] usbcore: registered new interface driver usb-storage
[25822.865852] usb-storage: device found at 3
[25822.865855] usb-storage: waiting for device to settle before scanning
[25827.864494] usb-storage: device scan complete
[25885.306038] usb 3-6: USB disconnect, address 3

It is there.  I must surely be able to mount it???

Lisi

**For those who are curious, Daisy is an OS audio file system that can store 
the whole of most books on one CD.  It appears to be used in the UK 
exclusively by the RNIB.  (An association which helps those who are visually 
impaired.)


-- 
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/201107221551.18702.lisi.re...@gmail.com



Re: problem that ext3 not recognized on 4G usb external drive freshly formated. only ext2

2011-07-22 Thread Camaleón
On Fri, 22 Jul 2011 08:18:41 -0400, Mitchell Laks wrote:

> Has anyone seen something like this?
> Here is the log of creating an ext3 partition on a device and lack of
> recognition as ext3 just ext2. very strange.

(...)

Safely remove the USB drive and connect it again.

Is the drive automounted under "/media"?

If no, what does dmesg say when you manually try to mount the flash drive 
as root either with "-t auto" or "-t ext3" or specifying no filesystem at 
all?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.07.22.14.48...@gmail.com



/run pointing to /var/run instead of the opposite

2011-07-22 Thread Alejandro Exojo
Hi.

I'm running Debian unstable, and I have a chroot environment where I have 
another Debian unstable installation. Today I've updated the chroot 
environment because it was very dated, and I've noticed that /run is a 
symbolic link pointing to /var/run, instead of the other way round:

In the chroot:
$ file /run /var/run/
/run:  symbolic link to `/var/run'
/var/run/: directory

In the true system:
$ file /run/ /var/run
/run/:directory
/var/run: symbolic link to `/run'

I think I can do the changes myself by hand, but I wonder if it will be 
appropriate (maybe is that way for a reason), or if I have hit a bug that I 
should report.

I need to change it because I need an application in the chroot to connect to 
CUPS from outside the chroot, and this is done through a socket on 
(/var)/run/cups. And schroot can't do the bind mount if the chroot /run is a 
link.

Thank you.

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net


-- 
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/201107221644.06343@badopi.org



Re: ssh: no route to host

2011-07-22 Thread Hugo Vanwoerkom

Brian wrote:

On Wed 20 Jul 2011 at 14:51:45 -0500, Hugo Vanwoerkom wrote:


Camaleón wrote:
Yep, as Walter suggested, this can be a problem with DHCP that has 
given another IP to the laptop. If you have only two machines in the 
LAN, give them static IPs so you don't have to depend on your router's 
DHCP eccentricities :-)


But the IP should show up in ifconfig, no? And that did not change after  
the failure...


The advice is still not unsound though. It will take DHCP out of
consideration.

Is the problem one which appears after being able to ssh to the laptop
successfully at some earlier time, like 5 minutes ago? What happens with
ping/traceroute/ssh/telnet/route/arp from desktop to laptop and vice
versa? Is there wireless on either machine? Does taking down the firewall
on the router make any difference?




No, the "problem" occurs only after I reboot the laptop. After 
rebooting, sometimes, the no route message appears after trying to ssh 
from the desktop.


Hugo


--
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/j0c1u1$40l$1...@dough.gmane.org



Keys and repo Debian

2011-07-22 Thread cosme
Hi

I have copied a local repository they with squeeze that a friend
facilitated me now I want to upgrade it of internet.

the question is that i gives me error when verifying the keys.

with which commands can be requested and did to install the keys of
ftp.debian.org or ftp.us.debian.org and security.debian.org to upgrade my
repository Owe squeeze???


Greetings
Cosme





**
Empresa de Servicios de Ingeniería y Diseño de Granma




-- 
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/3e3252b8499d64072b04e1e20b723545.squirrel@sax



[no subject]

2011-07-22 Thread cosme
Hi

I have copied a local repository they with squeeze that a friend
facilitated me now I want to upgrade it of internet.

the question is that i gives me error when verifying the keys.

with which commands can be requested and did to install the keys of
ftp.debian.org or ftp.us.debian.org and security.debian.org to upgrade my
repository Owe squeeze???


Greetings
Cosme


**
Empresa de Servicios de Ingeniería y Diseño de Granma




-- 
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/4ff2746b607c83ac958828f05bcefd4b.squirrel@sax



OT: Software that will populate a database from csv data?

2011-07-22 Thread George
I'm looking for software that will accept as input a csv file and a database
schema and will populate the database with the data in the csv. I'm not talking
about something simple that will fill a single table, but rather something that
can work foreign key constraints and can respect one-to-many, many-to-one and
many-to-many relations.


-- 
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/CAO=sjovt_u_tjuhuye7fwfpb+6s+m1dxoqdpw1vzgh-75fb...@mail.gmail.com



Re: vbox sid invalid mcookie

2011-07-22 Thread Cousin Stanley

Liam O'Toole wrote 

>> gdm should create .Xauthority for you, 
>> without the need to manually do the xauth stuff. 

 That's what I thought too
 after reading the xauth man page  

   "Normally xauth is not used 
to create the authority file entry
in the first place;  the program
that starts the  X  Server
( often xdm or startx ) does that."

  However, testing in this particular context
  doesn't provide either a new .Xauthority
  file if one doesn't exist in my home dir
  and doesn't provide an entry in an emply
  .Xauthority file if I first create one 
  via touch  

  I just re-tested to make sure  

o delete ~/.Xautority
o reboot or logout to restart X no difference
o A new .Xauthority file is not created
o No entries are added 
  to an empty .Xauthority file

  However, with an empty .Xauthority file
  there is no invalid-magic-cookie message,
  but disply // X server connection problems  

$ xdpyinfo
No protocol specified
unable to open display ":0.0"

$ opera
No protocol specified
cannot connect to X server :0.0
Connection refused

$ gimp

No protocol specified
Cannot open display

>> You are talking about starting applications f
>> from a terminal emulator such as gnome-terminal, 
>> and not from the console, right ?

  Right.

  The tests I just listed above
  were done using gnome terminal 

  If I now manually use xauth
  to add the magic cookies into
  an emplty .Xauthority file,
  then they float up as invalid 
  whenever I try to start programs
  as above  

  Perhaps if the X server display problem
  is first straightened out then the xauth
  magic cookie problem will fall into place 
  
  Perhaps not  

  Thanks a lot for the help and feedback  

  I really appreciate it 

-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona


-- 
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/j0bt22$9o4$1...@dont-email.me



Re: Can not startx anymore after the laptop was forced to turn off

2011-07-22 Thread Patrick Wiseman
On Fri, Jul 22, 2011 at 4:51 AM, jiang lei  wrote:
> Here is the result. I installed the nvidia-kernel-dkms and nvidia-glx
> package, changed the entry from "nouveau" to "nvidia", and run startx
> again. The nvidia LOGO showed and disappeared, still the black screen
> is what i get. what else can i do, remove the xorg and install it
> again?
>
> any suggestion? thanks

The fact that you're seeing the logo means that the driver is working.
 It's probably not the right one for the kernel you're running.  Make
sure you have the appropriate kernel header packages installed, then
try 'dpkg-reconfigure nvidia-kernel-dkms'.

Patrick


-- 
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/cajvvksp_26wjtts8d+lz-kceg85tgarygpyxdq41o4wreq6...@mail.gmail.com



Re: GPU hang "EQ overflowing. The server is probably stuck in an infinite loop"

2011-07-22 Thread José Silva

On 22/07/11 10:41, lee wrote:

Perhaps CONFIG_DEBUG_FS is not set for the kernel you are using?  I can
mount and unmount it just fine, and it shows up in the output of
"mount".
Does it show up when trying to mount it gives you the error message that
it's already mounted?  If it does, I'd wonder why it's already mounted.



I have CONFIG_DEBUG_FS=y on the kernel config file in /boot so I guess 
it's configured.


I just discovered, by watching fstab, that I had modified this to try to 
use the Switcheroo mechanism (switching GPU's), like this:

none/sys/kernel/debug   debugfs defaults0   0
which I'm not using because I came to the conclusion it wasn't fitted to 
my machine.


So I guess this wouldn't allow use debugfs. I umount'd and now I could 
mount it as instructed.


Did you install intel_gpu_dump by downloading it or by installing the
package intel-gpu-tools?  Did it write something to intel_gpu_dump.txt?



I installed xserver-xorg-video-intel-dbg using synaptics package manager 
and it asked to install intel-gpu-tools as a dependency. It didn't write 
anything after the freeze.


I'll interrupt this writing here to trigger the bug again and use 
intel_gpu_dump to see what happens.


So, I changed fstab, reboot, mounted debugfs, triggered the freeze, 
accessed by ssh and sudo intel_gpu_dump which produced the same error as 
before.


Looked at dmesg, Xorg.0.log and /sys/kernel/debug/dri/0/i915_error_state 
and saw nothing relevant there. Furthermore, I looked at 
https://wiki.ubuntu.com/X/Troubleshooting/Freeze which says that a 
backtrace on Xorg.0.log is a non-symptom because this isn't an X crash. 
So, I guess the debugging xserver won't give any results.


So, I guess the only thing that could give us information is 
intel_gpu_dump which I'm still not able to launch. Any idea how to do it?


Anyway, I had already reported the bug as #635039 but I wanted give some 
more information, which I still can't.


Thank you for your time,
rgds
jss


--
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/blu0-smtp15681bbb924e2dc6e9e3b76d0...@phx.gbl



Re: lost disk space

2011-07-22 Thread Frank McCormick

On 21/07/11 10:16 PM, green wrote:

Frank McCormick wrote at 2011-07-20 07:02 -0600:

On 20/07/11 08:48 AM, Selim T. Erdogan wrote:

Try baobab.  It's a graphical disk usage analyzer.  (I think it comes
with gnome.)


   It's the first thing I thought of after doing some preliminary
looking around..but for some reason it's not in Sid on my machine
and because I had no space left I couldn't install it :)


You may want to try ncdu.  Fewer dependencies and much more elegant.


  I'll have a look..thanks


--
Cheers
Frank


--
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/4e297418.80...@videotron.ca



Re: lost disk space

2011-07-22 Thread Frank McCormick

On 22/07/11 06:20 AM, Ivan Shmakov wrote:

Frank McCormick  writes:


  >  Spent a few hours watching online video tonight (the Discovery
  >  website) and discovered afterwards that I had lost about 7 GIGS of
  >  diskspace!!  I assume it was because of all that video watching (in
  >  Google-Chrome) but now I can't find out where it's gone ?  I only
  >  have 14 gigs on this partition..and I've managed to free up about a
  >  gig..but I have to find the other 6 or 7 gigs. I deleted the google
  >  cache..and config files...looked in /tmp and a few other places but I
  >  am stumped.

While you may have removed the /filenames/, the files may still
persist, if opened by a process.

Personally, I'd close all the unnecessary applications and all
the X sessions, log in at the text VT (usually, Ctrl-Alt-F2 or
Alt-F2 switch to one), and carefully examine the list of my
running processes with $ ps x.  If there's anything that looks
like it has entered an infinite loop, or otherwise suspicious,
I'd kill it with $ kill (and if it doesn't respond, with
$ kill -9.)




	That's what I ended up doing after I found two 3.5 gig logfiles in 
/var/log, the result of errors from the Intel driver on this machine.

But there were no running processes at that point.

Thanks

--
Cheers
Frank


--
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/4e29734e.4080...@videotron.ca



Re: Download Debian live CD testing?

2011-07-22 Thread W. Martin Borgert

Quoting "Noah Duffy" :

http://www.debian.org/CD/live/

That should help you out.


I cannot find any reference to wheezy/testing (nor
sid/unstable) on that page, only squeeze/stable.
Thanks anyway.


On Jul 21, 2011 11:51 AM, "W. Martin Borgert"  wrote:

Hi,

a colleague just asked where they can download Debian
Live CD for testing/wheezy. Do they exist? TIA.

Cheers


--
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/20110721183428.10371zcv7dm18...@webmail.in-berlin.de









--
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/20110722143024.20426jtxia3d4...@webmail.in-berlin.de



Re: how to add debian repository to mac source.list

2011-07-22 Thread lina
On Fri, Jul 22, 2011 at 8:06 PM, Darac Marjal  wrote:
> On Fri, Jul 22, 2011 at 06:58:07PM +0800, lina wrote:
>> The error messages show as below
>>
>> $ sudo apt-get update
> [cut]
>> Fetched 5903kB in 12s (457kB/s)
>> Failed to fetch
>> http://http.us.debian.org/debian/dists/stable/main/binary-darwin-x86_64/Packages
>>  404 Not Found [IP: 64.50.236.52 80]
>
> You'll notice here that apt-get is trying to fetch the Packages file for
> the "binary-darwin-x86_64" architecture. Debian doesn't (currently, it
> may not ever) support the Darwin operating system. You're having the
> same problem that someone using cygwin on Win32 would have, namely
> you're trying to mix two different operating systems.

Thanks, It will be cool to "combine" different operating systems.
probably one day it will be easy to achieve multi-OSs, the same as
multi-tasks. It will be very great.
>
> --
> Paul Saunders
>



-- 
Best Regards,

lina


--
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/CAG9cJmmpr1d_gRfk3Wx0xpqtGkoG3GJ=k5k4uuvtcr-hkk8...@mail.gmail.com



Re: how do I create a kdm login for non-desktop user

2011-07-22 Thread Jari Fredriksson
22.7.2011 14:35, Mark Charles kirjoitti:
> For remote maintenance I want to add a default user called
> "fixme" with no password to the system.
> 
> If the remote user has problems with their computer they should be able
> to press Enter and "fixme" will login and run a script connecting the
> machine to the internet and send me the IP address in an email.
> 
> As "fixme" has no password I don't want them to have a desktop... how do
> I do this??
> I'd also prefer they don't have a home directory - is that possible??
> How can I setup fixme's login to just run my script??
> 

Quite strange setup. But OK.

- Set the home folder to /tmp/fixme or some other proprietary folder.
- Set the shell for fixme to your script.

I guess that should do it.


-- 

You prefer the company of the opposite sex, but are well liked by your own.



signature.asc
Description: OpenPGP digital signature


problem that ext3 not recognized on 4G usb external drive freshly formated. only ext2

2011-07-22 Thread Mitchell Laks
Has anyone seen something like this?
Here is the log of creating an ext3 partition on a device and lack of 
recognition as ext3 just ext2. very strange.

Rashi:/home/mlaks# fdisk /dev/sdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel with disk identifier 0x63528f63.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
 switch off the mode (command 'c') and change display units to
 sectors (command 'u').

Command (m for help): p

Disk /dev/sdd: 17.0 GB, 17022582784 bytes
64 heads, 32 sectors/track, 16234 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63528f63

   Device Boot  Start End  Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-16234, default 1): 
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-16234, default 16234): 
Using default value 16234

Command (m for help): p

Disk /dev/sdd: 17.0 GB, 17022582784 bytes
64 heads, 32 sectors/track, 16234 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63528f63

   Device Boot  Start End  Blocks   Id  System
/dev/sdd1   1   1623416623600   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Rashi:/home/mlaks# mkfs.ext3 /dev/sdd1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1040384 inodes, 4155900 blocks
207795 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4257218560
127 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 
2654208, 
   4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Rashi:/home/mlaks# mount /dev/sdd1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

Rashi:/home/mlaks# mount -t ext2 /dev/sdd1 /mnt

here is the relevant dmesg output:

[1073854.224034] usb 1-6: new high speed USB device using ehci_hcd and address 
10
[1073854.408037] usb 1-6: New USB device found, idVendor=0011, idProduct=7788
[1073854.408042] usb 1-6: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[1073854.408045] usb 1-6: Product: Mass Storage
[1073854.408047] usb 1-6: Manufacturer: Generic
[1073854.408050] usb 1-6: SerialNumber: 0E5C5CFF
[1073854.408178] usb 1-6: configuration #1 chosen from 1 choice
[1073854.408444] scsi13 : SCSI emulation for USB Mass Storage devices
[1073854.408542] usb-storage: device found at 10
[1073854.408544] usb-storage: waiting for device to settle before scanning
[1073859.404200] usb-storage: device scan complete
[1073859.405039] scsi 13:0:0:0: Direct-Access Generic  Flash Disk   
8.00 PQ: 0 ANSI: 2
[1073859.405710] sd 13:0:0:0: Attached scsi generic sg4 type 0
[1073859.407397] sd 13:0:0:0: [sdd] 33247232 512-byte logical blocks: (17.0 
GB/15.8 GiB)
[1073859.407890] sd 13:0:0:0: [sdd] Write Protect is off
[1073859.407893] sd 13:0:0:0: [sdd] Mode Sense: 03 00 00 00
[1073859.407896] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.410014] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.410018]  sdd: unknown partition table
[1073859.672005] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.672011] sd 13:0:0:0: [sdd] Attached SCSI removable disk
[1073921.167000] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073921.167005]  sdd: sdd1
[1074110.584687] JBD: no valid journal superblock found
[1074110.584691] EXT3-fs: error loading journal.
[1074126.668836] EXT2-fs warning (device sdd1): ext2_fill_super: mounting ext3 
filesystem as ext2

strange. it must be something strange about this usb drive. i got another one 
similar to it from a friend and it had same problem

Mitchell


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with

Re: how to add debian repository to mac source.list

2011-07-22 Thread Darac Marjal
On Fri, Jul 22, 2011 at 06:58:07PM +0800, lina wrote:
> The error messages show as below
> 
> $ sudo apt-get update
[cut]
> Fetched 5903kB in 12s (457kB/s)
> Failed to fetch
> http://http.us.debian.org/debian/dists/stable/main/binary-darwin-x86_64/Packages
>  404 Not Found [IP: 64.50.236.52 80]

You'll notice here that apt-get is trying to fetch the Packages file for
the "binary-darwin-x86_64" architecture. Debian doesn't (currently, it
may not ever) support the Darwin operating system. You're having the
same problem that someone using cygwin on Win32 would have, namely
you're trying to mix two different operating systems.

-- 
Paul Saunders


signature.asc
Description: Digital signature


how do I create a kdm login for non-desktop user

2011-07-22 Thread Mark Charles
For remote maintenance I want to add a default user called
"fixme" with no password to the system.

If the remote user has problems with their computer they should be able
to press Enter and "fixme" will login and run a script connecting the
machine to the internet and send me the IP address in an email.

As "fixme" has no password I don't want them to have a desktop... how do
I do this??
I'd also prefer they don't have a home directory - is that possible??
How can I setup fixme's login to just run my script??

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/4e29606a.7070...@yahoo.com.au



Re: GPU hang "EQ overflowing. The server is probably stuck in an infinite loop"

2011-07-22 Thread lee
José Silva  writes:

> On 21/07/11 18:52, lee wrote:
>>
>> You could send it about the xserver-xorg-video-intel package.  Perhaps
>> you can put additional information into the bug report when you
>> reproduce the problem with xserver-xorg-video-intel-dbg package
>> installed.
>
> Thank you for your help.
>
> Installed xserver-xorg-video-intel-dbg package and intel-gpu-tools as
> dependency with synaptics package manager. Followed instructions from
> here: http://intellinuxgraphics.org/intel-gpu-dump.html but couldn't
> mount debugfs because system says either it's already mounted or
> busy. I can't see it mounted with

Perhaps CONFIG_DEBUG_FS is not set for the kernel you are using?  I can
mount and unmount it just fine, and it shows up in the output of
"mount".

Does it show up when trying to mount it gives you the error message that
it's already mounted?  If it does, I'd wonder why it's already mounted.

> Anyway, triggered the hang-up, which is pretty repeatable, accessed
> the laptop with ssh and tried
> # intel_gpu_dump > intel_gpu_dump.txt
> Couldn't map MMIO region: No such file or directory

Did you install intel_gpu_dump by downloading it or by installing the
package intel-gpu-tools?  Did it write something to intel_gpu_dump.txt?

> Can you please tell me what's happening?

Unfortunately not :( And I don't have an Intel graphics card, so I can't
try it out.

Isn't it possible to run the X server in the debugger?  That's what the
debugging package should be good for.


-- 
http://www.asciiribbon.org/
http://tools.ietf.org/html/rfc1855
http://www.caliburn.nl/topposting.html


--
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/87bowmmzz7@yun.yagibdah.de



Re: how to add debian repository to mac source.list

2011-07-22 Thread Wolodja Wentland
Hi Lina,

On Fri, Jul 22, 2011 at 18:50 +0800, lina wrote:
> I tried simply added the debian repository into fink's sources.list,
> seems not work.

> ## Debian Main Repos
> deb http://http.us.debian.org/debian/ stable main contrib non-free
> deb-src http://http.us.debian.org/debian/ stable main contrib non-free
> deb http://www.debian-multimedia.org stable main non-free

[...]

> Err http://http.us.debian.org stable/main Packages
>   404 Not Found [IP: 64.50.236.52 80]

Could you try:


deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free

please? I am also not sure if this will work with fink at all and I would
strongly recommend to ask about this on the fink mailing list. [0] It might
very well be that Debian packages are /not/ immediately compatible with fink,
but I don't know enough about fink to make an authorative statement.

[0] http://www.finkproject.org/lists/fink-users.php
-- 
Wolodja 

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC


signature.asc
Description: Digital signature


Re: how to add debian repository to mac source.list

2011-07-22 Thread lina
The error messages show as below

$ sudo apt-get update
Err http://www.debian-multimedia.org stable/main Packages
  404 Not Found
Ign http://www.debian-multimedia.org stable/main Release
Err http://http.us.debian.org stable/main Packages
  404 Not Found [IP: 64.50.236.52 80]
Ign http://http.us.debian.org stable/main Release
Err http://www.debian-multimedia.org stable/non-free Packages
  404 Not Found
Err http://http.us.debian.org stable/contrib Packages
  404 Not Found [IP: 64.50.236.52 80]
Ign http://www.debian-multimedia.org stable/non-free Release
Ign http://http.us.debian.org stable/contrib Release
Err http://http.us.debian.org stable/non-free Packages
  404 Not Found [IP: 64.50.236.52 80]
Ign http://http.us.debian.org stable/non-free Release
Get:1 http://http.us.debian.org stable/main Sources [5766kB]
Get:2 http://http.us.debian.org stable/main Release [99B]
Get:3 http://http.us.debian.org stable/contrib Sources [48.3kB]
Get:4 http://http.us.debian.org stable/contrib Release [102B]
Get:5 http://http.us.debian.org stable/non-free Sources [88.8kB]
Get:6 http://http.us.debian.org stable/non-free Release [103B]
Fetched 5903kB in 12s (457kB/s)
Failed to fetch
http://http.us.debian.org/debian/dists/stable/main/binary-darwin-x86_64/Packages
 404 Not Found [IP: 64.50.236.52 80]
Failed to fetch
http://http.us.debian.org/debian/dists/stable/contrib/binary-darwin-x86_64/Packages
 404 Not Found [IP: 64.50.236.52 80]
Failed to fetch
http://http.us.debian.org/debian/dists/stable/non-free/binary-darwin-x86_64/Packages
 404 Not Found [IP: 64.50.236.52 80]
Failed to fetch
http://www.debian-multimedia.org/dists/stable/main/binary-darwin-x86_64/Packages
 404 Not Found
Failed to fetch
http://www.debian-multimedia.org/dists/stable/non-free/binary-darwin-x86_64/Packages
 404 Not Found
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://http.us.debian.org
stable/main Packages
(/sw/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org
stable/contrib Packages
(/sw/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_contrib_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org
stable/non-free Packages
(/sw/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_non-free_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://www.debian-multimedia.org
stable/main Packages
(/sw/var/lib/apt/lists/www.debian-multimedia.org_dists_stable_main_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://www.debian-multimedia.org
stable/non-free Packages
(/sw/var/lib/apt/lists/www.debian-multimedia.org_dists_stable_non-free_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org
stable/main Packages
(/sw/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org
stable/contrib Packages
(/sw/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_contrib_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org
stable/non-free Packages
(/sw/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_non-free_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://www.debian-multimedia.org
stable/main Packages
(/sw/var/lib/apt/lists/www.debian-multimedia.org_dists_stable_main_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://www.debian-multimedia.org
stable/non-free Packages
(/sw/var/lib/apt/lists/www.debian-multimedia.org_dists_stable_non-free_binary-darwin-x86%5f64_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old
ones used instead.

On Fri, Jul 22, 2011 at 6:50 PM, lina  wrote:
> Hi,
>
> I tried simply added the debian repository into fink's sources.list,
> seems not work.
>
> $ pwd
> /sw/etc/apt
>
> $ more sources.list
>
> # Default APT sources configuration for Fink, written by the fink program
>
> # Local package trees - packages built from source locally
> # NOTE: this is automatically kept in sync with the Trees: line in
> # /sw/etc/fink.conf
> # NOTE: run 'fink scanpackages' to update the corresponding Packages.gz files
> deb file:/sw/fink local main
> deb file:/sw/fink stable main crypto
> deb file:/sw/fink local injected
>
> # Put local modifications to this file below this line, or at the top.
>
> ## Debian

how to add debian repository to mac source.list

2011-07-22 Thread lina
Hi,

I tried simply added the debian repository into fink's sources.list,
seems not work.

$ pwd
/sw/etc/apt

$ more sources.list

# Default APT sources configuration for Fink, written by the fink program

# Local package trees - packages built from source locally
# NOTE: this is automatically kept in sync with the Trees: line in
# /sw/etc/fink.conf
# NOTE: run 'fink scanpackages' to update the corresponding Packages.gz files
deb file:/sw/fink local main
deb file:/sw/fink stable main crypto
deb file:/sw/fink local injected

# Put local modifications to this file below this line, or at the top.

## Debian Main Repos
deb http://http.us.debian.org/debian/ stable main contrib non-free
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
deb http://www.debian-multimedia.org stable main non-free


I guess it might be a terribly wrong way of adding like this, but I
did not find some other relevant link.

Thanks for any advice,

-- 
Best Regards,

lina


-- 
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/CAG9cJm=rduzskwu-ua2g8o0__w8ze+3-ju9sah-8nwu6p7m...@mail.gmail.com



bind does not want to die (squeeze)

2011-07-22 Thread Jari Fredriksson

I have two 32 bit squeeze machines running bind. Then I try to shutdown
them, they will not die. The console shows "stopping x" (pid)
repeatedly.

I have to kill -9 the bind manually, so the shutdown process can continue.

Is this is common feature, or there something wrong with my systems?



signature.asc
Description: OpenPGP digital signature


Re: lost disk space

2011-07-22 Thread Ivan Shmakov
> Frank McCormick  writes:

 > Spent a few hours watching online video tonight (the Discovery
 > website) and discovered afterwards that I had lost about 7 GIGS of
 > diskspace!!  I assume it was because of all that video watching (in
 > Google-Chrome) but now I can't find out where it's gone ?  I only
 > have 14 gigs on this partition..and I've managed to free up about a
 > gig..but I have to find the other 6 or 7 gigs. I deleted the google
 > cache..and config files...looked in /tmp and a few other places but I
 > am stumped.

While you may have removed the /filenames/, the files may still
persist, if opened by a process.

Personally, I'd close all the unnecessary applications and all
the X sessions, log in at the text VT (usually, Ctrl-Alt-F2 or
Alt-F2 switch to one), and carefully examine the list of my
running processes with $ ps x.  If there's anything that looks
like it has entered an infinite loop, or otherwise suspicious,
I'd kill it with $ kill (and if it doesn't respond, with
$ kill -9.)

-- 
FSF associate member #7257


-- 
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/86ei1iwr9a@gray.siamics.net



Re: rsync backup question

2011-07-22 Thread Ivan Shmakov
> Alan Chandler  writes:
> On 22/07/11 00:39, Thomas H. George wrote:

 >> I partitioned a 1 TG usbdrive as ext3, mounted it as /usbmem and
 >> entered the command rsync -r / /usbmem.

BTW, there's a convention of using /mnt for temporary mounts.

[…]

 > Isn't this going to go recursive?

 > Since usbmem is another file system the -x flag should prevent this.

It will prevent it from descending into /media, /sys/, /proc/
and /tmp/ just as well.  Unfortunately, it will also prevent
rsync(1) from descending into /usr/, /var/ & /home/, if these
are on separate filesystems.  If it's the case, I'd recommend to
use --exclude= instead, like:

# rsync -a -rH --exclude=/{media,mnt,sys,proc,usbmem}/ -- / /usbmem/ 

 > Also as another poster has said you need the -a and -H flags to
 > maintain file ownership and copy hardlinks

[…]

-- 
FSF associate member #7257


-- 
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/86ipquwrwn@gray.siamics.net



Re: Postfix and virtual_transport = maildrop

2011-07-22 Thread Darac Marjal
On Fri, Jul 22, 2011 at 11:03:25AM +0200, Andrea Ganduglia wrote:
> Hello --
> 
> I need some help in here :-/
> 
> I have a Debian-box well configured with
> Postfix+saslauthd+dovecot+spamassassin. Mail accounts are virtual,
> with password stored into MySQL and messages store into /home/vmail.
> 
> I would like introduce maildrop in delivery chain, basically for move
> spam messages into proper .Junk account folder, but it's not so easy
> as I expected.


If you're willing to learn sieve scripting instead of maildrop, dovecot
can do the filtering for you. This page[1] shows how to configure the
plugin. This should save you having to add another step to your chain
and means you don't have to touch your postfix configuration.


[1] http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration


-- 
Paul Saunders


signature.asc
Description: Digital signature


Re: 32bit vs 64bit

2011-07-22 Thread Ivan Shmakov
> Brad Alexander  writes:

[…]

 > Well, now 64bit is as stable as 32bit, and I want to upgrade my
 > machine to 64bit userland. Is there a reliable way to upgrade
 > existing packages? Or is a complete rebuild ("nuke and pave") the
 > best way?

[…]

 > Is there some middle ground?

It seem that there's one.

But first of all, there's a precondition: there must be an LVM
volume group with enough spare space for a new system.  Also, it
helps if the user (/home) and system (/, /boot, /usr, /var,
etc.) directories are on distinct filesystems.  (Both of those
hold for virtually any system under my control.)

Given that the above holds, I'd create new LVM logical volumes
for the new system, e. g.:

# vg=vgmysystem
# lvcreate -L 256M -n lvroot64 "$vg"
# lvcreate -L   4G -n lvusr64  "$vg"
# lvcreate -L   4G -n lvvar64  "$vg"
# 

Then, I'd create the filesystems on these new volumes, say:

# mke2fs -j -E resize=1G  /dev/"$vg"/lvroot64 
…
# mke2fs -j -E resize=8G  /dev/"$vg"/lvusr64 
…
# mke2fs -j -E resize=64G /dev/"$vg"/lvvar64 
…
# 

and mount these filesystems, and also tmpfs, to /mnt, e. g.:

# mount /dev/"$vg"/lvroot64 /mnt 
# mkdir -- /mnt/usr /mnt/var 
# install -d -m 01777 -- /mnt/tmp 
# mount /dev/"$vg"/lvusr64  /mnt/usr  
# mount /dev/"$vg"/lvvar64  /mnt/var  
# mount -t tmpfs tmpfs  /mnt/tmp 
# 

(I assume that both the old and the new system will share the
same /home, but /home isn't needed at this time.)

Finally, I'd debootstrap(8) the amd64 system into /mnt (I assume
that the i386 host system is used along with the amd64 kernel),
make all the necessary changes to /etc, chroot(8) to /mnt to
test the new setup, and then add the necessary bits to the GRUB
configuration.

After the above is done, I could boot either of the systems.
And if anything fails badly with one, I could still use the
other (e. g., for recovery.)

BTW, “rescue” or, say, “newstable”, OS versions may be installed
essentially the same way.

-- 
FSF associate member #7257


-- 
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/86mxg6wsgw@gray.siamics.net



Re: 6rd vs. interfaces(5)

2011-07-22 Thread Dejan Ribič

Dne 22.7.2011 11:09, piše Ivan Shmakov:

Rick Thomas  writes:
On Jul 21, 2011, at 3:29 AM, Ivan Shmakov wrote:

[…]

  >>  And in the case of NAT'ed IPv4, it's still possible to register for
  >>  a free-of-charge tunnel service at http://sixxs.net/ and use AICCU
  >>  (# apt-get install aiccu.)

  >  This (SIXXS) is what I use at home.  It works a treat for me.  Easy
  >  to set up. Easy to use. Fully connected to the IPv6 internet.

One of the ISP's here has finally started to offer IPv6, namely:
6to4 (AIUI, they run their own gateway for that) and 6rd.

Unfortunately, 6rd is only available for Linux 2.6.33 and later
(as per Wikipedia), which isn't in Squeeze.

But anyway, is there a way to add a 6rd tunnel to interfaces(5)?

TIA.


Hi,

   you can install 2.6.38 from squeeze-backports[1], works perfectly.

Cheers,

Dejan

[1]http://backports-master.debian.org/Instructions/


--
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/4e29400f.5040...@gmail.com



6rd vs. interfaces(5)

2011-07-22 Thread Ivan Shmakov
> Rick Thomas  writes:
> On Jul 21, 2011, at 3:29 AM, Ivan Shmakov wrote:

[…]

 >> And in the case of NAT'ed IPv4, it's still possible to register for
 >> a free-of-charge tunnel service at http://sixxs.net/ and use AICCU
 >> (# apt-get install aiccu.)

 > This (SIXXS) is what I use at home.  It works a treat for me.  Easy
 > to set up. Easy to use. Fully connected to the IPv6 internet.

One of the ISP's here has finally started to offer IPv6, namely:
6to4 (AIUI, they run their own gateway for that) and 6rd.

Unfortunately, 6rd is only available for Linux 2.6.33 and later
(as per Wikipedia), which isn't in Squeeze.

But anyway, is there a way to add a 6rd tunnel to interfaces(5)?

TIA.

-- 
FSF associate member #7257


-- 
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/86r55iwuky.fsf...@gray.siamics.net



Re: How to Clone a Drive with 512 byte Sectors to a Drive with 4096 bytes/sector (AF)?

2011-07-22 Thread mark
On Thursday 21 July 2011 10:26:08 pm Mark Phillips wrote:
> I have a 320 GB drive which dual boots Windows and Debian:
>
> Disk /dev/sda: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders, total 625142448
> sectors Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x81d6785f
>
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1  63   80324   40131   de  Dell
> Utility /dev/sda2   *   819203080191915367 
> HPFS/NTFS /dev/sda330801920   11272810440963092+   7 
> HPFS/NTFS /dev/sda4   112728105   625137344   2562046205 
> Extended /dev/sda5   *   112728168   604284974   245778403+  83 
> Linux /dev/sda6   604285038   62513734410426153+  82  Linux
> swap / Solaris Note: sector size is 4096 (not 512)
>
> and a new 750 GB drive with 4096 byte sectors:
>
> Disk /dev/sdb: 750.2 GB, 750156374016 bytes
> 255 heads, 63 sectors/track, 11400 cylinders, total 183143646
> sectors Units = sectors of 1 * 4096 = 4096 bytes
> Sector size (logical/physical): 4096 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x000d83bf
>
> I want to clone the smaller drive to the larger drive so I can
> replace the smaller drive with the larger drive, so I need to
> preserve the dual boot capability. I have tried the latest
> testing-amd64 Clonezilla, but it fails. I tried the proportional
> setting and it still failed.
>
> How can I clone the smaller drive to the larger drive?
>
> Thanks,
>
> Mark

mondoarchive

Simple, easy, elegant solution.

Mark


-- 
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/201107220507.30795.m...@neidorff.com



Postfix and virtual_transport = maildrop

2011-07-22 Thread Andrea Ganduglia
Hello --

I need some help in here :-/

I have a Debian-box well configured with
Postfix+saslauthd+dovecot+spamassassin. Mail accounts are virtual,
with password stored into MySQL and messages store into /home/vmail.

I would like introduce maildrop in delivery chain, basically for move
spam messages into proper .Junk account folder, but it's not so easy
as I expected.

I followed logic steps of this HOWTO (Maildrop section)
http://dertompson.com/2008/02/13/mail-server-setup-for-debian-etch

but if I set

virtual_transport = maildrop

in /etc/postfix/main.cf, messages are not delivered and log returns
those errors:

Jun 29 23:57:21 example postfix/pipe[28200]: 449B22548191:
to=, relay=spamassassin, delay=0.16, delays=0.05/0/0/0.11,
dsn=2.0.0, status=sent (delivered via spamassassin service)
Jun 29 23:57:21 example postfix/error[28168]: 69FCB25481B2:
to=, relay=none, delay=0.01, delays=0/0/0/0, dsn=4.3.0,
status=deferred (unknown mail transport error)

in short:

relay=none (unknown mail transport error)

If I use procmail --as a shot, because it doesn't works with virtual
accounts-- instead maildrop, I obtain the same error.

Any suggestions?

Relevant lines in /etc/postfix/master.cf

smtp  inet  n   -   n   -   -   smtpd -o
content_filter=spamassassin
maildrop  unix  -   n   n   -   -   pipe
 flags=DRhu user=postfix argv=/usr/bin/maildrop -d ${recipient}
spamassassin unix - n   n   -   -   pipe
user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f
${sender} ${recipient}

And my /etc/postfix/main.cf

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = example.com, localhost.net, localhost
relayhost =
mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:105
virtual_mailbox_base = /home/vmail/
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 102
virtual_transport = virtual
#virtual_transport = maildrop
#maildrop_destination_recipient_limit = 1
virtual_uid_maps = static:102
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
 permit_mynetworks,
 permit_sasl_authenticated,
 reject_non_fqdn_hostname,
 reject_non_fqdn_sender,
 reject_non_fqdn_recipient,
 reject_unauth_destination,
 reject_unauth_pipelining,
 reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
header_checks = regexp:/etc/postfix/header_checks

Thanks!

-Andrea

-- 
Openclose.it - Idee per il software libero
http://www.openclose.it


-- 
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/caheyzgopua7zzua8zpexiokdqfbjkez0of_rxtzaeq-5mas...@mail.gmail.com



Re: Can not startx anymore after the laptop was forced to turn off

2011-07-22 Thread jiang lei
Here is the result. I installed the nvidia-kernel-dkms and nvidia-glx
package, changed the entry from "nouveau" to "nvidia", and run startx
again. The nvidia LOGO showed and disappeared, still the black screen
is what i get. what else can i do, remove the xorg and install it
again?

any suggestion? thanks

On 7/22/11, jiang lei  wrote:
> sorry to reply so late, i was assigned a business trip for 2 weeks,
> now i am back. ;)
>
> actually the entry in the xorg.conf generated by  "Xorg :1 -configure"
> was "nvidia", i changed it to "nouveau" because i could not startx. i
> did not mention that in the first mail. Apologies! Now i am installing
> the nvidia-kernel-dkms package and see what happens.
>
>
> On 7/10/11, Hans-J. Ullrich  wrote:
>> ---
>>>
>>>   how can i fix the issue, any idea? thanks in advance.
>>
>> I suggest, not to use the noveau driver. Maybe you should try to use the
>> nvidia-drivers, which are offered in packages. For easy installation, you
>> should use the nvidia-kernel-dkms and nvidia-glx package.
>>
>> Make sure, the linux-headers afre installed. module-assistant does that
>> for
>> you.
>>
>> When everything is installed,  especially the -dkms packages, then the
>> modules
>> will be automatically built (thank you, dear developers for the idea of
>> dkms!)
>>
>> Maybe it is necessary to install the package nvidia-glx by hand.
>>
>> Change the entry in xorg.conf from "nouveau" to "nvidia" and leave the
>> rest
>> as
>> is.
>>
>
>> For testing purposes I suggest to move your login-manager out of the way,
>> so
>> it will not start (for example move /etc/init.d/kdm to /root).
>>
>> When you restart you get a console and can start with "startx" and see
>> the
>> output when it fails.
>>
>> When everything is working fine, move kdm (or your choosen login-manager
>> like
>> gdm or xdm) back to /etc/init.d/ and have fun.
>>
>> Good luck!
>>
>> Hans
>>
>>
>> --
>> 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/201107101816.24686.hans.ullr...@loop.de
>>
>>
>


-- 
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/canhq+zimvwmxkrfjcjv7jmfn76iol893hn8uno0srjoxxag...@mail.gmail.com



Re: Can not startx anymore after the laptop was forced to turn off

2011-07-22 Thread jiang lei
sorry to reply so late, i was assigned a business trip for 2 weeks,
now i am back. ;)

actually the entry in the xorg.conf generated by  "Xorg :1 -configure"
was "nvidia", i changed it to "nouveau" because i could not startx. i
did not mention that in the first mail. Apologies! Now i am installing
the nvidia-kernel-dkms package and see what happens.


On 7/10/11, Hans-J. Ullrich  wrote:
> ---
>>
>>   how can i fix the issue, any idea? thanks in advance.
>
> I suggest, not to use the noveau driver. Maybe you should try to use the
> nvidia-drivers, which are offered in packages. For easy installation, you
> should use the nvidia-kernel-dkms and nvidia-glx package.
>
> Make sure, the linux-headers afre installed. module-assistant does that for
> you.
>
> When everything is installed,  especially the -dkms packages, then the
> modules
> will be automatically built (thank you, dear developers for the idea of
> dkms!)
>
> Maybe it is necessary to install the package nvidia-glx by hand.
>
> Change the entry in xorg.conf from "nouveau" to "nvidia" and leave the rest
> as
> is.
>

> For testing purposes I suggest to move your login-manager out of the way, so
> it will not start (for example move /etc/init.d/kdm to /root).
>
> When you restart you get a console and can start with "startx" and see the
> output when it fails.
>
> When everything is working fine, move kdm (or your choosen login-manager
> like
> gdm or xdm) back to /etc/init.d/ and have fun.
>
> Good luck!
>
> Hans
>
>
> --
> 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/201107101816.24686.hans.ullr...@loop.de
>
>


-- 
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/CANhQ+ZihWZJwpcAftg0jzBUibXFHye_+j3tHp_wAXmmi66T=r...@mail.gmail.com



Re: ssh: no route to host

2011-07-22 Thread Joe
On Thu, 21 Jul 2011 19:55:16 +0100
Brian  wrote:

> On Wed 20 Jul 2011 at 14:51:45 -0500, Hugo Vanwoerkom wrote:
> 
> > Camaleón wrote:
> >>
> >> Yep, as Walter suggested, this can be a problem with DHCP that has 
> >> given another IP to the laptop. If you have only two machines in
> >> the LAN, give them static IPs so you don't have to depend on your
> >> router's DHCP eccentricities :-)
> >>
> >
> > But the IP should show up in ifconfig, no? And that did not change
> > after the failure...
> 
> The advice is still not unsound though. It will take DHCP out of
> consideration.
> 
> Is the problem one which appears after being able to ssh to the laptop
> successfully at some earlier time, like 5 minutes ago? What happens
> with ping/traceroute/ssh/telnet/route/arp from desktop to laptop and
> vice versa? Is there wireless on either machine? Does taking down the
> firewall on the router make any difference?
> 
> 

Another line of thought: being a laptop, does it go into standby or
hibernation? Debian doesn't have a great record for waking up the
machine properly afterwards.

Not without first doing some research using Ubuntu...

-- 
Joe


--
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/20110722082917.72be9...@jresid.jretrading.com



Re: 32bit vs 64bit

2011-07-22 Thread Mahesh T Pai
Brad Alexander  writes:


 > I was just hoping for an undocumented way of doing it as an upgrade...

cdebootstrap?? 


-- 
Mahesh T. Pai   ||
With freedom comes responsibility.
Do not use unauthorised copies of copyrighted material.


-- 
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/87zkk6okeu@gmail.com