Re: Copy a file one hundred times

2008-12-13 Thread H.S.
Thomas Preud'homme wrote: > filevar=$1 # The file to copy a hundred time > basefile=${filevar%.[^.]*} # We delete all the end from the last dot (eg > a dot followed by any others caracters) > extension=${filevar##^.*.} # We delete all the beginning until the last Just for refere

Re: Copy a file one hundred times

2008-12-13 Thread H.S.
Thomas Preud'homme wrote: > The Saturday 13 December 2008 20:12:32 Rodolfo Medina, you wrote : >> I need the right syntax to copy file.jpg 100 times with one command so to >> get 100 files named file1.jpg, file2.jpg, ..., file100.jpg. >> >> Can anybody suggest how to achieve that? >> >> Thanks for

Re: Copy a file one hundred times

2008-12-13 Thread H.S.
Rick Pasotto wrote: > > I forgot about seq. This is even better (the -w left pads with zero for > equal width): > > for x in $(seq -w 1 100); do cp file.jpg file${x}.jpg; done > correction^ Nice! Something I have been looking for quite some time. I was u

Re: wlan0 + eth0 = br0

2008-12-13 Thread Jerome BENOIT
Thanks for the replies: I have tried with STP on, but I got the same. Is there any good on a laptop to manage together the wlan0 and the eth0 cards ? Thanks in advance, Jerome Boyd Stephen Smith Jr. wrote: On Saturday 2008 December 13 11:04:05 Jerome BENOIT wrote: (wlan0|eth0): received packe

Re: reading USB port on old Thinkpad

2008-12-13 Thread Douglas A. Tutty
On Sat, Dec 13, 2008 at 10:26:37PM -0600, ZephyrQ wrote: > I am trying to use an old Thinkpad 309e. (PII, 128M memory). Etch runs > fine (if slow) but I am using it as sound production > (recording/playback) machine. > > Only problem is that I can't get the files OFF the laptop to > mix/edit/b

reading USB port on old Thinkpad

2008-12-13 Thread ZephyrQ
I am trying to use an old Thinkpad 309e. (PII, 128M memory). Etch runs fine (if slow) but I am using it as sound production (recording/playback) machine. Only problem is that I can't get the files OFF the laptop to mix/edit/burn on my home machine. It has a USB port, but I've tried a few th

Re: cupsys installation

2008-12-13 Thread Douglas A. Tutty
On Sat, Dec 13, 2008 at 09:45:57AM -0500, Tom Allison wrote: > Douglas A. Tutty wrote: > >On Fri, Dec 12, 2008 at 01:11:56PM -0500, Tom Allison wrote: > >>Is there any way to install cups without introducing any of the X11 > >>libraries? > >> > >>I am trying to set this up on a headless box that d

Re: Copy a file one hundred times

2008-12-13 Thread Osamu Aoki
On Sat, Dec 13, 2008 at 09:13:07PM +, Tzafrir Cohen wrote: > On Sun, Dec 14, 2008 at 03:50:31AM +0900, Osamu Aoki wrote: > > On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote: > > > I need the right syntax to copy file.jpg 100 times with one command so to > > > get > > > 100 files

alsa and default sound input/output

2008-12-13 Thread subscriptions
Hi all, I am using Skype and my webcam has an in-build microphone. Is it possible that after hot-plugging the webcam, the default microphone (input) is from the webcam? But at the same time the default sound output is still to the on-board sound-card (i.e. laptop speakers)? At the moment I have

Re: Copy a file one hundred times

2008-12-13 Thread Manon Metten
Hi Rick, On Sat, Dec 13, 2008 at 7:41 PM, Rick Pasotto wrote: > I forgot about seq. This is even better (the -w left pads with zero for > equal width): > > for x in $(seq -w 1 100); do cp file.jpg file${c}.jpg; done Waw! Great one-liner. BTW: Guess you meant file${x}.jpg; Greetings, Manon.

Re: need help with net configuration

2008-12-13 Thread Boyd Stephen Smith Jr.
On Saturday 2008 December 13 14:47:12 raman narasimhan wrote: >sir, >me and a friend of mine had installed debian etch together. i configured my >Internet while installing itself but my friend didn't. both of us have ADSL >broadband connections. i'm now able to browse the net freely but his net >se

Re: wlan0 + eth0 = br0

2008-12-13 Thread Boyd Stephen Smith Jr.
On Saturday 2008 December 13 11:04:05 Jerome BENOIT wrote: >(wlan0|eth0): received packet with own address as source address > >I have googled to find a fix, but so far I have found nothing. My best guess is to make sure STP is turned on for the bridge, but that's it. -- Boyd Stephen Smith Jr.  

Fan constantly ON on a Dell Latitude E5400

2008-12-13 Thread S�bastien Hinderer
Dear all, A debian unstable has been installed on the above mentionned machine. The system is used in text mode (no X server) and with very few applications running (a few shells, an editor, a mail user agent..). However, the fan is constantly turned on, although the temperature of the processor r

Re: wlan0 + eth0 = br0

2008-12-13 Thread Boyd Stephen Smith Jr.
On Saturday 2008 December 13 13:02:15 Christopher Zimmermann wrote: >is this even possible? I think I once tried it and found out that its >not possible because wlans don't use arp or something like that. Yeah, that's an issue, but there's an arp-proxy in some package that can solve that, IIRC. -

Re: tp_smapi config

2008-12-13 Thread Micha Feigin
On Sat, 13 Dec 2008 17:27:55 -0400 tyler wrote: > Micha Feigin writes: > > > On Sat, 13 Dec 2008 14:02:47 -0400 > > tyler wrote: > >> >> > >> >> oops. I'm missing something. I just installed the tp-smapi packages for > >> >> my kernel, > > > > modprobe tp_smapi > > > and if you want it to l

Alsa problem

2008-12-13 Thread Alex Samad
Hi I am having problems with my alsa setup, I have an Audigy 2 Value [SB0400]. when I try playing via iec958 aplay dummy.wav -D iec958 -v everything plays okay, says its playing via hw 0,0,0 But when I try aplay dummy.wav -D hw:0,0,0 -v I don't get any sound :( I am testing this so I can

Re: Copy a file one hundred times

2008-12-13 Thread Alex Samad
On Sat, Dec 13, 2008 at 09:13:07PM +, Tzafrir Cohen wrote: > On Sun, Dec 14, 2008 at 03:50:31AM +0900, Osamu Aoki wrote: > > On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote: > > > I need the right syntax to copy file.jpg 100 times with one command so to > > > get > > > 100 files

Re: tp_smapi config

2008-12-13 Thread tyler
Micha Feigin writes: > On Sat, 13 Dec 2008 14:02:47 -0400 > tyler wrote: >> >> >> >> oops. I'm missing something. I just installed the tp-smapi packages for >> >> my kernel, > > modprobe tp_smapi > and if you want it to load automatically at startup you will want to > do as root > echo tp_sm

Re: tp_smapi config

2008-12-13 Thread Micha Feigin
On Sat, 13 Dec 2008 14:02:47 -0400 tyler wrote: > Micha Feigin writes: > > > On Fri, 12 Dec 2008 11:23:35 -0400 > > tyler wrote: > > > >> Winfried Tilanus writes: > >> > >> > Install the tp_smapi modules. See http://www.thinkwiki.org/wiki/Tp_smapi > >> > for more information. > >> > >> oops

Re: need help with net configuration

2008-12-13 Thread Jeff D
On Fri, 12 Dec 2008, raman narasimhan wrote: > sir, > me and a friend of mine had installed debian etch together. i configured my > Internet while installing itself but my friend didn't. both of us have ADSL > broadband connections. i'm now able to browse the net freely but his net > settings have

Re: Copy a file one hundred times

2008-12-13 Thread Tzafrir Cohen
On Sun, Dec 14, 2008 at 03:50:31AM +0900, Osamu Aoki wrote: > On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote: > > I need the right syntax to copy file.jpg 100 times with one command so to > > get > > 100 files named file1.jpg, file2.jpg, ..., file100.jpg. > > > > Can anybody sugge

need help with net configuration

2008-12-13 Thread raman narasimhan
sir, me and a friend of mine had installed debian etch together. i configured my Internet while installing itself but my friend didn't. both of us have ADSL broadband connections. i'm now able to browse the net freely but his net settings haven't been set. how can we connect his system to the Inter

need help with net configuration

2008-12-13 Thread raman narasimhan
sir, me and a friend of mine had installed debian etch together. i configured my Internet while installing itself but my friend didn't. both of us have ADSL broadband connections. i'm now able to browse the net freely but his net settings haven't been set. how can we connect his system to the Inter

need help with net configuration

2008-12-13 Thread raman narasimhan
sir, me and a friend of mine had installed debian etch together. i configured my Internet while installing itself but my friend didn't. both of us have ADSL broadband connections. i'm now able to browse the net freely but his net settings haven't been set. how can we connect his system to the Inter

Re: Copy a file one hundred times

2008-12-13 Thread Thomas Preud'homme
The Saturday 13 December 2008 20:12:32 Rodolfo Medina, you wrote : > I need the right syntax to copy file.jpg 100 times with one command so to > get 100 files named file1.jpg, file2.jpg, ..., file100.jpg. > > Can anybody suggest how to achieve that? > > Thanks for any reply > Rodolfo filevar="fil

Re: Copy a file one hundred times

2008-12-13 Thread Osamu Aoki
On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote: > I need the right syntax to copy file.jpg 100 times with one command so to get > 100 files named file1.jpg, file2.jpg, ..., file100.jpg. > > Can anybody suggest how to achieve that? ere is one without looping :-) $ seq 1 100 | sed

Re: tp_smapi config

2008-12-13 Thread tyler
Micha Feigin writes: > On Fri, 12 Dec 2008 11:23:35 -0400 > tyler wrote: > >> Winfried Tilanus writes: >> >> > Install the tp_smapi modules. See http://www.thinkwiki.org/wiki/Tp_smapi >> > for more information. >> >> oops. I'm missing something. I just installed the tp-smapi packages for >> m

Re: wlan0 + eth0 = br0

2008-12-13 Thread Christopher Zimmermann
Hi! is this even possible? I think I once tried it and found out that its not possible because wlans don't use arp or something like that. Christopher On Sun, 14 Dec 2008 01:04:05 +0800 Jerome BENOIT wrote: > Hello List, > > on my Lenny laptop I am trying to build a bridge grouping together

Re: Copy a file one hundred times

2008-12-13 Thread John Hasler
Rodolfo writes: > I need the right syntax to copy file.jpg 100 times with one command so to > get 100 files named file1.jpg, file2.jpg, ..., file100.jpg. for I in {1..100}; do cp file.jpg file$I.jpg ; done But what are you actually trying to achieve? -- John Hasler -- To UNSUBSCRIBE, email to

Re: Copy a file one hundred times

2008-12-13 Thread Rick Pasotto
On Sat, Dec 13, 2008 at 07:35:44PM +0100, Manon Metten wrote: > Hi Rodolfo > > On Sat, Dec 13, 2008 at 8:12 PM, Rodolfo Medina > wrote: > > > I need the right syntax to copy file.jpg 100 times with one command so to > > get > > 100 files named file1.jpg, file2.jpg, ..., file100.jpg. > > > #!/

Re: Copy a file one hundred times

2008-12-13 Thread Manon Metten
Hi Rodolfo On Sat, Dec 13, 2008 at 8:12 PM, Rodolfo Medina wrote: > I need the right syntax to copy file.jpg 100 times with one command so to get > 100 files named file1.jpg, file2.jpg, ..., file100.jpg. #!/bin/bash for x in `seq 1 100`; do if [[ x -lt 10 ]]; then cp file.jpg file-00$x.

Re: Copy a file one hundred times

2008-12-13 Thread Rick Pasotto
On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote: > I need the right syntax to copy file.jpg 100 times with one command so to get > 100 files named file1.jpg, file2.jpg, ..., file100.jpg. > > Can anybody suggest how to achieve that? c=0; while [ $c -lt 100 ]; do c=$[c + 1]; n='000'$

Copy a file one hundred times

2008-12-13 Thread Rodolfo Medina
I need the right syntax to copy file.jpg 100 times with one command so to get 100 files named file1.jpg, file2.jpg, ..., file100.jpg. Can anybody suggest how to achieve that? Thanks for any reply Rodolfo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsub

Re: cupsys installation

2008-12-13 Thread Kelly Clowers
On Fri, Dec 12, 2008 at 10:11, Tom Allison wrote: > Is there any way to install cups without introducing any of the X11 > libraries? > > I am trying to set this up on a headless box that doesn't have the resources > available for needlessly running X11. Are you using Stable? For what it is worth,

wlan0 + eth0 = br0

2008-12-13 Thread Jerome BENOIT
Hello List, on my Lenny laptop I am trying to build a bridge grouping together the wireless and the wired cards: I encounter the classical issue (wlan0|eth0): received packet with own address as source address I have googled to find a fix, but so far I have found nothing. My feeling is that e

Followup (was Re: cupsys installation)

2008-12-13 Thread Ron Johnson
On 12/12/08 15:45, Ron Johnson wrote: On 12/12/08 15:20, Tom Allison wrote: What about the cups server? Hmmm, you're right. I really did think that cups was a dummy, and that the daemon was in a separate package. Mea culpa. If you install xpdf-utils before hand, I don't think too many X11

Re: Conversion from jpg to video

2008-12-13 Thread Pedro Insua
On Sat, Dec 13, 2008 at 10:01:38AM -0600, Ron Johnson wrote: > On 12/13/08 09:32, Rodolfo Medina wrote: >> In another thread on this list it came out that gimp-gap is able to convert a >> jpg file into mpeg format, but I didn't manage to. Maybe further >> installations >> are required. >> >> Plea

Re: Cannot get Etch installer to accept partitions -- success

2008-12-13 Thread Damon L. Chesser
Chris Bannister wrote: On Thu, Dec 11, 2008 at 12:06:26PM -0500, Ken Heard wrote: No, I have not. Perhaps I should report not only the foregoing but also comment on the Installation Guide. I have spent a significant part of my career writing technical manuals. The Guide violates just about

Re: cupsys installation

2008-12-13 Thread Damon L. Chesser
Tom Allison wrote: Douglas A. Tutty wrote: On Fri, Dec 12, 2008 at 01:11:56PM -0500, Tom Allison wrote: Is there any way to install cups without introducing any of the X11 libraries? I am trying to set this up on a headless box that doesn't have the resources available for needlessly running

Re: OT: laptop recomendations

2008-12-13 Thread Henrique de Moraes Holschuh
On Fri, 12 Dec 2008, Daryl Styrk wrote: > My t61 always stops at 96% You have set it to do that (maybe the last time when you ran Windows and the battery life maximizer system decided you didn't really need it at 100%.. it informed you of that, but you might not recall it), and it will retain that

Re: Conversion from jpg to video

2008-12-13 Thread Ron Johnson
On 12/13/08 09:32, Rodolfo Medina wrote: In another thread on this list it came out that gimp-gap is able to convert a jpg file into mpeg format, but I didn't manage to. Maybe further installations are required. Please can anyone suggest how to do what I want with gimp-gap or any other tool? I

Re: OT: laptop recomendations

2008-12-13 Thread Henrique de Moraes Holschuh
On Sat, 13 Dec 2008, Micha Feigin wrote: > 100% is too much for normal work, the battery has a better lifespan if you > limit it to 90% or so, but AFAIK this is only possible with (possibly > newer) thinkpads. No, it is possible with every non-ancient real ThinkPad. And all new real ThinkPads. W

Re: cupsys installation

2008-12-13 Thread Tom Allison
Douglas A. Tutty wrote: On Fri, Dec 12, 2008 at 01:11:56PM -0500, Tom Allison wrote: Is there any way to install cups without introducing any of the X11 libraries? I am trying to set this up on a headless box that doesn't have the resources available for needlessly running X11. If you hav

Conversion from jpg to video

2008-12-13 Thread Rodolfo Medina
In another thread on this list it came out that gimp-gap is able to convert a jpg file into mpeg format, but I didn't manage to. Maybe further installations are required. Please can anyone suggest how to do what I want with gimp-gap or any other tool? I need mpeg, MPEG-2, mp4... Thanks for any

Re: cupsys installation

2008-12-13 Thread Brian McKee
On Fri, Dec 12, 2008 at 8:29 PM, Douglas A. Tutty wrote: > On Fri, Dec 12, 2008 at 01:11:56PM -0500, Tom Allison wrote: >> Is there any way to install cups without introducing any of the X11 >> libraries? >> >> I am trying to set this up on a headless box that doesn't have the >> resources availab

Re: New OpenOffice-3.05 on experimental

2008-12-13 Thread Tzafrir Cohen
On Fri, Dec 12, 2008 at 10:11:04AM +0200, David Baron wrote: > I have Sun Java1.6-se on my machine using Sun's installer. Any reason for using it rather than openjdk that is now in Lenny? openjdk-6-jre openjdk-6-jdk Sun has finally released JDK. And after more than a year of hard work, the last

Re: slapd: SASL/EXTERNAL not supported?

2008-12-13 Thread Alex Samad
On Sat, Dec 13, 2008 at 12:28:46PM +0100, Hanspeter Kunz wrote: > Hi, > > I have a working LDAP-installation (slapd from etch) using simple-bind > over TLS. > > when I try to connect with e.g. > > ldapsearch -ZZ -Y EXTERNAL uid=hkunz -LLL > > I get > > SASL/EXTERNAL authentication started

Re: How to import T-bird files from Windows to Debian/lenny?

2008-12-13 Thread Florian Kulzer
On Fri, Dec 12, 2008 at 16:41:09 -0600, Dennis Wicks wrote: > Greetings; > > Since my wife's Windows machine has degraded to the point that it is > barely usable I have managed to convince her it is time to move up to > Linux! Hooray! > > The latest problem is how can I, if I can at all, import h

Re: Cannot get Etch installer to accept partitions -- success

2008-12-13 Thread Chris Bannister
On Thu, Dec 11, 2008 at 12:06:26PM -0500, Ken Heard wrote: > No, I have not. Perhaps I should report not only the foregoing but also > comment on the Installation Guide. I have spent a significant part of > my career writing technical manuals. The Guide violates just about > every good practice

slapd: SASL/EXTERNAL not supported?

2008-12-13 Thread Hanspeter Kunz
Hi, I have a working LDAP-installation (slapd from etch) using simple-bind over TLS. when I try to connect with e.g. ldapsearch -ZZ -Y EXTERNAL uid=hkunz -LLL I get SASL/EXTERNAL authentication started ldap_sasl_interactive_bind_s: Unknown authentication method (-6) additional i

Re: problem with SATA disk, difference between standard kernel and Debian kernel

2008-12-13 Thread Adrian Levi
2008/12/13 Boyd Stephen Smith Jr. : > On Friday 2008 December 12 22:41:17 Adrian Levi wrote: >>2008/12/11 Boyd Stephen Smith Jr. : >>> iwl3945 -- My personal cross to bear. :( >> >>I'm not using any access restrictions >>on the access point itself, it's basically open. > > Both the APs I need to de

Re: aptitude: No solution found within the allotted time. Try harder? [Y/n]

2008-12-13 Thread Sjoerd Hardeman
agou schreef: > Being fairly new to both debian and kde, I am trying to follow the > instructions on: > > http://pkg-kde.alioth.debian.org/experimental.html > > in order to install kde4. Don't use experimental, it usually depends on stuff in sid. Use the kde4 backports from http://kde4.debian.net

aptitude: No solution found within the allotted time. Try harder? [Y/n]

2008-12-13 Thread agou
Being fairly new to both debian and kde, I am trying to follow the instructions on: http://pkg-kde.alioth.debian.org/experimental.html in order to install kde4. I am not new to Linux, only to debian; I used gentoo before, then ubuntu which I found intolerable because of the tendency to unnece