Re: networking

2011-01-14 Thread Andrei Popescu
On Vi, 14 ian 11, 19:19:01, Jimmy Wu wrote: > > I use ferm - it has a nice config file syntax that closely mirrors > iptables command syntax, I prefer shorewall because it has a very intuitive syntax. > and it's been a set and forget thing since it > "starts" during boot

Re: networking

2011-01-14 Thread Andrew McGlashan
Bob Proulx wrote: The more typical use would be with a dhcp device. Which would look like this: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp Okay, well the debian squeeze rc1 installer doesn't add "auto eth0" for dhcp. That explains why the networking comes up delayed ... it stil

Re: Lenny - xvinfo: No Adaptors present.. No XVideo

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 12:37:11PM EST, Camaleón wrote: [..] > Maybe it's time for you attach/upload the whole "/var/log/Xorg.0.log" > file :-) Hey.. why not.. http://pastebin.com/38DZcW7D Enjoy¹..! cj ¹ this is the log on ‘lenny’ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.

[solved] Re: Audio from browsers correctly routed (2 audio cards, same box)

2011-01-14 Thread Bruno Buys
On Wed, Jan 12, 2011 at 1:17 AM, Bruno Buys wrote: > Hi all, > I just configured a multiseat computer ( > https://secure.wikimedia.org/wikipedia/en/wiki/Multiseat_configuration) > using my squeeze machine and help from the pt-debian-users list. Very nice, > now I can share it with my wife. Everyt

RE: networking

2011-01-14 Thread Bonno Bloksma
"Bob Proulx" wrote: >> Bonno Bloksma wrote: >>> I have been wondering about this and have not seen any definitive >>> documentation, or if there is, I have not understood it. >>> Does "auto" imply "allow-hotplug"? If not, should I have both >>>auto eth0 eth1 >>> and >>>allow-hotplug eth0

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 11:06:51AM EST, Sven Joachim wrote: > On 2011-01-14 09:24 +0100, Chris Jones wrote: > > I'm in the last stages of migrating my (mostly legacy) stuff to a newer > > laptop and cannot get mplayer to work as well as I had hoped on debian > > lenny. > > > > On my previous syst

Re: Unable to mount Thumb

2011-01-14 Thread Slicky Johnson
On Fri, 14 Jan 2011 20:05:20 + (UTC) Camaleón wrote: > On Fri, 14 Jan 2011 12:03:18 -0500, Slicky Johnson wrote: > > > I've started getting problems with Squeeze and gnome auto-mounting > > any external usb drives. I get the notification window which > > contains... > > (...) > > Could it

Re: networking

2011-01-14 Thread Tom H
On Fri, Jan 14, 2011 at 6:14 PM, shawn wilson wrote: > On Jan 14, 2011 5:56 PM, "Paul Cartwright" wrote: >> >> I added your script anyway  to the ip-up.d/firewall-rules , that looks >> more better:) >> took it out of interfaces. It actually didn't do what I want anyway, the >> file It used was da

Re: networking

2011-01-14 Thread Tom H
On Fri, Jan 14, 2011 at 4:31 PM, Bob Proulx wrote: > Paul Cartwright wrote: >> Bob Proulx wrote: >> >> #iptables loaded here: >> pre-up iptables-restore < /etc/firewall-rules > > That looks like something local to your system.  It seems like an odd > place to put that.  It looks like someone was t

Re: networking

2011-01-14 Thread Jimmy Wu
On Fri, Jan 14, 2011 at 16:31, Bob Proulx wrote: > Paul Cartwright wrote: > I think you did put that in there.  It has that look.  As to whether > it /should/ be there... well *I* wouldn't put it there.  :-) I think > that type of reloading belongs elsewhere such as in an if-up.d/* > script.  But

Re: Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Andrew Engelbrecht
> Selective use of the "cruft" program will help you clean up an existing > system. It compares the list of normal files and conffiles for installed > packages against the file system and reports extras--cruft. The concept fits the bill. :) Unfortunately, I tried it out and there were too many

Re: Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Andrew Engelbrecht
> Unfortunately, that project appears to be dead. There has not been a > release or even an SVN commit since Lenny, and I suspect cruft will > report a lot of false positives in Squeeze. Cruft seems like it would be an ideal tool, but you're right that there were some false positives. It reporte

Re: Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Andrew Engelbrecht
> Although some people think that APT's new autoremove feature will make > deborphan obsolete I still find it useful. 'sudo orphaner' or 'sudo > orphaner -a' for the full list. (I expect many will reply that > aptitude does it better. That's nice. I like deborphan better.) Thanks for the tip.

Re: networking

2011-01-14 Thread shawn wilson
On Jan 14, 2011 5:56 PM, "Paul Cartwright" wrote: > > On 01/14/2011 05:34 PM, Bob Proulx wrote: > > the eth* device and not the lo device. > > > > To be clear you had: > > > > auto lo > > iface lo inet loopback > > pre-up iptables-restore < /etc/firewall-rules > > > > I was going "ew..." abo

Re: networking

2011-01-14 Thread Paul Cartwright
On 01/14/2011 05:34 PM, Bob Proulx wrote: > the eth* device and not the lo device. > > To be clear you had: > > auto lo > iface lo inet loopback > pre-up iptables-restore < /etc/firewall-rules > > I was going "ew..." about having it associated in time with the lo > device coming online. If y

Re: need help making shell script use two CPUs/cores

2011-01-14 Thread Stan Hoeppner
Carl Johnson put forth on 1/13/2011 11:34 AM: > Processors Time (seconds) > P1 66 > P2 36 > P3 25 > P4 20 > P5 20 > P6 20 > P7 20 > P8 20 > > I am sure the time would have increased if the

Re: networking

2011-01-14 Thread Bob Proulx
Paul Cartwright wrote: > Bob Proulx wrote: > > I think you did put that in there. It has that look. As to whether > > it /should/ be there... well *I* wouldn't put it there. :-) I think > > that type of reloading belongs elsewhere such as in an if-up.d/* > > script. But I don't know about your

Re: networking

2011-01-14 Thread Paul Cartwright
On 01/14/2011 04:31 PM, Bob Proulx wrote: > I think you did put that in there. It has that look. As to whether > it /should/ be there... well *I* wouldn't put it there. :-) I think > that type of reloading belongs elsewhere such as in an if-up.d/* > script. But I don't know about your firewall

Re: Please ignore this test.

2011-01-14 Thread Freeman
On Thu, Jan 13, 2011 at 01:17:50PM +, Steve Kleene wrote: > On 2011-01-12 23:13:13 GMT, Simon Hollenbach > googlemail.com> wrote: > > > Debian Mailing lists are not there to test if you can post to them, that's > > highly unwanted, as stated on debian.org . > > You have my apologies. Posts

Re: networking

2011-01-14 Thread Bob Proulx
Paul Cartwright wrote: > Bob Proulx wrote: > > Without 'auto' calling /etc/init.d/networking will bring the interface > > down. But it won't bring the interface up. With 'auto' there then it > > will bring the interface up. I just verified that now with a quick > > test on a Lenny and Squeeze ma

Re: Maximum size of temporary files

2011-01-14 Thread Rob Owens
On Fri, Jan 14, 2011 at 12:20:46PM +, Rodolfo Medina wrote: > Camaleón writes: > > > On Thu, 13 Jan 2011 20:50:00 +, Rodolfo Medina wrote: > > > >> Jochen Schulz writes: > >> > >>> Rodolfo Medina: > > > All right, I didn't want to be prolix. This happens when I try to >

Re: networking

2011-01-14 Thread Paul Cartwright
On 01/14/2011 03:21 PM, Bob Proulx wrote: > Without 'auto' calling /etc/init.d/networking will bring the interface > down. But it won't bring the interface up. With 'auto' there then it > will bring the interface up. I just verified that now with a quick > test on a Lenny and Squeeze machine. A

Re: piping find to zip -- with spaces in path

2011-01-14 Thread Dan B.
Bob Proulx wrote: Dan B. wrote: Bob Proulx wrote: So as you can see whitespace isn't safe to use in URLs. This is basically the same as for Unix filenames. They're not quite the same: Not quite the same is basically the same here. :-) Okay. They're not the same. So they're not basical

Re: networking

2011-01-14 Thread Bob Proulx
Mike Viau wrote: > Would executing '/etc/init.d/networking stop' followed by > '/etc/init.d/networking start' work to restart networking when using only > the new way ('allow-hotplug')? Without 'auto' calling /etc/init.d/networking will bring the interface down. But it won't bring the interface u

RE: networking

2011-01-14 Thread Mike Viau
> On Fri, 14 Jan 2011 12:54:49 -0700 wrote: > > Mihira Fernando wrote: > > Bonno Bloksma wrote: > > > I have been wondering about this and have not seen any definitive > > > documentation, or if there is, I have not understood it. > > > Does "auto" imply "allow-hotplug"? If not, should I have bot

Re: Unable to mount Thumb

2011-01-14 Thread Camaleón
On Fri, 14 Jan 2011 12:03:18 -0500, Slicky Johnson wrote: > I've started getting problems with Squeeze and gnome auto-mounting any > external usb drives. I get the notification window which contains... (...) Could it be related to this bug? :-? udev: The First partition on USB flashdrives alway

Re: networking

2011-01-14 Thread Bob Proulx
Mihira Fernando wrote: > Bonno Bloksma wrote: > > I have been wondering about this and have not seen any definitive > > documentation, or if there is, I have not understood it. > > Does "auto" imply "allow-hotplug"? If not, should I have both > >auto eth0 eth1 > > and > >allow-hotplug eth0

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Boyd Stephen Smith Jr.
In <20110114120047.ga7...@hysteria.proulx.com>, Bob Proulx wrote: >Adrian Levi wrote: >> zparameters="a -mhe=on -pd1ckhead -t7z -m0=lzma -mx=9 -mfb=64 -md=32m >> -ms=on -si" zfilename="Daily Backup - $(date +"%a %h %H%M >> %d-%m-%Y").$backuplevel.tar.7z" > >Yuck! Look at all of those spaces in the

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Boyd Stephen Smith Jr.
In <4d303ac4.2020...@chello.at>, Mart Frauenlob wrote: >On 14.01.2011 11:37, Adrian Levi wrote: >> I have (hopefully) taken on everybody's suggestions, Here is the >> current script :) >> >> >> #!/bin/sh >> >> # Variables: >> # Determine backup level >> incrementalfile="/srv/tar_incremental_file

Re: Help with a bash script please

2011-01-14 Thread Boyd Stephen Smith Jr.
In , Adrian Levi wrote: >backuplevel="0" # Quotes are redundant. backuplevel=0 >rm $incrementalfile > /dev/null 2>&1 >fi > >7zparameters='a -si -mhe=on -ppassword -t7z -m0=lzma -mx=9 -mfb=64 >-md=32m -ms=on -l' >7zfilename='Daily backup - `date +%a" "%h" "%H%M" >"%d-%m-%Y`.$backuplevel.tar.7z'

Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Boyd Stephen Smith Jr.
In <20110114100505.19666oos6ynxf...@mail.kalinowski.com.br>, Eduardo M KALINOWSKI wrote: >On Sex, 14 Jan 2011, Andrew Engelbrecht wrote: >>> Perhaps 'aptitude search ~c' will fill your needs. It will search for >>> unused configuration files. >> >> Ok, I tried that, but that command lists deleted

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 09:20:37AM EST, Klistvud wrote: > Dne, 14. 01. 2011 09:24:32 je Chris Jones napisal(a): [..] >> On the new system, with a fairly current nvidia video card, and the >> default ‘nv’ free driver, only the sound appears to work when I stream >> TV news channels or play .flv vi

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Camaleón
On Fri, 14 Jan 2011 12:08:12 -0500, Chris Jones wrote: > On Fri, Jan 14, 2011 at 09:11:33AM EST, Camaleón wrote: >> On Fri, 14 Jan 2011 03:24:32 -0500, Chris Jones wrote: > > [..] > >> > Is this telling me is that the XVideo extension on the new machine is >> > not enabled? > >> You can check i

Re: Grub2 reinstall on raid1 system.

2011-01-14 Thread Tom H
On Fri, Jan 14, 2011 at 7:06 AM, Jack Schneider wrote: > On Thu, 13 Jan 2011 17:43:53 -0500 > Rob Owens wrote: >> On Thu, Jan 13, 2011 at 08:23:11AM -0600, Jack Schneider wrote: >> > >> > I have a raid1 based W/S running Debian Squeeze uptodate. (was >> > until ~7 days ago) There are 4 drives, 2

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 09:11:33AM EST, Camaleón wrote: > On Fri, 14 Jan 2011 03:24:32 -0500, Chris Jones wrote: [..] > > Is this telling me is that the XVideo extension on the new machine > > is not enabled? > You can check it: > > stt008:~# cat /var/log/Xorg.0.log | grep XVideo > (II) Loading

Unable to mount Thumb

2011-01-14 Thread Slicky Johnson
I've started getting problems with Squeeze and gnome auto-mounting any external usb drives. I get the notification window which contains... Unable to mount Thumb Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,

Re: Install squeeze in DVD from usb

2011-01-14 Thread Josep M. Gasso
Hello Mark, Yes, I tested now and was running perfect,I Installed Squeeze from DVD1 in a usb just ow. I was testing this few months ago and results was not much well with my motherboard. Thanks Josep El jue, 13-01-2011 a las 15:39 -0800, Mark escribió: > On Thu, Jan 13, 2011 at 3:02 PM, And

Re: Install squeeze in DVD from usb

2011-01-14 Thread Mark
On Thu, Jan 13, 2011 at 9:27 PM, Josep M. Gasso wrote: > Hello. > > Can you give more info about how partition the usb drive for install > Debian via the dvd .iso image from usb drive? > I followed the instructions from the link below and it worked great for Lenny. Andrew indicated Squeeze may b

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Sven Joachim
On 2011-01-14 09:24 +0100, Chris Jones wrote: > I'm in the last stages of migrating my (mostly legacy) stuff to a newer > laptop and cannot get mplayer to work as well as I had hoped on debian > lenny. > > On my previous system with an old ATI Mach64, I specified the XVideo > output driver and wa

Re: need help making shell script use two CPUs/cores

2011-01-14 Thread Osamu Aoki
On Sun, Jan 09, 2011 at 10:05:43AM -0600, Stan Hoeppner wrote: > I'm not very skilled at writing shell scripts. > > #! /bin/sh > for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > > I use the above script to batch re-size digital camera photos after I > dump them to my web server. It ta

Re: Keyboard freezing/repeating endlessly

2011-01-14 Thread Joe Riel
On Fri, 14 Jan 2011 11:38:43 + (UTC) Camaleón wrote: > You can: > > 1/ Start the system with no xorg (console) and leave it so for > sometine to check if the problem is still present (even with no x > server). I'll attempt to try this. Might be painful working in a virtual terminal all th

X-TREM Blaster

2011-01-14 Thread Austin Arnold
I would like the x-trem blaster-clicktool.

Re: networking

2011-01-14 Thread Mihira Fernando
On 01/14/2011 07:43 PM, Bonno Bloksma wrote: Hi, # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp allow hotplug eth1 iface eth1 inet dhcp replace 'allow hotplug' with 'auto' auto eth0 auto eth1 I have been wondering about this and have not seen any definitive documentat

Re: eSATA problems with ThermalTake BlacX Duet

2011-01-14 Thread Camaleón
On Thu, 13 Jan 2011 14:52:08 -0500, Gregory Seidman wrote: > I have a BlacX Duet with two 1.5TB drives in it. Try with just one disk attached. Has the onboard sata controller/sata card the "port multiplier" function enabled? It seems to be a requirement to get the 2 disks working when using

RE: networking

2011-01-14 Thread Bonno Bloksma
Hi, >> # The primary network interface >> allow-hotplug eth0 >> iface eth0 inet dhcp >> allow hotplug eth1 >> iface eth1 inet dhcp >replace 'allow hotplug' with 'auto' >auto eth0 >auto eth1 I have been wondering about this and have not seen any definitive documentation, or if there is, I have no

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Klistvud
Dne, 14. 01. 2011 09:24:32 je Chris Jones napisal(a): I'm in the last stages of migrating my (mostly legacy) stuff to a newer laptop and cannot get mplayer to work as well as I had hoped on debian lenny. On my previous system with an old ATI Mach64, I specified the XVideo output driver and was

Problem with xorg

2011-01-14 Thread Andrea Minnucci
Hi, I have a problem in my program, when I run in two modes the X server. I have developed a browser in Java, making use of libraries and using Eclipse SWT xulrunner. Then, I load a web page, which run the video through VLC mozilla plugin. - In the first case, part of debian with gnome (gdm3)

Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Camaleón
On Fri, 14 Jan 2011 03:24:32 -0500, Chris Jones wrote: > I'm in the last stages of migrating my (mostly legacy) stuff to a newer > laptop and cannot get mplayer to work as well as I had hoped on debian > lenny. > > On my previous system with an old ATI Mach64, I specified the XVideo > output driv

Re: Grub2 reinstall on raid1 system.

2011-01-14 Thread Tom H
On Thu, Jan 13, 2011 at 5:43 PM, Rob Owens wrote: > On Thu, Jan 13, 2011 at 08:23:11AM -0600, Jack Schneider wrote: >> >> I have a raid1 based W/S running Debian Squeeze uptodate. (was >> until ~7 days ago) There are 4 drives, 2 of which had never been >> used or formatted. I configured a new arra

Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Sven Joachim
On 2011-01-14 13:56 +0100, Darac Marjal wrote: > On Thu, Jan 13, 2011 at 08:10:07PM -0500, Drew Engelbrecht wrote: >>I've noticed some abandoned configuration files have been left lying >>around my harddrive, which by their existence have a (sometimes negative) >>effect on my upgraded

Generate 1497.00 and 3497.00 Checks Daily.

2011-01-14 Thread Ray G
Hello, Are you looking forward to a Successful New Year or would you like to make a few changes? Fed up with the total BS Biz Opps out there ? Well I have found a system that puts $1497.00 and $3497.00 checks into my bank account like clockwork. Attend a simple recorded webinar(below) wh

Re: Help with a bash script please

2011-01-14 Thread shawn wilson
Oh yeah, and I think its better to put constants at the top of the file. Makes things easier imo. Also, chose better variable names. I figured out what they are based on how you used them but it should be the other way around - backupoath vs backuplocation - really? How about 'source' and 'dest'?

Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Darac Marjal
On Thu, Jan 13, 2011 at 08:10:07PM -0500, Drew Engelbrecht wrote: >I've noticed some abandoned configuration files have been left lying >around my harddrive, which by their existence have a (sometimes negative) >effect on my upgraded system. They were installed by packages in lenny, >

Re: Maximum size of temporary files

2011-01-14 Thread Camaleón
On Fri, 14 Jan 2011 12:20:46 +, Rodolfo Medina wrote: > Camaleón writes: > >> Can you post a link with a video sample? >> >> I have no problem to get the whole video stored in the cache folder >> when watching them at Youtube, provided the whole cache size of the >> browser is set to a higher

backup [was Re: Help with a bash script please]

2011-01-14 Thread Miles Fidelman
Jochen Schulz wrote: Adrian Levi: This is going to be my new backup script, I don't want to keep you from learning shell scripting, but I generally advise against scripting your own backup solution. From my experience the result is error prone, tends to attract feature creep and is ha

Re: OT: Re: Help with a bash script please

2011-01-14 Thread shawn wilson
No real help here, just some general comments. First, don't cd in a script. Use full paths - this includes defining paths to your programs (if you or someone else put a different program with the same name that is found earlier in your path, your script is liable to cause a big mess). Bash is nice

Re: Help with a bash script please

2011-01-14 Thread Adrian Levi
On 14 January 2011 22:44, Mart Frauenlob wrote: ! > see also: > http://en.wikipedia.org/wiki/Unix_shell > http://en.wikipedia.org/wiki/Comparison_of_command_shells Thanks for the homework ;-) It works now BTW... Adrian -- 24x7x365 != 24x7x52 Stupid or bad maths? hm. I've lost a machine.. l

Re: Grub2 reinstall on raid1 system.

2011-01-14 Thread Jack Schneider
On Fri, 14 Jan 2011 06:06:17 -0600 Jack Schneider wrote: > On Thu, 13 Jan 2011 17:43:53 -0500 > Rob Owens wrote: > > > On Thu, Jan 13, 2011 at 08:23:11AM -0600, Jack Schneider wrote: > > > > > > I have a raid1 based W/S running Debian Squeeze uptodate. (was > > > until ~7 days ago) There are 4

Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 13:11, Adrian Levi wrote: On 14 January 2011 21:51, Mart Frauenlob wrote: [...] Not sure exactly what bash (as compared to sh) specific things I might be experiencing but from the man page: "If bash is invoked with the name sh, it tries to mimic the startup behavior of histori

Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 13:11, Adrian Levi wrote: On 14 January 2011 21:51, Mart Frauenlob wrote: in debian lenny (and previous releases) the default shell aka sh is bash. the file /bin/sh is a symbolic link to /bin/bash. however in squeeze afaik the default shell is dash. so your script starting with t

Re: Grub2 reinstall on raid1 system.

2011-01-14 Thread Bob Proulx
Jack Schneider wrote: > I have a raid1 based W/S running Debian Squeeze uptodate. (was > until ~7 days ago) There are 4 drives, 2 of which had never been > used or formatted. I configured a new array using Disk Utility from a > live Ubuntu CD. That's where I screwed up... The end result was the > n

Re: Grub2 reinstall on raid1 system.

2011-01-14 Thread Jack Schneider
On Thu, 13 Jan 2011 17:43:53 -0500 Rob Owens wrote: > On Thu, Jan 13, 2011 at 08:23:11AM -0600, Jack Schneider wrote: > > > > I have a raid1 based W/S running Debian Squeeze uptodate. (was > > until ~7 days ago) There are 4 drives, 2 of which had never been > > used or formatted. I configured a

Re: Maximum size of temporary files

2011-01-14 Thread Rodolfo Medina
Camaleón writes: > On Thu, 13 Jan 2011 20:50:00 +, Rodolfo Medina wrote: > >> Jochen Schulz writes: >> >>> Rodolfo Medina: All right, I didn't want to be prolix. This happens when I try to catch a streaming video from internet. On my system, while the video is ru

Re: Help with a bash script please

2011-01-14 Thread Adrian Levi
On 14 January 2011 21:51, Mart Frauenlob wrote: > in debian lenny (and previous releases) the default shell aka sh is bash. > the file /bin/sh is a symbolic link to /bin/bash. > however in squeeze afaik the default shell is dash. > so your script starting with the shebang #!/bin/sh will not be ru

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 12:50, Adrian Levi wrote: I know where the error lies but not how to fix it. zparameters="a -mhe=on -pd1ckhead -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -si" zfilename="Daily Backup - $(date +"%a %h %H%M %d-%m-%Y").$backuplevel.tar.7z" When these two expand here: tar $tarparamet

Re: Re: How to make an upgraded system clean by automatically removing abandoned config files?

2011-01-14 Thread Eduardo M KALINOWSKI
On Sex, 14 Jan 2011, Andrew Engelbrecht wrote: Perhaps 'aptitude search ~c' will fill your needs. It will search for unused configuration files. Ok, I tried that, but that command lists deleted packages that left config files behind; I'm looking for a way to delete abandoned config files that b

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 11:37, Adrian Levi wrote: I have (hopefully) taken on everybody's suggestions, Here is the current script :) #!/bin/sh # Variables: # Determine backup level incrementalfile="/srv/tar_incremental_file" if [ -f $incrementalfile ] then backuplevel="date +%w" you want: backuplevel

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Bob Proulx
Adrian Levi wrote: > zparameters="a -mhe=on -pd1ckhead -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on > -si" > zfilename="Daily Backup - $(date +"%a %h %H%M %d-%m-%Y").$backuplevel.tar.7z" Yuck! Look at all of those spaces in the filename! :-) (Recalling all of the discussion over the past couple o

Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 10:33, Adrian Levi wrote: I have the following bash script and it fails at line 14 and 15 (7zparameters= and 7zfilename=) I have tried everything i can think of to get it to work, the answer has to be simple but i can't figure it. This is going to be my new backup script, based on

Re: No input in serial console

2011-01-14 Thread Niccolò Belli
SOLVED: https://savannah.gnu.org/bugs/index.php?32115 Il 12 gennaio 2011 20:57, Niccolò Belli ha scritto: > I'm sorry, it isn't Lenny, it's Squeeze (Debian unstable). > > Il 12 gennaio 2011 20:53, Niccolò Belli ha scritto: >> Hi, I'm using an RS232 serial console with Debian Lenny. Output works

OT: Re: Help with a bash script please

2011-01-14 Thread Adrian Levi
I know where the error lies but not how to fix it. zparameters="a -mhe=on -pd1ckhead -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -si" zfilename="Daily Backup - $(date +"%a %h %H%M %d-%m-%Y").$backuplevel.tar.7z" When these two expand here: tar $tarparameters $backuppath | 7z $zparameters $zfilena

Re: Keyboard freezing/repeating endlessly

2011-01-14 Thread Camaleón
On Thu, 13 Jan 2011 13:56:03 -0800, Joe Riel wrote: > On Thu, 13 Jan 2011 15:23:09 -0600 Hugo Vanwoerkom wrote: (...) >> >>> "evdev" module is unloaded for no apparent reason but not sure if >> >>> this a normal/common log. >> >> To check this, I just restarted the machine and compared the >>

Re: PCI video card on Dell Dimension 2300

2011-01-14 Thread Chris Bannister
On Mon, Jan 10, 2011 at 08:37:07PM -0600, Jim Lebeau wrote: > On Mon, 10 Jan 2011 17:02:28 + (UTC), Camaleón wrote: > > Have you tried by passing "agp=off" as kernel parameter when booting? > > I did just now and it worked like a charm. > > Thank you very much, > > Jim > > -- > Using Ope

Re: Help with a bash script please

2011-01-14 Thread Adrian Levi
On 14 January 2011 20:32, Jochen Schulz wrote: > I don't want to keep you from learning shell scripting, but I generally > advise against scripting your own backup solution. From my experience > the result is error prone, tends to attract feature creep and is hard to > deploy to new environments.

Re: Maximum size of temporary files

2011-01-14 Thread Camaleón
On Thu, 13 Jan 2011 20:50:00 +, Rodolfo Medina wrote: > Jochen Schulz writes: > >> Rodolfo Medina: >>> >>> >>> All right, I didn't want to be prolix. This happens when I try to >>> catch a streaming video from internet. On my system, while the video >>> is running from the web, it is stor

OT: Re: Help with a bash script please

2011-01-14 Thread Adrian Levi
I have (hopefully) taken on everybody's suggestions, Here is the current script :) #!/bin/sh # Variables: # Determine backup level incrementalfile="/srv/tar_incremental_file" if [ -f $incrementalfile ] then backuplevel="date +%w" else backuplevel="0" rm $incrementalfile > /dev/null 2>&1 fi zpa

Re: Help with a bash script please

2011-01-14 Thread Jochen Schulz
Adrian Levi: > > This is going to be my new backup script, I don't want to keep you from learning shell scripting, but I generally advise against scripting your own backup solution. From my experience the result is error prone, tends to attract feature creep and is hard to deploy to new environme

Re: Help with a bash script please

2011-01-14 Thread Adrian Levi
On 14 January 2011 19:46, Javier Barroso wrote: > variable names can't start with a number, I guess this is the fail. That was one, In all the material I read i didn't pick that one up. -- 24x7x365 != 24x7x52 Stupid or bad maths? hm. I've lost a machine.. literally _lost_. it responds to ping,

Re: mail to debian-user bounces

2011-01-14 Thread Camaleón
On Thu, 13 Jan 2011 23:39:43 +0200, Andrei Popescu wrote: > On Jo, 13 ian 11, 12:09:58, Camaleón wrote: >> >> OTOH, I would contact the Debian mailing list admin >> (listmaster[at]lists.debian.org) so he/she can check the internal >> mailing > ^^ > This munging is not really neede

Re: networking

2011-01-14 Thread Tom H
On Fri, Jan 14, 2011 at 2:30 AM, shawn wilson wrote: > On Fri, Jan 14, 2011 at 2:17 AM, Tom H wrote: >> On Fri, Jan 14, 2011 at 2:04 AM, shawn wilson wrote: >>> >>> allow-hotplug eth0 >>> iface eth0 inet dhcp >>> allow hotplug eth1 >>> iface eth1 inet dhcp >> >> How about with "allow-hotplug eth

Re: Help with a bash script please

2011-01-14 Thread der.hans
Am 14. Jan, 2011 schwätzte Adrian Levi so: moin moin, I have the following bash script and it fails at line 14 and 15 (7zparameters= and 7zfilename=) I have tried everything i can think of to get it to work, the answer has to be simple but i can't figure it. 7zparameters='a -si -mhe=on -ppas

Re: Help with a bash script please

2011-01-14 Thread Jochem Kossen
Hi Adrian, On 01/14/2011 10:33 AM, Adrian Levi wrote: I have the following bash script and it fails at line 14 and 15 (7zparameters= and 7zfilename=) I have tried everything i can think of to get it to work, the answer has to be simple but i can't figure it. This is going to be my new backup sc

Re: Help with a bash script please

2011-01-14 Thread Neil Youngman
On Friday 14 Jan 2011 09:41:34 shawn wilson wrote: > On Jan 14, 2011 4:33 AM, "Adrian Levi" wrote: > > I have the following bash script and it fails at line 14 and 15 > > (7zparameters= and 7zfilename=) I have tried everything i can think of > > to get it to work, the answer has to be simple but i

Re: Help with a bash script please

2011-01-14 Thread Javier Barroso
On Fri, Jan 14, 2011 at 10:46 AM, Javier Barroso wrote: > On Fri, Jan 14, 2011 at 10:33 AM, Adrian Levi wrote: >> I have the following bash script and it fails at line 14 and 15 >> (7zparameters= and 7zfilename=) I have tried everything i can think of >> to get it to work, the answer has to be si

Re: Help with a bash script please

2011-01-14 Thread Javier Barroso
On Fri, Jan 14, 2011 at 10:33 AM, Adrian Levi wrote: > I have the following bash script and it fails at line 14 and 15 > (7zparameters= and 7zfilename=) I have tried everything i can think of > to get it to work, the answer has to be simple but i can't figure it. variable names can't start with a

Re: Help with a bash script please

2011-01-14 Thread shawn wilson
On Jan 14, 2011 4:33 AM, "Adrian Levi" wrote: > > I have the following bash script and it fails at line 14 and 15 > (7zparameters= and 7zfilename=) I have tried everything i can think of > to get it to work, the answer has to be simple but i can't figure it. > > This is going to be my new backup s

Help with a bash script please

2011-01-14 Thread Adrian Levi
I have the following bash script and it fails at line 14 and 15 (7zparameters= and 7zfilename=) I have tried everything i can think of to get it to work, the answer has to be simple but i can't figure it. This is going to be my new backup script, based on an earlier version that is very similar in

Re: Maximum size of temporary files

2011-01-14 Thread Andrei Popescu
On Jo, 13 ian 11, 19:04:11, shawn wilson wrote: > fwiw Since this isn't a browser specific forum, why are you trying to save > videos with firefox (when browsers are not really meant to do that) and not > using something like vlc? Last time I checked (did this) there were tons of > forum posts and

Re: Maximum size of temporary files

2011-01-14 Thread Boyd Stephen Smith Jr.
In <87zkr4boi6@gmail.com>, Rodolfo Medina wrote: >"Boyd Stephen Smith Jr." writes: >> In <878vyoepsy@gmail.com>, Rodolfo Medina wrote: >>>It seems that the maximum size of internet temporary files on my Debian >>>Lenny system is 5.5MB. How can I enlarge it at my pleasure? >> >> How you k

Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
I'm in the last stages of migrating my (mostly legacy) stuff to a newer laptop and cannot get mplayer to work as well as I had hoped on debian lenny. On my previous system with an old ATI Mach64, I specified the XVideo output driver and was getting pretty decent results. On the new system, with