Re: Non-Debian Provided Packages

2008-10-17 Thread Lee Glidewell
On Friday 17 October 2008 11:40:55 pm Jason C. Wells wrote:
> Is it advisable to install non-Debian provided packages?
>
> For example .deb files are out for openoffice3 but they haven't made
> their way to lenny yet.  It seems like the Sun provided .deb files
> aren't quite so slick with handling dependencies.  That or I am missing
> some important bit of understanding on how .debs work.
>
> Thanks,
> Jason

I installed OpenOffice.org3 in Lenny with no problems. The Debian installer 
sends files to /opt, and so avoids overwriting any existing packages.

The tarball is just a pack of .deb files for the individual applications in 
the suite, which have a non-obvious dependency order. It would have been nice 
to include an installation script, but lacking that, I simply went to the 
untarred directory and ran 

dpkg -i *deb

Works well for me, ymmv.

Lee


-- 
Lee Glidewell   | PGP key: D5D686A7
[EMAIL PROTECTED] | 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Non-Debian Provided Packages

2008-10-17 Thread Jason C. Wells
Is it advisable to install non-Debian provided packages? 

For example .deb files are out for openoffice3 but they haven't made 
their way to lenny yet.  It seems like the Sun provided .deb files 
aren't quite so slick with handling dependencies.  That or I am missing 
some important bit of understanding on how .debs work.


Thanks,
Jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to apt-get over ssh tunnel through a firewall?

2008-10-17 Thread Bob

Mitchell Laks wrote:

On 14:38 Fri 03 Oct , Celejar wrote:
  

On Fri, 3 Oct 2008 12:02:22 -0400

There are several apt proxies available:

apt-cacher
apt-cacher-ng
apt-proxy
approx

[I use approx; various readers of this list have their own preferences.]

Set up one of them on A, configure B-D's sources file appropriately,
and your ssh procedure should work.



thank you. I am familiar with apt-cacher, but  not with approx which I can 
try. 


However, I think that does not solve my problem. For instance
what if the A computer is running etch and B-D are running sid?
How can I get B-D to get software that has not been installed on A?
  


This is not a problem with apt-proxy as to it's clients it looks like a 
full mirror, however it only actually downloads the packages you use, so 
the first time you download a package it comes in at whatever speed it 
would if you downloaded it directly, but the second time it comes in at 
LAN speed.


For testing I lust used ssh tunnels to access my proxy and it works fine.


Is there some smart way to set up a direct tunnel through A
and tell  apt-get to go through the tunnel itself, instead of using
these caching methods which better serve other purposes.
(For instance since B-D run sid, I can cache on one of them for the others.
  


Easer then that I have a pinhole in my firewall rules allowing access to 
port  (the default apt-proxy port) but only to the IP of my 
apt-proxy from my 192.168.50.xx subnet to my 192.168.24.xx one, this 
allows wireless clients, my web server, and other less trusted clients 
to use the apt-proxy.


what software-backbone/port is apt-get using to get the software? 



Are you familiar with setting up tunnels like

ssh -ND 8080  [EMAIL PROTECTED]
?

Mitchell
  


To quote a previous post on the subject:

It's pretty cool to be able to perform net installs in a few minutes and
updates are equally fast, after the first time.  The only downside is
it's a bit picky about it's internet connection, I know that sounds
weird but when I have it connected directly to the internet with no http
proxy it stalls and doesn't work properly, when I have it behind a squid
proxy it's happy as a sand boy.

A slightly nonstandard thing I've done is I've created a different
section for each release, so instead of having
deb http://192.168.24.99:/debian/ etch main
deb http://192.168.24.99:/debian-security/ etch/updates main
or
deb http://192.168.24.99:/debian/ lenny main
deb http://192.168.24.99:/debian-security/ lenny/updates main
in my apt sources files I have
deb http://192.168.24.99:/etch/ etch main
deb http://192.168.24.99:/etch-security/ etch/updates main
or
deb http://192.168.24.99:/lenny/ lenny main
deb http://192.168.24.99:/lenny-security/ lenny/updates main

This is because apt-proxy will only hold a certain number of versions of
any given package, although this number is configurable I found that
sometimes stable packages were being pushed out by those from sid and
testing, this way I've still got most of sarge in cache .


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Where is the command to load ethernet network module placed?

2008-10-17 Thread J . H . Kim
Hi, everyone

I wonder where the ethernet network module is loaded.
Is it loaded in the kernel source code statically or  in the  init script?

I  think the network  module  is loaded after init user process is created,
but I don't know where the loading point is.

Please tell me where the command to load the network module is placed.

Thanks in advance.

J.H.Kim


update-grub and chroot

2008-10-17 Thread T o n g
Hi,

I tried to update my grub menu.lst in the chroot system using update-
grub, but it doesn't work. 

I'm wondering if it is possible to update the grub menu.lst in the chroot 
to reflect its appropriate kernel to boot from.

thanks

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Douglas A. Tutty
On Fri, Oct 17, 2008 at 10:24:15AM -0600, Javier Vasquez wrote:
> On Thu, Oct 16, 2008 at 10:20 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > On Thu, Oct 16, 2008 at 05:10:35PM -0600, Javier Vasquez wrote:
 
> I've never used xprint.  I never needed it before.  I've used for
> several years now plain lprng && (magicfilter || foomatic-filters).
> Lately more foomatic-filters since there's no so good documentation
> around new network printers, which I can't find in the filters
> themselves, so I go and download the specific PPD's from the web...
> 
> Maybe using xprint might help, but I wanted to see 1st if there's a
> way to make iceweasel print through plain lpr by itself...  At last
> I'll look then for xprint, and see how can it help, taking into
> account I'm using iceweasel version 3.0.3...

My understanding is that xprint is used by iceweasel to correctly set up
the pages for the printers you have configured with your printer system
(I use LPD).  Thanks to debian, configuration happens automagically so
you just install and forget.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Debian is good for old brains (and young ones too)

2008-10-17 Thread Chris Jones
On Fri, Oct 17, 2008 at 09:01:51PM EDT, Emanoil Kotsev wrote:
> Chris Jones wrote:
> 
> > On Fri, Oct 17, 2008 at 12:35:39PM EDT, Emanoil Kotsev wrote:
> >> Andrei Popescu wrote:
> >> 
> >> > On Fri,17.Oct.08, 10:52:23, Hugo Vanwoerkom wrote:
> >> 
> >> > I wonder if playing chess might have similar effects. My father loves
> >> > to play chess with the computer, but stays away from it otherwise...
> >> > 
> >> > Regards,
> >> > Andrei
> >> 
> >> A friend just suggested that if old brains were reading comics, it would
> >> have the same effect :-D
> >> 
> >> But it's great story, thanks for posting
> > 
> > Dr. Small, indeed.
> > 
> > I'm sure he's close to finding the cure for alzheimer .. parkinson's
> > .. dementia ..
> > 
> > ?
> > 
> > .. not to mention the common cold.
> > 
> > Do older brain farts stink any worse than the rest of them?
> > 
> > I do wish Richard Wagner had spent his later years clicking his life
> > away instead of wasting his/our time giving us Parsifal..
> > 
> > ...
> 
> well some don't like frank zappa and other don't like jazz
> 
> it is too subjective to talk about music. I'm thinking about politicians ...
> they could have better clicked then taken decisions ...

:-)

> regards

Same to you mate!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mails stay in /var/spool/mail, without being forwarded

2008-10-17 Thread T o n g
On Fri, 17 Oct 2008 15:34:31 -0700, Richard A Nelson wrote:

>> "Most Linux systems are set up to use procmail as the local delivery
>> agent by default, so you should not have to set up a .forward."
>>
>> Or there is something else?
> 
> procmail is optional, and so can not be the default MDA
> 
> In Debian, sensible-mda(8) is the default MDA, and it, in turn will use
> one of procmail(1), maildrop(1), deliver(8), or mail.local(8)

Ah, thanks for the explain. 

I hope that such default MDA configuration can be stored in debconf DB so 
that I can pre-seed it before (debootstrap) installation.

 dpkg-reconfigure -p low sensible-mda

produces nothing configurable. 

> Which ever you choose, make sure there is a a link for it in
> /etc/mail/smrsh (you update them with /usr/share/sendmail/update_smrsh)

YES, running /usr/share/sendmail/update_smrsh without any parameters 
solved my problem. Just that,

Previously there is only one link there.

lrwxrwxrwx 1 root smmsp 26 10-10 15:41 mail.local -> /usr/lib/sm.bin/
mail.local*

Having run /usr/share/sendmail/update_smrsh, there are 2 links there. 

lrwxrwxrwx 1 root smmsp 17 10-17 22:14 procmail -> /usr/bin/procmail*

is added. 

Is it normal? Should /etc/mail/smrsh contains only one link?

Further, where can I get help on /usr/share/sendmail/update_smrsh?

 /usr/share/sendmail/update_smrsh -h

is no use. 

$ man update_smrsh
No manual entry for update_smrsh

thanks

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why not thunderbird

2008-10-17 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sam Leon wrote:
> T o n g wrote:
>> Hi,
>> I know that thunderbird has been renamed to icedove in Debian. But for
>> iceweasel, we can still type the command firefox, mozilla-firefox, or
>> even mozilla and start it.
>> So why icedove is not providing the thunderbird command?
>>
>> thanks
>>
> 
> You can try making a link:
> 
> ln -s /usr/bin/icedove /usr/bin/thunderbird
> 
> Sam
> 
> 
I'd make it in /usr/local/ .

Debian likes to keep it's /usr tree to itself.

- --
Rich Healey - iTReign  \.''`.   / [EMAIL PROTECTED]
Developer / Systems Admin   \  : :' :  /[EMAIL PROTECTED]
AIM: richohealey33   \ `. `'  / [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED] \  `-  / [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkj5P38ACgkQLeTfO4yBSAcNlwCffvgEKeS3DuuoUBsdvmkCYP6R
ZWUAoM8eS2dh42Eoyx103qExUeFD8uj/
=93Ap
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrei Popescu wrote:
> On Fri,17.Oct.08, 18:06:54, Dexter Filmore wrote:
>> snip
>>
>>> That doesn't quite work out:
>>>
>>> mount /cdrom
>>> /Fri Oct 17-06:14:44HDC5# md5sum /cdrom
>>> md5sum: /cdrom: Is a directory
>> Isn't /cdrom a symlink to /dev/cdrom...?
>  
> $ ls -l /cdrom
> lrwxrwxrwx 1 root root 11 2008-07-11 00:40 /cdrom -> media/cdrom
> 
>> Maybe give it the real device path rahther.
> 
> He did try that...
> 
> Regards,
> Andrei
media/cdrom is a mount point.

/dev/cdrom is a device node.
Regards


Rich Healey

- --
Rich Healey - iTReign  \.''`.   / [EMAIL PROTECTED]
Developer / Systems Admin   \  : :' :  /[EMAIL PROTECTED]
AIM: richohealey33   \ `. `'  / [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED] \  `-  / [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkj5PzYACgkQLeTfO4yBSAcEkQCg0c5k3ZKUCql2kCGeSjRX7B3i
CvwAn2QbFZ1z3isNPK1EwUJUEYAY62H/
=Ulpr
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread owens
>
>
>
> Original Message 
>From: [EMAIL PROTECTED]
>To: debian-user@lists.debian.org
>Subject: Re: Issue with URL and firefox (iceweasel)
>Date: Fri, 17 Oct 2008 20:12:58 +0100
>
>>On Fri, 17 Oct 2008 11:27:48 +0200
>>"Mathieu Malaterre" <[EMAIL PROTECTED]> wrote:
>>
>>Hello Mathieu,
>>
>>> ok, at least I am not going nuts :)
>>
>>:-)
>>
>>After Marc Shapiro replied, I realised that my "one shot" test was
>>probably not good enough so, like him, I tried several more times. 
>More
>>often than not, I got the correct file.  About 40% of the time a 404
>>error.  So, I'm at a loss.  Marc's theory has the beauty of it being
>>something other than Debian/FF/IW at fault.
>>
>>> Thanks
>>
>>You're welcome.
>>
>>-- 
>> Regards  _
>> / )   "The blindingly obvious is
>>/ _)radnever immediately apparent"
>>
>>Two sides to every story
>>Public Image - Public Image Ltd

I'm wondering if it has something to do with the socket selection at
the server end.  Normally TCP will listen on port 80 and if a
connection is requested it picks an "ephemeral" (unused, vacant, high
address) port upon which to respond so that port 80 is free to answer
other requests.  Depending on the implementation it likely picks
different ports each time depending on the load.  this may account
for the sporatic behavior
Larry
>>




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USB ownership

2008-10-17 Thread Paul Cartwright

> 
> The problem is that the automounter cannot make a direct connection
> between a specific user session and the physical act of someone plugging
> in a new device.  It could probably be improved to make better guesses,
> but it's impossible to know.
> 

I can understand that. Can it be automounted with more permissions, like
rw-rw--r for owner-group ??

since we are both users, and both in the same group, if group user could
be rw that would solve it, no matter who owns it. She won't use the
command like or know to look at files like fstab or mount/pmount.. she
just wants to plug it in and copy files to/from it.

thanks,

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: welcome back

2008-10-17 Thread owens
>
>
>
> Original Message 
>From: [EMAIL PROTECTED]
>To: debian-user@lists.debian.org
>Subject: Re: OT: welcome back
>Date: Fri, 17 Oct 2008 16:59:24 +0100
>
>>On 17 Oct 2008, [EMAIL PROTECTED] wrote:
>>> DSL normally is sent as a number of frequency bands called bins. 
>The
>>> spectrum ranges from 0 to about 1MHz.  The DSL filter is used to
>>> separate the bottom bin which is used for POTS (plain old
>telephone
>>> service).  In the home the filter is usually inserted in series
>with
>>> any line that may "belch" from the higher frequencies (such as a
>FAX).
>>> Larry
>>
>>Perhaps you can answer something I've wondered about. Is it
>necessary to
>>use a filter on a DSL socket if no ordinary phone is to be plugged
>in? It
>>doesn't seem to make any difference if you don't use one but perhaps
>>there is some more subtle effect.
>>
>>Anthony
>>
>>-- 
>>Anthony Campbell - [EMAIL PROTECTED] 
>>Microsoft-free zone - Using Debian GNU/Linux
>>http://www.acampbell.org.uk (blog, book reviews, 
>>and sceptical articles)

Anthony et al
The DSL filter merely passes the POTS and blocks the DSL.  It's
passive.  It is not needed on any line that has nothing on it.
Larry
>>
>>
>>-- 
>>To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
>>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>ebian.org
>>
>>
>>




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Debian is good for old brains (and young ones too)

2008-10-17 Thread Emanoil Kotsev
Chris Jones wrote:

> On Fri, Oct 17, 2008 at 12:35:39PM EDT, Emanoil Kotsev wrote:
>> Andrei Popescu wrote:
>> 
>> > On Fri,17.Oct.08, 10:52:23, Hugo Vanwoerkom wrote:
>> 
>> > I wonder if playing chess might have similar effects. My father loves
>> > to play chess with the computer, but stays away from it otherwise...
>> > 
>> > Regards,
>> > Andrei
>> 
>> A friend just suggested that if old brains were reading comics, it would
>> have the same effect :-D
>> 
>> But it's great story, thanks for posting
> 
> Dr. Small, indeed.
> 
> I'm sure he's close to finding the cure for alzheimer .. parkinson's
> .. dementia ..
> 
> ?
> 
> .. not to mention the common cold.
> 
> Do older brain farts stink any worse than the rest of them?
> 
> I do wish Richard Wagner had spent his later years clicking his life
> away instead of wasting his/our time giving us Parsifal..
> 
> ...

well some don't like frank zappa and other don't like jazz

it is too subjective to talk about music. I'm thinking about politicians ...
they could have better clicked then taken decisions ...

regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: About apt-file

2008-10-17 Thread Stephen Liu

--- Michelle Konzack <[EMAIL PROTECTED]> wrote:

> Am 2008-10-15 22:47:15, schrieb Stephen Liu:
> > Hi Jochen,
> > 
> > This is only an example.  We already know mysqladmin coming from
> > mysql-server/-client.  Therefore we can add mysql on the search. 
> In
> > some other case if we have no idea of the package.  We only know
> the
> > command/file.  How can we find the package?  "apt-cache search
> > command/file" doesn't always work.
> 
> I do not understand your problem, since if you know  the  filename, 
> why
> does 'apt-file search ' not work for you?
> 
> I use it since apt-file exist and have not a singel problem with it.
> 
> And since I have installed all Contents-.gz, I find ANY  files 
> in
> main, contrib, non-free and of  course,  in  sid,  lenny,  etch, 
> sarge,
> woody, potato, slink, hamm and bo.


Hi Michelle,


Florian advised me on his posting to run;

apt-file search /bin/command (filename)


That solves my problem.  Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



(SOLVED) Re: How do I prevent Grub from getting automagically updated?

2008-10-17 Thread Aniruddha
On Fri, 2008-10-10 at 07:54 +0300, Andrei Popescu wrote:
> On Fri,10.Oct.08, 04:46:23, Tzafrir Cohen wrote:
> 
> > > > Try man kernel-img.conf
> > > 
> > > $ man kernel-img.conf
> > > No manual entry for kernel-img.conf
> > > 
> > > I can't find a package  kernel-img.conf either?!
> > 
> > And how is that related?
> > 
> > The relevant program is update-grub . Or add manual entries after the
> > automatic part.
>  
> $ grep update-grub /etc/kernel-img.conf
> postinst_hook = update-grub
> postrm_hook   = update-grub
> 
> Regards,
> Andrei

Thanks! I changed my /etc/kernel-img.conf to:

#postinst_hook = update-grub
#postrm_hook   = update-grub

And now it works :)


-- 
Regards,

Aniruddha





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USB ownership

2008-10-17 Thread Jochen Schulz
Paul Cartwright:
> Florian Kulzer wrote:
>> 
>> If you found that your session had a disk window open then your session
>> (and hence your user) must have automounted the medium. For your user,
>> go to
> 
> actually, she plugged in the USB stick about an hour before I got up, so
> it was her in her login.

The problem is that the automounter cannot make a direct connection
between a specific user session and the physical act of someone plugging
in a new device.  It could probably be improved to make better guesses,
but it's impossible to know.

J.
-- 
I cannot comprehend the idea of chemical and biological weapons.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: [OT] Debian is good for old brains (and young ones too)

2008-10-17 Thread Chris Jones
On Fri, Oct 17, 2008 at 12:35:39PM EDT, Emanoil Kotsev wrote:
> Andrei Popescu wrote:
> 
> > On Fri,17.Oct.08, 10:52:23, Hugo Vanwoerkom wrote:
> 
> > I wonder if playing chess might have similar effects. My father loves to
> > play chess with the computer, but stays away from it otherwise...
> > 
> > Regards,
> > Andrei
> 
> A friend just suggested that if old brains were reading comics, it would
> have the same effect :-D
> 
> But it's great story, thanks for posting

Dr. Small, indeed.

I'm sure he's close to finding the cure for alzheimer .. parkinson's
.. dementia ..

?

.. not to mention the common cold.

Do older brain farts stink any worse than the rest of them?

I do wish Richard Wagner had spent his later years clicking his life
away instead of wasting his/our time giving us Parsifal.. 

...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Javier Vasquez
Ups, I meant iceweasel bellow...

On Fri, Oct 17, 2008 at 4:44 PM, Javier Vasquez <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 17, 2008 at 2:44 PM, Florian Kulzer
> <[EMAIL PROTECTED]> wrote:
>> On Fri, Oct 17, 2008 at 10:07:36 -0600, Javier Vasquez wrote:
>>> On Fri, Oct 17, 2008 at 1:56 AM, Florian Kulzer wrote:
>>> > On Thu, Oct 16, 2008 at 17:10:35 -0600, Javier Vasquez wrote:
>>> >> Hi,
>>> >>
>>> >> When I try to print a page from iceweasel, if I have lprng as my
>>> >> spooler engine, I don't  get in the file-print menu an option to print
>>> >> PostScript/default as I do with iceape.
>>
>> [...]
>>
>>> > If you are using iceweasel version 3, see here:
>>> >
>>> > http://lists.debian.org/debian-user/2008/07/msg00523.html
>>
>> [...]
>>
>>> Yeap, I use debian unstable, and the iceweasel version is 3.0.3.  Bad
>>> thing is that I don't use gnome (neither kde for that matter), just
>>> plain fluxbox.  So after generating by hand "~/.gtkrc-2.0", and
>>> including in it gtk-print-backends = "file,lpr,cups", did not help me
>>> at all, and I do have installed libgtk2.0-0...
>>
>> Just to make sure: Did you close and restart iceweasel after creating
>> the configuration file?
>
> My bad.  I was still leaving an iceape instance alive (the
> communicator one)...  After closing everything and loading iceape  << mistake 
> here <<
> again, I got it working, :).
>
>> You can test whether your iceweasel really opens the configuration file
>> if you install the "strace" package and do this:
>>
>> strace -efile iceweasel 2>&1 | grep gtkrc
>>
>> (Be prepared for a longer startup time and a general sluggishness of the
>>  user interface if you run iceweasel like that.)
>>
>>> No way to do this inside iceweasel itself?
>>
>> If I remember the discussion in July correctly then we did not find a
>> way; that was quite frustrating for the lpr(ng) users until Jan Willem
>> Stumpel posted the solution via gtkrc. You should maybe read the entire
>> thread yourself; I use CUPS and was not affected by the problem, so I
>> did not pay attention to every detail.
>
> Yeap, I read the thread, and that seemed to be the only solution
> indeed.  Bad thing iceweasel lost its way, :)
>
>> --
>> Regards,| http://users.icfo.es/Florian.Kulzer
>>  Florian   |
>
> Thanks a lot,
>
> --
> Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Javier Vasquez
On Fri, Oct 17, 2008 at 2:44 PM, Florian Kulzer
<[EMAIL PROTECTED]> wrote:
> On Fri, Oct 17, 2008 at 10:07:36 -0600, Javier Vasquez wrote:
>> On Fri, Oct 17, 2008 at 1:56 AM, Florian Kulzer wrote:
>> > On Thu, Oct 16, 2008 at 17:10:35 -0600, Javier Vasquez wrote:
>> >> Hi,
>> >>
>> >> When I try to print a page from iceweasel, if I have lprng as my
>> >> spooler engine, I don't  get in the file-print menu an option to print
>> >> PostScript/default as I do with iceape.
>
> [...]
>
>> > If you are using iceweasel version 3, see here:
>> >
>> > http://lists.debian.org/debian-user/2008/07/msg00523.html
>
> [...]
>
>> Yeap, I use debian unstable, and the iceweasel version is 3.0.3.  Bad
>> thing is that I don't use gnome (neither kde for that matter), just
>> plain fluxbox.  So after generating by hand "~/.gtkrc-2.0", and
>> including in it gtk-print-backends = "file,lpr,cups", did not help me
>> at all, and I do have installed libgtk2.0-0...
>
> Just to make sure: Did you close and restart iceweasel after creating
> the configuration file?

My bad.  I was still leaving an iceape instance alive (the
communicator one)...  After closing everything and loading iceape
again, I got it working, :).

> You can test whether your iceweasel really opens the configuration file
> if you install the "strace" package and do this:
>
> strace -efile iceweasel 2>&1 | grep gtkrc
>
> (Be prepared for a longer startup time and a general sluggishness of the
>  user interface if you run iceweasel like that.)
>
>> No way to do this inside iceweasel itself?
>
> If I remember the discussion in July correctly then we did not find a
> way; that was quite frustrating for the lpr(ng) users until Jan Willem
> Stumpel posted the solution via gtkrc. You should maybe read the entire
> thread yourself; I use CUPS and was not affected by the problem, so I
> did not pay attention to every detail.

Yeap, I read the thread, and that seemed to be the only solution
indeed.  Bad thing iceweasel lost its way, :)

> --
> Regards,| http://users.icfo.es/Florian.Kulzer
>  Florian   |

Thanks a lot,

-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mails stay in /var/spool/mail, without being forwarded

2008-10-17 Thread Richard A Nelson

On Fri, 17 Oct 2008, T o n g wrote:


I use sendmail as the default MTA, and have ~/.procmailrc for filtering
my mails.

However, in my newly installed system (Lenny), my mails stay in /var/
spool/mail without being forwarded.

"Most Linux systems are set up to use procmail as the local delivery
agent by default, so you should not have to set up a .forward."

Or there is something else?


procmail is optional, and so can not be the default MDA

In Debian, sensible-mda(8) is the default MDA, and it, in turn
will use one of procmail(1), maildrop(1), deliver(8), or mail.local(8)

Which ever you choose, make sure there is a a link for it in
/etc/mail/smrsh (you update them with /usr/share/sendmail/update_smrsh)

If all that is kosher, I'll need to some logfile snippets to determine
why the .procmailrc file isn't being used

--
Rick Nelson
 netgod: I also have a "Evil Inside" T-shirt (w/ Intel logo).. on
the back it states: "When the rapture comes, will you have root?"


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mails stay in /var/spool/mail, without being forwarded

2008-10-17 Thread Eduardo M KALINOWSKI
T o n g wrote:
> Hi,
>
> I use sendmail as the default MTA, and have ~/.procmailrc for filtering 
> my mails. 
>
> However, in my newly installed system (Lenny), my mails stay in /var/
> spool/mail without being forwarded. 
>
> How should I fix it? Do I need that .forward file?
>
> My setting has been working fine for many years. E.g., comments from 
> comp.os.linux.misc:
>
> "asuming sendmail is the default MTA... You don't need a .forward 
> file, .procmailrc is enough"
>
> "Most Linux systems are set up to use procmail as the local delivery
> agent by default, so you should not have to set up a .forward." 
>   

If you only want to forward emails, a simple .forward file with the
e-mail address to forward to is much simpler than using procmail.

Nevertheless, you need to give us more information. What do the sendmail
logs say? Have you checked its configuration to make sure it is calling
procmail? In this case, is there some procmail logs?

-- 
Are we not men?

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AW: Cannot login to Debian Lenny

2008-10-17 Thread Thierry Chatelet
On Friday 17 October 2008 22:27:13 Torsten A. wrote:
> Thanks for your quick reply.
>
> I called in single user mode 'add user test' with the following output:
>
> Adding user ...
> Adding ...
> ...
> Copying files from '/etc/skel'
> Passwd: Permission denied
> Passwd: password unchanged
> Try again [y/N] n (yes: same again)
> Chfn: PAM authentification failed
> Adduser: '/usr/bin/chfn test' returned error code 1. Exiting.
>
> Here is /etc/pam.d/chfn:
> #
> # The PAM configuration file for the Shadow `chfn' service
> #
>
> # This allows root to change user infomation without being
> # prompted for a password
> auth  sufficient  pam_rootok.so
>
> # The standard Unix authentication modules, used with
> # NIS (man nsswitch) as well as normal /etc/passwd and
> # /etc/shadow entries.
> @include common-auth
> @include common-account
> @include common-session
>
>
>
> Just to complete it. The three files included:
>
>
>
> #
> # /etc/pam.d/common-account - authorization settings common to all services
> #
> # This file is included from other service-specific PAM config files,
> # and should contain a list of the authorization modules that define
> # the central access policy for use on the system.  The default is to
> # only deny service to users whose accounts are expired in /etc/shadow.
> #
> account   requiredpam_unix.so
>
>
>
> #
> # /etc/pam.d/common-auth - authentication settings common to all services
> #
> # This file is included from other service-specific PAM config files,
> # and should contain a list of the authentication modules that define
> # the central authentication scheme for use on the system
> # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
> # traditional Unix authentication mechanisms.
> #
> #auth requiredpam_env.so
> auth  requiredpam_unix.so nullok_secure
>
>
>
>
> #
> # /etc/pam.d/common-session - session-related modules common to all
> services #
> # This file is included from other service-specific PAM config files,
> # and should contain a list of modules that define tasks to be performed
> # at the start and end of sessions of *any* kind (both interactive and
> # non-interactive).  The default is pam_unix.
> #
> session   requiredpam_unix.so
>
>
> Cheers,
> Torsten
>
> > -Ursprüngliche Nachricht-
> > Von: Thierry Chatelet [mailto:[EMAIL PROTECTED]
> > Gesendet: Freitag, 17. Oktober 2008 21:34
> > An: debian-user@lists.debian.org
> > Betreff: Re: Cannot login to Debian Lenny
> >
> > On Friday 17 October 2008 21:21:43 Torsten A. wrote:
> > > Hello everyone,
> > >
> > > I'm having trouble to login to my Debian Lenny, indepent whether I
> > > wan't
> >
> > to
> >

I mean:
adduser blabla
but not someone already registred as a user. Sorry not to have express myself 
correctly


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Mails stay in /var/spool/mail, without being forwarded

2008-10-17 Thread T o n g
Hi,

I use sendmail as the default MTA, and have ~/.procmailrc for filtering 
my mails. 

However, in my newly installed system (Lenny), my mails stay in /var/
spool/mail without being forwarded. 

How should I fix it? Do I need that .forward file?

My setting has been working fine for many years. E.g., comments from 
comp.os.linux.misc:

"asuming sendmail is the default MTA... You don't need a .forward 
file, .procmailrc is enough"

"Most Linux systems are set up to use procmail as the local delivery
agent by default, so you should not have to set up a .forward." 

Or there is something else? 

thanks

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: live cd with lvm

2008-10-17 Thread Tzafrir Cohen
On Thu, Oct 16, 2008 at 11:32:27AM -0400, Eric Gerlach wrote:
> Thierry Chatelet wrote:
>> Hi,
>> I am looking for a live CD with lvm on it.
>
> INSERT has it: http://www.inside-security.de/INSERT_en.html
>
> ... looking at the project page, though, they haven't done a release in  
> a while.  Last one was in 2007.  Which is too bad.

I used it (or maybe an older version of it) a while ago because it
supported LVM1 that I needed on an older system of mine.

Just about any decent live CD should have no problem with detecting an
LVM setup if it can see the disk with the PVs.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PXE server configuration

2008-10-17 Thread Emanoil Kotsev
Tzafrir Cohen wrote:

> On Fri, Oct 17, 2008 at 01:18:40PM +0200, Jesus arteche wrote:
>> Hey,
>> 
>> I got to install a PXE server in my net so that i can install ubuntu and
>> debian via netboot, i made it with tftp and dhcp, this is easy for these
>> two distros because they have already a netboot images for that. The
>> server is running under Debian 4.0 and i wondering if there are some way
>> to do the next:
> 
> Just edit pxelinux.cfg/default and add relevant entries there.
> (or write a configuration fie specific for the IP address / mac address
> of the specific system you want to boot)
> 
> Pathes are relavive to the tftp root. e.g. to /var/lib/tftpboot .
> 
>> 
>> 1.- The same that i made for ubuntu and debian,...but with kubuntu..
> 
> Basically the same.
> 
>> 2.- and for windows xp
>> 3.- and for backup images of the pc's of the net made it with system
>> rescuo or norton ghost.
> 
> Not sure about those. You need some sort of chainloader. Consult the
> syslinux homepage? (pxelinux is syslinux).
> 

To your last 2 items from the list, I've used the bootscriptor code to
generate such a chain loader back in 2002. Unfortunately I put it on CD and
I'm not sure if it would work with pxeboot, but this is still an idea. I
think it would work
http://www.cdshell.org/bootscriptor/
I then put there memtest, ghost, windows recovery etc. etc. I could share
the configuration file, but not the image as partition magick and ghost are
company property.

I've seen also a more recent multiboot project but don't know how good it
is, but it sounds promissing
http://stephan.walter.name/files/mbcd/index.html

regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Brad Rogers
On Fri, 17 Oct 2008 11:27:48 +0200
"Mathieu Malaterre" <[EMAIL PROTECTED]> wrote:

Hello Mathieu,

> ok, at least I am not going nuts :)

:-)

After Marc Shapiro replied, I realised that my "one shot" test was
probably not good enough so, like him, I tried several more times.  More
often than not, I got the correct file.  About 40% of the time a 404
error.  So, I'm at a loss.  Marc's theory has the beauty of it being
something other than Debian/FF/IW at fault.

> Thanks

You're welcome.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"

Two sides to every story
Public Image - Public Image Ltd


signature.asc
Description: PGP signature


Re: Why not thunderbird

2008-10-17 Thread Sam Leon

T o n g wrote:
Hi, 

I know that thunderbird has been renamed to icedove in Debian. But for 
iceweasel, we can still type the command firefox, mozilla-firefox, or 
even mozilla and start it. 


So why icedove is not providing the thunderbird command?

thanks



You can try making a link:

ln -s /usr/bin/icedove /usr/bin/thunderbird

Sam


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




apt-cross --arch powerpc -i gcc

2008-10-17 Thread Mathieu Malaterre
Hi there,

  I do not understand what I am doing wrong. I would like to install a
power-ppc gcc compiler on my debian testing box. I found a simple page
for gentoo: http://psas.pdx.edu/GentooCrossCompilerHowto/, and I was
interested to do the same. I do have qemu installed, but I simply
can't get gcc:

  What is wrong with the following:

 apt-cross --arch powerpc -i gcc


Log:
Building gcc-4.3-powerpc-cross_4.3.2-1_all.deb
Building libgomp1-powerpc-cross_4.3.2-1_all.deb
dpkg-cross: package cpp-4.3 doesn't provide any useful files, but
processing it anyway as requested
Building cpp-4.3-powerpc-cross_4.3.2-1_all.deb
dpkg-cross: package gcc doesn't provide any useful files, but processing it
anyway as requested
Building gcc-powerpc-cross_4.3.2-2_all.deb
Building libc6-powerpc-cross_2.7-14_all.deb
dpkg-cross: package gcc-4.3-base doesn't provide any useful files, but
processing it anyway as requested
Building gcc-4.3-base-powerpc-cross_4.3.2-1_all.deb
Building libgcc1-powerpc-cross_4.3.2-1_all.deb
dpkg-cross: package cpp doesn't provide any useful files, but processing it
anyway as requested
Building cpp-powerpc-cross_4.3.2-2_all.deb
Unpacking gcc-4.3-powerpc-cross
Unpacking libgomp1-powerpc-cross
Unpacking cpp-4.3-powerpc-cross
Unpacking gcc-powerpc-cross
Unpacking libc6-powerpc-cross
Unpacking gcc-4.3-base-powerpc-cross
Unpacking libgcc1-powerpc-cross
Unpacking cpp-powerpc-cross
Setting up gcc-4.3-base-powerpc-cross (4.3.2-1) ...
Setting up libgcc1-powerpc-cross (1:4.3.2-1) ...
Setting up libc6-powerpc-cross (2.7-14) ...
Setting up libgomp1-powerpc-cross (4.3.2-1) ...
Setting up cpp-4.3-powerpc-cross (4.3.2-1) ...
Setting up cpp-powerpc-cross (4:4.3.2-2) ...
Setting up gcc-4.3-powerpc-cross (4.3.2-1) ...
Setting up gcc-powerpc-cross (4:4.3.2-2) ...
Removing temporary archives



Thanks,
-- 
Mathieu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Florian Kulzer
On Fri, Oct 17, 2008 at 10:07:36 -0600, Javier Vasquez wrote:
> On Fri, Oct 17, 2008 at 1:56 AM, Florian Kulzer wrote:
> > On Thu, Oct 16, 2008 at 17:10:35 -0600, Javier Vasquez wrote:
> >> Hi,
> >>
> >> When I try to print a page from iceweasel, if I have lprng as my
> >> spooler engine, I don't  get in the file-print menu an option to print
> >> PostScript/default as I do with iceape.

[...]

> > If you are using iceweasel version 3, see here:
> >
> > http://lists.debian.org/debian-user/2008/07/msg00523.html

[...]

> Yeap, I use debian unstable, and the iceweasel version is 3.0.3.  Bad
> thing is that I don't use gnome (neither kde for that matter), just
> plain fluxbox.  So after generating by hand "~/.gtkrc-2.0", and
> including in it gtk-print-backends = "file,lpr,cups", did not help me
> at all, and I do have installed libgtk2.0-0...

Just to make sure: Did you close and restart iceweasel after creating
the configuration file?

You can test whether your iceweasel really opens the configuration file
if you install the "strace" package and do this:

strace -efile iceweasel 2>&1 | grep gtkrc

(Be prepared for a longer startup time and a general sluggishness of the
 user interface if you run iceweasel like that.)

> No way to do this inside iceweasel itself?

If I remember the discussion in July correctly then we did not find a
way; that was quite frustrating for the lpr(ng) users until Jan Willem
Stumpel posted the solution via gtkrc. You should maybe read the entire
thread yourself; I use CUPS and was not affected by the problem, so I
did not pay attention to every detail.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Installing fonts in Lenny (use defoma?)

2008-10-17 Thread Chris Burkhardt
I'm wondering about the most correct way to install a TrueType font in
Lenny. What I did:

Downloaded http://hiran.in/content/fonts/rufscript/Rufscript010.ttf
Moved rufscript010.ttf into ~/.fonts/
Ran 'fc-cache ~/.fonts/'

And now I can use the font from all of my fontconfig-aware apps (all the
important ones: iceweasel, gvim, etc). Yay!

But then I thought I should register it with defoma, being the Debian
way, and maybe so any non-fontconfig programs could find it. Read lots
of man and doc pages, then ran into Bug #285653
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285653) which is
almost 4 years old.

Does anybody know of any good guides to installing fonts in Debian?

- Chris Burkhardt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USB ownership

2008-10-17 Thread Paul Cartwright
Florian Kulzer wrote:
> On Fri, Oct 17, 2008 at 07:53:42 -0400, Paul Cartwright wrote:
>> My wife plugged in a USB stick, to save a file to it. It would not let
>> her save a file, permission denied. I looked at the ownership of
>> /media/disk ( /dev/sdg1) and it showed me as the owner with group as root:
>> [EMAIL PROTECTED]:/media$ ls -l /media/disk
>> total 208
>> -rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
>> -rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
>> -rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
>> -rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4
>>
>> I am logged in first, vt7, she is logged in 2nd, vt8, and when I
>> switched to my login, there was the disk window open ( /media/disk).
>>
>> What do I have to do to get it to recognize her as the owner, when she
>> plugs in a USB stick in her login?
> 
> If you found that your session had a disk window open then your session
> (and hence your user) must have automounted the medium. For your user,
> go to

actually, she plugged in the USB stick about an hour before I got up, so
it was her in her login.
> 
> Control Center > Peripherals > Storage Media
> 
this would assume KDE. She is running KDE, I am running gnome.

> then click the "Notifications" tab and select "Unmounted Removable
> Medium" from the "Media types:" combobox. You will probably see "Open in
> New Window (Auto Action)"; you have to change that so that "Do Nothing"
> is the auto action.

I have seen it many times before, when I put in a CD. After I am done, I
go to her login and see that "OPEN CD with" dialog. So it happens both
ways, the windo opens in her login when I insert something & vice versa..
I'll try what you suggested, thanks!


-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot login to Debian Lenny

2008-10-17 Thread Florian Kulzer
On Fri, Oct 17, 2008 at 21:21:43 +0200, Torsten A. wrote:
> Hello everyone,
> 
> I'm having trouble to login to my Debian Lenny, indepent whether I wan't to
> login using gdm or plain at the console. Another is that I don't know much
> about Linux, I am still trying to get along with it.
> 
> The problem is that when the dialog appears to enter the username I do so,
> the computer does some action for a short period, as if it would check the
> password, and I get the dialoge "Legitmation failed" without being able to
> actually enter a password! After that I am prompted to enter a username
> again. All I can do to enter the system is to login in single user mode.
> 
> The problem occured having installed thinkfinger on my T61. I think I
> managed to get rid of anything that was installed by tf, though I'm not
> sure.
> 
> I alredy looked through the /etc/pam.d/ files and wasn't able to find
> anything converning thinkfinger. I already changed back the common-auth,
> which was altered by thinkfinger.
> 
> So at this point, I am not even sure if the problem is accounted by
> thinkfinger. Can you think of anything else that might be broken so I cannot
> login to my system, because I am not asked for a password.

You could try a brute-force check of all packages that are supposed to
have files in /etc/pam.d/ on your system:

dpkg -S etc/pam.d/ | cut -d\: -f1 | sort -u | while read PKG; do debsums -a 
$PKG; done | grep -v OK$

This should show you all the files that have been changed from their
default; maybe that will help to narrow down your search.

If that does not lead anywhere then I would have a closer look at the
thinkfinger installation and removal scripts to figure out what they
might have done to disable passwords.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AW: Cannot login to Debian Lenny

2008-10-17 Thread Torsten A.
Thanks for your quick reply.

I called in single user mode 'add user test' with the following output:

Adding user ...
Adding ...
...
Copying files from '/etc/skel'
Passwd: Permission denied
Passwd: password unchanged
Try again [y/N] n (yes: same again)
Chfn: PAM authentification failed
Adduser: '/usr/bin/chfn test' returned error code 1. Exiting.

Here is /etc/pam.d/chfn:
#
# The PAM configuration file for the Shadow `chfn' service
#

# This allows root to change user infomation without being
# prompted for a password
authsufficient  pam_rootok.so

# The standard Unix authentication modules, used with
# NIS (man nsswitch) as well as normal /etc/passwd and
# /etc/shadow entries.
@include common-auth
@include common-account
@include common-session



Just to complete it. The three files included:



#
# /etc/pam.d/common-account - authorization settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authorization modules that define
# the central access policy for use on the system.  The default is to
# only deny service to users whose accounts are expired in /etc/shadow.
#
account requiredpam_unix.so



#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
#auth   requiredpam_env.so
authrequiredpam_unix.so nullok_secure




#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive).  The default is pam_unix.
#
session requiredpam_unix.so


Cheers,
Torsten



> -Ursprüngliche Nachricht-
> Von: Thierry Chatelet [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 17. Oktober 2008 21:34
> An: debian-user@lists.debian.org
> Betreff: Re: Cannot login to Debian Lenny
> 
> On Friday 17 October 2008 21:21:43 Torsten A. wrote:
> > Hello everyone,
> >
> > I'm having trouble to login to my Debian Lenny, indepent whether I wan't
> to
> > login using gdm or plain at the console. Another is that I don't know
> much
> > about Linux, I am still trying to get along with it.
> >
> > Cheers,
> > Torsten
> 
> 
> You can try to log as root. Then try to create a new user. Note carefuly
> the
> loggin mane and the password and try to log in as the user you have
> created.
> Then give us some news...
> Thierry
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USB ownership

2008-10-17 Thread Florian Kulzer
On Fri, Oct 17, 2008 at 07:53:42 -0400, Paul Cartwright wrote:
> My wife plugged in a USB stick, to save a file to it. It would not let
> her save a file, permission denied. I looked at the ownership of
> /media/disk ( /dev/sdg1) and it showed me as the owner with group as root:
> [EMAIL PROTECTED]:/media$ ls -l /media/disk
> total 208
> -rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
> -rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
> -rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
> -rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4
> 
> I am logged in first, vt7, she is logged in 2nd, vt8, and when I
> switched to my login, there was the disk window open ( /media/disk).
> 
> What do I have to do to get it to recognize her as the owner, when she
> plugs in a USB stick in her login?

If you found that your session had a disk window open then your session
(and hence your user) must have automounted the medium. For your user,
go to

Control Center > Peripherals > Storage Media

then click the "Notifications" tab and select "Unmounted Removable
Medium" from the "Media types:" combobox. You will probably see "Open in
New Window (Auto Action)"; you have to change that so that "Do Nothing"
is the auto action.

Then I would make sure that both users get an icon on their desktop when
a removable medium is plugged in. You can do that in

Control Center > Desktop > Behavior

on the "Device Icons" tab. Make sure that "Show device icons",
"Unmounted Removable Medium" and "Mounted Removable Medium" are checked.
With this configuration both users should see an icon appear on their
desktop and whoever has the active session and clicks on the icon will
have the medium mounted and opened for them. Unmounting can be done from
the right-click context menu of the icon.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PXE server configuration

2008-10-17 Thread Tzafrir Cohen
On Fri, Oct 17, 2008 at 01:18:40PM +0200, Jesus arteche wrote:
> Hey,
> 
> I got to install a PXE server in my net so that i can install ubuntu and
> debian via netboot, i made it with tftp and dhcp, this is easy for these two
> distros because they have already a netboot images for that. The server is
> running under Debian 4.0 and i wondering if there are some way to do the
> next:

Just edit pxelinux.cfg/default and add relevant entries there.
(or write a configuration fie specific for the IP address / mac address
of the specific system you want to boot)

Pathes are relavive to the tftp root. e.g. to /var/lib/tftpboot .

> 
> 1.- The same that i made for ubuntu and debian,...but with kubuntu..

Basically the same.

> 2.- and for windows xp
> 3.- and for backup images of the pc's of the net made it with system rescuo
> or norton ghost.

Not sure about those. You need some sort of chainloader. Consult the
syslinux homepage? (pxelinux is syslinux).

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot login to Debian Lenny

2008-10-17 Thread Thierry Chatelet
On Friday 17 October 2008 21:21:43 Torsten A. wrote:
> Hello everyone,
>
> I'm having trouble to login to my Debian Lenny, indepent whether I wan't to
> login using gdm or plain at the console. Another is that I don't know much
> about Linux, I am still trying to get along with it.
>
> Cheers,
> Torsten


You can try to log as root. Then try to create a new user. Note carefuly the 
loggin mane and the password and try to log in as the user you have created.
Then give us some news...
Thierry


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Cannot login to Debian Lenny

2008-10-17 Thread Torsten A.
Hello everyone,

I'm having trouble to login to my Debian Lenny, indepent whether I wan't to
login using gdm or plain at the console. Another is that I don't know much
about Linux, I am still trying to get along with it.

The problem is that when the dialog appears to enter the username I do so,
the computer does some action for a short period, as if it would check the
password, and I get the dialoge "Legitmation failed" without being able to
actually enter a password! After that I am prompted to enter a username
again. All I can do to enter the system is to login in single user mode.

The problem occured having installed thinkfinger on my T61. I think I
managed to get rid of anything that was installed by tf, though I'm not
sure.

I alredy looked through the /etc/pam.d/ files and wasn't able to find
anything converning thinkfinger. I already changed back the common-auth,
which was altered by thinkfinger.

So at this point, I am not even sure if the problem is accounted by
thinkfinger. Can you think of anything else that might be broken so I cannot
login to my system, because I am not asked for a password.

Any help would be appreciated!
Thanks in advance!

Cheers,
Torsten


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problems in Debian Lenny XFCE I386 Weekly 20080922

2008-10-17 Thread Masatran / Deepak, R.
I recently installed Debian Lenny XFCE I386 Weekly 20080922 alongside Debian
Etch. I use Sawfish with XFCE panel, Thunar, etc. I have these problems:

1. Some XFCE icons are missing, including "Show Desktop". Thunar shows the
   same icon (sheet of paper) for everything.

2. MPD won't play. Sonata says "No Read Permission". I copied the config
   from Etch but it doesn't work. NMap shows nothing running on port 6600.

3. CHBG is missing . The
   Etch version has dependency problems. The experimental version is missing
   the I386 version. I tried QIV but the wallpaper doesn't show up through
   translucent XFCE terminal.

4. Firefox takes me to a web page that says that it is an alpha build. But I
   thought that Lenny is frozen? Am I misunderstanding something?

5. LUKS couldn't decrypt my home partition; I thought I had lost all my data
   :-( Etch was able to read it fine. However, when I rebooted into Lenny,
   the partition worked fine.

-- 
Masatran / Deepak, R. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: welcome back

2008-10-17 Thread Anthony Campbell
On 17 Oct 2008, Thierry Chatelet wrote:
> On Friday 17 October 2008 17:59:24 Anthony Campbell wrote:
> > On 17 Oct 2008, [EMAIL PROTECTED] wrote:
> > > Larry
> >
> > Perhaps you can answer something I've wondered about. Is it necessary to
> > use a filter on a DSL socket if no ordinary phone is to be plugged in? It
> > doesn't seem to make any difference if you don't use one but perhaps
> > there is some more subtle effect.
> >
> > Anthony
> >
> 
> 
> No, no subtle effect. If you don't use a regular phone on the line, you dont 
> need a filter.
> 
> 

Thanks - I always wondered.

Anthony
-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: creating and logging a daily cron job

2008-10-17 Thread Emanoil Kotsev
Andrei Popescu wrote:

> On Fri,17.Oct.08, 18:10:26, Emanoil Kotsev wrote:
>  
>> > this doesn't seem to be true the job runs and produces output and
>> > root mail is (via /etc/aliases - thanks to Doug!) sent to me but yet I
>> > don't get any o/p from /etc/cron.daily jobs whereas I do from all my
>> > crontab jobs...
>> 
>> I think the *.sh extention is what's wrong, try removing it. just name
>> the script backup. That's what I did and it suddenly worked and is
>> working since 4 years ago.
>  
> Actually the dot:
> 
> ,[ run-parts(8) ]
> | If neither the --lsbsysinit option nor the --regex option is given then
> | the names must consist entirely of upper and lower case
> | letters, digits, underscores, and hyphens.
> `
> 

yes the dot it was implied in what I said ... but thanks for explaining, I
can not explain that good

>> I did it on sarge, which is still the main server os for me.
> 
> Uh, sarge hasn't received any security updates in a while...
> 

Well I did update/upgrade few days ago and few packages got installed.
It's working pretty well for me so I think I'll schedule move to etch or
lenny next year.

Do you know when lenny becomes stable?

thanks and regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USB ownership

2008-10-17 Thread Nuno Magalhães
On Fri, Oct 17, 2008 at 3:57 PM, Jochen Schulz <[EMAIL PROTECTED]> wrote:

> I don't know what Debian's current default solution for auto-mounting
> is, but the problem is that this program simply cannot tell who of you
> is using the USB drive.

pmount, i use it through gkrellm:
http://packages.debian.org/search?keywords=pmount&searchon=names&suite=stable§ion=all

-- 
Nuno Magalhães


Re: how to check a cd-rom?

2008-10-17 Thread Andrei Popescu
On Fri,17.Oct.08, 18:06:54, Dexter Filmore wrote:
> snip
> 
> > That doesn't quite work out:
> >
> > mount /cdrom
> > /Fri Oct 17-06:14:44HDC5# md5sum /cdrom
> > md5sum: /cdrom: Is a directory
> 
> Isn't /cdrom a symlink to /dev/cdrom...?
 
$ ls -l /cdrom
lrwxrwxrwx 1 root root 11 2008-07-11 00:40 /cdrom -> media/cdrom

> Maybe give it the real device path rahther.

He did try that...

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: creating and logging a daily cron job

2008-10-17 Thread Andrei Popescu
On Fri,17.Oct.08, 18:10:26, Emanoil Kotsev wrote:
 
> > this doesn't seem to be true the job runs and produces output and
> > root mail is (via /etc/aliases - thanks to Doug!) sent to me but yet I
> > don't get any o/p from /etc/cron.daily jobs whereas I do from all my
> > crontab jobs...
> 
> I think the *.sh extention is what's wrong, try removing it. just name the
> script backup. That's what I did and it suddenly worked and is working
> since 4 years ago.
 
Actually the dot:

,[ run-parts(8) ]
| If neither the --lsbsysinit option nor the --regex option is given then 
| the names must consist entirely of upper and lower case
| letters, digits, underscores, and hyphens.
`

> I did it on sarge, which is still the main server os for me.

Uh, sarge hasn't received any security updates in a while...

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: USB ownership

2008-10-17 Thread Dotan Cohen
2008/10/17 Jochen Schulz <[EMAIL PROTECTED]>:
> Dotan Cohen:
>> 008/10/17 Paul Cartwright <[EMAIL PROTECTED]>:
>>> thanks, I'll let her know!
>>>
>>> I looked in  /var/log/messages and it didn't say anything about
>>> ownership, though it did say write protect was off..
>>
>> Be careful how you word it.
>
> I think this message just refers to the physical write-protect switch
> that many thumb drives have. If it doesn't have one, it's always
> reported as off.
>

I was not referring to that message. I was referring to his telling
his better half that Windows could 'fix' the drive and Linux could
not.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü


Re: [OT] Debian is good for old brains (and yound ones too)

2008-10-17 Thread Emanoil Kotsev
Andrei Popescu wrote:

> On Fri,17.Oct.08, 10:52:23, Hugo Vanwoerkom wrote:

> I wonder if playing chess might have similar effects. My father loves to
> play chess with the computer, but stays away from it otherwise...
> 
> Regards,
> Andrei

A friend just suggested that if old brains were reading comics, it would
have the same effect :-D

But it's great story, thanks for posting


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Javier Vasquez
On Thu, Oct 16, 2008 at 10:20 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 16, 2008 at 05:10:35PM -0600, Javier Vasquez wrote:
>>
>> When I try to print a page from iceweasel, if I have lprng as my
>> spooler engine, I don't  get in the file-print menu an option to print
>> PostScript/default as I do with iceape.
>
> I use standard LPD to print.  Do you have the xprint package installed?
> Is the about:config line for the lpr command line correct?
>
> Doug.

I've never used xprint.  I never needed it before.  I've used for
several years now plain lprng && (magicfilter || foomatic-filters).
Lately more foomatic-filters since there's no so good documentation
around new network printers, which I can't find in the filters
themselves, so I go and download the specific PPD's from the web...

Maybe using xprint might help, but I wanted to see 1st if there's a
way to make iceweasel print through plain lpr by itself...  At last
I'll look then for xprint, and see how can it help, taking into
account I'm using iceweasel version 3.0.3...

Thanks,

-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Building Okular without KDE 4

2008-10-17 Thread Eduardo M KALINOWSKI
Amit Uttamchandani escreveu:
> The problem with that is that it installs all the kde runtime
> libraries. The machine that I am using is really limited in power. I
> can't even run GNOME here without slowdowns etc. I am guessing all
> those runtime libraries will eat up alot of RAM and cpu cycles
> every time I run okular.

If the program requires those libraries, recompiling will not eliminate
the dependency. If the program does not depend on them, file a bug,
because packages should pull only what's really necessary for them.


-- 
Eduardo M Kalinowski
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: welcome back

2008-10-17 Thread Thierry Chatelet
On Friday 17 October 2008 17:59:24 Anthony Campbell wrote:
> On 17 Oct 2008, [EMAIL PROTECTED] wrote:
> > Larry
>
> Perhaps you can answer something I've wondered about. Is it necessary to
> use a filter on a DSL socket if no ordinary phone is to be plugged in? It
> doesn't seem to make any difference if you don't use one but perhaps
> there is some more subtle effect.
>
> Anthony
>


No, no subtle effect. If you don't use a regular phone on the line, you dont 
need a filter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Javier Vasquez
On Thu, Oct 16, 2008 at 9:40 PM, s. keeling <[EMAIL PROTECTED]> wrote:
> Javier Vasquez <[EMAIL PROTECTED]>:
>>
>>  When I try to print a page from iceweasel, if I have lprng as my
>>  spooler engine, I don't  get in the file-print menu an option to print
>>  PostScript/default as I do with iceape.
>
> I do.  I may have done something to get it to work here, but I'm not
> sure if I changed anything, or this is stock behaviour.  Perhaps blow
> away/purge iceweasel and re-install it?!?  Just guessing, and I doubt
> that's necessary.
>
> If you tell me what to look for in about:config, I'll try to help
> debug this with you.

You can look for "print.printer_PostScript/default".  Actually I saw
lots of options in iceape for this printer, but as it didn't work by
setting 1st the print command, I just didn't want to go ahead and
blindly set by hand all those options.  Maybe there's a specific one
that might do the trick, but just looking at the options I couldn't
figure it out...

BTW, I'm using iceweasel 3.0.3.  Maybe that makes the difference
between your iceweasel and mine, :).

> btw, I don't use iceape, so no idea why the two aren't in sync.

I've always used iceape, just a matter of taste, but requiring this
web-based ms-communicator thing made me some time back start using
iceweasel...  I had to also start using icedove, when I always used
the mail piece of iceape, because of its lack of calendar support
(again required for mettings and the like)...

>
>
> --
> Any technology distinguishable from magic is insufficiently advanced.
> (*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
> - -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.

Thanks,

-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread Emanoil Kotsev
thveillon.debian wrote:

> Hugo Vanwoerkom a écrit :
>> thveillon.debian wrote:
>>> BALLABIO GERARDO a écrit :
 Hi all,
 I'd like to ask for suggestions on how to check a cd-rom (or dvd-rom)
 against the original iso image to verify that it has been burned
 correctly.

 I tried a couple of methods, but I am not sure that they work.

 One was to mount the iso via the loop device and compare the contents
 with "diff -qr". This can tell me that the files' contents are equal,
 but with bootable cd's, I'm not sure that it guarantees that the boot
 sector is recreated correctly. (Actually, this started from a real
 life experience where I burned a live-cd and it didn't boot.)

 The other was to copy back the cd-rom to disk with "dd if=/dev/hdb
 of=cdrom.iso". I assumed that by doing this, I would obtain an iso
 image identical to the original one; but to my surprise, I discovered
 that it was shorter by several kilobytes (exactly 156 512-bytes
 blocks, or 78 KiB). I verified that the two images are actually equal
 except for the missing bytes, and that those are all zeros. Is it
 always so? Can I assume that if I copy back a cd-rom with dd and then
 append 78 KiB of zeros, I'll always recover the original iso image?
 Or did I make some error and dd will, in fact, give me the
 untruncated iso if I do it the right way?

 Thank you.

 Gerardo


>>> Hi,
>>>
>>> md5sum /path/to/isofile
>>>
>>> put cd/dvd in tray, then
>>>
>>> md5sum /dev/cdrom (or /dev/cdrom0... what applies to you).
>>>
>> 
>> That doesn't quite work out:
>> 
>> mount /cdrom
>> /Fri Oct 17-06:14:44HDC5# md5sum /cdrom
>> md5sum: /cdrom: Is a directory
>> 
>> or
>> 
>> /home/hugo/gpc-qt4-002Fri Oct 17-06:14:16HDC5# md5sum /dev/hdd
>> md5sum: /dev/hdd: Input/output error
>> 
>> Hugo
>> 
>> 
>> 
>>
> Hi,
> 
>  >> put cd/dvd in tray, then
>  >>
>  >> md5sum /dev/cdrom (or /dev/cdrom0... what applies to you).
> 
> works here :
> 
> [EMAIL PROTECTED]:~$ md5sum
> ~/Downloads/ISO/debian-LennyBeta2-amd64-netinst.iso
> 83a907b1c150b9942c5048148b4d6892
> ~/Downloads/ISO/debian-LennyBeta2-amd64-netinst.iso
> [EMAIL PROTECTED]:~$ md5sum /dev/cdrom
> 83a907b1c150b9942c5048148b4d6892  /dev/cdrom
> 
> 
> Tom
> 
> 

FYI: on some systems k3b is not checking at all when the drive is reloaded.
Tip: disable the eject after burn option in k3b and voila.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread mess-mate

John Hasler wrote:


Both work fine from here five times in a row.  Iceweasel 3.0.1 on
Debian/Sid.
  


No problem here with iceweasel-3.0.3 Lenny


--
mess-mate

May you do Good Magic with Perl. -- Larry Wall's blessing


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: creating and logging a daily cron job

2008-10-17 Thread Emanoil Kotsev
michael wrote:

> On Tue, 2008-10-14 at 14:18 +0100, Dave Ewart wrote:
>> On Tuesday, 14.10.2008 at 13:22 +0100, michael wrote:
>> 
>> > If I wish to have, say, a backup script running daily by the system (ie
>> > with su privileges) and to have access to any std out/err output what's
>> > the recommended Debian way to do so?
>> > 
>> > I've tried
>> > a) create $HOME/bin/backup.sh script
>> > b) sudo ln -is $HOME/bin/backup.sh /etc/cron.daily
>> > 
>> > and it appears to run each day. However, I can't find where std out/err
>> > is going to - there's nothing in /var/log/syslog for example.
>> > 
>> > Note I don't want to receive mail for all cron jobs run by the system
>> > so I presume setting MAILTO in /etc/crontab is not the way forward.
>> 
>> I think the standard output for jobs run out of cron.daily will
>> typically go to root's mailbox.
> 
> this doesn't seem to be true the job runs and produces output and
> root mail is (via /etc/aliases - thanks to Doug!) sent to me but yet I
> don't get any o/p from /etc/cron.daily jobs whereas I do from all my
> crontab jobs...

I think the *.sh extention is what's wrong, try removing it. just name the
script backup. That's what I did and it suddenly worked and is working
since 4 years ago.
I did it on sarge, which is still the main server os for me.

regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] iceweasel + lprng

2008-10-17 Thread Javier Vasquez
On Fri, Oct 17, 2008 at 1:56 AM, Florian Kulzer
<[EMAIL PROTECTED]> wrote:
> On Thu, Oct 16, 2008 at 17:10:35 -0600, Javier Vasquez wrote:
>> Hi,
>>
>> When I try to print a page from iceweasel, if I have lprng as my
>> spooler engine, I don't  get in the file-print menu an option to print
>> PostScript/default as I do with iceape.
>>
>> So with iceape I'm actually able to print stuff, but with iceweasel I
>> don't get how to do it...  I tried addign fields in "about:config"
>> like PostScript/default printer command and setting the printer to
>> PostScript/default, but it doesn't still show up on the menu.  I was
>> looking at the "about:conifg" for iceape, but there are so many
>> PostScript/default options that I'm looking for an easier way to do
>> it...
>
> If you are using iceweasel version 3, see here:
>
> http://lists.debian.org/debian-user/2008/07/msg00523.html
>
> In older versions of iceweasel you should see a dialog that allows you to
> specify the print command directly (as far as I remember).
>
> --
> Regards,| http://users.icfo.es/Florian.Kulzer
>  Florian   |


Yeap, I use debian unstable, and the iceweasel version is 3.0.3.  Bad
thing is that I don't use gnome (neither kde for that matter), just
plain fluxbox.  So after generating by hand "~/.gtkrc-2.0", and
including in it gtk-print-backends = "file,lpr,cups", did not help me
at all, and I do have installed libgtk2.0-0...

No way to do this inside iceweasel itself?


-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread Dexter Filmore
snip

> That doesn't quite work out:
>
> mount /cdrom
> /Fri Oct 17-06:14:44HDC5# md5sum /cdrom
> md5sum: /cdrom: Is a directory

Isn't /cdrom a symlink to /dev/cdrom...?
Maybe give it the real device path rahther.

Dex


-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--

http://www.vorratsdatenspeicherung.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Debian is good for old brains (and yound ones too)

2008-10-17 Thread Andrei Popescu
On Fri,17.Oct.08, 10:52:23, Hugo Vanwoerkom wrote:
> Hi,
>
> See what I found:
>
> http://well.blogs.nytimes.com/2008/10/16/does-the-internet-boost-your-brainpower/?ei=5070
>
> that must be the reason I like Debian so much.

I wonder if playing chess might have similar effects. My father loves to 
play chess with the computer, but stays away from it otherwise...

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: -- SPAM -- Re: Anti-Virus - seeking opinions

2008-10-17 Thread Emanoil Kotsev
Ron Johnson wrote:

> On 10/17/08 02:43, Emanoil Kotsev wrote:
>> Ron Johnson wrote:
>> 
>>> On 10/17/08 00:45, Amit Uttamchandani wrote:
 On Thu, 16 Oct 2008 22:41:49 -0500
 Ron Johnson <[EMAIL PROTECTED]> wrote:

> On 10/16/08 21:35, Raj Kiran Grandhi wrote:
>> Don Sutter wrote:
>>> Hi All,
>>>
>>> I certainly hope the following doesn't start a flame war! I would
>>> like to use Linux to scan Windows drives for viruses. Since Linux is
>>> generally slime free are any of the Linux anti-virus solutions
>>> robust enough to handle Windows? Perhaps I should consider using VM,
>>> Windows and a Windows based anti-virus? Ideas?
>> Did you give clamav a try? It is in the repos.
>>>  >>
> But can it run stand-alone, to analyze all files in a tree, or plug
> into Samba, so that all new or modified files get scanned?
>
 Samba shares are just mounted file systems right? So I am sure that
 clamav can simply be used to scan those files in the shares...
>>> *If* it can run stand-alone.
>>>
I don't
 think any special hook to plug in to samba.
>>> I figured as much, but it makes it more expensive to scan for malware.
>>>
>> 
>> If you have mounted your windows shares to linux over samba, you just
>> have to tell clamav to scan the point where they are mounted.
>> We have a very good experience with it. In fact we extended clamav with
>> commercial kaspersky for linux and the resultss are more then
>> satisfaying.
> 
> Do you scan it weekly or something?

In the night. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: welcome back

2008-10-17 Thread Anthony Campbell
On 17 Oct 2008, [EMAIL PROTECTED] wrote:
> DSL normally is sent as a number of frequency bands called bins.  The
> spectrum ranges from 0 to about 1MHz.  The DSL filter is used to
> separate the bottom bin which is used for POTS (plain old telephone
> service).  In the home the filter is usually inserted in series with
> any line that may "belch" from the higher frequencies (such as a FAX).
> Larry

Perhaps you can answer something I've wondered about. Is it necessary to
use a filter on a DSL socket if no ordinary phone is to be plugged in? It
doesn't seem to make any difference if you don't use one but perhaps
there is some more subtle effect.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread Andrei Popescu
On Fri,17.Oct.08, 06:19:59, Hugo Vanwoerkom wrote:

> That doesn't quite work out:
>
> mount /cdrom
> /Fri Oct 17-06:14:44HDC5# md5sum /cdrom
> md5sum: /cdrom: Is a directory

You don't need to mount it and you have to run md5sum on the device 
file, not the mount point.

> or
>
> /home/hugo/gpc-qt4-002Fri Oct 17-06:14:16HDC5# md5sum /dev/hdd
> md5sum: /dev/hdd: Input/output error

Strange, I get this error only when it with an audio CD. Do you get the 
same with a standard Debian kernel?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Building Okular without KDE 4

2008-10-17 Thread JoseC . Rodriguez
On Oct 17, 4:10 pm, John Hasler <[EMAIL PROTECTED]> wrote:
> JoseC.Rodriguez writes:
> > ...everytime the package and libraries get updated it'll have to be
> > downloaded again and again (if you're on Sid).
>
> Why do you think you have to constantly update everything just because you
> are running Sid?

I don't think so, but I definitely do updates more often in sid than
in etch. I'd find the opposite quite exotic.

The point here, anyway, is the inconvenience of having to have loads
of different libraries (and versions) to run what one would expect/
hope to be simple and self-contained applications.

Jose


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[OT] Debian is good for old brains (and yound ones too)

2008-10-17 Thread Hugo Vanwoerkom

Hi,

See what I found:

http://well.blogs.nytimes.com/2008/10/16/does-the-internet-boost-your-brainpower/?ei=5070

that must be the reason I like Debian so much.

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USB ownership

2008-10-17 Thread Osamu Aoki
Hi,

I do not know exactly what is happening but give you some idea...

On Fri, Oct 17, 2008 at 07:53:42AM -0400, Paul Cartwright wrote:
> My wife plugged in a USB stick, to save a file to it. It would not let
> her save a file, permission denied. I looked at the ownership of
> /media/disk ( /dev/sdg1) and it showed me as the owner with group as root:
> [EMAIL PROTECTED]:/media$ ls -l /media/disk
> total 208
> -rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
> -rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
> -rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
> -rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4

You and root can access with this.
 
> I am logged in first, vt7, she is logged in 2nd, vt8, and when I
> switched to my login, there was the disk window open ( /media/disk).

Yes.  I guess since you had terminal, gnome/KDE system chose you as
owner and root as group to mount it as default.  (I am assuming you have
formatted USB stick as vfat as normal.  This is how they are
preformatted.)
 
> What do I have to do to get it to recognize her as the owner, when she
> plugs in a USB stick in her login?

Under gnome of pbc:
 * click mounted drive and chose properties
 * Check mount option
 * Click Setting to open it just under mount option display
 * Give mount option to provide gid which you and your wife share and
 * make permission as something like 775

The hints are in man page of mount:
   uid=value and gid=value
  Set the owner and group of all files.  (Default: the uid and gid
  of the current process.)

   umask=value
  Set  the  umask  (the  bitmask  of  the permissions that are not
  present). The default is the umask of the current process.   The
  value is given in octal.


I have never done this one.  But mount option for encoding worked for me.  So
similar tric should work.  See:

  
http://people.debian.org/~osamu/pub/getwiki/html/ch11.en.html#removablemassstoragedevice
Osamu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Building Okular without KDE 4

2008-10-17 Thread Hugo Vanwoerkom

John Hasler wrote:

JoseC.Rodriguez writes:

...everytime the package and libraries get updated it'll have to be
downloaded again and again (if you're on Sid).


Why do you think you have to constantly update everything just because you
are running Sid?


It's exactly the reasoon I like Sid: everything is around, but I don't 
have to install it if I don't want to.


Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Building Okular without KDE 4

2008-10-17 Thread Amit Uttamchandani
On Fri, 17 Oct 2008 06:31:00 -0500
Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

> Amit Uttamchandani wrote:
> > Having used okular in KDE 4, I believe it is one of the best and most
> > feature rich pdf viewer out there. Mainly highlighting and ability to
> > do comments are of most interest to me.
> > 
> > However, I do not use KDE 4. Is it possible to build okular using QT4
> > libraries without KDE4? The package requirements in debian lists that
> > okular requires a bunch of kde 4 dependencies. A quick google search
> > did not reveal anything right away so I thought I'd ask here
> > 
> > Any ideas?
> > 
> 
> I don't use KDE 4 either. apt-get update + apt-get install okular offers 
> to install/upgrade 57 libraries and install okular. 113MB. That takes me 
> about 5 hours. If you have broadband takes you 5 minutes.
> 
> Why don't you just do that?
> 
> Hugo
> 

Thanks for the reply.


The problem with that is that it installs all the kde runtime
libraries. The machine that I am using is really limited in power. I
can't even run GNOME here without slowdowns etc. I am guessing all
those runtime libraries will eat up alot of RAM and cpu cycles
every time I run okular.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Keeping more up to date than Lenny, safely?

2008-10-17 Thread Osamu Aoki
Hi,

On Tue, Oct 14, 2008 at 08:40:25AM -0500, Mark Allums wrote:
>
>> Ron Johnson wrote:
>
  but at the same time i read the release notes for the new
  Ubuntu beta, and its really nice. I *want* Gnome 2.24 (the auto
>>>
>>>  Unstable is at GNOME v2.22.5
>
> I said:
>
>>
>> Unstable (or Sid) has been at 2.23 for a short while, and is already  
>> transitioning to 2.24.



> Let me clarify this a bit:
>
> On my system, if one pulls down the About box for GNOME, it says 2.22.  
> However, if one looks at the files installed, quite a few of them are at  
> 2.23.  A few have started trickling in that are at 2.24.  So it is fair  
> to say that GNOME is in the middle of a transition.  I would like it if  
> it happened a bit faster, but I have no major complaints.

I think you must have some complicated apt line...  (maybe with some
experimental or external sites)

I do not see 2.24 in my sid box.  Source Package gnome-desktop:

* sarge (x11): 2.8.3-2
  Binary packages: gnome-about, gnome-desktop-data, libgnome-desktop-2, 
libgnome-desktop-dev
* etch (x11): 2.14.3-2
  Binary packages: gnome-about, gnome-desktop-data, libgnome-desktop-2, 
libgnome-desktop-dev
* etch-m68k (x11): 2.14.3-2
  Binary packages: gnome-about, gnome-desktop-data, libgnome-desktop-2, 
libgnome-desktop-dev
* lenny (x11): 2.22.3-2
  Binary packages: gnome-about, gnome-desktop-data, libgnome-desktop-2, 
libgnome-desktop-dev
* sid (x11): 2.22.3-2
  Binary packages: gnome-about, gnome-desktop-data, libgnome-desktop-2, 
libgnome-desktop-dev


We at Debian are in freeze mode.  So we do not update packages randomly
in unstable.  Our focus is next release.  This is how Debian works.

Osamu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Anti-Virus - seeking opinions

2008-10-17 Thread Amit Uttamchandani
> 
> 
> I will second Avast. You will have to pay for a company use, but they do
> have a freebie version that you can use at home. There is not much
> difference between the two from what I can tell (in terms of what they
> can do). Plus their support has been really helpful when I needed it.
> 
> I have nothing against clamav, but I have had such a good experience
> with Avast on both Linux and Windows that I have just stuck with Avast.
> 

THe problem with avast and actually any other proprietary company is
that they provide freeware linux software for x86 systems only (adobe,
skype, are other examples).

For us with powerpc machines, we are left out. The only choice for us
is an opensource solution.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: virtual private server? advice requested

2008-10-17 Thread Rob McBroom

On 2008-Oct-16, at 8:05 PM, Reid Priedhorsky wrote:

Also, I discovered lighttpd and nginx, and I think one of them will  
meet
my needs, saving a ton of memory vs. Apache... lighttpd/nginx +  
exim4 +
spamd looks like it will fit just fine in 256M even under a load  
burst.



By sure to check the "Community" pages SliceHost offers. They have  
quite a few articles and I believe some of them cover nginx under  
etch. (For what it's worth, I've always run apache in a 256 MB slice  
and haven't experienced any issues.)


--
Rob McBroom






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Building Okular without KDE 4

2008-10-17 Thread John Hasler
JoseC.Rodriguez writes:
> ...everytime the package and libraries get updated it'll have to be
> downloaded again and again (if you're on Sid).

Why do you think you have to constantly update everything just because you
are running Sid?
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: -- SPAM -- Re: Anti-Virus - seeking opinions

2008-10-17 Thread steef

Ron Johnson wrote:

On 10/17/08 02:43, Emanoil Kotsev wrote:

Ron Johnson wrote:


On 10/17/08 00:45, Amit Uttamchandani wrote:

On Thu, 16 Oct 2008 22:41:49 -0500
Ron Johnson <[EMAIL PROTECTED]> wrote:


On 10/16/08 21:35, Raj Kiran Grandhi wrote:

Don Sutter wrote:

Hi All,

I certainly hope the following doesn't start a flame war! I 
would like

to use Linux to scan Windows drives for viruses. Since Linux is
generally slime free are any of the Linux anti-virus solutions 
robust
enough to handle Windows? Perhaps I should consider using VM, 
Windows

and a Windows based anti-virus? Ideas?

Did you give clamav a try? It is in the repos.

 >>

But can it run stand-alone, to analyze all files in a tree, or plug
into Samba, so that all new or modified files get scanned?


Samba shares are just mounted file systems right? So I am sure that
clamav can simply be used to scan those files in the shares...

*If* it can run stand-alone.


   I don't
think any special hook to plug in to samba.

I figured as much, but it makes it more expensive to scan for malware.



If you have mounted your windows shares to linux over samba, you just 
have

to tell clamav to scan the point where they are mounted.
We have a very good experience with it. In fact we extended clamav with
commercial kaspersky for linux and the resultss are more then 
satisfaying.


Do you scan it weekly or something?


I did not understand if you need it for private or company use.



hi ron,

i am using clamav on one machine and avg for linux on a second machine. 
both machines have two hd's. one with resp. debian_etch/lenny; the other 
with xp (for our adminstration: to get the bills paid), mounted under 
resp etch and lenny. (etch is my working horse)


I scan both xp-hd's twice a week for a longer time. never had any 
trouble at all with viruses on windows.


further, because i send thru messages on two (progressive farmers) 
mailing lists here in the Eu, i check my linux-meilboxes once or twice a 
week as well. once, three years ago (under potato or was it already 
woody?), i got a complaint about sending thru a troian. but even this 
event did not come from my machines, so became clear.


for me a perfect system: checking redmond-capitalism from a linux-machine.


regards,

steef



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USB ownership

2008-10-17 Thread Jochen Schulz
Dotan Cohen:
> 008/10/17 Paul Cartwright <[EMAIL PROTECTED]>:
>> thanks, I'll let her know!
>>
>> I looked in  /var/log/messages and it didn't say anything about
>> ownership, though it did say write protect was off..
> 
> Be careful how you word it.

I think this message just refers to the physical write-protect switch
that many thumb drives have. If it doesn't have one, it's always
reported as off.

J.
-- 
My medicine shelf is my altar.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: USB ownership

2008-10-17 Thread Jochen Schulz
Paul Cartwright:
>
> My wife plugged in a USB stick, to save a file to it. It would not let
> her save a file, permission denied. 
...
> I am logged in first, vt7, she is logged in 2nd, vt8, and when I
> switched to my login, there was the disk window open ( /media/disk).

I don't know what Debian's current default solution for auto-mounting
is, but the problem is that this program simply cannot tell who of you
is using the USB drive.

The best solution is probably to find out which program is responsible
for that and tell it to always make the drive read-/writable to a
specific group to which both of your users belong ("users" is the most
simple option). That way the owner doesn't matter anymore.

J.
-- 
If I am asked 'How are you' more than a million times in my life I
promise to explode.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: OT: welcome back

2008-10-17 Thread owens
>
>
>
> Original Message 
>From: thorntreehome @gmail.com
>To: debian-user@lists.debian.org
>Subject: Re: OT: welcome back
>Date: Fri, 17 Oct 2008 05:48:57 -0700
>
>>On Thu, 16 Oct 2008 10:34:18 -0400, Douglas A. Tutty wrote:
>>
>>> No such luck.  I'd be concerned that the broadband modem would
>produce too
>>> much interference with my wife (remember my low-MHz thread).  I
>know that
>>> a DSL filter causes problems.
>>> 
>>
>>Of course, I don't know your wife, but around here DSL filters
>reduce
>>interference. It's phones that don't have those traps on them that
>>buzz. Perhaps I'm not understanding, I don't remember the thread.
>>
>>
>>> However, now that I'm in a town instead of the boonies, I've
>doubled my
>>> dial-up speed:  I'm finally at 56K!
>>> 
>>
>>Are you sure Doug, telco lines are capped at 53, might show an
>initial
>>connect at 56 but it isn't going to sustain that even if the CO is
>next
>>door. If I remember correctly, if anything was really at 56, there
>could
>>be be some splatter between carrier channels from CO to CO or some
>such
>>reason that the tariff only says 53. But I know your pain. Out here
>I can
>>only sustain between 33 to 38 on a large download but the CO is
>miles and
>>miles away. And, no broadband because I can't afford sat. dish
>Internet
>>and there is no cable. It's really inconvenient for upgrades and
>takes
>>three days to download an ISO for a live CD but I think you are
>familiar
>>with that, eh?

DSL normally is sent as a number of frequency bands called bins.  The
spectrum ranges from 0 to about 1MHz.  The DSL filter is used to
separate the bottom bin which is used for POTS (plain old telephone
service).  In the home the filter is usually inserted in series with
any line that may "belch" from the higher frequencies (such as a FAX).
Larry
>>
>>
>>-- 
>>To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
>>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>ebian.org
>>
>>
>>




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread H.S.
thveillon.debian wrote:

> Hi,
> 
> md5sum /path/to/isofile
> 
> put cd/dvd in tray, then
> 
> md5sum /dev/cdrom (or /dev/cdrom0... what applies to you).


Won't the md5sum depend on the exact command that was used to burn the
iso (how many blocks were burned)?



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread Douglas A. Tutty
On Fri, Oct 17, 2008 at 10:47:53AM +0200, BALLABIO GERARDO wrote:
> Hi all, I'd like to ask for suggestions on how to check a cd-rom (or
> dvd-rom) against the original iso image to verify that it has been
> burned correctly.
> 
> I tried a couple of methods, but I am not sure that they work.
> 
> One was to mount the iso via the loop device and compare the contents
> with "diff -qr". This can tell me that the files' contents are equal,
> but with bootable cd's, I'm not sure that it guarantees that the boot
> sector is recreated correctly. (Actually, this started from a real
> life experience where I burned a live-cd and it didn't boot.)

This can tell you that right now things look ok, but it doesn't tell you
how well the cd was created.

> The other was to copy back the cd-rom to disk with "dd if=/dev/hdb
> of=cdrom.iso". I assumed that by doing this, I would obtain an iso
> image identical to the original one; but to my surprise, I discovered
> that it was shorter by several kilobytes (exactly 156 512-bytes
> blocks, or 78 KiB). I verified that the two images are actually equal
> except for the missing bytes, and that those are all zeros. Is it
> always so? Can I assume that if I copy back a cd-rom with dd and then
> append 78 KiB of zeros, I'll always recover the original iso image? Or
> did I make some error and dd will, in fact, give me the untruncated
> iso if I do it the right way?

I burn my CDs with K3B which has a verify function where it compares the
MD5 of the image and the CD.

Then I run cdck on the disk and it checks for timing errors.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Hard Drive Spin Down

2008-10-17 Thread Douglas A. Tutty
On Fri, Oct 17, 2008 at 08:56:51AM +0200, Neil wrote:
> On Fri, Oct 17, 2008 at 6:01 AM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > On Thu, Oct 16, 2008 at 04:26:17PM -0400, Celejar wrote:
> >> On Thu, 16 Oct 2008 13:46:30 -0400
> >> "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:
> >> > On Thu, Oct 16, 2008 at 12:35:17PM -0400, Celejar wrote:
> >
> > As for performance, consider if you'll be encrypting the data over the
> > network or transfering by NFS and compressing on the backup box.  My
> > 486 couldn't keep a 10 MB/s ethernet NFS share saturated if I expected
> > it to create the tarball.
 
> Can't you compress it on the client machine?

You can, however in some backup scenarios, it may make more
sense to copy over uncompressed.  For example, if you use Amanda, I
think (I may well be wrong) that it copies the data uncompressed.  Part
of it depends on if this is a "push" mode, where each node to be
backed-up pushes its data to the backup box, or a "pull" mode where the
backup box pulls the data according to a central schedule.  

Or, avoid the software compression all-together and go with a tape unit
with hardware compression.  Then you just need a backup box that can
keep the tape unit fed.  Since the speed of tapes goes up over time, I'm
not sure that, e.g. a P-II could suck data fast enough over NFS or ssh
to keep the tape streaming: it could be a processor thing or it could be
bus contention.  Whatever, once you go to tape, you need to look at
throughput.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: creating and logging a daily cron job

2008-10-17 Thread michael
On Tue, 2008-10-14 at 14:18 +0100, Dave Ewart wrote:
> On Tuesday, 14.10.2008 at 13:22 +0100, michael wrote:
> 
> > If I wish to have, say, a backup script running daily by the system (ie
> > with su privileges) and to have access to any std out/err output what's
> > the recommended Debian way to do so?
> > 
> > I've tried
> > a) create $HOME/bin/backup.sh script
> > b) sudo ln -is $HOME/bin/backup.sh /etc/cron.daily
> > 
> > and it appears to run each day. However, I can't find where std out/err
> > is going to - there's nothing in /var/log/syslog for example.
> > 
> > Note I don't want to receive mail for all cron jobs run by the system so
> > I presume setting MAILTO in /etc/crontab is not the way forward.
> 
> I think the standard output for jobs run out of cron.daily will
> typically go to root's mailbox.

this doesn't seem to be true the job runs and produces output and
root mail is (via /etc/aliases - thanks to Doug!) sent to me but yet I
don't get any o/p from /etc/cron.daily jobs whereas I do from all my
crontab jobs...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Marc Shapiro

Brad Rogers wrote:

On Fri, 17 Oct 2008 09:05:17 +0200
"Mathieu Malaterre" <[EMAIL PROTECTED]> wrote:

Hello Mathieu,

  

* http://gdcm.svn.sourceforge.net/gdcm/?rev=4628&view=rev
* http://gdcm.svn.sourceforge.net/gdcm/?rev=4627&view=rev
  I can get a 404 error on the second one, however if I copy/paste
them directly in the URL bar, both appears to be working fine. I can
reproduce on firefox 3.0 & 2.0 on debian testing/stable.
  Could someone please try and report ?



I get the same as you in Testing, using Iceweasel 3.0.3

  
I am using true Firefox 2.0 and about half the time I get the page to 
load when I click on the link.  The other half I get a 404.  I tried it 
10 times and I got a 404 just about every other time I clicked the 
link.  To me, that sounds more like a problem at the server end and not 
at the client end, but I can't say for sure.


--
Marc Shapiro
[EMAIL PROTECTED]




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USB ownership

2008-10-17 Thread Dotan Cohen
008/10/17 Paul Cartwright <[EMAIL PROTECTED]>:
> thanks, I'll let her know!
> I looked in  /var/log/messages and it didn't say anything about
> ownership, though it did say write protect was off..
>

Be careful how you word it. Some users look at this as a way of saying
"Linux is garbage, Windows rulz" but the truth is that the next write
to that disk could very well loose data in unrelated files on the disk
or even trash the whoe file system. Linux simply won't let you do
that. Of course, the best way to prevent that is to perform the write
on the same winbox that the disk was removed from, and pray that no
other USB disk was used on that machine in the meantime (or that it
was not rebooted).

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü


Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Jack Schneider
On Fri, 17 Oct 2008 09:05:17 +0200
"Mathieu Malaterre" <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
>   If I click on the following URLs:
> 
> * http://gdcm.svn.sourceforge.net/gdcm/?rev=4628&view=rev
> * http://gdcm.svn.sourceforge.net/gdcm/?rev=4627&view=rev
> 
>   I can get a 404 error on the second one, however if I copy/paste
> them directly in the URL bar, both appears to be working fine. I can
> reproduce on firefox 3.0 & 2.0 on debian testing/stable.
> 
>   Could someone please try and report ?
> 
> thank you,
They both work for me... Lenny AMD64  FF 3.0.3

Have a great day!

Jack

-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: welcome back

2008-10-17 Thread Thorny
On Thu, 16 Oct 2008 10:34:18 -0400, Douglas A. Tutty wrote:

> No such luck.  I'd be concerned that the broadband modem would produce too
> much interference with my wife (remember my low-MHz thread).  I know that
> a DSL filter causes problems.
> 

Of course, I don't know your wife, but around here DSL filters reduce
interference. It's phones that don't have those traps on them that
buzz. Perhaps I'm not understanding, I don't remember the thread.


> However, now that I'm in a town instead of the boonies, I've doubled my
> dial-up speed:  I'm finally at 56K!
> 

Are you sure Doug, telco lines are capped at 53, might show an initial
connect at 56 but it isn't going to sustain that even if the CO is next
door. If I remember correctly, if anything was really at 56, there could
be be some splatter between carrier channels from CO to CO or some such
reason that the tariff only says 53. But I know your pain. Out here I can
only sustain between 33 to 38 on a large download but the CO is miles and
miles away. And, no broadband because I can't afford sat. dish Internet
and there is no cable. It's really inconvenient for upgrades and takes
three days to download an ISO for a live CD but I think you are familiar
with that, eh?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Ron Johnson

On 10/17/08 03:14, Juha Tuuna wrote:

Mathieu Malaterre wrote:

  Could someone please try and report ?


Windows XP Pro SP3, Firefox 3.0.3
The first link usually works, not always though. The second one is just the
opposite, it usually doesn't work but sometimes it does.
Random generator?


Almost ditto on Iceweasel 3.0.3-2.

Each link was Not Found 4 of 5 times I clicked on the link.

--
Ron Johnson, Jr.
Jefferson LA  USA

Help a man when he is in trouble and he will remember you when
he is in trouble again.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Building Okular without KDE 4

2008-10-17 Thread JoseC . Rodriguez
On Oct 17, 12:40 pm, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

> I don't use KDE 4 either. apt-get update + apt-get install okular offers
> to install/upgrade 57 libraries and install okular. 113MB. That takes me
> about 5 hours. If you have broadband takes you 5 minutes.
>
> Why don't you just do that?

You have to be kidding. There's no way I'm gonna install all that crap
to have YetAnotherViewer. At 110+ MB per application I would soon run
out of HD space--I know, I know, those libraries would also be used by
YetMore_K_insert_app_here. To be honest, when I read the OP I got
curious about Okular and was waiting to get home to see how bad would
it be to ask aptitude to install it. Now I know it's worse than I
feared. And it's not just the 5 minutes/5 hours of install time,
everytime the package and libraries get updated it'll have to be
downloaded again and again (if you're on Sid).


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Anti-Virus - seeking opinions

2008-10-17 Thread Stackpole, Chris
> From: Raj Kiran Grandhi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 16, 2008 9:35 PM
> Don Sutter wrote:
> > Hi All,
> >
> > I certainly hope the following doesn't start a flame war! I would
like
> > to use Linux to scan Windows drives for viruses. Since Linux is
> > generally slime free are any of the Linux anti-virus solutions
robust
> > enough to handle Windows? Perhaps I should consider using VM,
Windows
> > and a Windows based anti-virus? Ideas?
> 
> Did you give clamav a try? It is in the repos.
> Avast has a version for linux. It is free as in beer for personal use.
> 
> You can manage without an anti virus by running Windows in a VM if you
> do not connect it directly to any untrusted network and if you do not
> connect any removable devices directly to the VM.
> 
> >
> > Thanks in advance
> If you can't explain it simply, you don't understand it well enough.
> -- Albert Einstein


I will second Avast. You will have to pay for a company use, but they do
have a freebie version that you can use at home. There is not much
difference between the two from what I can tell (in terms of what they
can do). Plus their support has been really helpful when I needed it.

I have nothing against clamav, but I have had such a good experience
with Avast on both Linux and Windows that I have just stuck with Avast.

~S~


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: -- SPAM -- Re: Anti-Virus - seeking opinions

2008-10-17 Thread Ron Johnson

On 10/17/08 02:43, Emanoil Kotsev wrote:

Ron Johnson wrote:


On 10/17/08 00:45, Amit Uttamchandani wrote:

On Thu, 16 Oct 2008 22:41:49 -0500
Ron Johnson <[EMAIL PROTECTED]> wrote:


On 10/16/08 21:35, Raj Kiran Grandhi wrote:

Don Sutter wrote:

Hi All,

I certainly hope the following doesn't start a flame war! I would like
to use Linux to scan Windows drives for viruses. Since Linux is
generally slime free are any of the Linux anti-virus solutions robust
enough to handle Windows? Perhaps I should consider using VM, Windows
and a Windows based anti-virus? Ideas?

Did you give clamav a try? It is in the repos.

 >>

But can it run stand-alone, to analyze all files in a tree, or plug
into Samba, so that all new or modified files get scanned?


Samba shares are just mounted file systems right? So I am sure that
clamav can simply be used to scan those files in the shares...

*If* it can run stand-alone.


   I don't
think any special hook to plug in to samba.

I figured as much, but it makes it more expensive to scan for malware.



If you have mounted your windows shares to linux over samba, you just have
to tell clamav to scan the point where they are mounted.
We have a very good experience with it. In fact we extended clamav with
commercial kaspersky for linux and the resultss are more then satisfaying.


Do you scan it weekly or something?


I did not understand if you need it for private or company use.


--
Ron Johnson, Jr.
Jefferson LA  USA

Help a man when he is in trouble and he will remember you when
he is in trouble again.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USB ownership

2008-10-17 Thread Paul Cartwright
Dotan Cohen wrote:
> 2008/10/17 Paul Cartwright <[EMAIL PROTECTED]>:
>> My wife plugged in a USB stick, to save a file to it. It would not let
>> her save a file, permission denied. I looked at the ownership of
>> /media/disk ( /dev/sdg1) and it showed me as the owner with group as root:
>> [EMAIL PROTECTED]:/media$ ls -l /media/disk
>> total 208
>> -rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
>> -rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
>> -rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
>> -rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4
>>
>> I am logged in first, vt7, she is logged in 2nd, vt8, and when I
>> switched to my login, there was the disk window open ( /media/disk).
>>
>> What do I have to do to get it to recognize her as the owner, when she
>> plugs in a USB stick in her login?
> 
> 
> Paul, this usually happens when the disk was not removed properly (not
> unmounted) from Windows. Check the system log, you will see that the
> USB filesystem is panicing. Plug the drive into another Windows
> machine, perform a write operation (delete or create a file), and then
> unmount it properly.
> 
thanks, I'll let her know!
I looked in  /var/log/messages and it didn't say anything about
ownership, though it did say write protect was off..

Oct 17 04:42:12 paulandcilla -- MARK --
Oct 17 04:59:33 paulandcilla kernel: [1876057.054231] usb 3-4: new high
speed US
B device using ehci_hcd and address 11
Oct 17 04:59:34 paulandcilla kernel: [1876057.198854] usb 3-4:
configuration #1
chosen from 1 choice
Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] scsi8 : SCSI
emulation for
 USB Mass Storage devices
Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: New USB
device fo
und, idVendor=0930, idProduct=6545
Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: New USB
device strings: Mfr=1, Product=2, SerialNumber=3
Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4: Product:
USB Flash Memory
Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4:
Manufacturer:

Oct 17 04:59:34 paulandcilla kernel: [1876057.203136] usb 3-4:
SerialNumber: 5B8
50A0002E5
Oct 17 04:59:39 paulandcilla kernel: [1876062.600106] scsi 8:0:0:0:
Direct-Access  USB Flash Memory PMAP PQ: 0 ANSI: 0 CCS
Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg]
7827456
512-byte hardware sectors (4008 MB)
Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg]
Write Protect is off
Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg]
7827456
512-byte hardware sectors (4008 MB)
Oct 17 04:59:40 paulandcilla kernel: [1876064.017070] sd 8:0:0:0: [sdg]
Write Pr
otect is off
Oct 17 04:59:40 paulandcilla kernel: [1876064.017070]  sdg: sdg1
Oct 17 04:59:40 paulandcilla kernel: [1876064.065289] sd 8:0:0:0: [sdg]
Attached SCSI removable disk
Oct 17 04:59:40 paulandcilla kernel: [1876064.065289] sd 8:0:0:0:
Attached scsi generic sg7 type 0
Oct 17 05:22:12 paulandcilla -- MARK --
Oct 17 05:42:12 paulandcilla -- MARK --
Oct 17 06:02:12 paulandcilla -- MARK --



-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: MYSQL PATCHES FOR ETCH

2008-10-17 Thread Steve Kemp
On Wed Oct 15, 2008 at 21:27:26 +0200, Michelle Konzack wrote:

> Why not use a real database like PostgreSQL and
> not crap which must be patched to be a database?

  Please don't troll.

  Please also don't send a one/two line message with a 15 line
 signature.  How many people really need your postal address?

Steve
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread John Hasler
Both work fine from here five times in a row.  Iceweasel 3.0.1 on
Debian/Sid.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: About apt-file

2008-10-17 Thread Michelle Konzack
Am 2008-10-15 22:47:15, schrieb Stephen Liu:
> Hi Jochen,
> 
> This is only an example.  We already know mysqladmin coming from
> mysql-server/-client.  Therefore we can add mysql on the search.  In
> some other case if we have no idea of the package.  We only know the
> command/file.  How can we find the package?  "apt-cache search
> command/file" doesn't always work.

I do not understand your problem, since if you know  the  filename,  why
does 'apt-file search ' not work for you?

I use it since apt-file exist and have not a singel problem with it.

And since I have installed all Contents-.gz, I find ANY  files  in
main, contrib, non-free and of  course,  in  sid,  lenny,  etch,  sarge,
woody, potato, slink, hamm and bo.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: ext3 filesystem and file name restrictions

2008-10-17 Thread Michelle Konzack
Am 2008-10-15 11:05:24, schrieb Adam Hardy:
> Is there a basis for the file name restrictions on ext3, i.e. can I say, 
> well ext3 is based on a standard, so I'm going to restrict the file names 
> on macs, otherwise they won't be backed up?

There are none.  You can even have a backslash in the Filename

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: MYSQL PATCHES FOR ETCH

2008-10-17 Thread Michelle Konzack
Am 2008-10-15 11:32:10, schrieb Krishna Chandra Prajapati:
> Hi,
> 
> I am using mysql-server-5.0.32 on debian (etch).  I would like to know from
> where i can get patches for mysql  and how to install the mysql pathces on
> debian.

Why not use a real database like PostgreSQL and
not crap which must be patched to be a database?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: USB ownership

2008-10-17 Thread Dotan Cohen
2008/10/17 Paul Cartwright <[EMAIL PROTECTED]>:
> My wife plugged in a USB stick, to save a file to it. It would not let
> her save a file, permission denied. I looked at the ownership of
> /media/disk ( /dev/sdg1) and it showed me as the owner with group as root:
> [EMAIL PROTECTED]:/media$ ls -l /media/disk
> total 208
> -rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
> -rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
> -rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
> -rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4
>
> I am logged in first, vt7, she is logged in 2nd, vt8, and when I
> switched to my login, there was the disk window open ( /media/disk).
>
> What do I have to do to get it to recognize her as the owner, when she
> plugs in a USB stick in her login?


Paul, this usually happens when the disk was not removed properly (not
unmounted) from Windows. Check the system log, you will see that the
USB filesystem is panicing. Plug the drive into another Windows
machine, perform a write operation (delete or create a file), and then
unmount it properly.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü


USB ownership

2008-10-17 Thread Paul Cartwright
My wife plugged in a USB stick, to save a file to it. It would not let
her save a file, permission denied. I looked at the ownership of
/media/disk ( /dev/sdg1) and it showed me as the owner with group as root:
[EMAIL PROTECTED]:/media$ ls -l /media/disk
total 208
-rwxr-xr-x 1 pbc root  36352 2008-10-02 21:19 FILE_1
-rwxr-xr-x 1 pbc root  16408 2008-10-02 21:39 FILE_2
-rwxr-xr-x 1 pbc root 104960 2008-10-17 07:00 FILE_3
-rwxr-xr-x 1 pbc root  12830 2008-10-17 07:00 FILE_4

I am logged in first, vt7, she is logged in 2nd, vt8, and when I
switched to my login, there was the disk window open ( /media/disk).

What do I have to do to get it to recognize her as the owner, when she
plugs in a USB stick in her login?
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to check a cd-rom?

2008-10-17 Thread thveillon.debian

Hugo Vanwoerkom a écrit :

thveillon.debian wrote:

BALLABIO GERARDO a écrit :

Hi all,
I'd like to ask for suggestions on how to check a cd-rom (or dvd-rom) 
against the original iso image to verify that it has been burned 
correctly.


I tried a couple of methods, but I am not sure that they work.

One was to mount the iso via the loop device and compare the contents 
with "diff -qr". This can tell me that the files' contents are equal, 
but with bootable cd's, I'm not sure that it guarantees that the boot 
sector is recreated correctly. (Actually, this started from a real 
life experience where I burned a live-cd and it didn't boot.)


The other was to copy back the cd-rom to disk with "dd if=/dev/hdb 
of=cdrom.iso". I assumed that by doing this, I would obtain an iso 
image identical to the original one; but to my surprise, I discovered 
that it was shorter by several kilobytes (exactly 156 512-bytes 
blocks, or 78 KiB). I verified that the two images are actually equal 
except for the missing bytes, and that those are all zeros. Is it 
always so? Can I assume that if I copy back a cd-rom with dd and then 
append 78 KiB of zeros, I'll always recover the original iso image? 
Or did I make some error and dd will, in fact, give me the 
untruncated iso if I do it the right way?


Thank you.

Gerardo



Hi,

md5sum /path/to/isofile

put cd/dvd in tray, then

md5sum /dev/cdrom (or /dev/cdrom0... what applies to you).



That doesn't quite work out:

mount /cdrom
/Fri Oct 17-06:14:44HDC5# md5sum /cdrom
md5sum: /cdrom: Is a directory

or

/home/hugo/gpc-qt4-002Fri Oct 17-06:14:16HDC5# md5sum /dev/hdd
md5sum: /dev/hdd: Input/output error

Hugo





Hi,

>> put cd/dvd in tray, then
>>
>> md5sum /dev/cdrom (or /dev/cdrom0... what applies to you).

works here :

[EMAIL PROTECTED]:~$ md5sum 
~/Downloads/ISO/debian-LennyBeta2-amd64-netinst.iso
83a907b1c150b9942c5048148b4d6892 
~/Downloads/ISO/debian-LennyBeta2-amd64-netinst.iso

[EMAIL PROTECTED]:~$ md5sum /dev/cdrom
83a907b1c150b9942c5048148b4d6892  /dev/cdrom


Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Building Okular without KDE 4

2008-10-17 Thread Hugo Vanwoerkom

Amit Uttamchandani wrote:

Having used okular in KDE 4, I believe it is one of the best and most
feature rich pdf viewer out there. Mainly highlighting and ability to
do comments are of most interest to me.

However, I do not use KDE 4. Is it possible to build okular using QT4
libraries without KDE4? The package requirements in debian lists that
okular requires a bunch of kde 4 dependencies. A quick google search
did not reveal anything right away so I thought I'd ask here

Any ideas?



I don't use KDE 4 either. apt-get update + apt-get install okular offers 
to install/upgrade 57 libraries and install okular. 113MB. That takes me 
about 5 hours. If you have broadband takes you 5 minutes.


Why don't you just do that?

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Hugo Vanwoerkom

Mathieu Malaterre wrote:

Hi there,

  If I click on the following URLs:

* http://gdcm.svn.sourceforge.net/gdcm/?rev=4628&view=rev


ii  iceweasel  3.0.1-1
OK



* http://gdcm.svn.sourceforge.net/gdcm/?rev=4627&view=rev



Not Found.






Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: how to check a cd-rom?

2008-10-17 Thread Hugo Vanwoerkom

thveillon.debian wrote:

BALLABIO GERARDO a écrit :

Hi all,
I'd like to ask for suggestions on how to check a cd-rom (or dvd-rom) 
against the original iso image to verify that it has been burned 
correctly.


I tried a couple of methods, but I am not sure that they work.

One was to mount the iso via the loop device and compare the contents 
with "diff -qr". This can tell me that the files' contents are equal, 
but with bootable cd's, I'm not sure that it guarantees that the boot 
sector is recreated correctly. (Actually, this started from a real 
life experience where I burned a live-cd and it didn't boot.)


The other was to copy back the cd-rom to disk with "dd if=/dev/hdb 
of=cdrom.iso". I assumed that by doing this, I would obtain an iso 
image identical to the original one; but to my surprise, I discovered 
that it was shorter by several kilobytes (exactly 156 512-bytes 
blocks, or 78 KiB). I verified that the two images are actually equal 
except for the missing bytes, and that those are all zeros. Is it 
always so? Can I assume that if I copy back a cd-rom with dd and then 
append 78 KiB of zeros, I'll always recover the original iso image? Or 
did I make some error and dd will, in fact, give me the untruncated 
iso if I do it the right way?


Thank you.

Gerardo



Hi,

md5sum /path/to/isofile

put cd/dvd in tray, then

md5sum /dev/cdrom (or /dev/cdrom0... what applies to you).



That doesn't quite work out:

mount /cdrom
/Fri Oct 17-06:14:44HDC5# md5sum /cdrom
md5sum: /cdrom: Is a directory

or

/home/hugo/gpc-qt4-002Fri Oct 17-06:14:16HDC5# md5sum /dev/hdd
md5sum: /dev/hdd: Input/output error

Hugo




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




PXE server configuration

2008-10-17 Thread Jesus arteche
Hey,

I got to install a PXE server in my net so that i can install ubuntu and
debian via netboot, i made it with tftp and dhcp, this is easy for these two
distros because they have already a netboot images for that. The server is
running under Debian 4.0 and i wondering if there are some way to do the
next:

1.- The same that i made for ubuntu and debian,...but with kubuntu..
2.- and for windows xp
3.- and for backup images of the pc's of the net made it with system rescuo
or norton ghost.

If this is possible...someone can tell me where i can find a howto
informaton or how to do...all help is welcome.

thanks.


Re: Programar un generador de funciones con el AC'97

2008-10-17 Thread Hugo Vanwoerkom

joan vicient wrote:

Hola, me llamo Joan y estoy estudiando Electrónica. Me he propuesto
escribir un driver para la tarjeta de sonido de un portátil de modo
que funcione como un generador de funciones.

Mi portátil tiene un controlador intel de la familia 82801, hub6 (
ICH6 ) con un AC'97 integrado para el audio.

Mi intención es programar tanto en Linux como en DOS.

He estado estudiando el datasheet y el "programmer reference manual"
de los chips en cuestión. También he intentado entender los drivers
del ALSA-Project y los del OSS, pero sin éxito.

De momento he trabajado mas en DOS y consigo hacer ruido, pero no
logro controlar la señal de salida.

Muchas gracias por vuestro tiempo, y espero que alguien me pueda dar
un pequeño empujón para terminar ya la carrera.

Muchas gracias a todos!




Joan, esto es una lista en inglés. Hay lista en español también.
Acerca de tu proyecto, prefiero yo hacerlo usando los productos de 
Trolltech, se llama Qt. Tienen un montón de funcciones.


Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Bob Cox
On Fri, Oct 17, 2008 at 11:14:03 +0300, Juha Tuuna ([EMAIL PROTECTED]) wrote: 

> Mathieu Malaterre wrote:
> >   Could someone please try and report ?
> 
> Windows XP Pro SP3, Firefox 3.0.3
> The first link usually works, not always though. The second one is just the
> opposite, it usually doesn't work but sometimes it does.
> Random generator?

Same here with Lenny and both Iceweasel 2.0.0.16 and with Opera 9.52.
When it fails it says:

"The requested URL /gdcm/ was not found on this server."
"Apache/2.2.3 (CentOS) Server at gdcm.svn.sourceforge.net Port 50043"

Why port 50043?

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Issue with URL and firefox (iceweasel)

2008-10-17 Thread Mathieu Malaterre
On Fri, Oct 17, 2008 at 9:36 AM, Brad Rogers <[EMAIL PROTECTED]> wrote:
> On Fri, 17 Oct 2008 09:05:17 +0200
> "Mathieu Malaterre" <[EMAIL PROTECTED]> wrote:
>
> Hello Mathieu,
>
>> * http://gdcm.svn.sourceforge.net/gdcm/?rev=4628&view=rev
>> * http://gdcm.svn.sourceforge.net/gdcm/?rev=4627&view=rev
>>   I can get a 404 error on the second one, however if I copy/paste
>> them directly in the URL bar, both appears to be working fine. I can
>> reproduce on firefox 3.0 & 2.0 on debian testing/stable.
>>   Could someone please try and report ?
>
> I get the same as you in Testing, using Iceweasel 3.0.3

ok, at least I am not going nuts :)

the sf.net admins says they cannot reproduce the issue:

https://sourceforge.net/tracker2/?func=detail&atid=21&aid=2172870&group_id=1

I am not sure then who should I really report the bug to. Is there a
simple test to check what is the culprit party here ? something with
the curl command line to demonstrate that ?

Thanks
-- 
Mathieu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >