Re: [OT] Mutt: how to add customized headers
* Camaleón (2012-01-07): Hello Mutt lovers :-) [...] So, in brief, I would like to see a way for adding a custom References: for the outgoing messages. Shouldn't that read In-Reply-To: pan.2012.01.06.17.08...@gmail.com -André -- L'art d'ennuyer est de tout dire. [Voltaire] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120107170416.ga44...@albedo.lan
Re: which is the best command to use
* lina (2011-12-23): [...] File_a.txt a a a File_b.txt b b b I wish to get a file_ab.txt as a b a b a b apt-get install coreutils paste File_a.txt File_b.txt -André -- L'art d'ennuyer est de tout dire. [Voltaire] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111223081216.ga87...@albedo.lan
Re: osx / screen
* shawn wilson (2011-07-25): On Mon, Jul 25, 2011 at 13:31, shawn wilson ag4ve...@gmail.com wrote: i'm on mac osx ssh'd into debian, running screen. some time yesterday i messed something up (i think within screen, but i don't really want to kill it since i've got tons of stuff going on). my problem is that: * i can't use arrows in vi - not really a big deal since jkl; still work * i can't use scroll back / copy+paste in screen - a biggy. i hit ctrl+a [ and it says 'Copy mode - blah' but then the arrow keys don't do anything. then it says 'Must be on a window layer' which is correct if i'm in copy mode. oh, if i hit ctrl+a [ and then arrow, it says 'Copy mode aborted' my arrow keys work at the shell though. i don't know whether this is a screen issue, a debian issue, or a mac osx issue. You might find the following key-bindings useful. Uncomment the ones you need removing the leading double-quotes. $ echo $TERM xterm-color From ~/.vimrc: Valid names for keys are: Up Down Left Right Home End S-Left S-Right S-Up PageUp S-Down PageDown LeftMouse Many shells allow editing in Emacs Style. Although I love Vi, I am quite used to this kind of editing now. So here it is - command line editing commands in emacs style: cnoremap C-A Home cnoremap C-B Left cnoremap C-B Del cnoremap C-E End cnoremap C-F Right cnoremap C-N End cnoremap C-P Up cnoremap ESCb S-Left cnoremap ESCC-B S-Left cnoremap ESCf S-Right cnoremap ESCC-F S-Right cnoremap ESCC-H C-W imap C-A ESCI imap C-E ESCA nmap C-A ^ nmap C-E $ imap Esc[3~ C-H imap ^? C-H -André -- L'art d'ennuyer est de tout dire. [Voltaire] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110726055304.ga...@albedo.lan
Re: Printer Settings
* KS (2011-07-05): On 05/07/11 01:55 PM, Hans-J. Ullrich wrote: [...] CUPS is what I use for my HL-2070N (and temporarily the HL-2070W). For some drivers which I could choose from, it wouldn't even print. So right now I'm using: Brother HL-2140 Foomatic/hpijs-pcl5e (recommended) Try different drivers to see which suits best. Side note: Brother HL-1250 Foomatic/hl1250 (recommended) works with the HL-2070N, too. -André -- L'art d'ennuyer est de tout dire. [Voltaire] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110706052702.ga18...@albedo.lan
forked-daapd and Apple's Remote.app don't play nice
I'm on Squeeze/PPC, with my iTunes Library located on that very machine. I was able to pair Remote.app, but it never gets past the Connecting message, so it never displays my Library. [2011-02-20 19:07:36]httpd: Found query string [2011-02-20 19:07:36] daap: DAAP request: /login?pairing-guid=0x[snipped] [2011-02-20 19:07:36] daap: Remote 'iPhone' logging in with GUID [snipped] [2011-02-20 19:07:36] dacp: DACP request: /ctrl-int [2011-02-20 19:07:36]httpd: Found query string [2011-02-20 19:07:36] daap: DAAP request: /databases?session-id=100 [2011-02-20 19:07:36]httpd: Found query string [2011-02-20 19:07:36] dacp: DACP request: /ctrl-int/1/playstatusupdate?revision-number=1session-id=100 [2011-02-20 19:07:36] player: Player status: stopped [2011-02-20 19:07:36]httpd: Found query string [2011-02-20 19:07:36] dacp: DACP request: /ctrl-int/1/getproperty?properties=dmcp.volumesession-id=100 [2011-02-20 19:07:36] dacp: Asking for 1 properties [2011-02-20 19:07:36] dacp: Found 1 properties [2011-02-20 19:07:36] player: Player status: stopped [2011-02-20 19:07:38]httpd: Found query string [2011-02-20 19:07:38] dacp: DACP request: /ctrl-int/1/nowplayingartwork?mw=320mh=320session-id=100 [2011-02-20 19:07:38]httpd: Found query string [2011-02-20 19:07:38] dacp: DACP request: /ctrl-int/1/playstatusupdate?revision-number=2session-id=100 [2011-02-20 19:07:38]httpd: Found query string [2011-02-20 19:07:38] dacp: DACP request: /ctrl-int/1/getspeakers?session-id=100 [2011-02-20 19:07:38]httpd: Found query string [2011-02-20 19:07:38] dacp: DACP request: /ctrl-int/1/getspeakers?session-id=100 [2011-02-20 19:07:39]httpd: Found query string [2011-02-20 19:07:39] dacp: DACP request: /ctrl-int/1/getproperty?properties=dmcp.volumesession-id=100 [2011-02-20 19:07:39] dacp: Asking for 1 properties [2011-02-20 19:07:39] dacp: Found 1 properties [2011-02-20 19:07:39] player: Player status: stopped The log continues recording expectable complaints about single files (.pdf and such), like [2011-02-20 19:08:41] ffmpeg: Can't determine profile of DV input stream. Remote.app can connect to my iTunes 10.1.2 (SL 10.6.6), but not to forked-daapd, using the same library (via NFS)... -André -- L'art d'ennuyer est de tout dire. [Voltaire] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110222170119.gc1...@fuchs.lan
Packages/DiffIndex
On my Lenny system, I maintain a small Debian archive. It's updated with apt-ftparchive generate. I would like to add a Packages/DiffIndex file, but can't find out how to accomplish that. -André -- L'art d'ennuyer est de tout dire. [Voltaire] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101018123327.gb61...@fuchs
Re: delay shutdown while backup (rsnapshot) is running
* Fabian Kürten (2010-07-01): [...] Now my question: How can I prevent/delay the shutdown while rsnapshot is running. For your information, I am using gnome, so a solution working only for shutdowns via gnome system menu would be sufficient. How does that system work? You could run a shell script that checks for the rsnapshot process or PID file. The script could either quit or loop when this is the case. -snip #!/bin/sh #/usr/local/sbin/shutdown.sh #detect rsnapshot process and exit pidof rsnapshot echo Shutdown cancelled || shutdown -h now #alternatively, use the PID file, and loop in a 10 min. interval [ ! -e /var/run/rsnapshot.pid ] RSNAPSHOT=0 || RSNAPSHOT=1 while [ ${RSNAPSHOT} == 1 ] ; do [ ! -e /var/run/rsnapshot.pid ] RSNAPSHOT=0 break || sleep 600 done shutdown -h now -snap -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100705154430.gb15...@fuchs
mpd
Trying to conserve memory, I'm want run mpd (the Music Player Daemon) from inetd, on Lenny. So far, I've added mpd 6600/tcp # music player daemon to /etc/services, and I thought mpd stream tcp nowait mpd.audio /usr/sbin/tcpd /usr/bin/mpd /etc/mpd.conf or maybe mpd stream tcp nowait mpd /usr/bin/mpd /etc/mpd.conf should do, but they don't. Telnet shows unable to bind port 6600: Address already in use maybe MPD is still running? each time I try to reach the mpd server. If anyone could help me with this, I'd be grateful. -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100327164108.ga37...@fuchs
Re: mpd
* André Berger (2010-03-27): Trying to conserve memory, I'm want run mpd (the Music Player Daemon) from inetd, on Lenny. So far, I've added mpd 6600/tcp # music player daemon to /etc/services, and I thought mpd stream tcp nowait mpd.audio /usr/sbin/tcpd /usr/bin/mpd /etc/mpd.conf or maybe mpd stream tcp nowait mpd /usr/bin/mpd /etc/mpd.conf should do, but they don't. Telnet shows unable to bind port 6600: Address already in use maybe MPD is still running? each time I try to reach the mpd server. I should add that no other mpd is running. When I start the mpd server from Lenny's /etc/init.d/mpd, it works just fine. -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100327194430.gc37...@fuchs
Re: Bash read command: want to preload some data
* Bob Cox (2010-03-06): [...] - Example: ask for a path with a default value. Note: The -i option was introduced with Bash 4. read -e -p Enter the path to the file: -i /usr/local/etc/ FILEPATH The user will be prompted, he can just accept the default, or edit it. - This is exactly what I want. However, for the sake of compatibility, I would like to do the same thing using older versions of bash, even if it means messier coding. Does anyone have any ideas on how to do this please? PRELOADED=/usr/local/etc read -e -p Enter the filepath (Use . for the current directory, just hit ENTER to accept the default ${PRELOADED}, or type something else): FILEPATH test -z ${FILEPATH} FILEPATH=${PRELOADED} echo Will use value: ${FILEPATH} -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100306143109.ga54...@fuchs
Re: Out of memory crashes ssh
* Maicon Faria (2009-05-20): [...] When I run a program, as user, that uses more then the memory avaliable the OOM(OUT-OF-MEMORY) kill this job. Disarm the OOM killer: # /etc/sysctl.conf vm.overcommit_memory=2 -André -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Moving to LVM
* Stefan Monnier (2009-03-18): That said, two ext3 filesystems would be absolutely OK with me, as long as I could merge them virtually, so my movieplayer (dbox2) would have to access just one directory, and deleting files from that directory would result in deleting the original file (not just a symbolic link). I could create a more... symlink on disk1 pointing to disk2, but I really want everything in one directory, alphabetically. You can play around with unionfs or mount --bind and things like that, but my recommendation is to not bother: they can be very useful for various situations, but from what I can tell it won't bring enough benefits in your case (e.g. in a unionfs, erasing a directory will only erase it from the top directory, not the underlying one). I gave unionfs a try (etch 2.6.18 plus its unionfs module source, self-compiled), was able to 'unify' my directories, and export the union mount via NFS. However I can't get any client to mount them. Regular NFS exports of /mnt/{mybook,samsung} with the same syntax work, just to mention it. # mount -t nfs 192.168.1.5:/mnt/flicks -o rw,soft,tcp,nolock,rsize=32768,wsize=32768 /mnt/filme/ mount: 192.168.1.5:/mnt/flicks failed, reason given by server: Permission denied mount: nfsmount failed: Bad file descriptor mount: Mounting 192.168.1.5:/mnt/flicks on /mnt/filme/ failed: Bad file descriptor # /etc/fstab /dev/sda1 /mnt/mybook ext3 defaults,noauto,noatime,nodiratime 0 0 /dev/sdb1 /mnt/samsung ext3 defaults, noauto,noatime,nodiratime 0 0 unionfs /mnt/flicks unionfs noauto,dirs=/mnt/samsung/flicks=rw:/mnt/mybook/flicks=rw 0 0 # /etc/exports /mnt/flicks 192.168.1.0/24(rw,async,no_subtree_check,all_squash,anonuid=1000,anongid=1000) # lsmod Module Size Used by nfs 284632 0 nfsd 268428 13 exportfs6784 1 nfsd lockd 76980 3 nfs,nfsd nfs_acl 4480 2 nfs,nfsd sunrpc193128 13 nfs,nfsd,lockd,nfs_acl ipv6 319916 16 unionfs96324 1 fuse 52852 1 dm_mod 68912 0 usbhid 53636 0 Tried the entire exports(5) arsenal of fsid,crossmnt,nohide etc., also exporting to a single host pp., no go. Using symlinks might not always do exactly what you want, but symlinks are well understood by all the usual tools and can be manipulated without needing root proviledge, so it'll always be easy to see what's going on and to fix things. That's not necessarily the case with funny mounts. If only they were fun mounts. Well, symlinks... I fear I'm at a point where I have to get used to the idea. -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Moving to LVM
* André Berger (2009-03-16): (Replying to myself and trying to sum up your AQs) Thank you all for the helpful discussion and detailed instructions, _much appreciated_. I'm aware of the significance of backups, and keep redundant backups of 'important' data. The files in question are 'just movies' I would miss but could live without. Not that I wanted to avoid lose them though. That said, two ext3 filesystems would be absolutely OK with me, as long as I could merge them virtually, so my movieplayer (dbox2) would have to access just one directory, and deleting files from that directory would result in deleting the original file (not just a symbolic link). I could create a more... symlink on disk1 pointing to disk2, but I really want everything in one directory, alphabetically. Could mount --bind come to the rescue? But if I mounted one directory 'over' another, it would 'cover' the original one, which wouldn't be accessible any more, would it? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Moving to LVM
Hi there! I'm on Etch and have got two external USB disks, one GB each in size. Disk1 contains one ext3 partition and my media files, and is full. Disk2 is empty and should take future media files. I don't have a third disk I could use for backups. My plan is to create a Logical Volume Group to span two partitions located on different disks, and export that LV group via NFS. If I got it right (please correct me), I need partitions of type 8e on both disks. So I thought I 1 partition disk2 8e 2 create a LV group and add disk2/p1 to it 3 create an ext3 filesystem on the LV 3 copy the data from disk1/p1 to the LV 4 partition disk1/p1 8e 5 add disk1/p1 to the LV group 6 resize the LV ext3 filesystem to 2 TB, so it spans both disks resp. partitions Does this sound right to you? Maybe you could help me with the necessary command as well... What happens if, for whatever reason, just one of the disks is available? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Local Repo
* Victor Padro (2009-03-12): I have seen many How to's regarding Local Repositories, but I don't know if it covers all architectures including ARM. They do. [...] Is there any documentation you guys can point me to? I found this very useful: http://coredev.nl/ See the instructions at the bottom of the page. -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: snownews
* Daniel Dalton (2009-02-10): On Tue, Feb 10, 2009 at 09:50:33PM +1100, Daniel Dalton wrote: Hi, Is there anyway to make snownews open the direct rss link when pressing o on a story? Like for example, open the direct page, it seems that my Now I feel like an idiot, just had to look at the help and use O not o... BTW, you can customize the behavior in ~/.snownews/keybindings One other thing: is it possible to download the stories with rss to local files so I can read when I'm not online? Use snownews -u when online, snownews when offline. If you set ~/.snownews/updatecheck to '-1', it will minimize the network traffic (man 1 snownews). -André -- May as well be hung for a sheep as a lamb! . Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Homemade FTP server
* Celejar (2009-01-18): On Sat, 17 Jan 2009 22:35:55 -0600 Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote: On Sat, Jan 17, 2009 at 08:05:16PM -0800, talikarng.use...@gmail.com wrote: Does anyone have any experience building their own ftp server for use on a hoem network? I would like to build a small headless server (remote login) for file storage (low traffic, preferably low power, perhaps even have a torrent client on it) I would like the project to be small (2x shoebox sized if possible) so what hardware would be recommended? Do people find that debian works well for servers? See if the NSLU2 works for you. The NSLU2 (Slug) is a headless device, I've been toying for a while with getting a Buffalo Linkstation for this sort of thing. Manufacturer recertified models are often available for as little as $60-$80 USD. These prices include a HDD of several hundred GB, and the HW seems to be superior to the Slug in at least several ways (1000Mbit ethernet, internal HDDs plus USB support). There's a pretty active hacking community: http://buffalo.nas-central.org/index.php/Main_Page and they have a Debian page: http://buffalo.nas-central.org/wiki/Debian But I ultimately don't know if linux is as well supported on them as it is on the Slug. Anyone have a more informed, experienced verdict on these Buffalo devices? They run HardHatLinux out-of-the-box, and come with an FTP server. Debian ('FreeLink') can be installed with more or less effort, depending on the model. Alternatively, software can be added via ipkg once you've 'opened' your device, or you could compile it yourself of course. Some newer models even come with bittorrent client software. There's also a very nice alternative GPL firmware, foonas. -André -- May as well be hung for a sheep as a lamb! . Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Lightweight alternative to imagemagick?
* Bob Cox (2009-01-11): I want to resize jpeg images (in order to create thumbnail images for a webpage) from a bash script and know that I can use 'convert' from the imagemagick package to achieve this. This will be run on a (headless, no X) lenny/armel NSLU2 slug. However, aptitude says that to install imagemagick requires 78 new packages, including x11-common, various gtk and font libraries - which will be irrelevant on the NSLU2. Using the without-recommends switch in aptitude reduces the package count to 63 and choosing the 'graphicsmagick-imagemagick-compat' package rather than imagemagick brings it down to only 52 packages. This still seems quite a lot and includes lots of font stuff and x11-common when all I want is the 'convert' command. Does anyone know of a simpler, slimmer alternative for resizing jpegs from the command line please? It all depends on your needs. djpeg (from libjpeg-progs) Currently the scale factor must be 1/1, 1/2, 1/4, or 1/8. If you're looking for photo gallery, Super basic: http://buffalo.nas-central.org/wiki/Photo_Gallery_with_igal_-_online_image_gallery_generator Good for offline creation: http://buffalo.nas-central.org/wiki/Photo_Gallery_with_igal_-_online_image_gallery_generator#Others_.28PPC_only.29 -André -- May as well be hung for a sheep as a lamb! . Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org iPhone http://hvkls.dyndns.org/downloads/documentation/README-iphone.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: cupsys installation
* Douglas A. Tutty (2008-12-13): 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 have a resource-limited box, you probably don't want to run CUPS. What is it you're trying to do. CUPS is only one of a few print spooler systems available. For home use, you could try p910nd http://p910nd.sourceforge.net/ -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: NFS problems with Mac client
* Alex Samad (2008-07-28): on the nas box /exports/shared -async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared 192.168.8.0/22(rw) Try /exports/shared 192.168.8.0/22(rw,async,no_subtree_check,no_root_squash) and exportfs -rv On the Mac, add to /etc/fstab (assuming your Server is 192.168.8.5): 192.168.8.5:/exports/shared /yourdir nfs locallocks,udp,sync,resvport,bg,intr,rsize=32768,wsize=32768 0 0 and run automount -v. PS: Locking doesn't work as expected on Leopard. Use nolock or locallocks. -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: NFS problems with Mac client
* Alex Samad (2008-07-29): On Mon, Jul 28, 2008 at 12:05:58PM +0200, André Berger wrote: * Alex Samad (2008-07-28): on the nas box /exports/shared -async,no_subtree_check,no_root_squash,insecure,mp=/exports/shared 192.168.8.0/22(rw) Try /exports/shared 192.168.8.0/22(rw,async,no_subtree_check,no_root_squash) and exportfs -rv On the Mac, add to /etc/fstab (assuming your Server is 192.168.8.5): 192.168.8.5:/exports/shared /yourdir nfs locallocks,udp,sync,resvport,bg,intr,rsize=32768,wsize=32768 0 0 still seem to have the same problem, df -h locks up. tried with no lock, ro, removed the rsize and wsize What about tcp instead of udp? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: webdav davfs2 and file editing
* Freddy Freeloader (2008-06-16): I am trying to get a working setup with webdav and davfs2 where I can edit files from a remote webserver locally. I can successfully access the webdav directory and files and mount them on my workstation. The problem I'm running into is that most of the time I open a file to edit it I get the following error message. The file /media/dav2/administrator/components/com_reviews/toolbar.reviews.html.php could not be opened properly and has been truncated. This can occur if the file contains a NULL byte. Be aware that saving it can cause data loss. This happens with about 60-70% of the php files on that website. Is this something to do with how the files were created? I can edit the ones I have problems with on the server if I ssh into it and use vi. Maybe an MTU problem; Jumbo Frames in your network? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Fail to connect https
* hce (2008-06-16): Hi, I've set up a web server lighty and web application on my local machine and defined web addresses mywebtest.com in the /etc/hosts for local testing. The HTTP can be connected and works fine, but HTTPS does not work (Unable to connect in an error page). Try a setup like this one, with the paths adjusted: $SERVER[socket] == :443 { server.name = HTTPS server.document-root = /path/to/sslroot ssl.engine = enable ssl.use-sslv2 = disable ssl.pemfile = /etc/lighttpd/key-cert.pem server.errorlog = /var/log/lighttpd/error-ssl.log accesslog.filename = /var/log/lighttpd/access-ssl.log } -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Cross-platform debootstrap/bootlaoder woes
I would like to install Lenny i386 onto an external USB HDD, for use with a T-Online S100, from a PPC Etch box. The problems are: I can't compile grub on the PPC box; and I can't chroot to the i386 system. While I can edit $HDD/etc/fstab and such, I can't seem to write an i386 bootloader onto the disk. Help! -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: HP ScanJet C6270A and sane.
* PETER EASTHOPE (2008-04-24): Folk, There is an HP ScanJet C6270A here. lsusb fails to detect it and I've found no evidence in Lenny that the scanner is connected via USB. I'll guess that this scanner has USB 1. Have you tried hplip yet? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Debian kernel with make uImage?
I have pulled the latest security fixed 2.6.18 sources and extracted them with dpkg-source -x *dsc, copied my .config, run make oldconfig. Will make uImage result in a security fixed kernel now, or are there any commands I would have to run manually if not using make-kpkg options here kernel_image? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cupsd, hplip on demand?
* Kelly Clowers (2007-11-25): On Nov 24, 2007 9:41 AM, André Berger [EMAIL PROTECTED] wrote: I'm on an Etch system with limited memory and CPU power, which I'm trying to optimize in terms of software. The box acts a CUPS print server with two queues, one raw queue and one HP PSC-1110 queue. The HP AIO needs HPLIP to function. As we rarely print, I have already reniced cupsd and the hplip processes to the max. But I would like to reduce the memory usage in general as well. Is it possible to start these services on demand, instead keeping them running all the time? I don't know about starting cups on demand, but the more recent versions of hplip are library-based instead of using a daemon. Hplip isn't in backports, but you could get it from the sourceforge site. Thanks Kelly. There are quite a few dependencies, I will need some time to figure out what I need. HP's own instructions are only partially helpful when you are on Etch/PPC. -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
cupsd, hplip on demand?
I'm on an Etch system with limited memory and CPU power, which I'm trying to optimize in terms of software. The box acts a CUPS print server with two queues, one raw queue and one HP PSC-1110 queue. The HP AIO needs HPLIP to function. As we rarely print, I have already reniced cupsd and the hplip processes to the max. But I would like to reduce the memory usage in general as well. Is it possible to start these services on demand, instead keeping them running all the time? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: udev and automounting
* Jesus Arocho (2007-09-28): Try an entry in /etc/udev/10-local.rules; great howtos on the net. On Thursday 27 September 2007 07:50, Dan H wrote: [...] There's also great information on quoting, e.g. http://www.vranx.de/mail/tofu.html -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org
Re: cronjob problem
* Angela Gavazzi (2007-09-27): Hallo, could someone please explain me why the following cronjob generates an empy file when copy-pasting the command to console generates a full file? It's in roots crontab created with crontab -e 00 21 * * * /usr/local/ldap/sbin/slapcat /var/backups/ldap/dumps/slapdump.`date +\%g\%m\%d_\%k:\%M` Debian version is etch. /path/to/date -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org .
Re: udev and automounting
* Jesus Arocho (2007-09-28): Try an entry in /etc/udev/10-local.rules; great howtos on the net. On Thursday 27 September 2007 07:50, Dan H wrote: [...] There's also great information on quoting, e.g. http://www.vranx.de/mail/tofu.html -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org .
Re: cronjob problem
* Angela Gavazzi (2007-09-27): Hallo, could someone please explain me why the following cronjob generates an empy file when copy-pasting the command to console generates a full file? It's in roots crontab created with crontab -e 00 21 * * * /usr/local/ldap/sbin/slapcat /var/backups/ldap/dumps/slapdump.`date +\%g\%m\%d_\%k:\%M` Debian version is etch. /path/to/date -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org ... .. .
Re: cronjob problem
* Angela Gavazzi (2007-09-27): Hallo, could someone please explain me why the following cronjob generates an empy file when copy-pasting the command to console generates a full file? It's in roots crontab created with crontab -e 00 21 * * * /usr/local/ldap/sbin/slapcat /var/backups/ldap/dumps/slapdump.`date +\%g\%m\%d_\%k:\%M` Debian version is etch. /path/to/date -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org .. .
Re: udev and automounting
* Jesus Arocho (2007-09-28): Try an entry in /etc/udev/10-local.rules; great howtos on the net. On Thursday 27 September 2007 07:50, Dan H wrote: [...] There's also great information on quoting, e.g. http://www.vranx.de/mail/tofu.html -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org .. .
Re: udev and automounting
* Jesus Arocho (2007-09-28): Try an entry in /etc/udev/10-local.rules; great howtos on the net. On Thursday 27 September 2007 07:50, Dan H wrote: [...] There's also great information on quoting, e.g. http://www.vranx.de/mail/tofu.html -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org ... .. .
Re: cronjob problem
* Angela Gavazzi (2007-09-27): Hallo, could someone please explain me why the following cronjob generates an empy file when copy-pasting the command to console generates a full file? It's in roots crontab created with crontab -e 00 21 * * * /usr/local/ldap/sbin/slapcat /var/backups/ldap/dumps/slapdump.`date +\%g\%m\%d_\%k:\%M` Debian version is etch. /path/to/date -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org
Re: [OT] smart reporting trouble
* Matus UHLAR - fantomas (2007-09-01): On 17.07.07 10:26, André Berger wrote: Back from vacation, I found messages from smartd (sarge; 2.6.21.5) in root's mailbox: SMART error (CurrentPendingSector) detected The following warning/error was logged by the smartd daemon: Device: /dev/hda, 1061 Currently unreadable (pending) sectors SMART error (OfflineUncorrectableSector) detected The following warning/error was logged by the smartd daemon: Device: /dev/hda, 1746 Offline uncorrectable sectors The number of unread and uncorrectable sectors seems to be constant over two weeks. I'm not sure if I have to replace the HDD? replace the disk ASAP. I wouldn't trust it. That's what I did, thanks to all who replied! -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org
[OT] smart reporting trouble
Back from vacation, I found messages from smartd (sarge; 2.6.21.5) in root's mailbox: SMART error (CurrentPendingSector) detected The following warning/error was logged by the smartd daemon: Device: /dev/hda, 1061 Currently unreadable (pending) sectors SMART error (OfflineUncorrectableSector) detected The following warning/error was logged by the smartd daemon: Device: /dev/hda, 1746 Offline uncorrectable sectors The number of unread and uncorrectable sectors seems to be constant over two weeks. I'm not sure if I have to replace the HDD? -André -- May as well be hung for a sheep as a lamb! Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from http://hvkls.dyndns.org
Re: how to exclude the packges in dist-upgrade
* Wayne Topa (2007-06-27): Bhasker C V([EMAIL PROTECTED]) is reported to have said: I tried on the apt-get manual. But could not get to my requirement. I have some of the packages in my deb box which i do not want to upgrade/remove/uninstall during an apt-get dist-uprade. How do i specify the exclude list ? Someone, sorry I forget who, on this list posted the a few years ago. It's what I use. ~# less bin/dhold Ethan Benson was the author, IIRC. -André -- May as well be hung for a sheep as a lamb! Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org
Re: script not working, cl works
* L.V.Gandhi (2007-06-28): I have a csv file with 50 lines. [EMAIL PROTECTED]:~/stock/today$ tail -n 5 highs.csv BANKRAJAS,14 GARWALLROP,14 KERNEX,14 ZENITHINFO,14 ORBITCORP,14 I have a script which has lines === cd /home/lvgandhi/.qtstalker/data1/group/Highs rm -f * for stock in $(cat /home/lvgandhi/stock/today/highs.csv|cut -d, -f1);do ln -s /home/lvgandhi/.qtstalker/data1/data/Stocks/nse/$stock $stock;done I don't know why it doesn't work for you, but you cat try this: for i in $(cat /your/file | awk -F ',' '{print $1}') ; do echo ${i} ; done or export IFS=, cat /your/file | while read a b ; do echo ${a} ; done -André -- May as well be hung for a sheep as a lamb! Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org
Re: Migrate kernel 2.4 to 2.6
* Qnick (2007-06-27): I have a box ((Fujitsu-Siemens PRIMERGY RX300 S3) within Debian 4.0 Etch and 2.4.31 kernel . I very want upgrade it to kernel 2.6.21 but i don't know how do it. I installed kernel package 2.6.18 from Debian distribution but after reboot accured kernel panic (don't detect scsi megaraid). After I compiled new kernel. I installed necessary package: udev, yaird , initramfs-tools. You also need module-init-tools -André -- May as well be hung for a sheep as a lamb! Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org
Re: [OT] Kernel Upgrades
* Hugo Vanwoerkom (2007-06-07): André Berger wrote: * Hugo Vanwoerkom (2007-06-05): André Berger wrote: Let me give you an example to illustrate what I would like to know: Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade to 2.6.22? Are you referring to Debian packages or kernels from www.kernel.org? Sorry: the kernel.org sources. The latter will publish a patch against 2.6.21 when 2.6.22 goes stable. Could you point me to a URL please? Would I have to remove the patches 1-3 (in my example) prior to using this patch against 2.6.21? I've been using the incremental patches from http://www.kernel.org/pub/linux/kernel/v2.6/incr/, but they only work within a release cycle (2.6.21.1-2, for example). Not exactly what I'm thinking of for my slow box. So here: http://www.kernel.org/ they now have: The latest stable version of the Linux kernel is:2.6.21.3 and that last piece refers to: http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.21.3.bz2 which is a patch against the 2.6.21 kernel. When 2.6.22 goes stable that line will read: The latest stable version of the Linux kernel is: 2.6.22 and that last piece will refer *probably* to: http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.22.bz2 which *still* is a patch against the 2.6.21 kernel. The thing is: both patches seem to apply to 2.6.21 not 2.6.21.* (your ex. 1). So I would have to downgrade to 2.6.21 in order to use any of these. Right? -André
[OT] Kernel Upgrades
Let me give you an example to illustrate what I would like to know: Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade to 2.6.22? Thanks, -André
Re: [OT] Kernel Upgrades
* Hugo Vanwoerkom (2007-06-05): André Berger wrote: Let me give you an example to illustrate what I would like to know: Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade to 2.6.22? Are you referring to Debian packages or kernels from www.kernel.org? Sorry: the kernel.org sources. The latter will publish a patch against 2.6.21 when 2.6.22 goes stable. Could you point me to a URL please? Would I have to remove the patches 1-3 (in my example) prior to using this patch against 2.6.21? I've been using the incremental patches from http://www.kernel.org/pub/linux/kernel/v2.6/incr/, but they only work within a release cycle (2.6.21.1-2, for example). Not exactly what I'm thinking of for my slow box. -André -- Our OS who art in CPU UNIX be thy name Thy programs run, thy syscalls done In kernel as it is in user
Re: Get Rid of Messed Print Jobs
* Nyizsnyik Ferenc (2007-05-27): On Sun, 27 May 2007 18:12:52 +0100 Chris Lale [EMAIL PROTECTED] wrote: David Baron wrote: This is a problem we have all had, I think. Something goes wrong in a print job, paper jam or whatever. Instead of the printout, one will now get raw data numbers and stuff. So one turns off the printer and removes the job from the queue. Problem is that as soon as the printer is turned on, the garbage continues. Short of rebooting, there seems no way to stop the beast. Restarting cupsd does not help. Any ideas on how to get it cleaned out without a hard reboot? Method 1 In your browser visit http://localhost:631/ (localhost:631 works for me). Click on the Jobs tab, identify the job on the list of print jobs (probably the last one) and click on the Cancel button. Method 2 In Gnome, open the printer icon in the top panel. (Alternatively, from the desktop menu: Desktop - Administration - Printing - Your-printer-icon (double-click).) Identify the job on the list of print jobs, right-click on the job for the context menu and click on Cancel. Yes, if the job was sent via CUPS. If it was sent using lpr, then lpq and lprm are the right tools. Don't forget cancel resp. cancel -a on CUPS. -André -- May as well be hung for a sheep as a lamb! Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org