Re: SSH Chroot Patch - Anyone successfully using it?
On Fri, Oct 22, 2004 at 07:39:21AM +1000, Michael Bellears wrote: Hi Daniel, It's Danie. Strange, but true :) If I do not have the users entry in the chroot'd /etc/passwd, the user cannot gain access: Yes, you need an entry there, in the normal way. The chroot environment should never be aware that it is chroot'ed. So, in the chroot'ed /etc/passwd you put a normal entry, no /./ tricks. Then, in the host /etc/passwd you put the /./ trick to the chroot environment. Make sure the uid's match though. I use this successfully to host a RH7.3 installation inside a Debian Sarge installation. We have a commercial app that requires RH7.3 for support to be happy. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SSH Chroot Patch - Anyone successfully using it?
On Thu, Oct 21, 2004 at 08:29:50PM +1000, Michael Bellears wrote: Asked on the chrootssh-users list, but it appears fairly inactive... Patched SSH3.8.1p1-8(Debian Sarge) with osshChroot-3.8.1p1.diff. Standard {chroot}/etc/passwd (i.e. no /./) works fine. Adding /./ to user results in login failure: My chroot Jail is /var/chroot/apache (I have tried placing /var/chroot/apache/var/www/./mbellears3 in /var/chroot/apache/etc/passwd without success also. Michael, I might be reading your email wrong. The /var/chroot/apache/etc/passwd is not what matters. What does matter is the standard /etc/passwd. So, try adding something like this: mbellears:x:1001:1001:Chrooted user:/var/chroot/apache/./home/mbellears:/bin/bash -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apr changes and mod_perl/twiki
Since the first attempt to get the apr stuff into apache, my Twiki started to act up. I'm running unstable. I can navigate the site without a problem. I can click on edit and get the page. Saving the changes then results in the following error in error.log and a web browser that just spins forever: [Wed Sep 22 12:59:08 2004] [error] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: ap_content_length_filter: apr_bucket_read() failed, referer: http://www.xxx.xxx/cgi-bin/twiki/preview/CRUD/WebHome Can somebody please shed some light on this? This happens about 90% of the time. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Load shoots very high with disk activity
On Mon, Sep 06, 2004 at 02:09:47PM -0700, Mike Fedyk wrote: Danie Roux wrote: Using XFS, and kernel 2.6.8. In the past two weeks I noticed that my PC load shoots up on anything that needs disk activity. The CPU's are quiet during all this: top - 17:04:09 up 6:07, 3 users, load average: 2.25, 1.88, 1.37 Cpu0 : 10.3% us, 4.0% sy, 0.0% ni, 76.3% id, 8.7% wa, 0.7% hi, 0.0% Cpu1 : 11.3% us, 3.3% sy, 0.0% ni, 70.4% id, 15.0% wa, 0.0% hi, 0.0% It gets so bad that the mouse starts jerking! Does anyone have some advice on where to start looking for optimizing? (hdparm -t looks fine) How about disk subsystem info? IDE, SATA, or SCSI? Controller? Memory? Are you reading a bunch of small files or large files? Sorry about that: 512M RAM Single IDE drive: hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100) On my running hdparm: /dev/hda: Timing buffered disk reads: 168 MB in 3.03 seconds = 55.51 MB/sec And a simple aptitude dist-upgrade would make my mouse start jerking. TIA. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Load shoots very high with disk activity
Using XFS, and kernel 2.6.8. In the past two weeks I noticed that my PC load shoots up on anything that needs disk activity. The CPU's are quiet during all this: top - 17:04:09 up 6:07, 3 users, load average: 2.25, 1.88, 1.37 Cpu0 : 10.3% us, 4.0% sy, 0.0% ni, 76.3% id, 8.7% wa, 0.7% hi, 0.0% Cpu1 : 11.3% us, 3.3% sy, 0.0% ni, 70.4% id, 15.0% wa, 0.0% hi, 0.0% It gets so bad that the mouse starts jerking! Does anyone have some advice on where to start looking for optimizing? (hdparm -t looks fine) -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: VNC on current running KDE desktop
On Tue, Mar 09, 2004 at 11:33:28PM -0500, Thomas G wrote: Ive also been working on vncserver as long as a few other things on my current desktop linux box. How can I get a vnc server to run on port :0 and on the current X desktop. I have gotten VNC to work but it creates another x server. Also Im interested in doing dual monitor VNC (i run 2x horizontal spanned 17inch lcds) but thats only if its a must... first id just like to get it working on the current desktop. Because you are using KDE, you can also look into krfb. It's a KDE standard app that you can access via Desktop sharing or something. It's much faster than x0rfbserver, but does require user interaction on the desktop you want to connect to. So you can't just ssh in, startup krfb and connect to the display. (Might have changed in KDE 3.2, I don't have it installed) -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: chroot ssh logins
On Wed, Mar 03, 2004 at 11:16:45AM -0500, Christopher Davis wrote: Hello! I have found a few how-to's on the net for creating user jails with ftp so users cannot browse outside of their home directories. That's what I am looking to do, but with ssh when the user logs in. Can someone point me in the right direction? TIA! Christopher Davis Hi Christopher, You want chrootssh.sf.net. This is how I got it working on a Debian Woody installation. It assumes you have something like deb-src http://ftp.us.debian.org/debian woody main contrib non-free In sources.list: $ su -c apt-get install build-essential $ apt-get source openssh $ patch -p0 /tmp/osshChroot-3.4.diff $ cd openssh-3.4p1 $ debuild $ dch -i Applied patch from chrootssh.sf.net $ su -c debi It builds a .deb and installs it for you, also updates your changelog.Debian -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Exporting running display ala Remote Desktop or VNC for windows
Hi all, I want to continue working on a running GNOME desktop in my office from a remote location. I know it's possible to export the running display with KDE's remote desktop. But, that requires user interaction on the running display. Then, there is x0rfbserver, which works quite nicely - except that it's dead slow (encodes the screen really badly). So I'm hoping that something would be possible with X and DISPLAY? I feel as if I'm missing something obvious here. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Salvaging data from a RAID-5 where two disks failed
Hi All, I have 4 drives in a RAID-5 configuration. One of the drives broke. I replaced said drive, did a 'raidhotadd /dev/md0 /dev/hdb2'. Watched it for a while and then went home. And then /dev/hde failed too. The syncing wasn't done: Jan 25 19:17:23 clio kernel: hde: dma_intr: status=0x51 { DriveReady SeekComplete Error } Jan 25 19:17:23 clio kernel: hde: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80464841, sector=79214920 Jan 25 19:17:23 clio kernel: end_request: I/O error, dev 21:03 (hde), sector 79214920 Jan 25 19:17:23 clio kernel: raid5: Disk failure on ide/host2/bus0/target0/lun0/part3, disabling device. Operation continuing on 2 devices Jan 25 19:17:23 clio kernel: md: updating md1 RAID superblock on device Jan 25 19:17:23 clio kernel: md: (skipping faulty ide/host2/bus0/target0/lun0/part3 ) Jan 25 19:17:23 clio kernel: md: md_do_sync() got signal ... exiting And then ext3 went bonkers: Jan 25 19:29:11 clio kernel: EXT3-fs error (device md(9,1)): ext3_get_inode_loc: unable to read inode block - inode=32997377, block=65994779 Jan 25 19:29:12 clio kernel: EXT3-fs error (device md(9,1)): ext3_readdir: directory #17055779 contains a hole at offset 0 Jan 25 19:32:56 clio kernel: EXT3-fs error (device md(9,1)): ext3_get_inode_loc: unable to read inode block - inode=26214401, block=52428827 Ok, so my question is: Any way in which I can salvage at least a part of the data? -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RAID Failure
On Sun, Nov 09, 2003 at 04:29:30AM -0800, Alvin Oga wrote: However \- cat /proc/mdstat Personalities : [raid1] read_ahead 1024 sectors md1 : active raid1 hdc1[1] hda1[0] 305088 blocks [2/2] [UU] resync=DELAYED md0 : active raid1 hdc3[1] hda3[0] 194000832 blocks [2/2] [UU] [] resync = 1.9% (3862080/194000832) finish=82.4min speed=38421K/sec unused devices: none Why is the array rebuilding? because you told it to use raid1 mirror and it thinks it needs to resync both disks .. and itshould take about 82.4 min to finish resyncing the data consider yourself lucky its working dont write any data to your disks ... while its resyncing Are you dead sure about this last sentence? Cause I've done this before and once with 5G worth of data, no problem. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
What filesystem for no-halt boot?
I use ext3 for all my servers, and I have no problem with it. Except for one thing: Every now and again, you need to run e2fsck -y after a power failure or such. Now one of my servers (little P1) is quite a drive from me and stuck behind a cabinet. It gets rebooted quite a lot. And I had to drive out today just to come run e2fsck. UPS is not an option, neither is a server room. Is there a filesystem (XFS, Reiser?) that will always boot up without user intervention? I thought the journalling of ext3 would do it? If I read S10checkroot.sh correctly, if I specify an environment value of FSCKFIX=yes on LILO boot line it would run this for me. I'll be doing that for now, and hoping everything goes fine. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 3d games crash
On Fri, Sep 26, 2003 at 08:39:57AM +1200, Paul William wrote: Hi debian-users I am running debain unstable. I know that things crash in unstable I just find it odd that two 3d games both give segfaults so I think it may be a problem on my end. I have an nvidia card and I am using the latest nvidia drivers. If you have any ideas what I may have done wrong to cause tuxracer and vegastrike to segfault please post it on the list. The following is the output of tuxracer followed by vegastrike. Regards Paul Fatal signal: Segmentation Fault (SDL Parachute Deployed) Hi Paul, I had the same problem, installing libsdl1.2debian-all solved it for me. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
On Wed, Sep 03, 2003 at 01:26:20PM -0700, Curtis Vaughan wrote: I need to set up an ftp server. I've looked at wu-ftp and a little at proftp. I'm wondering what people find to be the better, and easiest to set up. wu-ftpd has a history of security holes. Not recommended. I use proftpd myself, although with MySQL and not LDAP as you want it. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: NNTP to email?
On Mon, Aug 04, 2003 at 03:58:23PM +1000, Chris Kenrick wrote: I'm rather fond of mutt as an email client, and would like to use it to read Usenet articles too. I've been using a Python based NNTP downloader, but it's a bit slow, and doesn't seem to handle errors/failures very well. Well, slrnpull will download the articles for you, and you can read them with mutt then. But I would suggest to go the whole way, and just use slrn for news. I love mutt for mail myself, but I use slrn for news. Much the same feel as mutt gives you. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: script to run at boot
On Fri, Aug 01, 2003 at 03:02:19PM -0400, [EMAIL PROTECTED] wrote: Other Linuxes have a p;ace to put a file that is to be run after the usual bootup, where I can put extra commands that are also to be run at every boot. Is there such a place in Debian? Yes, /etc/rcS.d Read the README there. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kicking users
On Tue, Jul 29, 2003 at 01:37:18AM -0400, Aaron wrote: Hey ladies and gents- I had someone SSHed into my box the other day (my laptop) while at work and I wanted to screw with him by booting him off. I obviously have root on my box, but I wonder if there is any official or proper way to make a user leave the system? Something along the lines of a kick is what I'm after. I achieved the same result by killing his topmost bash process, but not only is that probably dangerous and unpredictable, it doesn't let me add a mean message ;-) Hehe, try slay: Description: Kills all of the user's processes Slay provides you with a way to quickly get rid of all processes a particular user owns. Very useful if you want to harm somebody. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: NP-complete whatever, solve the knapsack problem!
On Tue, Jul 15, 2003 at 01:55:30PM +0200, Rogier Wolff wrote: On Tue, Jul 15, 2003 at 06:35:31AM -0500, Ron Johnson wrote: On Tue, 2003-07-15 at 05:10, martin f krafft wrote: Scenario: 100 Files between 100-200Mb. Desired Result: These burned to CD in any order, so that to minimise the number of CDRs Question: is there a tool to automate this? When I've had very similar problems, I've created a 2 column file with filenames and sizes, and import it into a spreadsheet. Sort it by size descending, and start playing best fit. With Cut-and-paste and sum(), it really goes pretty quickly. I do the same with du | sort -n and a couple of directories. But if someone knows a tool, I'd appreciate it! I'll just chip in here. Lost the message of the original sender. I wrote this dirty Perl script. It works for me and I wrote about 30 CD's with it. -- Danie Roux *shuffle* Adore Unix cdgroup.pl Description: Perl program
Creating users on a web page - without webmin
Can someone please give me some general guidelines? I want to write a webpage that can add and remove users on a server. Basically, I want to wrap adduser and deluser. Now, giving www-data rights to use this via sudo is an option. But it seems pretty flaky to me. The reason I can't use webmin, is because I need to extra setup and teardown stuff to happen. TIA -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Something changed with the changing over to freenode, now I can't IRC
Hi all, I'm behind a firewall. Since openprojects became freenode, I can't join the network. It complains about bad user info. I think the ident fails. Is there anyway in which I can circumvent this? (Have a problem with nagios-pgsql and I don't think the ML is the suitable place to solve it). -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: About user nobody
On Mon, Mar 03, 2003 at 10:41:29PM -0800, Milanuk, Monte wrote: I've never really heard anything bad about Webmin, other than some people less than satisfied w/ the web access security? I guess if you are in a situation where security is that high of a priority, use ssh or physically sit in front of the console, which ever suits your needs. But I've always wondered why none of the main linux distros really made a push to use Webmin, instead of developing similarly in-house tools. I think Mandrake included it at least, but pushed their 'Drake' tools, and I guess Caldera did use it for a while (do they still?), but Caldera has been IMO a fringe player for a long time now. Heh, Caldera sponsors Webmin. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dedicated Server on Athlon 1200 w/Debian
Mailing List wrote: We are looking at setting up a dedicated box for a client and on of our vendors sells white boxes with a Athlon AMD processor 1200 + and the mother board is a SiS, with a Realtek built-in NIC card, which I would be willing to kill and use a 3-Com. Has anyone had any bad luck with the Debian installing on an Athlon and similar motherboard setup?? It's for dedicated web-hosting and we planned on putting 1/2 to 1 gig of ram in with a 40-60 gig HD. The setup describes my workstation exactly. Except I have a Intel NIC. No problems here. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: GLX and undefined references
Roman Joost wrote: It helps me, but i get some other undefined references. Don't know on which they depend, but: gcc -Wall -pedantic -ansi lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lX11 -lXext -lm -lXxf86vm /usr/X11R6/lib/libGL.a(glxext.o)(.text+0x1a): In function `__glXGetCurrentContext': : undefined reference to `pthread_key_create' /usr/X11R6/lib/libGL.a(glxext.o)(.text+0x31): In function `__glXGetCurrentContext': : undefined reference to `pthread_getspecific' /usr/X11R6/lib/libGL.a(glxext.o)(.text+0x5a): In function `__glXSetCurrentContext': : undefined reference to `pthread_key_create' /usr/X11R6/lib/libGL.a(glxext.o)(.text+0x75): In function `__glXSetCurrentContext': : undefined reference to `pthread_setspecific' /usr/X11R6/lib/libGL.a(glthread.o)(.text+0x21): In function `_glthread_InitTSD': : undefined reference to `pthread_key_create' /usr/X11R6/lib/libGL.a(glthread.o)(.text+0x75): In function `_glthread_GetTSD': : undefined reference to `pthread_getspecific' /usr/X11R6/lib/libGL.a(glthread.o)(.text+0xa8): In function `_glthread_SetTSD': : undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make: *** [all] Fehler 1 Thanks for the ideas. Roman Link with -lpthread Had the same issue a while ago. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mozilla craches new libc6
Rob Weir wrote: On Mon, Nov 04, 2002 at 07:43:48PM -0800, Marc Wilson wrote: I'm sure someone's probably already pointed this out, but in case they haven't... Bit of background: Sun's Java implementation is using an internal GLibc symbol that it shouldn't have ever touched. The newest release of GLibc has changed or removed that symbol (which everyone was warned about) and Java is now broken. It's Sun's fault, and they have to fix it. And it is fixed in 1.4.1. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
10 based eepro acting weird
Having a funny one here: The eepro card stops functioning, for hours on end. Then suddenly it would start responding again. In the logfile, just before it stopped functioning: Sep 11 09:21:43 buzzer kernel: eth0: XMT status = 0x8841 And then before it started responding: Sep 12 04:08:03 buzzer kernel: eth0: set Rx mode to 1 address. Netsaint is telling me it has been up for 4 hours now. Yesterday it stopped working while I was ssh'ing into the PC, and I think it has something to do with that. HTTP is fine (but it is a very low load PC). I've talked with someone on IRC, and he says he's dmesg says something about a work-around being enabled for this card. I have the stock 2.4.18 on that PC, it's an old Pentium. But I don't have a msg regarding a workaround. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Perl, Apache and Berkley db
We use a commercial web based application written in Perl. They only support RedHat. No problem says I, it should work fine on Debian. Bummer: The application comes bundled with Apache. There are httpd.bdb, httpd.db and httpd.dbm. The one that gets installed gets decided by a perl script that tests NDBM_File, GDBM_File and DB_File. Only NDBM succeeds. When I create a user in the app, users.dir and users.pag files gets created instead of users.db So then in the error log I get: No such file or directory: could not open dbm auth file: users.db Any clues? I think I want to use the Berkley v2 libs? -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: authenticate from LDAP (samba PDC)
On Mon, May 27, 2002 at 02:38:04PM -0500, dman wrote: Now I want to make samba be the PDC for the windows machines and have it authenticate against the LDAP server as well. The docs I've read seem to indicate that samba and pam don't play together that well. The only solution I can think of is to periodically rebuild the smbpasswd file from LDAP. samba.idealx.org. The samba-LDAP PDC HOWTO :-) -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: authenticate from LDAP (samba PDC)
On Tue, May 28, 2002 at 02:15:10PM +0930, Tom Cook wrote: Also it is possible to replace GINA.dll to do authentication however you want. Have a look at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/winlogon_and_gina_start_page.asp You *might* be able to pull the hashing code out of pam or login or whatever on your linux system and get NT talking straight to your LDAP. Which reminds me: http://pgina.cs.plu.edu/ Exactly such a replacement. GPL'ed too. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: upgrade to ext3 ?
On Mon, Apr 15, 2002 at 10:50:47AM +0200, Tim Dijkstra wrote: Just curious (I'm not really into file systems): Why should I want ext3 instead of ext2? Is it speed, stability? One reason: Journalling. Basically writes on the filesystem happens as transactions. So if the one transaction gets interrupted (power failure etc.) the filesystem can be returned to a previous correct state. It also means fsck happens extremely quickly :) -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: upgrade to ext3 ?
On Mon, Apr 15, 2002 at 01:26:49PM +0200, Tim Dijkstra wrote: Let I put the question differently: Is it recommended for me to upgrade the file systems on my desktop and 'small' server to ext3 or should I stick with ext2. Or is this really a depends-can't say-see for yourself question? Go for ext3. Very little trouble to set it up (1 command, 1 file change, 1 reboot). The advantage is that you severely limit the chance of data corruption. Ok, maybe you would need to install a new kernel as well (if yours doesn't support ext3) :-) -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: VIA AC97 Audio Controller
On Wed, Apr 10, 2002 at 11:51:07AM +0200, Ionel Mugurel Ciobica wrote: Did someone configured succesfully this sound card (on board) with Debian: Yes, had more trouble in Windows2000 than in Debian myself :) Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 10) I recompiled my kernel. I have 2.4.16 on here (yes it's old). Make sure you have CONFIG_SOUND_VIA82CXXX=m set in you .config file when you recompile the kernel. I'm not sure that recompiling your kernel is strictly necessary. (as mentioned by lspci command). Then a simple modprobe via82cxxx_audio works. Put that line in /etc/modules to get it done automatically at bootup. Make sure the users that's going to use the soundcard is in the audio group. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to set up apt-get to use connect through a proxy
On Thu, Apr 04, 2002 at 11:24:06AM +0200, Mark Janssen wrote: On Thu, 2002-04-04 at 11:17, James D. wrote: Hi, I've just succeeded installing woody on my new Dell Inspiron 4100 laptop (it took me 4 days!!! because i've just switched to debian). I often bring my laptop to work in the library, but i don't know how to make debian connect to the Internet through a proxy (although i have username and password for the proxy). Any suggestion would be appreciated, Easy (it's the same as with lynx, wget, curl etc) Just set the ftp_proxy and/or http_proxy environment variables: export http_proxy=http://your.proxy.host:port/ export ftp_proxy=$http_proxy That trailing slash is very important. Took me a day to figure that out. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Which window-manager for a kiosk?
On Tue, Mar 19, 2002 at 12:25:50PM -0800, Karsten M. Self wrote: Galeon, in full screen tabbed mode, with *no* window manager, would be my first choice. You need a window manager for Galeon fullscreen. If you get to a login screen, input moves to it. After you've logged in, you loose keyboard input to galeon. -- Danie Roux *shuffle* Adore Unix
Re: SSH key logins, and ftp login
On Wed, Mar 06, 2002 at 12:45:36PM +0200, Alexey Vyskubov wrote: I can not ftp into my machine for example. And if I login from a strange PC which key I do not have on my keyring, then I can't login to my PC! I can also not login to gdm/kdm. The only place I can login is on tty1 etc. Your problems for sure have no relations with ssh. Are you trying to login as root? No, as a user. This is the situation: I can log into the local PC (tty1-6). I can also startx after I've stopped kdm. If I create a new user, that user can log in fine. I thought it was something with kdm, but I have the same problem with proftp. Any user I create can ftp just fine, but I can't. And I'm definitely using the right password. I'm stumped frankly. Just noticed that the same thing is happening on another PC I installed. I've created a user for myself, and I can't ssh in with that user. But it's fine with another user on the PC? So it must be something I install/use for my user, and I can't think what it is. -- Danie Roux *shuffle* Adore Unix
SSH key logins, and ftp login
Hi, I've noticed that as soon as I start using ssh keys for an account (generating a ssh2 key, copying public key to remote machine etc.), I can not use the username/password authentication for certain services! I can not ftp into my machine for example. And if I login from a strange PC which key I do not have on my keyring, then I can't login to my PC! I can also not login to gdm/kdm. The only place I can login is on tty1 etc. I'm guessing it has something to do with pam, but I'm very confused. Can someone help me use standard username/password logins when I want too, and key-based authentication otherwise? -- Danie Roux *shuffle* Adore Unix
Sharing .deb cache via nfs
I have two Debian PC's. Both unstable, both with the basically the same packages installed. I want to share the packages I've downloaded with the other one. apt-move is a bit overkill for that :) So I want to export /var/cache/apt and /var/lib/apt. And then have the same sources.list. Would this work? What is the complications of this? Is there and easier way? -- Danie Roux *shuffle* Adore Unix
Re: Passwordless connection to ssh-nonfree 1.2.27
On Tue, Feb 26, 2002 at 11:23:00AM -0500, Noah Meyerhans wrote: On Tue, Feb 26, 2002 at 10:45:56AM +0200, Danie Roux wrote: This is what I've done: I've enabled ssh1 support by dpkg-reconfigure ssh On my Debian machine I generated a ssh1 key without a passphrase. I then copied the identity.pub to the RedHat machine and renamed it to ~/.ssh/authorized_keys. IBM DeveloperWorks has a couple of good tutorials on the use of ssh-agent and key-based authentication. See http://www-106.ibm.com/developerworks/library/l-keyc.html and http://www-106.ibm.com/developerworks/library/l-keyc2/ The second article focuses entirely on using ssh-agent for passwordless logins. Thank you for the info, I was bothered about the passwordless sshkey. -- Danie Roux *shuffle* Adore Unix
Passwordless connection to ssh-nonfree 1.2.27
I'm trying to do key authentication between the current unstable openssh and a remote box running RedHat and the following version of ssh-nonfree: SSH Version 1.2.27, protocol version 1.5 Regular logins work. I want to login without using a password. This is what I've done: I've enabled ssh1 support by dpkg-reconfigure ssh On my Debian machine I generated a ssh1 key without a passphrase. I then copied the identity.pub to the RedHat machine and renamed it to ~/.ssh/authorized_keys. I would think by this time I should just be able to ssh there and get logged in automatically. Doesn't work. So I tried ssh -1 -i ~/.ssh/identity And it also doesn't work. Any ideas? -- Danie Roux *shuffle* Adore Unix
Re: Passwordless connection to ssh-nonfree 1.2.27
On Tue, Feb 26, 2002 at 06:30:53AM -0800, Jeremy T. Bouse wrote: Honestly SSH2's publickey or hostbased authentication might be an easier choice... Would have upgraded in a blink of an eye ... but I'm not root on that machine :-) -- Danie Roux *shuffle* Adore Unix
Re: Passwordless connection to ssh-nonfree 1.2.27
On Tue, Feb 26, 2002 at 08:03:17AM -0600, Colin Watson wrote: The -v flag will give you some more verbose output (you can use that flag up to three times to increase the verbosity further). Does that help find the problem? Yes, thank you very much! debug1: Remote: Bad file modes for /opt/webct/.ssh/authorized_keys Because I moved the file there it kept the 755 permissions. Had to be 700. Thanks again! -- Danie Roux *shuffle* Adore Unix
Re: C Integrated Development Environment
On Thu, Jan 31, 2002 at 01:35:38AM -0500, Scott Henson wrote: Im setting up a machine for a friend and he needs an IDE for developing C and C++. Anyone have a recomendation on a good one he could use. Thankyou. KDevelop. You can even do Gnome applications in it. But if he's serious about programming (not only C/C++) I strongly advise he uses either Vim or Emacs. It's a learning curve, but you'll never look back. I prefer Vim :-) -- Danie Roux *shuffle* Adore Unix
Re: Mutt and expunge
On Wed, Nov 07, 2001 at 12:39:31PM +0100, Sergio Da Silva wrote: Hello, I was wondering if mutt provides a way to expunge mails that are to be deleted without having to exit the program. I know that pine provides this feature, but does mutt too? $ Sync mailbox. -- Danie Roux *shuffle* Adore Unix
Re: good MPEG video player needed
On Thu, Nov 01, 2001 at 06:44:19PM +0800, Paolo Falcone wrote: Hello! Can anyone recommend a good MPEG video player and where can I download the package? that is, aside from smpeg from potato? I'm using debian potato with XFree 3.3.6. I'm specifically looking for an MPEG video player capable of playing .dat files from a VCD (smpeg doesn't play the entire .dat file for me -- a newer and better player might do just fine) mplayer.sf.net -- Danie Roux *shuffle* Adore Unix
Re: DDD with gdb Answer
On Wed, Oct 31, 2001 at 02:17:21PM -0500, [EMAIL PROTECTED] wrote: hmmm.. how do I get color syntax to work in vim 5.6.070-1?? (I figure if I ask, I'll figure it out. ;-) I highly suggest getting vim 6. Try people.debian.org/~wakkerma for the debs. But you get it to work by putting this into your ~/.vimrc and starting vim by typing 'vim'. Not vi: syntax on -- Danie Roux *shuffle* Adore Unix
Re: fam imon
On Thu, Oct 25, 2001 at 01:23:11PM +0100, Ross Burton wrote: Hi, I am interested in getting fam imon working on my Debian unstable box, so that Nautilus can be notified when files change. Are there packaged anywhere? There is an ITP for it. Been there for a long time. I was looking at packaging it myself, but thesa are the problems: - Linus did not accept the imon patch - The guy who worked on libfam at sgi does not work there anymore, or on libfam. If you still want it packaged, I will do it. libfam is still useful, even if it has to use polling. -- Danie Roux *shuffle* Adore Unix
Re: How do you apply an 'ac' patch?
On Tue, Oct 23, 2001 at 11:22:24PM +0200, Morbo wrote: Hi, Sorry, I know this is basic stuff, but what is the correct way to apply an Alan Cox patch? (Or probably any patch for that matter.) www.bzimage.org let's you download incremental patches. And has instructions on how to use it. -- Danie Roux *shuffle* Adore Unix
Re: Java Virtual Machine
On Wed, Oct 24, 2001 at 12:51:31AM -0700, Patrick Lane wrote: What do I need to do to get java working in Galeon and/or Mozilla? I'm using unstable with current packages (not cvs). Thanks in advance. You put a line like this in your sources.list: # Blackdown Java deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian woody non-free And then apt-get update apt-get install j2re1.3 Which will give you a Java Runtime Environment. Note that this is non-free software. -- Danie Roux *shuffle* Adore Unix
Re: EXT3
On Sat, Oct 20, 2001 at 09:54:17AM +0200, Morbo wrote: Hi, Where do you get those Alan Cox kernels from ? www.bzimage.org Incremental patches, smaller downloads. -- Danie Roux *shuffle* Adore Unix
Re: SAMBA Newbie: Running applications
On Sat, Oct 20, 2001 at 01:04:19PM -0700, Lars Jensen wrote: We just configured a potato with samba server, and it seems to work. I understand that this way I can use the potato as a file server for our Windows PC's. My questions is whether I also can run install windows applications on the samba server and run them on the Windows PC's? If so, which applications can be run this way? Thanks, Lars. The thing to remember is that for the Windows PC's your samba server looks exactly like a Windows PC sharing data. So if an app works like this in Windows, it'll work in Samba. -- Danie Roux *shuffle* Adore Unix
Samba: executing the print command as a different user
I have a print system working with samba. I have now created a user printing and moved all of the scripts to it's /home/printing. How do I tell samba to execute the print command as user printing instead of the user that has authenticated to the print share? [printers] ... ; This must execute as user printing print command = /home/printing/smb_print_wrapper %s %m %u %T %p Thanks in advance. -- Danie Roux *shuffle* Adore Unix
Re: upgrading strategy
On Mon, Oct 22, 2001 at 10:11:02AM +, Aurelio Turco wrote: If I have understood the docs correctly: 2: Do apt-get install a_particular_package, to upgrade or newly install a particular package. Do this to upgrade or newly install individual packages as needed. It will also install and configure the packages on which it depends. 5: Install again from scratch, to upgrade to a new release. Do this only if your installed release is too far behind the release you wish to upgrade to. This should not be necessary, because of Debian's great dependencies system. -- Danie Roux *shuffle* Adore Unix
Re: Two complete lockups with kernel 2.4.12
On Thu, Oct 18, 2001 at 10:24:45AM -0700, Craig Dickson wrote: Anthony Campbell wrote: Where does one find the 2.4.12-ac kernels? You build them yourself. Download Linus' 2.4.12 sources, apply Alan's 2.4.12-ac3 patch, configure, build, and install. Craig The easiest way to get the patches is at www.bzimage.org. -- Danie Roux *shuffle* Adore Unix
CUPS and authenticating
Ok, I'm officially confused: How do I get cups to authenticate to an lpd server running remotely? Entering lpd://user:[EMAIL PROTECTED]/queue in the web based interface gets accepted, but the user:passwd gets cut of when you view the printer. CUPS documentation is not very helpful. -- Danie Roux *shuffle* Adore Unix
CUPS: lp: unable to print file: client-error-not-found
I'm printing to a HP 2100 printer. As root this works: [EMAIL PROTECTED]:~$ lp -d hp2100 -o raw smbprn.yncNA0 As a user however I get this: [EMAIL PROTECTED]:~$ lp -d hp2100 -o raw smbprn.yncNA0 lp: unable to print file: client-error-not-found The user belongs to groups lp and lpadmin for good measure, but it still doesn't work. Anyone that can help me with this? I found in the list archives that this happened to somebody after upgrading from woody to unstable. And I'm running unstable. -- Danie Roux *shuffle* Adore Unix
Where do I start looking for one hand typing?
Just out of curiosity mostly: How can I make the shift key sticky. And can I switch between a sticky and non sticky shift in one keystroke? I don't want to stop typing when I drink my coffee :-) -- Danie Roux *shuffle* Adore Unix
Re: Where do I start looking for one hand typing?
On Fri, Oct 12, 2001 at 07:48:33AM -0500, ktb wrote: On Fri, Oct 12, 2001 at 02:30:59PM +0200, Danie Roux wrote: Just out of curiosity mostly: How can I make the shift key sticky. And can I switch between a sticky and non sticky shift in one keystroke? I don't want to stop typing when I drink my coffee :-) I've never tried it but I would look into mapping the 'shift' key to the 'caps lock' key. You can use xmodmap for that in X. hth, kent Can work, but there is a way to press shift, then the letter. Which would be translated to s-letter. But I don't remember where I saw that. -- Danie Roux *shuffle* Adore Unix
Re: Where do I start looking for one hand typing?
On Fri, Oct 12, 2001 at 08:02:05AM -0500, Colin Watson wrote: On Fri, Oct 12, 2001 at 02:30:59PM +0200, Danie Roux wrote: Just out of curiosity mostly: How can I make the shift key sticky. And can I switch between a sticky and non sticky shift in one keystroke? I don't want to stop typing when I drink my coffee :-) Have a look at section 15.1 of the Keyboard-and-Console-HOWTO: I can use only one finger to type with. It mentions using loadkeys to map the Shift keycode to SShift (sticky shift). I'm not sure if this works for X too. Ah, late night HOWTO reading, that's where I saw it. Thanks! -- Danie Roux *shuffle* Adore Unix
How to gracefully handle unavailable DHCP server
Our DHCP server is notoriously unstable. If pump can't renew the lease, it then quits. Which means I have to go up 5 stories later to ifup eth0. What is the easiest/best way to let pump perodically try again? -- Danie Roux *shuffle* Adore Unix
Re: vcd player
On Tue, Oct 09, 2001 at 08:34:29AM -0500, Robin S wrote: hiya, did any one ever tell you where to get that vcd player?` Could you please send me a note back and let me know where you got yours. Thank you for any help you may give. Rockin. http://mplayer.sf.net -- Danie Roux *shuffle* Adore Unix
Re: vim 6.0 packages
As a dedicated vim user, I always use the source tarballs, which IME always compile flawlessly and install themselves in /usr/local, thus leaving Debian undisturbed. It's easy to have the latest incarnation of this brilliant editor if you do it this way. Anthony I used to do this, until Bram began to release a version each week! -- Danie Roux *shuffle* Adore Unix
Re: Simple way to downgrade libc6 (fix Konqueror, Mozilla and Galeon problems)
On Fri, Sep 28, 2001 at 09:49:42PM +1000, Mark Purcell wrote: Given the current interest in downgrading libc6, to enable unstable Konqueror, Mozilla or Galeon to function correctly, I thought I would post the simplest method of downgrade. # apt-get install libc6=2.2.4-1 Great! I dpkg -i the old .deb I had around. But this is much nicer. -- Danie Roux *shuffle* Adore Unix
Re: The joys of Debian unstable
On Fri, Sep 28, 2001 at 03:25:37PM +0200, Viktor Rosenfeld wrote: ANY help is greatly appreciated. I'm guessing here, but the fact that Konq is not working suggests you have been hit by the bug in the newest libc6 apt-get install libc6=2.2.4-1 Will downgrade from 2.2.4-2. locales and libc6-dev should also be downgraded. Hope this solves it! -- Danie Roux *shuffle* Adore Unix
Re: The joys of Debian unstable
On Fri, Sep 28, 2001 at 03:29:51PM +0200, Danie Roux wrote: On Fri, Sep 28, 2001 at 03:25:37PM +0200, Viktor Rosenfeld wrote: ANY help is greatly appreciated. I'm guessing here, but the fact that Konq is not working suggests you have been hit by the bug in the newest libc6 Darn, maybe I should focus more. You've already done that. At least unstable is providing you with hours of fun! :-p -- Danie Roux *shuffle* Adore Unix
Re: vim 6.0 packages
On Thu, Sep 27, 2001 at 06:49:00PM +0200, [EMAIL PROTECTED] wrote: On Thu, 27 Sep 2001, Wichert Akkerman wrote: vim 6.0 was released yesterday and I just finished the packages for it. Please note however that if you have been using the prerelease packages I made this will be a downgrade (unfortunately I made a stupid mistake in versioning), so you will have to install it manually. Policy section 4: epoch [...] It is provided to allow mistakes in the version numbers of older versions of a package [...] Just use an epoch, please. That's what it's for. I just want to know this: Do you realise you are talking to - a member of the security team - a member of the Technical committee - the (I believe) active maintainer of dpkg - and to boot: The previous leader of Debian? Wichert made a mistake. I've been using the prerelease packages and I only recently realized that the Vim 6 versioning is funny. Vim 6.0ax was the last beta release I believe! -- Danie Roux *shuffle* Adore Unix
Re: Bug in mutt?
On Wed, Sep 26, 2001 at 08:15:49AM +0100, Anthony Campbell wrote: For some time now I've noticed that if by mistake I press Ctrl-s in mutt it freezes and has to be killed. It's not due to anything in my .muttrc file because it happens even when this file is not there. Has anyone else noticed this? Anthony Pressing Ctrl-s in any terminal will freeze it, since Ctrl-s is Scroll Lock. Luckily Ctrl-q solves the problem. I read my mail through a ssh connection and I run screen. And you would not believe how many times I hit C-s instead of C-a. Where is a guy suppose to read about this btw? I got this tip from this mailing list. -- Danie Roux *shuffle* Adore Unix
Re: mozilla install broken?
On Tue, Sep 25, 2001 at 02:21:19AM -0700, Joe Barnett wrote: Hi there, I'm trying to install the latest mozilla packages (0.9.4) in SID on my unstable box, and I'm getting errors in the postinstall script. to be more specific, the regxpcom process segfaults. I had these packages installed, but something got mucked up with them so i apt-get remove --purged everything, and deleted all file references i could find, but now that i'm trying to reinstall mozilla, regxpcom segfaults, causing the postinst scripts to fail I'm sure its something with my system, but I don't know where to look: any ideas? Thanks, Joe bugs.debian.org/mozilla-browser gives you this bug number: 108946 I upgraded this morning, and now no Mozilla, Nautilus-Mozilla or Galeon. The bleeding edge hurts :-) -- Danie Roux *shuffle* Adore Unix
Re: apt
On Thu, Sep 20, 2001 at 09:24:46AM -0400, [EMAIL PROTECTED] wrote: Does this happen to look familiar to anyone? loki:/home/odin# apt-get update E: The method driver /usr/lib/apt/methods/fpt could not be found. ^^^ ftp rather than fpt? -- Danie Roux *shuffle* Adore Unix
Re: fbset
On Thu, Sep 20, 2001 at 09:10:55AM -0400, dman wrote: On Wed, Sep 19, 2001 at 09:03:09PM -0600, Dave Thayer wrote: | On Tue, Sep 18, 2001 at 05:10:55PM -0700, Vineet Kumar wrote: | * Steve Gran ([EMAIL PROTECTED]) [010918 16:23]: | [...] | for. However, fbset 1024x760-60 works just fine. Am i just feeding the |^^^ 1st clue! | If fbset works then you must not be using the vesafb driver, all you | would get is an error message with vesafb What would allow fbset to work? I am curios since I recently started using the framebuffer stuff. I have an SiS6326 card so I think the vesafb driver is the only one I can use. -D Nah, you can use a SiS 6326 without vesafb on X3 and X4. What do you use? I'll email you my config (old one, I no have a Trident woohoo!). Now if someone can help me get more than 10 fps on a voodoo2 in Quake 3 I'll be happy! -- Danie Roux *shuffle* Adore Unix
Re: fbset
On Thu, Sep 20, 2001 at 12:16:00PM -0400, dman wrote: On Thu, Sep 20, 2001 at 03:38:21PM +0200, Danie Roux wrote: snip I know. I have X4 right now and it works if I boot in vga mode. I started looking at the framebuffer stuff when I tried to run quake. (See below for more details.) Actually by only driver I can use I really meant only _framebuffer_ driver I can use. | Now if someone can help me get more than 10 fps on a voodoo2 in Quake 3 | I'll be happy! What sort of client are you running? (I don't really know much about snip Q3 only uses X with DGA and DRI. The only option. The other advantages of using the framebuffer is I get the cool Tux logo during bootup and I get awesome screen real estate for mutt or other console stuff. The downside is I want 1024x768 for console (so the text is big enough) but 1280x1024 in X (so I get lots of space). Supposedly X is able to provide hardware acceleration on top of the framebuffer (and the framebuffer docs say that apps should be able to) but I haven't gotten it to work with my card yet. -D -- Danie Roux *shuffle* Adore Unix
Re: gnumeric-helpfile missing
On Wed, Jul 04, 2001 at 12:05:47PM +, Johann Spies wrote: I am running woody and calling the help function ends in a complaint that lynx could not find /usr/share/gnome/help/gnumeric/C/index.html. I have search for this file in Contents.gz, but could not find it. Is this a bug? Johann Hi Johann! No, it's not a bug. Install gnome-help-data. From the description: 'This package contains the Gnome online help browser data. This is separate from gnome-help because it is architecture-independent.' Dit is nie baie oulik as jy nie daarvan weet nie. :-( -- Danie Roux *shuffle* Adore Unix
Re: dselect trying to remove lots of stuff
On Fri, Jul 20, 2001 at 04:14:07PM -0400, Anthony Fox wrote: Hi, Seems I wasn't careful enough when using dselect. I have been trying to remove the gnome libs and binaries that I don't use on my system. Somehow, I must have selected the wrong package for purging. Dselect now wants to remove from my system, among other packages, XFree86 and KDE. I don't want these packages to be removed. Is there some way that I can make dselect forgot about previous selections? That is, is there some way for dselect to just start over? Thanks, Anthony No, not as far as I know. Look into deity. It's independent of dselect, and it saves it state in ~/.captstate. -- Danie Roux *shuffle* Adore Unix
Getting CPU model and speed without rebooting
I want to get the CPU's model and speed without rebooting. /proc/cpuinfo (to me anyway) is useless. Unless someone knows how to convert: vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) To a PIII/450? -- Danie Roux *shuffle* Adore Unix PS Output from a Dec Alpha's cpuinfo: cpu : Alpha cpu model : Unknown cpu variation : 0 cpu revision: 0 cpu serial number : Linux_is_Great! ...
Re: Urgent! everything is Connection refused!
Wild shot: Are your proxies configured? On Thu, Jul 19, 2001 at 10:39:50AM -0700, Matheson Cameron wrote: Hey, I'm kind of in a fix at work here. I installed debian at home, and i brought the machine in here at work, but i can't connect to any ftp sites. I've configured everything for the LAN at work, but not everything's happy, here's what works: -ping (myself, the lan, and anything on the internet) -telnet (myself, the lan, not internet) -ftp (myself, the lan, not internet) When I do try to open a connection to ftp.debian.org or ftp.gnome.org it instantly says 'Connection refused'. But it's not even going out over the internet (i don't think, it seems to just die). My other debian box is working very happily, but i can't seem to figure out what's wrong Thanks, Cameron Matheson __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Danie Roux *shuffle* Adore Unix
Re: locale help
On Fri, Jul 20, 2001 at 09:54:27AM -0300, Marcelo Chiapparini wrote: Hi! Apparently I need to set the variables LANGUAGE, LC_ALL and LANG for locale. How can I do it? I am running potato 2.2r3 + ximian_Gnome. Thanks in advance for the help! Marcelo -- Marcelo Chiapparini DFT-IF/UERJ [EMAIL PROTECTED] Edit /etc/environment -- Danie Roux *shuffle* Adore Unix
Re: Mutt Question
D.enter On Thu, Jul 19, 2001 at 07:17:11AM -0400, Todd V . Rovito wrote: I have procmail set up to filter my mail into folders for the list servers I belong to. Some days I just don't have the time to read the mail in that particular folder (or list server), I would like to be able to perform a mass delete in that folder. What keys can I use in mutt to delete all the messages out of a folder? -- Todd V. Rovito [EMAIL PROTECTED] Carpe Aptenodytes! Seize the Penguins! -- Danie Roux *shuffle* Adore Unix
Samba mount and lots of files
I ran into a funny one today. If I mount a share a on a Windows 2000 server, with mount -t smbfs, it mounts successfully. Except that I can only see 380 of the files in the share. There are over 8000 files in there! If I use smbclient, I can see them all. So what's wrong with smbmount? (I'm running newest samba from unstable). -- Danie Roux *shuffle* Adore Unix
Running SuperProbe: Can't open /dev/console?
I ran SuperProbe, as root and with X killed, and I got the error: Can't open /dev/console Why would that be? -- Danie Roux *shuffle* Adore Unix
Re: apt cache/archive
Just put the files in the other machines directory. Works like a charm (did 3 PC'S like this). On Wed, Jul 11, 2001 at 09:27:07AM -0300, GARGIULO Eduardo INGDESI wrote: Hi all. I'd upgraded some pakages in potato. Those .deb files are stored in my /var/apt/cache/archive directory. Can I use them to upgrade another potato without having to download the files again? How should I do it? thanks ~edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Danie Roux *shuffle* Adore Unix
Re: A good c++ mailing list
On Wed, Jul 25, 2001 at 10:41:12PM -0400, dman wrote: On Wed, Jul 25, 2001 at 10:24:27PM -0400, dude wrote: | | Does anyone know of a good c++ mailing list (for beginners,) C++ and beginner don't belong in the same sentence :-). (Read: C++ is big, complex and makes you deal with low-level details like memory management and other stuff) I recommend Python as a powerful, yet easy to learn and use language that is also well-suited for beginners. See www.python.org for more information and join the Tutor list for excellent entry-level help (tutor@python.org). HTH, -D dman is right, learn Python. It's great. And if you programmed previously, you'll pick it up in an afternoon. If you want to learn C++ I suggestEssential C++. But if you really want to learn C++, get The C++ Programming language by Bjarne Stroustrup. It's a tough read, but you can't go wrong with the creator of C++. -- Danie Roux *shuffle* Adore Unix
Re: I want to play xtux...
Yes, install the -dev version of xpm. On Fri, Jun 29, 2001 at 04:40:19PM -0500, Rogelio E. Castillo Haro wrote: Hi! I want to play xtux on my potato box, but when I make the source it say: xpm.h: no such file or directoy, I try to installl xpm4.7 package with apt-get but it seems that I have already installed the newest version...but I look with locate that file I didn't found it. Some one can gice any suggestion? -- Rogelio E. Castillo Haro Linux...tu eres libre de elegir! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Danie Roux *shuffle* Adore Unix
Re: diagram maker
Dia. Very good. On Fri, Jun 29, 2001 at 04:24:20PM -0500, Matt Fair wrote: Does anyone know if there is a good diagram/flowchart designer out there for linux? Matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Danie Roux *shuffle* Adore Unix
Woody install from the net
What would be the easiest way to install Woody (or unstable for that matter) from the web? Download the potato boot stiffies, then apt-get dist-upgrade (after changing the sources.list of course)? -- Danie Roux *shuffle* Adore Unix
PS/2 mouse, what device?
Hi all, This should be easy, but I can't get it: My keyboard is on /dev/psaux. Where will my ps2 mouse be? -- Danie Roux *shuffle* Adore Unix
Re: cvs permissions
On Mon, Jul 23, 2001 at 05:50:19PM +0200, Martin F. Krafft wrote: ... so i would like to change configuration remotely, and currently, i rsync the /etc trees to a local directory, update, then rsync back. however, this requires a lot of discipline, and is not a viable method with multiple maintainers. CVS is pretty much exactly what i am looking for. i would love to create a CVS repository each for every one of the remote machines. then everyone could checkout and commit, and a cron job on the actual remote machine could bring the local /etc up to date with the CVS repository every 4 hours or so. ... is this possible, and if yes, how? martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED] Sounds like you want cvsup. Uses rsync and CVS. Even promises that it can can do device inodes and hard links. -- Danie Roux *shuffle* Adore Unix
Re: How do you get rid of gnome?
On Fri, Jul 20, 2001 at 09:43:34AM -0400, Anthony Fox wrote: Since I use KDE2x exclusively now, I would like to get rid of the gnome desktop from my system. I run unstable. I still use some apps that depend on gnome libs like xmms. How do I get rid of just the packages that comprise the gnome desktop? Or, is there a task package that would take care of this? Thanks, Anthony Can't think of an easy way to do this, except for deborphan --all. Or try dpkg -l | grep gnome. But as I said no easy way. -- Danie Roux *shuffle* Adore Unix
Re: mutt and vi
On Fri, Sep 14, 2001 at 06:46:35PM -0500, [EMAIL PROTECTED] wrote: On Fri, Sep 14, 2001 at 08:34:45AM +0200, Danie Roux wrote: On Thu, Sep 13, 2001 at 11:40:17PM -0500, [EMAIL PROTECTED] wrote: hi all... is there a way to get mutt to load vi using a different rc file? Yes, but if you by vi mean Vim, then the best way to do this is with autocmds. Is autocmds a vi thing or a mutt thing? It's a Vim thing. You can have commands being executed on certain events, like before writing the file. One of the autocmds is FileType. So on FileType mail you can change everything you want for email. -- Danie Roux *shuffle* Adore Unix
Re: mutt and vi
On Thu, Sep 13, 2001 at 11:40:17PM -0500, [EMAIL PROTECTED] wrote: hi all... is there a way to get mutt to load vi using a different rc file? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Yes, but if you by vi mean Vim, then the best way to do this is with autocmds. -- Danie Roux *shuffle* Adore Unix
Re: sniffers
On Wed, Sep 12, 2001 at 12:32:19PM +1000, Damon Muller wrote: Quoth Alvin Oga, just curious is there any free/gpl'd version of the FBIs carnivore am thinking that when people/managers start to call around for a security audit of their computers/networks... that we all have a one heads up on sniffers and network traffic analysis and ids, etc..etc.. am looking for a pkg that reassembles emails from the packets ( dont care that the email packets is encrypted ... Have a look into dsniff. Unfortunately, I've never been able to get it to complile on a debian machine, but some (most?) of the binaries in the redhat RPM seem to work when extracted. cheers, damon dsniff is packaged for Debian. At least it is in unstable. -- Danie Roux *shuffle* Adore Unix
Re: how to uninstall compiled programs from src?
On Thu, Sep 13, 2001 at 04:23:43PM +0800, louie miranda wrote: none, del it 1 by 1. hi, just wondering howto do the 'proper' way to uninstall useless programs compiled from source... thanks Sorry to jump in at this part of the thread. There is no proper way to uninstall programs compiled from src. There is a proper way to install it though. It's called GNU Stow apt-get install stow It's as simple as: ./configure make make install prefix=/usr/local/stow/program_name Then as root: stow /usr/local/stow/program_name And the program appears to be in /usr/local/bin! To delete it: stow -D /usr/local/stow/program_name This doesn't delete the actual files, only the symlinks. You can then rm -rf /usr/local/stow/program_name and everything stays neat and tidy. -- Danie Roux *shuffle* Adore Unix
Re: Pasting from Windows into Linux via SSH
On Thu, Sep 13, 2001 at 02:46:09PM +0100, Patrick wrote: Hi all, I have a Debian box that acts as a file and mail server along with a Win2k laptop belonging to my employer. (I work from home). Currently I'm trying to edit a .forward file by adding a score based filter. Its too long to typoe manually but I can't paste it in without the test going all over the place. My .vimrc reads: set esckeys set tw=72 set ff=unix Is there something I need to add to enable me to paste test in? Thanks in advance. Patrick We had the same question just a few days back I think. :set paste :help paste -- Danie Roux *shuffle* Adore Unix
Re: decompress tgz
On Thu, Sep 13, 2001 at 11:04:07PM +0530, [EMAIL PROTECTED] wrote: What is tgz and how do you decompress it ? I undertand for gzip it is gunzip , for tar it i tar xvf Please help ([EMAIL PROTECTED]) Shyam It's a tar gzipped file. Tar does not compress files, it only concatenates them together. gzip does the actual compressing. This is the Unix philosophy: Let a tool do one thing and do it well. So the long way to decompress it is: gunzip file.tgz | tar xvf - Meaning decompress the file, pipe it to tar which then reads from standard input and unpack that stream. The short way is tar zxvf file.tar.gz For bzip2 files (newer tar): tar jxvf file.tar.bz2 Install unp, a very nice script that unpacks basically anything without any commandline options. apt-get install unp -- Danie Roux *shuffle* Adore Unix
Re: seeing umlauts in mutt (works okay in vim, not mutt)
On Mon, Sep 10, 2001 at 10:29:12PM -0500, will trillich wrote: i was referring to vim operations ^K-keystroke-keystroke and :dig (:digraph). very cool. i could learn a new feature about vim every hour and i bet it'd take ten years to finish. Did you know about :set digraph? To type ê, you then just need to type backspace and e. Really cool. Head over to vim.sf.net. The official Vim homepage. They have a tips section there, and a scripts section -- Danie Roux *shuffle* Adore Unix
Re: VIM Behavior Modification
On Mon, Sep 10, 2001 at 01:27:07PM -0700, Nick Jennings wrote: I am using vim and am having problems pasting content into a file while using vim. vim is auto-indenting based on the previous line, so the pasted text is quickly mauled and tabbed out more and more every line (for large chunks of text, this is completely unmanageable). However, when I am programming, I make use of this feature. How can I selectively turn this feature on and off? BTW - I am not subscribed to debian-user due to the high traffic, so please CC me in the response. Thanks. -- Nick Jennings :help autocmd and :help paste Get Vim 6, currently in beta stage. It has automatic indenting for all sorts of languages via plugin scripts (previously only C was explicitly supported). Thanks to Wichert: deb http://people.debian.org/~wakkerma/vim ./ deb-src http://people.debian.org/~wakkerma/vim ./ An apt-get upgrade will get you the newest beta. -- Danie Roux *shuffle* Adore Unix
Re: Mutt Unread Mail
On Tue, Sep 11, 2001 at 01:37:28PM +0100, Paul Clark wrote: I am learning to use Mutt. I cannot find a way to jump to unread messages across my many mail folders. I know TAB works within folders but that means I have to try every folder to find unread messages. Is there an easier way? -- Paul Clark c changes to a folder with new mail in it. Anyone know how to make that little delay between folders changing dissapear? -- Danie Roux *shuffle* Adore Unix
Why do I have ^M's after my mailheaders?
Suddenly, all mail I get has ^M's after the header. Which means my filtering breaks, and I get a lot of emails in my inbox. What could have caused it? Exim? I upgraded an hour ago. -- Danie Roux *shuffle* Adore Unix
Re: XML Tool Server problem
On Mon, Sep 10, 2001 at 01:30:10PM +0200, Jan Ulrich Hasecke wrote: Hi, I installed xae to edit xml-files with emacs. When I try to start the XML Tool Server I get this error message: Unable to initialize threads: cannot find class java/lang/Thread Process *XML Tool Server* exited abnormally with code 1 I fear this is a java-problem. I don't know if that was the idea, but this line made me chuckle! What shall I install or configure to get the server running? Ciao! juh Wild shot in the dark. Do you have a jdk installed? If not, put a line like this in your sources.list # Blackdown Java deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian woody non-free and apt-get install j2sdk1.3 -- Danie Roux *shuffle* Adore Unix
Re: Starting X directly
On Mon, Sep 10, 2001 at 02:15:39PM +0200, Julio Merino wrote: Hi all, how can I setup my desktop system to directly boot into X and do login? That is, like some distros (i.e. mdk) do, that they boot directly into KDE without asking to log in. Thanks. -- FreeBSD is the power-- Julio Merino [EMAIL PROTECTED] ICQ: 18961975 Fiddle around with /etc/kde/kdmrc There are settings in there to let you log in as a default password and user. -- Danie Roux *shuffle* Adore Unix
Re: Starting X directly
On Mon, Sep 10, 2001 at 02:52:41PM +0200, Julio Merino wrote: On Mon, Sep 10, 2001 at 02:21:50PM +0200, Danie Roux wrote: On Mon, Sep 10, 2001 at 02:15:39PM +0200, Julio Merino wrote: Fiddle around with /etc/kde/kdmrc There are settings in there to let you log in as a default password and user. Well, I guess this is a security hole...? Thanks. Without a doubt it's a security hole, since it's not secure at all :-) -- Danie Roux *shuffle* Adore Unix
Re: Starting X directly
On Mon, Sep 10, 2001 at 03:36:59PM +0200, Julio Merino wrote: What I meant as security hole... I wanted to say if that kdm autologin is a security hole exploitable remotely? Thanks. No, but don't quote me on that. -- Danie Roux *shuffle* Adore Unix
Re: HOWTO check mp3 files
On Thu 06 Sep 01 17:09, Viktor Rosenfeld wrote: Is there a tool, that will check whether an mp3 file is complete? Or is this by design not possible? Here are two: mp3check - Check mp3 files for consistency mp3asm But I suggest you use ogg vorbis for songs you encode yourself, since the MP3 format is non-free. www.vorbis.org -- Danie Roux *shuffle* Adore Unix
Re: Gnome Freeze (me too!)
I had configured my card when I still had RH installed using sndconfig (or some similar abbreviation). In my modules.conf I had several options for the module including IO base address, IRQ (I think), and DMA channel to use. My problem was that I had picked the wrong DMA channel the first time I configured it so it didn't work right. -D I strongly suggest you run a 2.4 series kernel. It autodetects all these things. I had a hard time configuring my ESS 1868. With the 2.4 kernel it just works. -- Danie Roux *shuffle* Adore Unix