Re: display to remote machine
On 12/02/2012 21:34, T o n g wrote: Hi, With the ssh/x-forwarding, I seems to have lost the ability to sent my local xdisplay to remote machine. How can I do it? I gave up with this when I discovered I could usually achieve the same thing using ssh -X hostname and then running the app on the destination machine. Perhaps nohuping it will be a workaround. Dougie -- 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/4f3d3741.8010...@gmail.com
Re: the disappear of taskbar ( was: system locks, was was: something weird)
On 05/02/2012 02:43, Walter Hurry wrote: On Sat, 04 Feb 2012 21:11:16 +0800, lina wrote: How could set the taskbar back, for everything. I used to have the taskbar at the top. Do you *ever* manage to do *anything* without a major disaster? If you think losing the task bar is a 'major disaster' then you need to get out more. -- 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/4f2ea0e6.1090...@gmail.com
Re: the disappear of taskbar ( was: system locks, was was: something weird)
On 04/02/2012 14:18, lina wrote: I un-install and re-install the xfce4 not work. which are the possible way I can do to drag task bar a bit down. If you mean, drag the toolbar from the top of the screen to the bottom of the screen, I don't think it's possible. Or if it is possible, it's not simple. It might just as easy to delete Panel 1 then Add a New Panel 1. That's what I did and that's what I've read others do when I did a websearch (can't find the links at the moment). Dougie -- 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/4f2d4107.5060...@gmail.com
Re: Wireless connection not working
On 31/01/2012 23:01, Gustavo J Mata wrote: I'm installing stable. I got the following the command line interface to network manager. Is it useful? Not to me, sorry! I notice someone else has mentioned encryption. On one install I did I had to reconfigure my router to WEP until the install was complete, and then I was able to change it back to WPA2-PSK. I've also discovered (yesterday in fact, when I did a desktop install of testing) that some of the messages warning of required firmware can be ignored. The install told me I needed firmware for my network card, I ignored it and the install proceeded fine. I wonder if it's worth your while trying a testing installation (rather than stable) and see if there's any difference. Then you could perhaps copy some of the configs to a memory stick and compare what's different. Dougie PS: Can't see any problems accessing http://www.bluecedar.org.uk/?p=233 but not sure how useful it'd be for you anyway. Different chipset on the Acer. -- 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/4f29a428.6090...@gmail.com
Re: Wireless connection not working
On 31/01/2012 22:36, Gustavo J Mata wrote: On 1/31/12, cletusjenkinscletusjenk...@zoho.com wrote: On Tue, 31 Jan 2012 14:11:23 -0800 Gustavo J Mata wrote This is the info for the card: Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05) I installed the ipw2200 driver. Have you installed firmware-linux-nonfree package? Mine is also an intel chipset, but a different model. Mine wouldn't work without the non-free firmware. I did install the non-free firmware. I also installed network manager and its command line interface. No dice :-( I have debian installed on a Toshiba Equium which I think uses the same chipset. I had problems with the install but got it sorted out in the end. There often seem to be issues where networking works during installation but fails when the new system is booted without the installation CD. I could have a look at the config and see if anything springs to mind. I also recently installed debian on an Acer Aspire One 753 netbook. Again networking worked during the install, but failed on the newly booted system. I got it sorted after a bit of a websearch. Details here: http://www.bluecedar.org.uk/?p=233 Are you installing stable or testing? Dougie -- 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/4f28718c.8090...@gmail.com
Re: kernel source trees
ChadDavis wrote: Thanks man. I was trying to find kernel-source, to no avail. That one has caught me out too. Somewhere along the way it changed from kernel-source-tumptytum to linux-source-tumptytum. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Diagnosing occassional random reboots
Mike McCarty wrote: Dougie Nisbet wrote: Um, if the current release is the problem, then it will never run stably I thought you said it has been running without a change for some time. I quote your exact words: A server which has been running steadily for years is beginning to reboot. To the best of my knowledge, nothing has changed. It is a dual-processor PIII. It runs stable. Therefore, my dear Watson, logically, the problem is not the load, since that has not changed. Furthermore, the symptoms sound more like hardware, anyway. I'm confused. I'm not suggesting it is load. And yes, the symptoms do sound like hardware. But the timeline for this machine is interesting. I had a problem with it crashing when I upgraded from 2.4 to 2.6.4 about two years ago. I couldn't track it down so I reverted to 2.4. A few months later I upgraded it 2.6.8 and that has run stably for well for a year. Now it starts playing up. And nothing has changed in the OS. So everything points at hardware. again. More to the point, it's easy to test. It's already rebooted twice If you want to argue, go to someone else. If you want expert advice, then listen. I'll put it another way. I won't have time to physically spend time on this box doing the sort of things you suggested for a few days. I think hardware is far more likely to be a the problem than the kernel version. But a hunch is a hunch, and I'm entitled to explore it. It costs me 20 seconds to rerun lilo and boot of a different kernel. With the box rebooting several times a day it should eliminate the kernel from the enquiries PDQ. That way, I'll have eliminated the impossible, and can explore the improbable. I'm not going to try to fix a machine which has a bunch of fiddling going on in the background. Fair enough. But with an attitude like that I'll happily live without your advice. Which is a shame, because what you said in your original post was useful. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Diagnosing occassional random reboots
Mike McCarty wrote: Dougie Nisbet wrote: [snip] But a hunch is a hunch, and I'm entitled to explore it. It costs me 20 seconds to rerun lilo and boot of a different kernel. With the box Of course, you can do anything you want with your own machine. It may cost you more than 20 seconds to give this a try. Not really. Three reboots in 2.6.17 this morning so I changed the running kernel to 2.4.27 and it's been up for 10 hours now. It'll have to be up for about 10 days before I think it's significant. I still think it's hardware. What is a shame is that you want someone who has been building up, repairing, and upgrading PCs since 1984 to give you free advice, which you chose to ignore, Ignore? I don't think so. Your original post is printed out and sitting underneath a PSU next to a toolkit and the PC. As I say, it's a few days before I'd have time to carry out your recommendations. Removing and reseating all the components, checking and reseating the CPUS, vacuuming out the PSU etc, aren't the sort of thing I want to rush. and then help you set in order what is potentially a worse mess. Potentially. I don't think it's that big a risk. To put it another way (as you say), what is a shame is that you want someone who has profesionally repaired PCs to give you advice on your terms, rather than on his. Yes, that's a fair assessment. I like to go off at a tangent when I see an interesting diversion. That's how I ended up using linux after all. What I am seeing is an interesting (and annoying) mystery with my PC. I think it's hardware. You think it's hardware. But what I'm seeing is a machine that (for the moment) is running stably on 2.4.27, and reboots at random intervals on 2.6.17. I don't understand why that should be. No hard feelings, and all that. Still friends. I'm just not willing to give you advice which you argue over. Fair enough. Thanks for your advice anyway. We obviously have a different way of approaching things. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Diagnosing occassional random reboots
David Jardine wrote: Tucked away in the loft, you say. Is dust building up somewhere along your power supply line? In a multiple-socket extension, perhaps. A long shot, but I once had this problem. I think the dust caused momentary short circuits, not long enough to blow a fuse but long enough to cut the power to the computer, while the dust burnt away - but I'm no electrician. Cheers, David It's certainly a possibility. I don't think it's running too hot though. Once while wondering how to increase ventilation I realised that leaving the sides of might help! And the harddrives have a slot empty spacing between them. According to xmbmom the mobo and cpu never go above 28C. Of course, having no case to protect it does leave it exposed, but it *looks* pretty clean. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Diagnosing occassional random reboots
George Borisov wrote: Dougie Nisbet wrote: I'm not sure how to go about tracking this down. My searching of the archives shows that these symptoms could describe a faulty physical component, such as memory or PSU. That would be my suggestion as well. You should check that all of the fans in the machine are working. Some CPUs will reboot the machine if they get too hot. The first thing to try and swap out would be the PSU (as you said). That's on my list of things to try. In fact, it's my next thing to try, but first I'm testing a theory I've had trouble with this machine before. It's a Supermicro 370DDE that I've had for several years and it's always been reliable. It's put up with some pretty hostile situations so, as Marty says, it's only a matter of time before something fails. However before I start swapping out hardware I want to test if this happens with a 2.4 kernel. A couple of years ago I tried to upgrade the kernel to 2.6.2 and suffered from occasional random crashes (not reboots). I never did get to the bottom of it and eventually reverted back to 2.4.27. http://mailman.lug.org.uk/pipermail/preston/2004-April/000855.html At some point when I realised the 2.6 kernels had moved on a bit I decided to upgrade to 2.6.8 and have been running with that for a long time. I know it's not very scientific, but I'm going to try running a 2.4 and 2.6 kernel and see if the random reboots happen with both. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Preventing Reboot.
As I've mentioned elsewhere I have a bouncing box and it's annoying. If it halted instead of rebooting that might help me see something useful on the screen. Is there a way of forcing the box to *not* reboot? Is there a way of modifying the system so it halts on a crash rather than reboots? Thanks, Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Diagnosing occassional random reboots
Mike McCarty wrote: IMO, putting a different release on this machine is NOT recommended, and should be deferred until it is running stably again. I prefer trying to fix one problem at a time. If you install new software and it acts up, then is it the new software? Is it the old hardware getting worse? Or both? Or what? Um, if the current release is the problem, then it will never run stably again. More to the point, it's easy to test. It's already rebooted twice this evening on 2.6.17, and I'll leave it for another 24 hours. The reboots seem to happen in chunks. Then I'll default it to the 2.4.27 kernel and see what happens. If it wasn't for the fact that I had a reproducible problem with 2.4/2.6 kernels two years ago I wouldn't be considering this step. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Diagnosing occassional random reboots
A server which has been running steadily for years is beginning to reboot. To the best of my knowledge, nothing has changed. It is a dual-processor PIII. It runs stable. It is tucked away in the loft and usually has no monitor attached so tracking this down is difficult. However even if I brought it into a more convenient area, short of sitting staring at the screen waiting for a crash or reboot, I'm not sure it would help much. I've tried rebuilding a newer kernel from backports.org. And trimmed it right down as much as possible. There is nothing useful in syslog. A typical series of reboots looks like: dougie pts/0tbird2xp:0.0 Tue Oct 31 17:15 still logged in runlevel (to lvl 2) 2.6.17 Tue Oct 31 17:12 - 17:21 (00:08) reboot system boot 2.6.17 Tue Oct 31 17:12 (00:08) dougie pts/0tbird2xp:0.0 Tue Oct 31 17:09 - crash (00:02) runlevel (to lvl 2) 2.6.17 Tue Oct 31 16:59 - 17:12 (00:12) reboot system boot 2.6.17 Tue Oct 31 16:59 (00:21) dougie pts/0tbird2xp:0.0 Tue Oct 31 16:05 - crash (00:54) runlevel (to lvl 2) 2.6.17 Tue Oct 31 15:16 - 16:59 (01:43) reboot system boot 2.6.17 Tue Oct 31 15:16 (02:04) date new time Sun Oct 29 07:11 date old time Sun Oct 29 07:12 root pts/3kitchens Sun Oct 29 07:11 - crash (2+08:04) dougie pts/2kitchens Sat Oct 28 20:29 - crash (2+19:46) dougie pts/1kitchens Sat Oct 28 11:37 - 16:04 (1+05:27) dougie pts/0tbird2xp:0.0 Fri Oct 27 13:16 - crash (4+03:00) And the syslog shows nothing notable around the time. Usuall just lines from postfix as it processes the mail queue, then: Oct 31 17:12:22 nick syslogd 1.4.1#17: restart (remote reception). Oct 31 17:12:22 nick kernel: klogd 1.4.1#17, log source = /proc/kmsg started. Oct 31 17:12:23 nick kernel: Inspecting /boot/System.map-2.6.17 Oct 31 17:12:23 nick kernel: Loaded 21314 symbols from /boot/System.map-2.6.17. I'm not sure how to go about tracking this down. My searching of the archives shows that these symptoms could describe a faulty physical component, such as memory or PSU. So my next step is probably going to be trying to swap the PSU and doing a memtest. One thing about the reboots is that they often appear to be in clusters. For example, around 7AM to 9AM on Oct 24 it looks like it was bouncing for about two hours off and on: # last reboot reboot system boot 2.6.8Wed Oct 25 05:03 (06:50) reboot system boot 2.6.8Wed Oct 25 04:31 (07:22) reboot system boot 2.6.8Tue Oct 24 11:09 (1+00:44) reboot system boot 2.6.8Tue Oct 24 10:59 (00:06) reboot system boot 2.6.8Tue Oct 24 09:52 (01:01) reboot system boot 2.6.8Tue Oct 24 09:50 (01:03) reboot system boot 2.6.8Tue Oct 24 09:49 (01:05) reboot system boot 2.6.8Tue Oct 24 09:37 (01:17) reboot system boot 2.6.8Tue Oct 24 09:05 (01:49) reboot system boot 2.6.8Tue Oct 24 08:53 (02:00) reboot system boot 2.6.8Tue Oct 24 08:51 (02:03) reboot system boot 2.6.8Tue Oct 24 07:28 (03:26) reboot system boot 2.6.8Tue Oct 24 07:26 (03:27) reboot system boot 2.6.8Tue Oct 24 07:24 (03:29) reboot system boot 2.6.8Tue Oct 24 07:01 (03:52) reboot system boot 2.6.8Tue Oct 24 06:18 (04:36) I'm a bit stumped on how to solve this and would appreciate any thoughts on strategy. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /dev/hda full - cannot find used space
[EMAIL PROTECTED] wrote: I have recently noticed that the hda partition is full. The problem is that I can't see where the space has gone. From the du listings, I can account for maybe 70MB on hda, but nowhere near 250MB. I would be grateful for any help or suggestions. [EMAIL PROTECTED]:/# df -h FilesystemSize Used Avail Use% Mounted on /dev/hda1 250M 250M 0 100% / tmpfs 237M 0 237M 0% /dev/shm /dev/hda9 65G 23G 39G 37% /home /dev/hda8 361M 8.3M 333M 3% /tmp /dev/hda5 4.6G 651M 3.8G 15% /usr /dev/hda6 2.8G 231M 2.4G 9% /var [EMAIL PROTECTED]:/home/publish 5.5G 591M 4.7G 12% /mnt/martha-pub When this happens to me it's usually because I've accidentally copied files to the root partition before mounting another file system. i.e. There may be files 'under' one of your mount points that you cannot see because you've mounted the file system on it. You should be able to check by rebooting into single user, unmounting /home, /usr /tmp and /var, and checking that there are no files in the mount points themselves. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /dev/hda full - cannot find used space
Rishi wrote: Instead of that just re-mount / in another folder ... i.e. mkdir /mnt/slash mount /dev/hda1 /mnt/slash du -chs /mnt/slash/* Neat. I didn't know you could do that. Certainly beats bouncing into single user! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problem with xmms in testing and unstable
LeVA wrote: I had a similar problem with xmms. I'm using the crossfade plugin and after a few xmms upgrades it started to hang occasionally. I had to recompile the crossfade plugin with the xmms-dev package and now it works fine. HTH, Daniel Thanks for the tip. I've just checked and I don't have the crossfade plugin. But I think I'll remove all the plugins anyway and see if that fixes it, then renstall them one at a time and see what happens. dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Problem with xmms in testing and unstable
I've noticed a problem after doing a dist-upgrade to testing. xmms now hangs occasionally. It's rather difficult to pin down but it appears to be when there is a song change. What happens is that when moving to the next song, the xmms display freezes, but the song plays until the end, at which point it stops. I can't click on any of the controls and it needs a kill to close it. It sometimes runs for a few hours if left alone. It's usually when I'm skipping 'B' through a tracklist that the freeze happens. As I say, it doesn't happen under sarge. I've been closing down a few of the plug-ins to see if that makes any difference but no joy. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't open display after migrating from sarge to sid
I upgraded to sid running KDE 3 last weekend. Now I find I can't display X apps from other hosts onto my PC. I've had a google around and tried a few things that I found in my searches but the problem persists. I've tried: -- Running 'xhost +' -- Using ssh -X -- Using the x app on the command line. e.g. ssh -X nick /usr/bin/X11/xclock -- Following the suggestions for file mods from http://lists.debian.org/debian-kde/2003/debian-kde-200301/msg00466.html - i.e. /etc/ssh/sshd_config: X11Forwarding no - set this to yes /etc/ssh/ssh_config # ForwardAgent no -- Uncomment and set to yes # ForwardX11 no -- Uncomment and set to yes -- Editing /etc/X11/xinit/xserverrc and trying it with, and without the -nolisten tcp -- And now I'm out of ideas. What else can I try? Thanks, Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List as a newsgroup
I've just discovered I can get this list as a newsgroup. I tried this about a year ago when I first started using Debian, but it didn't work, so since then I've been getting it as a mailing list. Has it always been like this, or is this a recent thing. I'm not beginning to wonder whether my ISP didn't provide the group, and I mistakenly assumed it was only available as a mailing list. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: inserting carriage return characters
On Saturday 01 June 2002 6:19 am, Paul E Condon wrote: What is a simple way to insert a carriage return character just before each line feed (new line) character in a text file? Have you looked at 'flip' (man flip). I've found this very useful for modifying text files so that I can read them in Window's Notepad. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
sending mail when connected via different ISPs
Setup: Home LAN connected via ISDN router kmail exim When I send e-mail, I can tell kmail to send the mail locally to sendmail, which will queue it up and send it to my ISP. Or I can tell kmail to send it directly to my ISP. The problem is I often want to connect via a different ISP. My ISP (uklinux) allows me to send mail via their servers when logged connected from a different ISP, as long as I provide authorisation. I can't figure out how to set things up to do this. I have the following in /etc/exim.conf: # Send all mail to a smarthost smarthost: driver = domainlist transport = remote_smtp route_list = * mail.btinternet.com bydns_a end BTInternet is my usual connection, but now I'm connecting a lot more to different ISPs. I would like to set things up to always send mail via my uklinux ISP, regardless of which ISP I've connected with. Is there a way to put this authorization information (i.e. username/password) anywhere? There's nowhere in kmail to enter username/password info for SMTP. Dougie --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sending mail when connected via different ISPs
Great. This will be simple. It's looking good. Thanks for the tips. If this message works, then it's looking very promising. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting changed
On Friday 03 May 2002 10:48 pm, Shyamal Prasad wrote: HmmI'm guessing your dhcp server is sending out 192.168.1.1 as your nameserver. Since you did not specify how your dhcp server is set up, I'm actually getting to where I'm feely pretty sure ;-) I don't use dhcp, and I've just checked that I don't have it accidentally installed. So I don't think it's that. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting changed
On Friday 03 May 2002 3:41 pm, John Hasler wrote: What does it get changed to? Are you using ppp? If so did you configure ppp with pppconfig? If so, what did you select in Configure Nameservers? yes I have ppp installed, but I make my ISP connections via the LAN and a router. I might uninstall ppp since I probably don't need it. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
/etc/resolv.conf keeps getting changed
Every so often, presumably after an apt-get upgrade dist-upgrade, my /etc/resolv.conf file gets modified, and my DNS stops working. I then manually edit the file back to how I want, and say to myself, I Really Must Find Out What Causes That - then forget about it. Is there a way I can stop this file being modified automatically? Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting changed
On Friday 03 May 2002 2:54 pm, ben wrote: sounds mighty strange. can you post the original and the modification? i've I have a small DNS setup on my home LAN. tbird2 is the main server (192.168.1.2) and is the DNS server. vaiow is my laptop, and it's the machine that keeps getting its /etc/resolv.conf modified. Here's how I want it to be: --x-- domain homelan nameserver 192.168.1.2 nameserver 192.168.1.1 --x-- And here's what it's like after it gets mysteriously modified --x-- # eth0 begin domain homelan nameserver 192.168.1.1 # eth0 end domain homelan nameserver 192.168.1.2 nameserver 192.168.1.1 --x-- I shall start paying closer attention to my apt-get upgrade sessions and see if I can isolate the package. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: rlogin without a password
On Wednesday 01 May 2002 11:47 pm, David Z Maze wrote: Run ssh-keygen(1) to generate a public/private keypair. These should wind up in $HOME/.ssh, as identity and identity.pub. Use scp to copy the identity.pub file to the target machine, and cat it on to the end of $HOME/.ssh/authorized_keys. (It's possible that you might not have a .ssh directory; if not, create it, and run 'chmod 0700 .ssh'.) Now, when you log in, make sure you're running an ssh-agent(1) process. (This happens by default when you log in to X, I believe.) Run ssh-add(1); this will prompt you for the pass-phrase for the ssh key, and register it with the agent. Now when you run ssh, it will get the private key from the agent and use that to authenticate you to the remote machine (with no password). Thanks for the quick guide. I decided to apt-get remove anything that remotely resembled anything to do with ssh, and start again. I also manually removed /etc/ssh* and ~/.ssh* as they affected the behaviour of ssh. Then I did apt-get install ssh, and immediately I'm confused. The output was: [EMAIL PROTECTED]:~# apt-get install ssh Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: ssh 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/600kB of archives. After unpacking 1352kB will be used. Preconfiguring packages ... Selecting previously deselected package ssh. (Reading database ... 69032 files and directories currently installed.) Unpacking ssh (from .../ssh_1%3a3.0.2p1-9_i386.deb) ... Setting up ssh (3.0.2p1-9) ... Creating SSH2 RSA key Creating SSH2 DSA key Restarting OpenBSD Secure Shell server: sshd. That looks to me like it's installing ssh2, and not ssh. I'm not sure of what the differences are, but I'm not sure what I've got installed; ssh, or ssh2, or both, and whether that is important. Curiously, the output of installing it on the laptop is slightly different. It appears to have set a SSH1 key. (NB: The laptop is 'vaiow', the server is 'guestw'). The output from installing on the laptop is: [EMAIL PROTECTED]:~# apt-get install ssh Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: ssh 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/600kB of archives. After unpacking 1352kB will be used. Preconfiguring packages ... Selecting previously deselected package ssh. (Reading database ... 61637 files and directories currently installed.) Unpacking ssh (from .../ssh_1%3a3.0.2p1-9_i386.deb) ... Setting up ssh (3.0.2p1-9) ... Creating SSH1 key Creating SSH2 RSA key CreatingSSH2 DSA key Restarting OpenBSD Secure Shell server: sshd Notice the extra line: 'Creating SSH1 key' I then use ssh-keygen to create my public/private pairs, and scp the public to guestw. I cat it to the end of authorized keys. guestw looks like this: [EMAIL PROTECTED]:~$ ls -ld .ssh drwx--S---2 dougie dougie 4096 May 2 09:01 .ssh [EMAIL PROTECTED]:~$ ls -l .ssh total 16 -rwx--1 dougie dougie995 May 2 09:01 authorized_keys -rw---1 dougie dougie528 May 2 08:34 identity -rw-r--r--1 dougie dougie332 May 2 08:34 identity.pub -rw-r--r--1 dougie dougie455 May 2 09:01 known_hosts [EMAIL PROTECTED]:~$ ps -ef | grep agent dougie 361 332 0 08:52 ?00:00:00 /usr/bin/ssh-agent x-session-manager I had a bit of a problem initially with ssh-agent, as it has to be run on the machine itself. So I have to run around the house to go to each PC and type it in, rather than from a telnet session. i.e. The telnet session produces: [EMAIL PROTECTED]:~$ ssh-add Could not open a connection to your authentication agent. Finally ran ssh-add successfully and did a few tests. Here's the end of the output from ssh -v guestw (run from vaiow): debug1: Connection established. debug1: identity file /home/dougie/.ssh/identity type 0 debug1: identity file /home/dougie/.ssh/id_rsa type -1 debug1: identity file /home/dougie/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.0.2p1 Debian 1:3.0.2p1-9 debug1: match: OpenSSH_3.0.2p1 Debian 1:3.0.2p1-9 pat ^OpenSSH Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.0.2p1 Debian 1:3.0.2p1-9 debug1: SSH2_MSG_KEXINIT sent debug1:
Re: rlogin without a password
On Thursday 02 May 2002 9:51 am, Karl E. Jorgensen wrote: Long time no hear! I've been too busy in the garden :-) Notice the extra line: 'Creating SSH1 key' !? Perhaps you didn't purge everything? As far as I can see from /var/lib/dpkg/info/ssh.postinst this should be dependent on answers given during configuration. Those answers are stored by debconf, which you presumably didn't purge. (Some day I got to find out where it is! RTFM time). I think you're right. My purging wasn't particularly scientific. What most people don't realise, is that the 'rf' - in rm -rf stands from Really Frustrated. I'm surprised I didn't do any real damage! I presume that # dpkg-reconfigure --priority=low ssh I've not tried these args. I'd tried dpkg-reconfigure on its own, and it said everything was fine, or words to that effect. and type it in, rather than from a telnet session. i.e. The telnet session produces: [EMAIL PROTECTED]:~$ ssh-add Could not open a connection to your authentication agent. !? You should only need ssh-agent running on the machine where *you* sit. I'm a bit confused by this. Surely if I'm sitting in from of the laptop (vaiow) and want to ssh to the server (guestw) - doesn't the ssh-agent need to be running on guestw? However, for processes to talk to ssh-agent, they need a couple of environment variables and whathaveyou. I put this in my ~/.xsession eval $( ssh-agent ) (where to put this depends on how you start X. My gdm is set up to use xsession for me. I like the control). I've seen references to .xsession in the man pages, but I don't have a file called .xsession. Perhaps it's because I'm running kde. But a ps shows it's running anyway, so I haven't prodded things too hard. Yep. I had the same problem once upon a time. Look into the -t option on ssh-keygen and use either 'rsa' or 'dsa'. It *is* inconsistent that everybody recommends ssh protocol version 2, but the default for ssh-keygen is to generate version 1 keys... Ah ... that does explain things. But, fingers crossed, things are looking ok now. Must remember not to reboot! The laptop is perched on the window-ledge in the kitchen, getting the odd splash of oil and beer. Hadn't been rebooted for two months until this morning! Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ucbmpeg and mpeg_encode (woody)
I did apt-get install cthumb which removed ucbmpeg, which removed mpeg_encode, which is a pain. I've tried reinstalling ucbmpeg but it says: Package ucbmpeg has no available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list E: Package ucbmpeg has no installation candidate How can I get mpeg_encode back? Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
rlogin without a password
This used to be a piece of cake, but now in the Brave New SSH world, it's a right royal pain. All I want to do, is switch on my laptop, and remsh to my server, without specifying a username or password. Can I do this with ssh, and if not, how do I install old rsh/rlogin on my woody system? Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Thread management in kmail
Is it possible to either: - Move to the next unread thread - Mark the current thread as read - Ignore the current thread When I'm reading a high volume mailing list like this one, I'd like to skip threads that are of no interest to me, but I don't think I can do that in kmail. Can I? And if not, is there another mail client that would allow me to? Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Thread management in kmail
On Wednesday 24 April 2002 9:16 am, Thorsten Haude wrote: Hi, * Dougie Nisbet [EMAIL PROTECTED] [02-04-24 09:59]: - Move to the next unread thread - Mark the current thread as read is there another mail client that would allow me to? The answer is Mutt, as always. Perhaps. I dip into Mutt from time to time, and like its speed. I've just had another session. One problem I often found with Mutt is that it is in a console or xterm window, but after a bit of experimentation I find if I kick it off with 'xterm -fn 10x20 -e mutt' I can read the messages much better. I had a problem trying to look at my existing message base. I think this is because under kmail I use child folders a lot - e.g. I have a linux folder with sub-folders for laptop, and one for user. In mutt if I hit 'c' to change folders, it can't see the linux folder. Perhaps the way to go would be to flatten out my folder hierarchy, but having multiple depths is useful for organising stuff. I've been skimming the Mutt documentation and although I can see lots of references to folders, I can't see how to create them. Is that taken care of by something like procmail? I use filters a lot in kmail, but have often thought of getting procmail to do the filtering. I had a look at my inbox using mutt, and when I quit, and restarted kmail, my inbox was corrupt! - Ignore the current thread What do you mean by 'ignore'? Mark as read, including any further new messages in the thread. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Thread management in kmail
On Wednesday 24 April 2002 9:55 am, [EMAIL PROTECTED] wrote: On Wed, Apr 24, 2002 at 10:16:59AM +0200, Thorsten Haude wrote: Hi, * Dougie Nisbet [EMAIL PROTECTED] [02-04-24 09:59]: - Move to the next unread thread - Mark the current thread as read is there another mail client that would allow me to? The answer is Mutt, as always. Mutt is a fine text mode client, but some people like a graphical client. Personally I tend towards Evolution, but if you don't want to install a substantial chunk of GNOME infrastructure on your computer then it's not a runner. I have evolution installed and have had a bit of play with it. I didn't pursue it too far because I couldn't import my existing mail base into it very easily. Quite liked evolution but it seemed a bit new and flakey. This is v1.0.3 under Woody. Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
CUPS SAMBA WINDOWS CANCEL PRINT JOB
My wife has been happily using her Windows 98 PC to print via my Woody box for ages. However, today a print job went wrong, and when she went into Printers, and tried to cancel the job, it told her that she did not have permissions to do the task. The print job appeared as being owned by 'nobody'. My Printers Stanza looks like: [printers] path = /tmp browseable = Yes lprm command = /usr/bin/cancel %p-%j lpq command = /usr/bin/lpstat %p comment = All Printers print command = /usr/bin/lp -d%p -oraw %s ; /bin/rm -f %s printable = Yes create mask = 0700 I've had a look through the Samba docs (perhaps not enough), but I'm not sure how to set this up. Presumably it's to do with the print job being owned by 'nobody'. As an interesting exercise, I tried using webmin to cancel the print jobs, bit it doesn't seem to see print queues that aren't in /etc/printcap - which brings me full circle to the problem I'm having printing from Opera! Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Printing from Opera
I can print from mozilla, but not from Opera. A look on the Opera website finds the following: --x-- Printing in Opera for Linux Supported Features and Specs Linux Article: 605, Date: 2001-09-04 print, printing Opera for Linux uses Qt to handle the printing. Qt looks in /etc/printcap for available printers, so make sure your printers are listed there. PostScript is also required for printing. --x-- I'm using CUPS for printing, and my printer is 'lp1'. It has no entry in /etc/printcap, but is defined in /etc/cups/printers.conf. Do I need to create an entry in /etc/printcap for it, and if so, what should I put in there? Thanks, Dougie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: VMware not compiling under woody...
On Monday 25 February 2002 7:00 pm, Darryl L. Pierce wrote: On Mon, Feb 25, 2002 at 09:20:13AM -0800, nate wrote: quote who=Darryl L. Pierce Is there a package I need to install to have backwards compatibility so I can install and run VMware? It's pretty important for me to be able to use VMware. what kernel are you using? if its a bleeding edge kernel you may have to either downgrade the kernel or upgrade to vmware 3.0(i wouldnt even try vmware with kernel 2.5.x). 2.4.16. I don't really want to downgrade, but for the machine it's more important to have windows blearg available than to have a more recent kernel. Are you trying to run VMWARE Workstation? I've upgraded to VMware 3.0, but before that I was running VMWARE Workstation Version 1142 (or something) and I managed to get it running with kernels 2.4.17 and earlier. I think there was something in one of the vmware newsgroups about it a while back, but the notes I've hung on to are from the Mandrake newsgroup. I've pasted it below, because it's always worked for me, but when I tried just now to see if the ftp file was still there, it said file unavailable. I think I've still got the patch somewhere if you need it. Here's the old posting: #! rnews 2958 Article: 164918 of alt.os.linux.mandrake Path: uni-berlin.de!fu-berlin.de!feeder.qis.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.az.home.com.POSTED!not-for-mail From: John Reynolds [EMAIL PROTECTED] Subject: Kernel 2.4.7 VMWare Patch How-To Newsgroups: alt.os.linux.mandrake Reply-To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] User-Agent: Pan/0.9.6 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 55 Date: Wed, 29 Aug 2001 08:22:22 GMT NNTP-Posting-Host: 24.177.168.52 X-Complaints-To: [EMAIL PROTECTED] X-Trace: news1.rdc1.az.home.com 999073342 24.177.168.52 (Wed, 29 Aug 2001 01:22:22 PDT) NNTP-Posting-Date: Wed, 29 Aug 2001 01:22:22 PDT Organization: [EMAIL PROTECTED] - The Leader in Broadband http://home.com/faster Xref: uni-berlin.de alt.os.linux.mandrake:164918 This is a little blurb for those of you struggling like me to get VMWare running after installing the new Mandrake kernel. Major kudos to those on the VMWare newsgroup lists. None of this is mine - I'm just passing along what worked great for me. Assumptions: - 1. you updated your kernel via the usual rpm method, ran lilo, rebooted, and now your VMWare no longer works. 2. you have already installed the VMWare rpm, or have the tarball handy. Instructions: - If you are running VMWare 2.0.4, you are in for only a few easy steps. Note that I do NOT know if this works with VMWare Express. Download the following patch: ftp://platan.vc.cvut.cz/pub/vmware/vmware-ws-1142-for-2.4.7.tar.gz untar/gzip it to a directory Run the 'runme.pl' script, which will update your vmmon.o and other module src code. At the end of the updating, the script will ask you if you wish to run vmware-config.pl. Choose yes at this point. You will be told that the vmware script cannot not find a suitable kernel module, etc. etc. Don't panic. It will ask you if you wish to compile, and you tell it YES. When asked for the path to compile with, the default it had selected for me was incorrect - I used /usr/src/linux/include/ as the path. Your selection may vary, but try the default - if that doesn't work, try mine above. It may tell or ask you one or two more times that it needs to compile - just do yes for any others. Eventually, you will be back to the VMWare installation, and it should now proceed smoothly. NOTES: --- This is simply what worked for me, and worked the first time. I have no idea if it would work for custom kernels, etc. etc. I am NOT a C/C++ programmer, nor kernel hacker - just end user hoping to impart a few easy steps. BIG THANKS to those who created the VMWare update/patch, and have saved me the no-joy of RPM hell. I'm running VMWare for my wife, so if it isn't running on a daily basis, her productivity suffers. Enjoy! John Reynolds mailto:[EMAIL PROTECTED] (remove #$)
archiving/deleting old messages in kmail
Is it possible to do this automatically? I've been using kmail for a while, but now a lot of my folders are getting a bit big and unmanagable. Can I configure kmail (woody) to delete all messages older than a certain number of days, or do I need to find an alternative way to do housekeeping? What do others do? Dougie
Re: archiving/deleting old messages in kmail
I don't have that option. I'm up to date with kmail under woody. I've got Settings/Configuration, and Settings/Filter Rules. This is kmail 1.2 Dougie On Saturday 23 February 2002 6:30 pm, Simon Hepburn wrote: Settings|Configure Filters Filter Criteria age in days is greater than XXX Filter Actions move to folder trash Simon Hepburn On Saturday 23 Feb 2002 5:25 pm, Dougie Nisbet wrote: Is it possible to do this automatically? I've been using kmail for a while, but now a lot of my folders are getting a bit big and unmanagable. Can I configure kmail (woody) to delete all messages older than a certain number of days, or do I need to find an alternative way to do housekeeping? What do others do? Dougie
cfdisk error: Writing partition table to disk...File size limit exceeded
I deleted and recreated two partitions on /dev/hda. Things went ok for one of them, but now I find I can't do anything with cfdisk at all. Whenever I try and write the disk partition table, I get the error: Writing partition table to disk...File size limit exceeded The disk is a 40GB IBM Deskstar (dmesg output for disks at the end of this mail). I have one windows98 partition as /dev/hda1, the remaining partitions are ext2 and reiser. I've had this disk a long time, and not had any problems before. I've just noticed from the dmesg output that the disk geometry is different for /dev/hda - there are four identical disks so I've used cfdisk to correct the geometry on hda, and rebooted. The geometry now looks ok, but I still can't update the partition table. What's my problem? Dougie [EMAIL PROTECTED]:~# df -hT FilesystemTypeSize Used Avail Use% Mounted on /dev/hda8 ext2463M 404M 35M 92% / /dev/hda6 ext23.7G 908M 2.5G 26% /potato /dev/hda7 ext21.4G 652k 1.3G 1% /tmp /dev/hda9 ext22.8G 1.5G 1.1G 56% /usr /dev/hda10ext23.2G 1.7G 1.4G 53% /var /dev/hda11ext22.8G 1.2G 1.4G 45% /home /dev/hda13 reiserfs 11G 3.4G 7.2G 32% /development /dev/hdb1 reiserfs 38G 29G 10G 74% /tbird6 /dev/hdc1 reiserfs 38G 36G 3.2G 92% /backups /dev/hdd1 reiserfs 38G 27G 12G 68% /backups/guestw/mp3 /dev/hda1 vfat6.0G 468M 5.5G 8% /98 Feb 18 09:58:35 tbird2 kernel: hda: IBM-DTLA-305040, ATA DISK drive Feb 18 09:58:35 tbird2 kernel: hdb: IBM-DTLA-305040, ATA DISK drive Feb 18 09:58:35 tbird2 kernel: hdc: IBM-DTLA-305040, ATA DISK drive Feb 18 09:58:35 tbird2 kernel: hdd: IBM-DTLA-305040, ATA DISK drive Feb 18 09:58:35 tbird2 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Feb 18 09:58:35 tbird2 kernel: ide1 at 0x170-0x177,0x376 on irq 15 Feb 18 09:58:35 tbird2 kernel: hda: 80418240 sectors (41174 MB) w/380KiB Cache, CHS=5005/255/63 Feb 18 09:58:35 tbird2 kernel: hdb: 80418240 sectors (41174 MB) w/380KiB Cache, CHS=79780/16/63 Feb 18 09:58:35 tbird2 kernel: hdc: 80418240 sectors (41174 MB) w/380KiB Cache, CHS=79780/16/63 Feb 18 09:58:35 tbird2 kernel: hdd: 80418240 sectors (41174 MB) w/380KiB Cache, CHS=79780/16/63
Re: cfdisk error: Writing partition table to disk...File size limit exceeded
Further to this, I've been having a look back through the archives, and I've decided to bring my kernel to a newer version and check again. I'm running woody on 2.4.14SMP at the moment, so I'll bring it up to 2.4.17. The strange thing is that I've never had any problems before. I've seen a few references to people having problems with file sizes greater than 2GB, but this is the first time I've hit any problems, so I must assume that one of the apt-get upgrade dist-upgrade sessions I've run, or something else I've done on the box, has broken something. Dougie
Re: Copying and taring large amounts of data
On Monday 18 February 2002 5:47 pm, Scott Henson wrote: I need to move large amounts of data from one disk to another and then tar it up for back up purposes. I have tried cp and mv, but both take very large amounts of time with many ide resets and faults. I don't know why your having the resets and faults, but for copying data in this way, I now tend to use rsync. Its advantage for me, is that if there is a problem, you can interrupt it, then resume it later, without having to start over. But if you're having resets, then something else may be amiss. You may end up with partially copied files? Might be worth looking at rsync anyway - I didn't know it existed a month ago, and now I use it all the time! Dougie
Re: autologin, or X apps to kdm
On Thursday 31 January 2002 11:01 am, Hans Ekbrand wrote: On Thu, Jan 31, 2002 at 10:12:22AM +, Dougie Nisbet wrote: I used to run Mandrake and had it set up to autologin. Why not continue with that? I'm running unstable here and /etc/kde2/kdm/kdmrc is the file to edit. I see what you mean. I'd always assumed it was a Mandrake specific thing - it didn't occur to me that it was something within kdm. Now working fine, thanks. Dougie
autologin, or X apps to kdm
I used to run Mandrake and had it set up to autologin. I'd like to have my PC run xmms automatically on boot, but can't see how to do this unless I log in (kdm) and run xhost +. Is there any way I can set up kdm to allow X apps to sent the login screen? Dougie
nfs mount of remote system includes vfat
I've just discovered this by accident. If I nfs mount another linux PC running woody, and that PC has a native windows 98 file system mounted under /98, then it is automatically seen and browseable as the nfs mounted file system. This surprised me. It isn't the case for the other linux filesystems, just the vfat. Dougie
ethereal always writes to a file
Is there any way I can use ethereal to just monitor traffic? It always wants to write to a file, (/tmp/eth). I've not tried telling it to use /dev/null yet. I'll see what that does. Dougie
Re: Compiling pcmcia-source
On Wednesday 30 January 2002 2:59 am, Seneca Cunningham wrote: make[4]: *** [3c575_cb.o] Error 1 make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/clients' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/src/modules/pcmcia-cs' make[2]: *** [build-modules] Error 2 make[2]: Leaving directory `/usr/src/modules/pcmcia-cs' make[1]: *** [kdist_image] Error 2 make[1]: Leaving directory `/usr/src/modules/pcmcia-cs' Module /usr/src/modules/pcmcia-cs failed. Hit return to Continue I never got to the bottom of this one either. If you search the archive for subject 'Error compiling pcmcia modules on laptop' around jan 17th you'll find a posting from me with the same problem (except 2.4.17 kernel). I tried lots of different combinations, and always ended up with the error you've had. Here's one reply I got that might work for you: Heya Dougie, If you are going to use pcmcia drivers external to the kernel, you must NOT select pcmcia support in the kernel. Here's the process I use and it works everytime: - configure the kernel as needed and make sure PCMCIA is not selected - run make-kpkg clean and then make-kpkg kernel_image - install the deb and make sure the kernel runs as expected...you won't have network yet - go to /usr/src/modules/pcmcia and run ./configure then run 'make' and finally 'make install'. The last part installs the pcmcia modules into the /lib/modules/2.4.17-# directory. - you shoud be able to insmod the module I use the pcmcia-cs-3.1.30 source instead of the debian source package. I just like have all those drivers available. hope this helps, jc -- Jeff Coppock Systems Engineer Diggin' Debian Admin and User
Re: from casette tape to computer?
On Thursday 24 January 2002 3:07 am, Cheryl Homiak wrote: On Wed, 23 Jan 2002, Jason Majors wrote: If you have a line in on your sound card, you can use it. Well, yes, I do have a line in and I do know how to use it, but I don't know how to bring the audio into a file on my computer. I'm glad you asked this question Cheryl. I haven't heard of 'gramofile' or 'sound-recorder'. Normally I reboot to windows 98 and use CoolEdit - and although I've experimented with 'audacity' - haven't found anything under linux yet to come close to CoolEdit. CoolEdit isn't cheap, unfortunately, and rebooting to windows is always a pain. I'm going through my cassette collection doing exactly what you want to do. Reading in audio, cleaning it up, and storing it as mp3. Dougie
Re: fetchmail
On Saturday 19 January 2002 11:51 pm, Ken Weingold wrote: Most people probably run it using a control file. How about if you post the command line you're using here? fetchmail -a -p POP3 -k -u username server with of course the username and server replaced with the real ones. It showed it logging in and retrieving all the mail. I don't pretend to understand what is happening on your machine, but it seems to me that fetchmail may have been downloaded, the binaries in place, but possible not configured or installed properly. I tried to run your command line on my PC (see below) as root, and at first it wouldn't run, saying 'Both fetchall and keep on in daemon mode is a mistake!'. After a bit of experimentation, I discovered that by removing root's .fetchmailrc file, it would run ok. Then I get the kind of output you posted. But interestingly, the mail is still routed locally according to /etc/fetchmailrc. My guess is there is some sort of inconsistency on which config files are being honoured on your PC. You don't have an /etc/default/fetchmail, which suggests that fetchmail hasn't been configured as part of the install, but do you have an /etc/fetchmailrc? -- tbird2:~# fetchmail -a -p POP3 -k -u djnisbet mail.btinternet.com Both fetchall and keep on in daemon mode is a mistake! tbird2:~# ps -ef | grep fetchmail root 8554 1 0 Jan18 ?00:00:03 /usr/bin/fetchmail --syslog -f /etc/fetchmailrc -i /var/mail/.fetchmail-UIDL-cache root 6834 25503 0 21:44 pts/10 00:00:00 grep fetchmail tbird2:~# kill 8554 tbird2:~# tbird2:~# ps -ef | grep fetchmail root 6836 25503 0 21:44 pts/10 00:00:00 grep fetchmail tbird2:~# fetchmail -a -p POP3 -k -u djnisbet mail.btinternet.com Both fetchall and keep on in daemon mode is a mistake! tbird2:~# ps -ef | grep fetchmail root 6839 25503 0 21:44 pts/10 00:00:00 grep fetchmail tbird2:~#
Re: fetchmail
On Saturday 19 January 2002 10:21 am, Ken Weingold wrote: I don't have one. From what I understood, if I specify everything I need on the command line, I don't need one. Most people probably run it using a control file. How about if you post the command line you're using here? Dougie
Does anyone else get this?
Whenever I post to this list, I get some sort of autoresponse from [EMAIL PROTECTED], containing my posting as an attachment. Is it just me? ¸ÞÀÏ Àü¼Û ½ÇÆÐ ¾Ë¸² [EMAIL PROTECTED] Date: Sat, 19 Jan 2002 20:20:50 +0900 (KST) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Attachment: 0 Re: fetchmail.eml Dougie
Re: fetchmail
On Saturday 19 January 2002 11:04 am, Ken Weingold wrote: Thanks, Bob. What I really need to know right now is where the mail went, since it showed it getting every single one of them. I could be wrong, but I think fetchmail can have a config file that over-rides parameters on the command line. Do you have an /etc/default/fetchmail file? Is there anything in there that conflicts with your command line? Dougie
More control over fetchmail debug interval
At the moment I run fetchmail with OPTIONS=--daemon 3600 --syslog in /etc/default/fetchmailrc. This works fine but I don't really need it checking mail overnight, making unecessary calls to my ISP. Is there a way that I could configure it to be a bit more specific about the times it checks? I'm experimenting whether I can start fetchmail in background mode, but without a checking interval. If this is possible, perhaps I can set up a cron job that will run fetchmail hourly between, say, 9 to 5, which causes the background fetchmail to wake up and check the mail, and do nothing overnight. Dougie
Re: Error compiling pcmcia modules on laptop
On Thursday 17 January 2002 11:35 am, Jeff wrote: - configure the kernel as needed and make sure PCMCIA is not selected - run make-kpkg clean and then make-kpkg kernel_image - install the deb and make sure the kernel runs as expected...you won't have network yet I usually try and make the pcmcia stuff at this point, before rebooting the new kernel. - go to /usr/src/modules/pcmcia and run ./configure then run 'make' and finally 'make install'. The last part installs the pcmcia modules into the /lib/modules/2.4.17-# directory. - you shoud be able to insmod the module I use the pcmcia-cs-3.1.30 source instead of the debian source package. I just like have all those drivers available. Thanks - I may give that a go. I've gone back to 2.2.19 for the time being, but I shall attempt this again when I get the chance. Dougie
mailfilter rule for matching address ANYWHERE in header
I've recently started using mailfilter (called as a precommand from fetchmail) and it works really well. (I have had a couple of mail addresses faked by spammers, so I've had tens of thousands of mail bounces over the last month.) If a mail slips through, I add another rule to cope. However, I find it is not deleting mail messages where the mail address does not appear in the To: field, but appears as a 'for' line elsewhere in the header. In the example below, the faked address is [EMAIL PROTECTED], and I have set up a DENY filter to delete it from the server. But it doesn't work. Is there something wrong with my regexp? Dougie v header containing faked e-mail address -- Return-path: [EMAIL PROTECTED] Envelope-to: [EMAIL PROTECTED] Received: from postie by tbird2.homelan with local (Exim 3.33 #1 (Debian)) id 16QlnU-0008NX-00 for [EMAIL PROTECTED]; Wed, 16 Jan 2002 08:51:52 + Received: from root by tbird2.homelan with local (Exim 3.33 #1 (Debian)) id 16QlnS-0008Lp-00 for [EMAIL PROTECTED]; Wed, 16 Jan 2002 08:51:50 + Received: from mail.cix.co.uk [212.35.225.149] by localhost with POP3 (fetchmail-5.9.6) for [EMAIL PROTECTED] (single-drop); Wed, 16 Jan 2002 08:51:49 + (GMT) Received: from sulphur.cix.co.uk (localhost [127.0.0.1]) by sulphur.cix.co.uk (8.11.3/CIX/8.11.2_BM26) with ESMTP id g0G8MQq09338 for [EMAIL PROTECTED]; Wed, 16 Jan 2002 08:22:26 GMT Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by sulphur.cix.co.uk (8.11.3/CIX/8.11.3) with ESMTP id g0G8MOL09292 for [EMAIL PROTECTED]; Wed, 16 Jan 2002 08:22:25 GMT X-Envelope-From: [EMAIL PROTECTED] Received: (from [EMAIL PROTECTED]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) id AAA08556 for [EMAIL PROTECTED]; Wed, 16 Jan 2002 00:17:51 -0800 (PST) mail_from (Mailer-Daemon) Date: Wed, 16 Jan 2002 00:17:51 -0800 (PST) From: [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] Subject: Returned mail: unknown user X-Envelope-To: [EMAIL PROTECTED] X-UIDL: _YSC.DhTR8.sulphur To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Content-Type: Status: R X-Status: N ---^ Header containing faked e-mail address Filter in .mailfilterrc v - # Filter rules for detecting spam (each rule must be placed # in a seperate line) # These filters detect certain unpleasant e-mail subjects: DENY=^To:[EMAIL PROTECTED] [EMAIL PROTECTED] DENY=^To:[EMAIL PROTECTED] [EMAIL PROTECTED] ^^^ - Filter in .mailfilterrc ---
Re: mkreiserfs produces 'not formatted' error
On Tuesday 15 January 2002 11:00 pm, Sander Smeenk wrote: Are you _sure_ you answer 'y' here? blush! Isn't that the strangest thing. I've made reiser filesystems many times and never had any problems. I wonder why I didn't notice it. You are absolutely right - I was typing 'yes' instead of 'y'. What a twit! I think what has confused me is some other admin I've been doing, where one of the questions requires a 'Yes' answer (Upper case Y, lower case e and s), and anything else fails. Perhaps I should read what's on the screen Dougie
Error compiling pcmcia modules on laptop
I don't know what I've done here. I was working fine, and decided to change a kernel parameter. I did my make xconfig, make-kpkg clean ; make-kpkg --revision and all ok. Then I tried the modules. I've already got pcmcia-cs and pcmcia-source installed. I've been into /usr/src/modules and run 'make config', but when I try running debian/binary-install, or make-kpkg modules, I get several errors, including: /usr/src/linux/include/linux/completion.h:30 previous declaration of 'wait_for_completion_R02032293' make[2]: *** [3c575_cb.o] Error 1 I've tried confuguring the kernel with and without PCMCIA support, and ensured that the only parameter marked as Yes is my 3COM 3c589 PCMCIA card. I can't figure out why I'm getting errors about '3c575' and I can't find any references in the kernel configuration. I'm running kernel 2.4.17, and the laptop was updated from a 2.2.19pre17 potato system. I've tried uninstalling and reinstalling pcmcia-cs and pcmcia-source, and repeating the make config ; make and make install, and several variations, but everything I've tried so far as always ended up with the error above at some point. What have I broken? Dougie . . .
Re: mailfilter rule for matching address ANYWHERE in header
On Wednesday 16 January 2002 4:03 pm, Sven Hoexter wrote: You have to Escape the dots (.) with a backslash (\) [EMAIL PROTECTED] I'll give that a try but I'm not sure that's the problem. It had seemed to be working fine, but now the mails are getting through. I had a look at the log, and it begins with things like things like: -- vvv --- +0900. [Applied filter: '^To:.*lmailfilter: 0.2.4 querying mail.cix.co.uk on Wed Jan 16 21:58:17 2 002 mailfilter: Examining 873 message(s). mailfilter: Deleted [EMAIL PROTECTED]: Delivery failure, Wed, 16 Jan 2002 22:18 :09 +0900. [Applied filter: '^To:[EMAIL PROTECTED]'] mailfilter: Deleted [EMAIL PROTECTED]: Delivery failure, Wed, 16 Jan 2002 22:18 :09 +0900. [Applied filter: '^To:[EMAIL PROTECTED]'] -- ^^^ --- which all looks very promising, but then at the end of the log it does not terminate cleanly. -- vvv --- mailfilter: Deleted [EMAIL PROTECTED]: Delivery failure, Thu, 17 Jan 2002 03:52:50 + 0900. [Applied filter: '^To:[EMAIL PROTECTED]'] mailfilter: Deleted [EMAIL PROTECTED]: Delivery failure, Thu, 17 Jan 2002 03:54:15 + 0900. [Applied filter: '^To:[EMAIL PROTECTED]'] mailfilter: Deleted [EMAIL PROTECTED]: Delivery failure, Thu, 17 Jan 2002 03:54:15 + 0900. [Applied filter: '^To:[EMAIL PROTECTED]'] mailfilter: Error: Sent LIST, but server responded with an error. (END) -- ^^^ --- I'm not sure what this means, but it seems to me that these messages may not be getting deleted. Theoretically, there will be a window after the mailfilter runs and fetchmail runs where I could get really unlucky and a load of mails could flood in, but I think it's more likely that mailfilter is encountering problems with the mailbox. btw, if you get a lot of mails (me ist about 400-600 a day) it might be faster to do the thing with procmail. I've no flatrate (ISDN paying per minute) and it took me a lot of time checking 400 mail with say 30-40 pattern. So I decided to block only aol, msn and other in the frontier and I'll set up the rest with procmail. The mail address with the problem is with an ISP that doesn't offer anything like procmail. My other 'real' ISP (www.uklinux.net) does offer procmail, so if I get any problems with that, I'll be ok. Dougie
Re: Client is not authorised to connect to server
On Tuesday 15 January 2002 12:33 pm, François Chenais wrote: Hello, Remove the '-nolisten tcp' in /etc/X11/xinit/xserverrc file and restart X. François I'm not sure that will work in Rachel's configuration. I had exactly the same problem and found the answer by searching the archives. I also use kdm, so I had to modify /etc/kde2/kdm/Xservers and remove the '-nolisten tcp' Dougie
I don't want logrotate to compress my own logfiles
I've just tracked this one down. logrotate is being run indirectly by /etc/cron.weekly/sysklogd, which contains the line: for LOG in `syslogd-listfiles --weekly` I keep tracks of my local changes in a file in /usr/local/logs/changes.log, which is written to my a script of mine, which in turn writes to changes.log using local5.info in /etc/syslog.conf. I couldn't figure out why it kept being compressed and rotated, until I dug into /etc/cron.weekly and found out what is going on. Is there an easy way to stop this happening? If I hack /etc/cron.weekly/sysklogd, then it is going to get overwritten the next time sysklogd is updated. I can't see any 'exclude' options in the logrotate man page. Dougie
Where is the etherewake executable
Has anyone else tried this? I thought I'd give it a go (woody) and did apt-get install etherwake without any problems. But I can't find any executable program. Did updatedb followed by locate etherwake and I get: /usr/doc/etherwake /usr/share/doc/etherwake /usr/share/doc/etherwake/changelog.Debian.gz /usr/share/doc/etherwake/copyright /var/cache/apt/archives/etherwake_1.05-6_i386.deb /var/lib/dpkg/info/etherwake.list /var/lib/dpkg/info/etherwake.md5sums /var/lib/dpkg/info/etherwake.postinst /var/lib/dpkg/info/etherwake.postrm /var/lib/dpkg/info/etherwake.preinst /var/lib/dpkg/info/etherwake.prerm Dougie
Re: Where is the etherewake executable
On Tuesday 15 January 2002 4:18 pm, Karl E. Jorgensen wrote: what about $ dpkg --listfiles etherwake Very nifty. That finds the cheeky chappie in /usr/sbin/ether-wake Dougie
mkreiserfs produces 'not formatted' error
I've set up a few reiser filesystems now and not had any problems. However, I have one drive that is producing the following error message: mkreiserfs: Disk was not formatted The disk was previously a windows 98 disk. 25MB. IBM. I've run cfdisk and reinitialized the disk and this hasn't cured it. I even booted into windows 98 and ran partition magic, formated /dev/hdb1 as ext2 (which took AGES) and rebooted back to linux. Have I hit unlucky with this drive? Here's a transcript of a typical attempt: Script started on Tue Jan 15 20:57:08 2002 [EMAIL PROTECTED]: /[EMAIL PROTECTED]:~# [EMAIL PROTECTED]: /[EMAIL PROTECTED]:~# fdisk -l /dev/hdb Disk /dev/hdb: 255 heads, 63 sectors, 3111 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/hdb1 1 3111 24989076 83 Linux [EMAIL PROTECTED]: /[EMAIL PROTECTED]:~# dmesg | grep hdb ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA hdb: IBM-DJNA-352500, ATA DISK drive hdb: 49981680 sectors (25591 MB) w/1966KiB Cache, CHS=3111/255/63, UDMA(33) hdb: hdb1 [EMAIL PROTECTED]: /[EMAIL PROTECTED]:~# [EMAIL PROTECTED]: /[EMAIL PROTECTED]:~# df -hT FilesystemTypeSize Used Avail Use% Mounted on /dev/hda7 ext2 10G 2.4G 7.4G 24% / /dev/hda6 ext25.5G 784M 4.4G 15% /potato /dev/hda1 vfat7.4G 838M 6.6G 11% /98/c /dev/hdc1 reiserfs 29G 25G 3.8G 87% /mp3 /dev/hdd1 reiserfs 56G 33M 55G 1% /backups guestw:~# mkreiserfs -v 2 /dev/hdb1 -mkreiserfs, 2001- reiserfsprogs 3.x.0j === LEAF NODE (8211) contains level=1, nr_items=2, free_space=3932 rdkey --- |###|type|ilen|f/sp| loc|fmt|fsck| key | | |||e/cn|| |need| | --- | 0|1 2 0x0 SD, len 44, entry count 0, fsck need 0, format new| (NEW SD), mode drwxr-xr-x, size 48, nlink 2, mtime 01/15/2002 20:58:35 blocks 8 --- | 1|1 2 0x1 DIR, len 48, entry count 2, fsck need 0, format old| ###: Name lengthObject key Hash Gen number 0: .( 1) 1 2 01, loc 40, state 4 ?? 1: .. ( 2) 0 1 02, loc 32, state 4 ?? === Creating reiserfs of 3.6 format Block size 4096 bytes Block count 6247269 Used blocks 8402 Free blocks count 6238867 First 16 blocks skipped Super block is in 16 Bitmap blocks (191) are : 17, 32768, 65536, 98304, 131072, 163840, 196608, 229376, 262144, 294912, 327680, 360448, 393216, 425984, 458752, 491520, 524288, 557056, 589824, 622592, 655360, 688128, 720896, 753664, 786432, 819200, 851968, 884736, 917504, 950272, 983040, 1015808, 1048576, 1081344, 1114112, 1146880, 1179648, 1212416, 1245184, 1277952, 1310720, 1343488, 1376256, 1409024, 1441792, 1474560, 1507328, 1540096, 1572864, 1605632, 1638400, 1671168, 1703936, 1736704, 1769472, 1802240, 1835008, 1867776, 1900544, 1933312, 1966080, 1998848, 2031616, 2064384, 2097152, 2129920, 2162688, 2195456, 2228224, 2260992, 2293760, 2326528, 2359296, 2392064, 2424832, 2457600, 2490368, 2523136, 2555904, 2588672, 2621440, 2654208, 2686976, 2719744, 2752512, 2785280, 2818048, 2850816, 2883584, 2916352, 2949120, 2981888, 3014656, 3047424, 3080192, 3112960, 3145728, 3178496, 3211264, 3244032, 3276800, 3309568, 3342336, 3375104, 3407872, 3440640, 3473408, 3506176, 3538944, 3571712, 3604480, 3637248, 3670016, 3702784, 3735552, 3768320, 3801088, 3833856, 3866624, 3899392, 3932160, 3964928, 3997696, 4030464, 4063232, 4096000, 4128768, 4161536, 4194304, 4227072, 4259840, 4292608, 4325376, 4358144, 4390912, 4423680, 4456448, 4489216, 4521984, 4554752, 4587520, 4620288, 4653056, 4685824, 4718592, 4751360, 4784128, 4816896, 4849664, 4882432, 4915200, 4947968, 4980736, 5013504, 5046272, 5079040, 5111808, 5144576, 5177344, 5210112, 5242880, 5275648, 5308416, 5341184, 5373952, 5406720, 5439488, 5472256, 5505024, 5537792, 5570560, 5603328, 5636096, 5668864, 5701632, 5734400, 5767168, 5799936, 5832704, 5865472, 5898240, 5931008, 5963776, 5996544, 6029312, 6062080, 6094848, 6127616, 6160384, 6193152, 6225920 Journal size 8192 (blocks 18-8210 of file /dev/hdb1) Root block 8211 Hash function r5 ATTENTION: YOU SHOULD REBOOT AFTER FDISK! (y/n) ALL DATA WILL BE LOST ON '/dev/hdb1'! yes mkreiserfs: Disk was not formatted Script done on Tue Jan 15 20:58:41 2002
Running mailfilter before fetchmail
I have fetchmail running with --daemon 3600, and I've also just set up a mailfilter which works well. What I'd like to do is run mailfilter, then run fetchmail. As far as I can tell, the daemon check interval for fetchmail starts from when fetchmail is started. Is it possible to get fetchmail to do any pre-processing before connecting to get mail: i.e. Can I somehow configure things so that mailfilter is run just before fetchmail? Dougie
Re: Running mailfilter before fetchmail
On Monday 14 January 2002 11:40 am, Joerg Jaspert wrote: Dougie Nisbet [EMAIL PROTECTED] writes: Can I somehow configure things so that mailfilter is run just before fetchmail? man fetchmail postconnect / preconnect Excellent - thanks for the pointer. I struggled a bit until I realised the whole command has to be enclosed in quotes. i.e.: preconnect '/usr/bin/mailfilter -M /home/dougie/.mailfilterrc' but it's working great. Dougie
mirrordir
Has anyone had any success using this to upload files to an ISP? I've experimented a great deal, but the problem is not connecting or authorising, but trying to get it to NOT try and cd to /, or /pub. It seems to always want to do a cd to root. Dougie
LVM - pvcreate error
I tried LVM today, but didn't get very far. I've used fdisk to set the partition type, and tried to pvcreate it. But I get an i/o error. What have I done wrong? This is on an up to date woody system. Dougie - [EMAIL PROTECTED]:~# fdisk -l .dev.hdc1 [EMAIL PROTECTED]:~# fdisk -l /dev/hdc Disk /dev/hdc: 255 heads, 63 sectors, 3737 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/hdc1 1 3737 30017452 8e Linux LVM [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# pvcreate /dev/hdc1 pvcreate -- invalid i/o protocol version [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# pvdisplay /dev/hdc1 pvdisplay -- invalid i/o protocol version [EMAIL PROTECTED]:~# uname -a Linux guestw 2.4.16 #1 Fri Jan 11 10:31:57 GMT 2002 i686 unknown [EMAIL PROTECTED]:~#
LVM - pvcreate error
I tried LVM today, but didn't get very far. I've used fdisk to set the partition type, and tried to pvcreate it. But I get an i/o error. What have I done wrong? This is on an up to date woody system. Dougie - [EMAIL PROTECTED]:~# fdisk -l .dev.hdc1 [EMAIL PROTECTED]:~# fdisk -l /dev/hdc Disk /dev/hdc: 255 heads, 63 sectors, 3737 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/hdc1 1 3737 30017452 8e Linux LVM [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# pvcreate /dev/hdc1 pvcreate -- invalid i/o protocol version [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# pvdisplay /dev/hdc1 pvdisplay -- invalid i/o protocol version [EMAIL PROTECTED]:~# uname -a Linux guestw 2.4.16 #1 Fri Jan 11 10:31:57 GMT 2002 i686 unknown [EMAIL PROTECTED]:~# ---
Re: postfix dependancies
On Tuesday 08 January 2002 10:23 pm, Craig Dickson wrote: samba requires logrotate logrotate requires mailx mailx requires mail-transport-agent exim provides mail-transport-agent That's why. postfix also provides mail-transport-agent, and postfix conflicts with exim. So if you install postfix, exim will be removed, but since you will still have a mail-transport-agent, samba, mutt, leafnode, etc. should not be affected. Craig Ah, I understand now. Is there anyway to examine dependancies without using apt-get install? Dougie
I'm missing from kdm portraits at startup
I did 'usermod -u 501' dougie to change my UID from 1000. When I logged out and in again, I'm no longer a picture on the kdm login screen. root is there, and all the other users, but I'm missing. I can't figure out where kde stores this list. I can still log in no problem, but I'm a bit puzzled about why the icon has dissapeared. Where has it gone? Dougie
Re: I'm missing from kdm portraits at startup
On Wednesday 09 January 2002 1:13 pm, Karsten Heymann wrote: * Dougie Nisbet [EMAIL PROTECTED] [020109 14:06]: I did 'usermod -u 501' dougie to change my UID from 1000. When I logged out and in again, I'm no longer a picture on the kdm login screen. root is there, and all the other users, but I'm missing. I can't figure out where kde stores this list. I can still log in no problem, but I'm a bit puzzled about why the icon has dissapeared. Where has it gone? In /etc/kde2/kdm/kdmrc (/etc/X11/kdm/kdmrc on older versions) there is a MinShowUID=xxx line. On default it is set to 1000 i think. Lower it to 500 if your users ids start at 500. Yours, Karsten Thanks - now sorted. I thought it would be something like this, but, since root was displayed, I decided I must be wrong. It hadn't occurred to me that root might be an exception. Dougie
postfix dependancies
I was looking at postfix and decided to give it a go. But when I apt-get install postfix, it wants to remove exim. So I aborted and did apt-get remove exim to see what its dependancies were, and it would remove mutt, samba and leafnode amongst others. So for the time being I'll give postfix a miss, but lots of people seem to be using it. Does it work alongside mutt leafnode and samba etc? tbird2:/var/log# apt-get install postfix Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: postfix-ldap postfix-pcre The following packages will be REMOVED: exim The following NEW packages will be installed: postfix postfix-ldap postfix-pcre 0 packages upgraded, 3 newly installed, 1 to remove and 94 not upgraded. Need to get 777kB of archives. After unpacking 662kB will be used. Do you want to continue? [Y/n] n Abort. tbird2:/var/log# apt-get remove exim Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: exim leafnode logrotate mailx mutt samba swat 0 packages upgraded, 0 newly installed, 7 to remove and 94 not upgraded. Need to get 0B of archives. After unpacking 13.4MB will be freed. Do you want to continue? [Y/n] n Abort.
Re: postfix dependancies
On Tuesday 08 January 2002 5:26 pm, martin f krafft wrote: also sprach Mark Lanett [EMAIL PROTECTED] [2002.01.08.1749 +0100]: You need to remove exim and install postfix in one command, e.g. apt-get install postfix exim- apt-get install postfix will already remove exim... But will it satisfy the dependancies for removing exim, and also remove mutt, samba, leafnode etc ... I don't understand why removing exim should remove samba. Dougie
Looking for package to manipulate pop3 mailbox index
On another ISP I've got a full mailbox (around 120MB and 15000 messages I think) because a spammer has faked a legitimate e-mail address of mine and used it. This means that '[EMAIL PROTECTED]' (which I had no idea was legitimate) has received many thousands of mail bounces. Is there a package that would allow me to examine JUST THE HEADERS of these mail messages, and allow me to delete chunks at a time? There may be a handful of mails in there that I want, but I don't want to download 120MB to find out! Dougie
Missing GLIBC2.2 on potato install
I've installed potato a few times on this particular PC, and for various reasons, I wanted to do a clean re-install. I repartitioned and off we went. Everything went smoothly and I soon had a working system. I wanted to access reiser filesystems (version 2) created by another linux distro, so I added the Adrian Bunk lines to my /etc/apt/sources.list, and downloaded the kernel packages and 2.4.14 sources. I recompiled the kernel with reiser support, rebooted, and all was well. So far so good. I've done this process a few times with no problems. Then I decided to try postfix for a change, and did an apt-get install postfix, and allowed it to do its stuff. I read the postfix config file, hacked it with a bit of trial and error, and managed to get things working. I was pleasantly surprised. I made a few other hacks around the system, all of which I've done on previous occasions. I restored my woody partition which I'd zapped because of the repartiotioning, modified my lilo, and rebooted to check that I could still get into woody. Yes. Fine. Rebooted to get back to potato - and now big problems. Most things I try say that the GLIBC 2.2 package library or whatever is not installed. I try various permitations of apt-cache search and apt-get install and reinstall and fix to try get things working again, but most things, such as perl, need glibc2.2. I don't know where things went wrong, but presumably I messed up somewhere, and don't know where I did it. Question 1: Is the system salvagable? I suspect not. Is it possible to install the GLIBC_2.2 (I can't recall the exact error) - or is it needed by everything, including the install routines? Question 2: Assuming I'm looking at a clean rebuild, is there anything I can salvage from the current install that will save me another long download. I'm thinking mostly of the 2.2.14 Bunk kernel and docs. They took a long time to download, and if I can copy them out of the way until I've reinstalled, then copy them back, that would save me a lot of time. I can see them in /var/cache/apt/archives - is it just a question of backing that directory up then restoring, or is there more involved? Thanks, Dougie
Re: Powerchute APC software for potato
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (nate) wrote: install the .tar.gz edition of powerchute. i run it on several debian potato machines currently with no problems .. its available from the APC website .. nate I tried that with the Redhat source, but I got an error about binary incompatibility. I run the INSTALL script, chose 'cdrom' as source and entered current directory. Which .tar.gz did you use? I am running the 2.4 kernel though, using the 'http://people.debian.org/~bunk/debian potato main' with apt - I'm not sure if that should make a difference. Dougie
Powerchute APC software for potato
I managed to get this running under Mandrake by using the Redhat rpm, but under potato I get the following error: only packages with major numbers = 3 are supported by this version of RPM error: PowerChutePlus-4.5.3-1_RedHat.i386.rpm cannot be installed I'm used to Powerchute and quite like it. Is there anyway of installing it on potato? I tried compiling the Redhat sources but it complained of binary incompatibility. I looked briefly at the apcupsd package, but it doesn't seem to have a GUI. Dougie
Mozilla makes ISP call but shows local page
Whenever I start mozilla I get the local page: file:///usr/share/doc/mozilla/localstart.html which is subtitled: This is a local page to avoid using the network on disconnected machines. That's fine by me. I don't want to make an internet connection unless I've requested it. However, output from tcpdump shows that an an internet connection is established, and the traffic is always something to do with the site alexa.com. 10:31:24.327536 tbird2.homelan.35729 msapache.alexa.com.www: F 317:317(0) ack 1822 win 8688 nop,nop,timestamp 5030323 98723047 (DF) 10:31:24.327636 tbird2.homelan.35727 xslt.alexa.com.www: F 1:1(0) ack 1 win 8688 nop,nop,timestamp 5030323 6397768 (DF) 10:31:26.724525 tbird2.homelan.35729 msapache.alexa.com.www: F 317:317(0) ack 1822 win 8688 nop,nop,timestamp 5030563 98723047 (DF) 10:31:26.824526 tbird2.homelan.35727 xslt.alexa.com.www: F 1:1(0) ack 1 win 8688 nop,nop,timestamp 5030573 6397768 (DF) 10:31:31.524520 tbird2.homelan.35729 msapache.alexa.com.www: F 317:317(0) ack 1822 win 8688 nop,nop,timestamp 5031043 98723047 (DF) 10:31:31.824521 tbird2.homelan.35727 xslt.alexa.com.www: F 1:1(0) ack 1 win 8688 nop,nop,timestamp 5031073 6397768 (DF) I've had a look at www.alexa.com, and can't imagine why a connection should be established to it. Perhaps I've misconfigured my preferences in some way, but I can't see anything amiss. Dougie
Exim and its periodic calls to internet - A few questions
I usually use kmail for my e-mail, but I have exim installed too. I mean to learn about it some day. I'm getting some puzzling internet connections that appear to be initiated by exim, but I can't see where it's doing it. The syslog shows: Dec 11 10:23:01 tbird2 /USR/SBIN/CRON[29960]: (mail) CMD ( if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi) Dec 11 10:23:01 tbird1 ZyXEL Communications Corp.: board 0 line 0 channel 0, call 230, C01 Outgoing Call dev=2 ch=0 08089933001 . Dec 11 10:23:02 tbird1 ZyXEL Communications Corp.: board 0 line 0 channel 0, call 230, C02 OutCall Connected 64000 08089933001 and this happens every 15 minutes. tbird1 is my ISDN router, and tbird2 is my main server. I read the above as saying that user 'mail' has a cron job that runs every 15 minutes which does the following: if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi) However I can't see any references to exim in any crontables. I've come across this before with syslog (e.g. logrotate); entries that appear to be from CRON, but I can't see where they are configured. Where is it done? I've commented out the exim entry in /etc/inetd.conf, and deleteted all the S*exim entries in /etc/rc*.d, and performed a /etc/init.d/exim stop. All seems ok, but still this entry appears every 15 minutes in syslog! I realise that I could probably fix this by removing /etc/exim/exim.conf and the above code snippet will fail, but I would rather know a bit more about what is going on behind the scenses. I have tried to remove exim 'apt-get remove exim' - but the dependencies surprised me. It also removed samba if I remove exim, and I want samba. So I need to understand what is causing exim to run every 15 minutes. This is woody. Thanks, Dougie
Configuring desktop in kde
I've installed kde under woody on three PCs, and it generally seems fine. However on one PC, I get an error whenever I try to configure the desktop (Right Click on desktop and select Configure Desktop) I get a pop up Error window with the message: There was an error loading the module. The diagnostics is: and that's it. Nothing more except the OK button. Have I forgotten to install something? Dougie
Re: Installing potato and pcmcia on a laptop
On Thursday 29 November 2001 23:48, nate wrote: on my ibm thinkpads(iSeries and T20) i use the standard debian kernel, then build my own from sources. i also install pcmcia from source, and alsa from source. then i usually install the alsa utils and pcmcia utils from packages and overwrite the existing files. but the drivers in /lib/modules remain intact. This could be where I've been going wrong. Whenever I rebuild the kernel, and at the stage where I run dpkg, I get the warning about there being an existing /lib/modules/2.2.19pre17 directory. Normally I move this out of the way before running dpkg, and it gets recreated by dpkg. However, the pcmcia stuff doesn't get recreated. When you rebuild the kernel, what do you do at this point? Do you leave the existing /lib/modules/2. directory in place? Dougie
Re: Installing potato and pcmcia on a laptop
On Thursday 29 November 2001 23:30, Paolo Falcone wrote: /usr/src/modules. The modules are downloaded already in /lib/modules/2.2.19pre17 (as the installer placed them during the installation process) Use modconf to install them. Yes they are, but when I rebuild the kernel, I've been deleting this directory before running dpkg. This is what I do on my desktops, but pcmcia seems to be a different story. Should I be leaving it in place? Dougie
Cannot mount reiser fs using patched potato kernel
I have an Supemicro 370DDE machine with 4 40GB hardrives. The Chipset on the mobo is the Apollo Pro 266. I have applied the Reiser patch to the 2.2.19pre17 kernel. The options have appeared for Reiser in make xconfig, and they're selected. The kernel has re-compiled fine. I also have Mandrake 8 installed. Mandrake sees my reiser filesystems ok, and they were in fact created using Mandrake. When I try mounting a reiser file system using potato, I get the following: tbird2:~# mount -t reiserfs /dev/hda10 /spare mount: wrong fs type, bad option, bad superblock on /dev/hda10, or too many mounted file systems I wondered if there was some subtle difference between the way Mandrake made reiser file systems and the reiserfsprogs-3.x.0j utils that I installed on potato. So I deleted the parition, and used mkreiserfs under potato. The partition is created with no errors, and I reboot. reiserfsck thinks it's fine too. But I cannot mount the file system. Thanks to nate for giving me a few things to check. Such as ensuring that the partition is type 83: tbird2:~# fdisk -l /dev/hda Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/hda1 * 1 781 6273351b Win95 FAT32 /dev/hda2 782 5005 33929280 85 Linux extended /dev/hda5 782 817289138+ 82 Linux swap /dev/hda6 818 1425 4883728+ 83 Linux /dev/hda7 1426 2130 5662881 83 Linux /dev/hda8 2131 3194 8546548+ 83 Linux /dev/hda9 3195 4292 8819653+ 83 Linux /dev/hda10 4293 5005 5727141 83 Linux The kernel has reiser support: tbird2:/proc# cat filesystems ext2 reiserfs umsdos msdos vfat nodev proc nodev nfs nodev smbfs iso9660 nodev autofs nodev devpts There are some error messages in the syslog, which suggest all is not well; along the lines of: Nov 29 11:04:30 tbird2 kernel: reiserfs_read_super: can't find a reiserfs filesystem on dev 16:41. Nov 29 11:04:30 tbird2 kernel: reiserfs_read_super: try to find super block in old location Nov 29 11:04:30 tbird2 kernel: reiserfs_read_super: can't find a reiserfs filesystem on dev 16:41. I've run out of ideas. Any suggestions welcome. Dougie
Installing potato and pcmcia on a laptop
The installation goes ok, and I install the kernel-package so I can rebuild the kernel. A couple of questions first, that I know have cropped up in the past on the list, but I've never fully understood the setup. Q) My CD set is 2.2 r3, with kernel 2.2.19pre17. What is the difference between kernel 2.2.19pre17 and 2.2.19? Q) Which kernel is best to install on a laptop? Is it the -compact one that I see when I browse dselect? I notice there are several pcmcia-modules packages in dselect, but none for 2.2.19pre17. I've downloaded the pcmcia source and untarred it into /usr/src/modules. I've gone through the make config ; make all ; make install process, and it seems fine. I've reconfigured the kernel using make-kpkg clean ; make xconfig and a line like: vaiop:/usr/src/linux# make-kpkg --revision=custom.1.5 kernel_image modules_image This completes successfully. I've read /usr/share/doc/pcmcia-cs/FAQ.Debian.gz and followed the instructions there, running: debian/rules binary-modules and that seemed to go ok, finishing with: dpkg-deb --build debian/tmp-modules '.'/.. dpkg-deb: building package `pcmcia-modules-2.2.19pre17' in `./../pcmcia-modules-2.2.19pre17_3.1.22-0.2potato+custom.1.5_i386.deb'. However, when I try installing the kernel, I hit problems. I realise that I have some sort of version conflict, but I don't know how to untangle the muddle I've got myself into. I've tried using dpkg individually on each .deb, but they still fail. I thought it I could install the kernel first, then install the pcmcia-modules after, it would be ok. But no joy. Thanks for any help Dougie vaiop:/usr/src/linux# dpkg -i ../pcmcia-modules-2.2.19pre17_3.1.22-0.2potato+custom.1.5_i386.deb ../kernel-image-2.2.19pre17_custom.1.5_i386.deb dpkg: regarding .../pcmcia-modules-2.2.19pre17_3.1.22-0.2potato+custom.1.5_i386.deb containing pcmcia-modules-2.2.19pre17: pcmcia-modules-2.2.19pre17 conflicts with kernel-image-2.2.19pre17 ( custom.1.5) kernel-image-2.2.19pre17 (version custom.1.1) is installed. dpkg: error processing ../pcmcia-modules-2.2.19pre17_3.1.22-0.2potato+custom.1.5_i386.deb (--install): conflicting packages - not installing pcmcia-modules-2.2.19pre17 dpkg: regarding .../kernel-image-2.2.19pre17_custom.1.5_i386.deb containing kernel-image-2.2.19pre17: pcmcia-modules-2.2.19pre17 conflicts with kernel-image-2.2.19pre17 ( custom.1.1) kernel-image-2.2.19pre17 (version custom.1.5) is to be installed. dpkg: error processing ../kernel-image-2.2.19pre17_custom.1.5_i386.deb (--install): conflicting packages - not installing kernel-image-2.2.19pre17 Errors were encountered while processing: ../pcmcia-modules-2.2.19pre17_3.1.22-0.2potato+custom.1.5_i386.deb ../kernel-image-2.2.19pre17_custom.1.5_i386.deb
Reiser and Potato
I've searched the mailing list and see that this has come up before, but I haven't quite found the answer I'm looking for. I'm new to debian, so still getting to grips with apt and dselect. What I'd like to do is build a stable machine so potato is fine. However, the only non-stable thing I need is reiser support. I have a few large reiser partitions installed using Mandrake, and want to access them from my potato install. I notice that I can rebuild the kernel to get the SMP support, but the only way to get reiser seems to be to download a tarball from www.kernel.org or wherever. At the moment I've built a potato system, and it's got SMP and reiser support and running kernel 2.4.14 (the latest 'stable' kernel, allegedly, but I've had a few machine lockups which sound suspiciously similar to what others have described for 2.4.14 kernels.) So to get a stable machine that supports reiser do I; 1. Modify my /etc/apt/sources.list to allow me to get 'testing' packages 2. Download a kernel package directly and compile it in. I thought 2. would be the better approach, as it would allow me to keep my potato distro as potato as possible. I thought if I modified /etc/apt/sources.list to allow testing packages then I immediately stop having a potato system. I can't be the first person to find themselves in this quandry. Any suggested approaches? Dougie