Re: sr1: CDROM not ready ???
On Tue, 2004-01-27 at 15:06, Michael D Schleif wrote: OK, it can be nice to have devices _know_ when they are ready to be used ; However, enough is enough: Jan 27 10:02:09 bragi kernel: sr1: CDROM not ready. Make sure there is a disc in the drive. Jan 27 10:02:40 bragi last message repeated 31 times Jan 27 10:03:41 bragi last message repeated 61 times Jan 27 10:04:42 bragi last message repeated 61 times I know what /dev/sr1 is, and I often play audio CD's in that drive. Sometimes, that drive is empty, and that is the way it should be. How can I figure out what process is pummeling syslog with this useless information? What do you think? Install the lsof package if you don't have it. Try: lsof /dev/sr1 Tt should give you a clue as to what is opening the device, you may have to run it as lsof -r /dev/sr1 over a minute or more if the process only opens /dev/sr1 every now and then. It looks to be something checking once a minute (61 log messages over 61 minutes) Are you running something like nautilus? --mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Spamassassin + exim
On Fri, 2003-08-29 at 12:23, Jeff Elkins wrote: Is there a FAQ available for setting up Spamassassin and exim? Googling found several for SA + postfix, but not for exim. Thanks, Jeff Elkins I'm not sure if there is a complete FAQ available. This is how I have spamc integrated into the exim delivery sequence: I only needed to add two sections to the exim.conf file and make configure spamd to be running. To the transports section add the following: spamc_delivery: driver = pipe command = /usr/bin/spamc -e /usr/sbin/exim -oMr spam-scanned -i -f ${sender_address} ${pipe_addresses} user = mail group = mail current_directory =/tmp This specifies to deliver mail through spamc which will then be redelivered into exim with the received protocol (-oMr) set to spam-scanned. In the directors section add: spamcheck: driver = smartuser transport = spamc_delivery # When to scan a message : # - it isn't already flagged as spam # - it isn't already scanned condition = ${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}} right after the real_local stanza so all incoming mail not grabbed by real_local gets routed into the spamcheck director hence sent through spamc. After it's been spam-scanned it passes this director and gets delivered however you have it configured below this stanza. --mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: netatalk stopped working. help/advice needed
On Thu, 2002-06-20 at 17:04, Paul E Condon wrote: I have a small home LAN, two Linux i386 boxes, an iMac running OS 9.2, and a Mac 8500 running OS 8.6. One of the Linux boxes operates a diald/ppp connection to the outside, and netatalk for file sharing. I decided for no good reason to upgrade the ppp connection box from Potato to Woody. Now I cannot log onto file sharing from either Mac. ppp/diald still works OK, so the problem is not in the TCP/IP connection. The two Macs show slightly different symptoms. On the iMac I can log-on and get a directory display of what is on the server, but the moment I do anything, the TCP/IP connection is closed. On the Mac 8500, it behaves as if I gave it an incorrect password. I notice that the phrase Two way encrypted passwords is displayed in the login box on the Mac 8500. I don't recall that being there before the upgrade, but have no way to check this. I need suggestions as to how to debug this, please. What you need to do is read the man pages for the new password tool (afppasswd) for netatalk. Similar to samba you are going to add users to the password file (-a) and then set up an excrypted password for them to log in. --mike signature.asc Description: This is a digitally signed message part
Re: netatalk stopped working. help/advice needed
On Thu, 2002-06-20 at 22:30, Paul E Condon wrote: On Thu, Jun 20, 2002 at 06:07:47PM -0500, Michael Heldebrant wrote: On Thu, 2002-06-20 at 17:04, Paul E Condon wrote: I have a small home LAN, two Linux i386 boxes, an iMac running OS 9.2, and a Mac 8500 running OS 8.6. One of the Linux boxes operates a diald/ppp connection to the outside, and netatalk for file sharing. I decided for no good reason to upgrade the ppp connection box from Potato to Woody. Now I cannot log onto file sharing from either Mac. ppp/diald still works OK, so the problem is not in the TCP/IP connection. The two Macs show slightly different symptoms. On the iMac I can log-on and get a directory display of what is on the server, but the moment I do anything, the TCP/IP connection is closed. On the Mac 8500, it behaves as if I gave it an incorrect password. I notice that the phrase Two way encrypted passwords is displayed in the login box on the Mac 8500. I don't recall that being there before the upgrade, but have no way to check this. I need suggestions as to how to debug this, please. What you need to do is read the man pages for the new password tool (afppasswd) for netatalk. Similar to samba you are going to add users to the password file (-a) and then set up an excrypted password for them to log in. --mike Thanks. I had no idea that this new tool existed. But the man page assumes more knowledge than I have. I don't have any experience with Samba, for instance. So I have some questions that I hope you will answer: I suppose I must: 1. Create a password file, at first empty. ( using -c option ) Yes. This is going to be afppasswd -c as root. This I beleive will scan the passwd file and add users to it with no password/file mounts initially. 2. Put an entry into this file for each user to whom I grant access (again using -c option) Actually you should use the afppasswd -a your-user-names This will allow you to set your passwords for your users. Can these be combined into one step? Once the -c is done you can just add users as neccessary. Where does the path info that I give get stored? (I'd like to be able to check my work.) I'm not sure what you mean by this. Is there a default name and location for the afp password file? e.g. /etc/netatalk/afppasswd ? That is the exact file that is the default. What is the stuff about minimum uid? Explain what considerations affect the value I choose for this. Must I choose? Or may I ignore? I have no idea what that means. I didn't use it. Perhaps a more security conscious debian-security list lurker might know. Thanks, again. You're welcome. --mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Any X10 users out there ?
On Fri, 2002-06-07 at 07:07, D.J. Bolderman wrote: Hi, I was wondering if there are any debian users on this list who control their X10 stuff with their debian machine? Is it possible ? Regards Dick I use a combination of xtend and heyu to control my CM11a and listen and respond to events from the x10 system. Heyu is for listening and sending commands from the CM11a. Xtend allows the computer to respond to discrete codes along with storing the state of all devices for logic based responses. --mike signature.asc Description: This is a digitally signed message part
Re: Iptables keeps logging to console (eventhough of dmesg -n 1)
On Mon, 2002-03-18 at 11:18, Karo Salminen wrote: Greetings, I (and one other fellow too) have suffered of the problem which is iptables' logging related. Iptables keeps logging to the local console eventhough I have typed dmesg -n 1. Dmesg's manual says the following: For example, -n 1 prevents all messages, expect panic messages, from appearing on the console. However, they will also appear in the log files (and dmesg of course). I am using Linux 2.4.18 (and the other fellow uses 2.4.17) and Debian testing. I didn't do an official bug report, because I am not that sure if the bug is iptables related. Notice! I am not on the list so please also reply to me privately. Read up on klogd. These messages are from the kernel and can be controlled by configuring the kernel log daemon. Swiped from the manpage: For example, to have the kernel display all mes sages with a priority level of 3 (KERN_ERR) or more severe the following command would be executed: klogd -c 4 --mike signature.asc Description: This is a digitally signed message part
Re: Printing question
On Fri, 2002-03-01 at 03:58, Alan Kerry Shrimpton wrote: Hi, I know most people have their Linux box connected to the net. I have my windows machine. I know most people probably have their printers connected to their Linux machine. I have it connected to my windows machine. Seriously, aren't newbies like myself trying to find an alternative to windows? I have a working windows machine. Why pull it apart to try Linux. I want to add Linux to the windows machine and work on it to see if I like it. Keep my windows connected to my scanner, Internet and printer. Get my Linux using it all as my 2nd machine. Slowly migrate it as my main computer if I like it. Isn't that what most newbies do? That is my situation and now to my real question. 1. How the heck do I see my windows machine on my Linux machine? You can try to smb mount a shared drive from the windows machine with smbfs (in package smbfs) or use an interactive ftp like client with smbclient (in package smbclient). The man pages for each command will give you a good base of what you need to do and what you may not understand yet. Come back to the list with any unanswered questions you may have. 2. How do I get my Linux machine to print using my printer hardware connected to my windows machine? Configure the windows machine to share the printer. You're most likely going to need to create a windows account consisting of a login name and password so your linux box can authenticate itself with your windows box. This is beleive is under different places if windows is NT or 95/98, Me, or XP. If you need more help mail back with which windows you have. Take note of this machines netbios name and the share name of the printer. Install cups (see below for packages) on the linux machine. Point a webbrower at localhost:631 and authenticate yourself in as root so you can add printers. Add a printer as a samba share and make the uri look as follows: smb://username:[EMAIL PROTECTED]/YOURNETBIOSNAME/PRINTERSHARENAME select an appropriate ppd and finish off any other misc questions. This should allow linux to print to this printer with lp and lpr assuming you install cupssys-bsd cupsys-client cupssys cupsomatic-ppd and any other miscellaneous dependencies. --mike
Re: I don't want sshd
On Thu, 2002-02-21 at 12:20, Alec wrote: Hi On one of my Debian boxes, I need ssh, but no sshd. I especially don't want to RUN sshd. I achieve this by stopping the daemon and removing all symlinks to /etc/init.d/ssh in /etc/rc?.d/. However, every time ssh package gets upgraded, I get those symlinks back and sshd restarted. To me, it is a security concern, since unintended net services are run. Wouldn't it be better to break ssh and sshd into two separate packages? Right know, at least in Woody, sshd is part of ssh. Reconfigure the package with dpkg-reconfigure ssh. Then answer no when it asks if you want to run sshd. This should solve your problem. --mike
Re: Howto change ownership of device under devfs
On Wed, 2002-02-20 at 22:14, mdevin wrote: I need to change the ownership of my 2nd serial port for nut to work properly with my ups. I am using devfs which is enabled at boot. I can set the ownership with a command like: chown root.nut /dev/tts/1 That works no problem, but I need it to continue to have those ownerships when the computer is rebooted. Now, I have looked in /etc/devfs but there are several files here which it seems I can edit. For example there is a file called /etc/devfs/perms, but this seems to register old style device names and is used by devfsd. There is also another file called: /etc/devfs/conf.d/devfs_extra_perms And it seems most probable since it has the following lines in it: # serial devices (temporary - later I will make a hack to the MAKEDEV parsing) REGISTER^tts/[^/]*$ PERMISSIONS root.dialout0660 But again I am not sure if this is where I need to change it since it seems to be a file that is generated by a package and will thus be overwritten later when the package is updated. Also, I would prefer to change the devfs configuration rather than just the devfsd one. Since I may be able to do without devfsd if I can get everything configured properly. Can someone tell me the correct Debian way of changeing device ownerships permanently. Cheers. Mark. devfsd.conf contains these lines: # Include the compatibility symlinks OPTIONAL_INCLUDE/etc/devfs/compat_symlinks # Include the standard permissions settings for devices INCLUDE /etc/devfs/perms # Include package-generated files from /etc/devfs/conf.d OPTIONAL_INCLUDE/etc/devfs/conf.d Which should allow you to place your own file in the conf.d directory that will be applied after the perms file is parsed. I created a file in the conf.d directory for my system that contains the following lines: REGISTER ^tts/0 PERMISSIONS root.nut 0660 REGISTER ^ttyS0 PERMISSIONS root.nut 0660 Just alter to suit your needs. You'll probably want to restart devsd to make sure it will work. For some reason I remember having to run update-devfsd to cement the changes. I don't completely understand it all but I think this is what you need to do. I've got nut and devfsd working well together. --mike
Re: Advice on Linux for a newbie
On Wed, 2002-02-20 at 14:05, PsychoSphere2K wrote: Hello all, I am looking to install a customizable Linux distribution on a 24-node cluster. It will run a highly modified kernel on AMD Athlon XP (1500+) processors, with 512MB RAM each. These machines will act as servers for an experimental university network. The Linux distribution need not provide all of the software, just the essentials, to build the kernel, and run it. We will compile and install the server software. It must include an X server, and a lightweight window manager (WindowMaker comes to mind). In addition, it must be small, under 500MB. Ideally, it will not contain any of the clutter that tends to be found in the one-size-fits-all distributions like RedHat. Does Debian satisfy the criteria? If not, can anybody suggest a distribution that does? I recently did a project very similar to this. I made a 20 node mosix cluster by first creating the master node to my liking. This consisted of a basic debian installation and then adding things to make the system run. You're going to need a dhcp/bootp server and apache most likely on the master node. After creating a custom kernel for the system and custom modules as well as a local mirror using apt-cache I set about the next phase. I then created a chroot installation to create the client nodes. I tweaked that to my liking. I also installed within the chroot the custom client kernels and whatever else was needed after the base packages. After tarring the whole thing up I began booting the nodes from a netcard enabled floppy with dhcp assigned ip's and root nfs (of the client chroot on the master node), partitioned drives and other pre install issues, finally untarring a tar.gz of the chroot system to install into the client. I then rebooted each in turn to a working mosix cluster. I made the clients get their packages from the local mirror to save time and bandwidth. When you update the master node (if you update the master node) you can run something like dancer's shell to upgrade all the systems after you apt-move the new packages into the local mirror. Hard coding the ip was easy since I created my own subnet. Get all your config files set up in the chroot before you start doing clients, it's easy to get it right once instead of fixing it 25 times in your case. I think this approach will suit your project well. You can do this even easier with FAI so I'm told but I was in a hurry and didn't have the luxury of time to learn it well. --mike
Re: Gnome reconfiguration question
On Sun, 2002-02-17 at 15:56, stan wrote: I'm setting up a woody machien for my wife. She's going to use Gnome, and I had sent a fair amount of time configuring her desktop for her. Today she aske me to make things bigger (fonts ets.) and the best way I and the best way I could figure out to do that, was o lower the resolutin. So I cahnge the X rsolutino from 1920x1440 to 1152x864. Problem is, Gnome doesn't seem to completly respect the chang :-( For example the background image is still scaled for teh larger workspace. Deleteing it, and reselecting it does not fix the problem. Short of blowing away all the .gnoe directories, is there a way to fix this? Have you tried selecting and applying another image to force a change and then reselect your original image? --mike
Re: got a little problem in Gnome
On Mon, 2002-02-18 at 16:20, Andrew B. wrote: Hello there everybody, I just installed Debian 2.2r5 and Gnome. For some reason though, I can't seem to be able to move some application windows!!! The menubar is there on top-left part of my screen but I cannot drag and move it. It just detaches and moves without the rest of the window. Um...any ideas??? It sounds like you need to install or get a window manager running. I'd recommend sawfish. If you already have it installed you're going to need to get it running. If you can open a gnome-terminal or xterm just run: sawfish This should get it running. Then enable it as your window manager inside the Gnome Control Center within the desktop section so it will run it every time you start gnome in the future. --mike
Re: Gnome panel on dual-h
On Mon, 2002-02-18 at 10:40, Gary Hennigan wrote: I've got a dual-head setup using Xinerama. A while ago I noticed that the gnome stuff was upgraded and this morning when I logged in for the first time since that upgrade my gnome panel no longer stretches across both monitors. Does anyone know how to get it back to it's previous behavior? I'm running testing with gnome-panel 1.4.0.6-1 and sawfish-gnome 1.0.1-6 as the window manager. I noticed the same thing on my 3 headed workstation (unstable). I just made a new edge panel for each head that was missing one. I'd be interested to know how to restore the full sized panel as well. I've poked around with the panel properties with no luck yet. --mike
Re: undo apt-get install
On Tue, 2002-02-05 at 10:30, Rick Pasotto wrote: When the installation process returns an error and even 'apt-get -f install' bombs out, how do I tell apt-get to forget that I asked for the packages and to just leave the system as it was? The errors are: trying to overwrite `/usr/share/man/man1/gnome-pty-helper.1.gz', which is also in package libzvt2 and: trying to overwrite `/usr/share/man/man1/gnome-doc.1.gz', which is also in package gnome-bin Another solution to that is to use dpkg with the force options (explained in the man page or dpkg --help) to get the package with an error to overwrite the file. The deb package in question will be in the /var/cache/apt/archives directory. --mike
Re: nmbd problem?
On Sat, 2001-12-29 at 15:39, Russ Cook wrote: Attached is an excerpt from the syslog of one of my Debian boxes. It is the gateway for my home LAN, consisting of two Debian boxes and two Windows boxes. P633 is one of the Windows boxes. Can anyone tell me what the syslog excerpt indicates? Dec 29 06:28:04 p75 nmbd[11564]: connect from p633 Dec 29 06:28:05 p75 inetd[3527]: /usr/sbin/tcpd: exit status 0x1 Dec 29 06:28:05 p75 nmbd[11565]: connect from p633 Dec 29 06:28:05 p75 inetd[3527]: /usr/sbin/tcpd: exit status 0x1 Dec 29 06:28:05 p75 nmbd[11566]: connect from p633 Dec 29 06:28:05 p75 inetd[3527]: /usr/sbin/tcpd: exit status 0x1 Dec 29 06:28:05 p75 nmbd[11567]: connect from p633 Dec 29 06:28:05 p75 inetd[3527]: /usr/sbin/tcpd: exit status 0x1 Dec 29 06:28:05 p75 nmbd[11568]: connect from p633 Dec 29 06:28:05 p75 inetd[3527]: /usr/sbin/tcpd: exit status 0x1 Dec 29 06:28:05 p75 nmbd[11569]: connect from p633 I get this every now and then. Check your hosts.allow and hosts.deny files with tcpdchk to see if you have any problems. Then once you've twiddled to your liking restart inetd and kill all nmbd processes and let them respawn automatically. For some reason nmbd goes nuts every now and then and starts either looping or getting these types of errors. Perhaps a more enlightened samba guru can provide the reasons why. --mike
Re: Linksys router DHCP dhclient hostname
On Fri, 2001-12-28 at 10:27, Lance Hoffmeyer wrote: No, the actual name is a single word with no spaces. send hostname Linux Lance On Fri, 2001-12-28 at 09:34, Casper Gielen wrote: On Thu, Dec 27, 2001 at 04:53:17PM -0600, Lance Hoffmeyer wrote: I am using a Linksys router with DHCP. I can obtain an IP and everything works fine but when I examine the Client's table in the Linksys router the Linux computer has no name Linux Box to identify it. I went into the dhclient.conf file and uncommented send hostname Linux Box Just a wild guess, but try leaving out the space. Spaces are not allowed in hostnames. Has the current lease expired? Have you forced a renew for the lease? If you haven't I doubt any chages you make will be reflected by the Linksys DHCP server until you get a new lease from it. --mike
Re: Plip problems: do I need NFS server?
On Tue, 2001-12-25 at 05:24, Anthony Campbell wrote: On 24 Dec 2001, Michael Heldebrant wrote: On Mon, 2001-12-24 at 03:36, Anthony Campbell wrote: I'm trying to set up plip on my desktop and laptop. Plip now runs, but I'm not sure how to continue. I'm working through the NFS Howto, with moderate success only. Anything else I should be reading? Question: is it essential to have a NFS server running on both machines or is portmap enough? If it is essential, I have a problem, because both nfs-kernel-server and nfs-user-server fail to install properly on my laptop. Describe moderate success? In lieu of that information I'll try to give a comprehensive list of things: Thank you; very helpful. I think you've answered the rather unformed questions I asked. Both server and client are going to need the nfs-common package. Got that. Server needs in addition to nfs-common, the nfs-kernel-server or the userspace server. Got that on my desktop; neither will install properly on my laptop, for some reason, but the desktop can presumably act as server and allow transfer in both directions? That's troubling. What are the error messages when you try and install the packages on the laptop? The server allows bidirectional transfer to and from the mount. Assuming you allow write on the server AND mount with write access on the client you can write. Of course then you're going to need to worry about setting the things for executibles and root_squashing. But lets get you up and running before we confuse you ;. Server's /etc/exports file is going to need the listing of filesystems or directories to export prefereably with the ip address of the client over the plip link instead of world access. Then exportfs -a -v should tell you some information about exporting. The client needs nfs filesystem support in the kernel. Make the mountpoint for the nfs drive on the client. mount server:/mountpoint /mountpoint should do just fine unless you're going to need adjust parameters for speed or performance over the PLIP link. I've been quite happy with the defaults over switched ethernet networks, YMMV. If you get a denial from the server it's going to take some work with the /etc/exports file on the server to get it working. This explains what I was unclear about; I'll try it out. Let the list know if you need more help. --mike
Re: cdrecord problems
On Mon, 2001-12-24 at 08:40, yugami wrote: I had issues untill i changed the access to /dev/scd0, you need access to both scd0 and sr0 for most applications. - Original Message - From: Patrik Modesto [EMAIL PROTECTED] To: debian debian-user@lists.debian.org Sent: Sunday, December 23, 2001 2:57 PM Subject: Re: cdrecord problems As I wrote in first mail, my /dev/cdrom is symlinked to /dev/sr0 and CD access works fine. So I think scsi emulation is working. Where can be the problem? What does your SCSI Generic (sg) situation look like. You're going to need the module and access to the device to write to the burner. --mike
Re: Plip problems: do I need NFS server?
On Mon, 2001-12-24 at 03:36, Anthony Campbell wrote: I'm trying to set up plip on my desktop and laptop. Plip now runs, but I'm not sure how to continue. I'm working through the NFS Howto, with moderate success only. Anything else I should be reading? Question: is it essential to have a NFS server running on both machines or is portmap enough? If it is essential, I have a problem, because both nfs-kernel-server and nfs-user-server fail to install properly on my laptop. Describe moderate success? In lieu of that information I'll try to give a comprehensive list of things: Both server and client are going to need the nfs-common package. Server needs in addition to nfs-common, the nfs-kernel-server or the userspace server. Server's /etc/exports file is going to need the listing of filesystems or directories to export prefereably with the ip address of the client over the plip link instead of world access. Then exportfs -a -v should tell you some information about exporting. The client needs nfs filesystem support in the kernel. Make the mountpoint for the nfs drive on the client. mount server:/mountpoint /mountpoint should do just fine unless you're going to need adjust parameters for speed or performance over the PLIP link. I've been quite happy with the defaults over switched ethernet networks, YMMV. If you get a denial from the server it's going to take some work with the /etc/exports file on the server to get it working. --mike
Re: Playing cds in SId
On Mon, 2001-12-24 at 17:03, Henrik Enberg wrote: Hi, I just upgraded to sid from potato and can no longer play cds as a regular user. I am in both the audio and cdrom groups, which was sufficient on potato, but no go. What am I missing? Probably the right group owner of your cdrom drive. What does the owner and group say for /dev/hdX or /dev/scdX where X is whatever the appropriate device is. If it's not group cdrom change so it's correct. Otherwise post the output of ls -al /dev/hd? and ls -al /dev/scd with additional information as to what type of drive and what programs you are using to play cd audio. --mike
Re: Playing cds in SId
On Mon, 2001-12-24 at 18:02, Brian Nelson wrote: Henrik Enberg [EMAIL PROTECTED] writes: Michael Heldebrant [EMAIL PROTECTED] writes: On Mon, 2001-12-24 at 17:03, Henrik Enberg wrote: Hi, I just upgraded to sid from potato and can no longer play cds as a regular user. I am in both the audio and cdrom groups, which was sufficient on potato, but no go. What am I missing? Probably the right group owner of your cdrom drive. What does the owner and group say for /dev/hdX or /dev/scdX where X is whatever the appropriate device is. If it's not group cdrom change so it's correct. Otherwise post the output of ls -al /dev/hd? and ls -al /dev/scd with additional information as to what type of drive and what programs you are using to play cd audio. Yes, I was supposed to be int the disk group. Thank you. That doesn't sound right. The disk is a very dangerous group for a normal user, since it gives you rw access directly to the /dev/hd* and /dev/sd* files, thereby making it easy to totally trash your hard disks. Normally, audio and cdrom groups should be sufficient, or at least that's true on this sid system. I agree, just change the group owner of the cdrom device to cdrom so you don't accidentally screw a disk up sometime down the road. --mike
Re: https with galeon/mozilla
On Mon, 2001-12-24 at 19:57, Sridhar M.A. wrote: On Tue, Dec 25, 2001 at 07:12:46AM +0530, Sridhar M.A. wrote: Had posted this problem and got some pointers. Am back with some questions. Kindly bear with me. I have installed mozilla 0.9.6-8 on my woody machine and galeon 1.0-2. Everything works fine except that I cannot access the sites supporting https, like secure login at yahoo mail. I have installed the mozilla-psm also, which should enable me to use https. Neither mozilla nor galeon connets to https sites/pages. What more packages need to be installed/configured to get the same working? I even downloaded mozilla-0.9.7-1 and tried with that. Same results. But galeon distributed conflicts with mozilla-0.9.7 :-( Does somebody know where I can get a deb of galeon which does not conflict with mozilla 0.9.7? Noticed one more thing. Even Opera does not connect to a secure server. Does that imply there is something wrong with my setup or the isp? I am not sure about the latter as I can connect under windows :-( Are you trying to use a proxy that is munging your https connections under linux? --mike
Re: Keeping dpkg info up to date
On Fri, 2001-12-21 at 15:25, Timm Gleason wrote: I know there used to be a package for keeping the dpkg information updated when you installed a particular piece of software from source instead of a deb package. Does anyone know if there is such a thing in the current distribution? Use the equivs package. --mike
Re: ide tape errors
On Sun, 2001-12-23 at 11:05, martin f krafft wrote: also sprach Michael Heldebrant [EMAIL PROTECTED] [2001.12.23.0501 +0100]: This is the correct media for the drive to read and write? good question. i don't know. it's a travan drive, so i'd say that all TR-3 and TR-4 should work. i do have the original tape that shipped with the drive though, and that doesn't work either... If it's the original tape I'm betting that the drive just isn't going to work well with linux. Perhaps asking the ide-tape device driver author will help. It's correctly installed on the ide chain? Does the manual have anything to say about needing to be a master or slave? the bios detects it, and so does linux, so this leads me to believe that yes. and it is! I was sure you had, but sometimes we all just miss that one easy step ... usually after an all night session of hacking/admining etc. I once tried to use an ide-tape drive with 4/8 gb travan tapes to no avail. Even though I could dump to the drive I never could get anything back. I'd check it very well before you trust it. mh, that's no good news... Yeah, I was lucky enough to be able to find several junk SCSI DDS 1 and 2 tape drives lying around. Works well for me. If I had the cash I'd probably go DDS-3 or 4 depending on how much I could burn. --mike
Re: ide tape errors
On Thu, 2001-12-20 at 07:30, martin f krafft wrote: piper:/dev# mt -f /dev/ht0 rewind mt: /dev/ht0: Device or resource busy piper:/dev# gives: ide-tape: Reached idetape_chrdev_open ide-tape: Reached idetape_read_position ide-tape: ht0: I/O error, pc = 10, key = 3, asc = 30, ascq = 0 ide-tape: ht0: I/O error, pc = 34, key = 3, asc = 30, ascq = 0 ide-tape: Reached idetape_read_position_callback ide-tape: ht0: I/O error, pc = 1, key = 3, asc = 30, ascq = 0 ide-tape: ht0: I/O error, pc = 0, key = 3, asc = 30, ascq = 0 ide-tape: ht0: drive not ready should i give up on the drive? or am i doing something wrong? thanks! Only questions that I can think of: This is the correct media for the drive to read and write? I did this once with wrong media and the drive would load but no mt tape moving commands would ever work. It's correctly installed on the ide chain? Does the manual have anything to say about needing to be a master or slave? As an aside: I once tried to use an ide-tape drive with 4/8 gb travan tapes to no avail. Even though I could dump to the drive I never could get anything back. I'd check it very well before you trust it. --mike
Re: Pleez help with courier-POP !!!
On Fri, 2001-12-21 at 17:14, Martin Puaschitz wrote: - Original Message - From: Marc Britten [EMAIL PROTECTED] To: Debian-User ML debian-user@lists.debian.org Sent: Friday, December 21, 2001 11:53 PM Subject: Re: Pleez help with courier-POP !!! you maildir is ~/Maildir if it already exists then it is created and you have no problems, you need to make one for each user äähhmm...you have no problemsi have some: puaschitz:~# ps ax | grep pop 2857 ?S 0:00 /usr/sbin/couriertcpd -pid=/var/run/courier/pop3d.pid -stderrlogger=/usr/sbi n/courierlogger -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -addres s=0 110 /usr/lib/courier/courier/courierpop3login /usr/lib/courier/authlib/authdaemon /usr/lib/courier/courier/courierpop3d /Maildir 2860 ?S 0:00 /usr/sbin/courierlogger courierpop3login 2862 pts/0S 0:00 grep pop puaschitz:~# puaschitz:~# puaschitz:~# puaschitz:~# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hello there. USER martin +OK Password required. PASS Connection closed by foreign host. see? Martin What I did to get this working was: Make a /var/spool/maildirs then run makemaildir for each user you want to have access ie for me it was hmike, make sure you are the actual user when you make the folder for less permission headaches. Symlink in the users home directory Maildir to /var/spool/maildirs/username. Make sure you edit your script back to use Maildir instead of .. If you use . it's looking for the maildir to exist in the users home directory which it probably doesn't. I'm annoyed by courier's handling of opening the maildir, I've looked at how it's invoked in the /etc/init.d/courier-imap script for example and it looks pretty convoluted. The init.d script runs: /usr/bin/env - /bin/sh -c . /etc/courier/imapd ; \ IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \ `sed -n '/^#/d;/=/p' /etc/courier/imapd | \ sed 's/=.*//;s/^/export /;s/$/;/'` $TCPD -address=$ADDRESS \ -stderrlogger=${prefix}/sbin/courierlogger \ -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ -pid=$PIDFILE $TCPDOPTS \ $PORT ${prefix}/lib/courier/courier/imaplogin $AUTHMODULELIST \ /usr/bin/imapd Maildir ^^^ From the man page: The last daisy-chained command is imapd, which is the actual IMAP server, which is started from the logged-in account's home directory. The sole argument to imapd is the pathname to the default IMAP mailbox, which is usually Some authentication modules are capable of specifying a different filename, by setting the MAILDIR environment variable. Right after which is usually it seems like something is missing to me. Anyways. Though I'm using imap I'm pretty sure it's the same basic principles. --mike
Re: What's a debian kid look like?
Demographic, Employment and Education: Single White male, 25, U.S., Almost done with my Biomedical Sciences Ph.D. I sell my body to science regularly for in house Medical studies most people fear to make ends meet. Been hacking since grade school. Leisure: Music taste runs from hardcore punk and blues, experimental, ambient and postrock with a healthy dose of electronic. Used to work volunteer security at 924 Gilman Street when I was at U.C. Berkeley. I enjoy Sci-Fi, mind screw movies (Fight Club) and can't stand popular or mass marketed anything (including people). Love my stereo and home theater. Used to be an avid mudder (Dartmud). Computer experience: SQL, PHP, Javascript, HTML, shell scripting and whatever else it takes to get the job done. Mostly SysAdmin style, Jack of all trades/Troubleshooter user. So far over the last 4 years I've built firewalls, supercomputers, database driven web servers and many workstations, all Debian and with relative ease. I do all this in my spare non thesis productive time. Politics: Libertarian/Anarchist (I'm not a true anarchist, corporations are held to a very strict set of rules and oversight in my ideal world). I think the U.S. and the rest of the World is going the wrong direction with things like the DCMA and SSSCA. Coding is not a crime to paraphrase an old skateboarding slogan. Hope to one day either lobby for or be elected by techno savy constituents to fight for personal, privacy and digital rights over corporate excess and greed. Religion and Outlook on life: Athiest, Agnostic. Brutaly honest, Pragmatist. Bitter, Jaded, Realist. Hobbies: I play the Didjeridu. I also homebrew, handload, pistol shoot, practice Okinawan Karate and Kobudo, do weight lifting and play rugby. --mike
Re: multiCD package
On Tue, 2001-12-11 at 14:00, Shawn Yarbrough wrote: I'm trying to use multiCD (for the first time) to do some backups with. I think I've configured everything correctly but I'm seeing a strange error message causing the backup to fail. Here is the multiCD output: # multiCD -- Options -- Files to backup: '/backup' Files to exclude: '/root/disks/mount' '/root/multiCD_imageA' '/root/multiCD_imageB' All the rest: addfiles: '0' cd_dev: '/dev/burner' cd_done: 'cdrecord dev=1,1,0 -eject' cd_mount: '/root/disks/mount' cd_size: '681574400' cdrecord: 'cdrecord -v blank=fast speed=8 dev=1,1,0 -data' check_config: '0' first_disc: '0' fs_type: 'ext2' help: '0' image_file1: '/root/multiCD_imageA' This doesn't match with ... image_file2: '/root/multiCD_imageB' image_mount: '/root/disks/mount/' mkfs_opts: '-m 0 -b 1024' multi: '0' noburn: '1' only_one: '0' -- Options -- Creating a new image file. This takes a while... Creating ext2 filesystem on image file... mke2fs 1.25 (20-Sep-2001) /root/multiCD_imageA1 is not a block special device. This file. Does it add the 1 implicitly? Proceed anyway? (y,n) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 83312 inodes, 665600 blocks 0 blocks (0.00%) reserved for the super user First data block=1 82 block groups 8192 blocks per group, 8192 fragments per group 1016 inodes per group Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409, 663553 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 32 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy ioctl: LOOP_SET_FD: Device or resource busy Copying files to CD image... umount: /root/disks/mount/: not mounted couldn't umount /root/disks/mount/ # At this point it has stopped without doing the backup. It looks to me like it failed to mount the CD image as a loopback device but I have no clue why this would be happening. I should probably mention that this system is using alot of loopback devices already. See: # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda1 55G 41G 12G 77% / /debian/binary1.iso 640M 641M 0 100% /debian/binary1 /debian/binary2.iso 643M 644M 0 100% /debian/binary2 /debian/binary3.iso 553M 553M 0 100% /debian/binary3 /debian/source1.iso 643M 644M 0 100% /debian/source1 /debian/source2.iso 645M 646M 0 100% /debian/source2 /debian/source3.iso 638M 639M 0 100% /debian/source3 # # ll /dev/loop* brw-rw1 root disk 7, 0 Dec 10 17:38 /dev/loop0 brw-rw1 root disk 7, 1 Dec 10 17:38 /dev/loop1 brw-rw1 root disk 7, 2 Dec 10 17:38 /dev/loop2 brw-rw1 root disk 7, 3 Dec 10 17:38 /dev/loop3 brw-rw1 root disk 7, 4 Dec 10 17:38 /dev/loop4 brw-rw1 root disk 7, 5 Dec 10 17:38 /dev/loop5 brw-rw1 root disk 7, 6 Dec 10 17:38 /dev/loop6 brw-rw1 root disk 7, 7 Dec 10 17:38 /dev/loop7 # # ll /debian total 3.7G -rw-r--r--1 root root 943 May 3 2001 CONTENTS -rw-r--r--1 root root 907 May 3 2001 CONTENTS.old dr-xr-xr-x 10 root root 4.0k Dec 7 2000 binary1/ -rw-r--r--1 root root 640M Mar 24 2001 binary1.iso dr-xr-xr-x6 root root 2.0k Dec 7 2000 binary2/ -rw-r--r--1 root root 643M Mar 24 2001 binary2.iso dr-xr-xr-x5 root root 2.0k Dec 7 2000 binary3/ -rw-r--r--1 root root 553M Mar 24 2001 binary3.iso dr-xr-xr-x5 root root 2.0k Dec 7 2000 source1/ -rw-r--r--1 root root 643M Mar 25 2001 source1.iso dr-xr-xr-x5 root root 2.0k Dec 7 2000 source2/ -rw-r--r--1 root root 645M Mar 25 2001 source2.iso dr-xr-xr-x5 root root 2.0k Dec 7 2000 source3/ -rw-r--r--1 root root 638M Mar 25 2001 source3.iso # Anyone got a clue what is happening to me? Perhaps you ran out of loopback devices? Can you try unmounting one or more and trying it again? I also annotated the output above with something that looks fishy. Also, exactly what mount command is the loopback file being mounted with? If it's assuming that loop0 is free it may be running in to the error since you probably already have it in use. Your /proc/mounts and /etc/fstab will be helpfull in determining this. --mike
Re: Help please, setting up lm-sensors
On Fri, 2001-12-14 at 21:20, Stan Brown wrote: I;ve got a new machine with a custom 2.4.16 kernel. I have managed to get lm-sensors built, and the modules load. However sensor-detect does not give me enough info to get the rest set up. The machine is a Epox EP-8KTA3PRO with a VIA KT133A chipset. Here is a typescript of the sensors detect run: Script started on Fri Dec 14 21:35:36 2001 progeny:~# sensors-detect This program will help you to determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have installed lm-sensors modules before you can use some functions of this utility. Also, you need to be root', or at least have access to the /dev/i2c* files for some things. If you have patched your kernel and have some drivers built-in you can safely answer NO if asked to load some modules. In this case, things may seem a bit confusing, but they will still work. We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no): Probing for PCI bus adapters... Use driver `i2c-viapro' for device 00:07.4: VIA Technologies VT 82C686 Apollo ACPI Probe succesfully concluded. We will now try to load each adapter module in turn. Load `i2c-viapro' (say NO if built into your kernel)? (YES/no): Module loaded succesfully. Do you now want to be prompted for non-detectable adapters? (yes/NO): To continue, we need module `i2c-dev' to be loaded. If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no): Module loaded succesfully. We are now going to do the adapter probings. Some adapters may hang halfway through; we can't really help that. Also, some chips will be double detected; we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed. If you have a PIIX4, that often includes addresses 0x69 and/or 0x6a. Next adapter: SMBus vt82c596 adapter at 5000 (Non-I2C SMBus adapter) Do you want to scan it? (YES/no/selectively): Can't open /dev/i2c0 (No such file or directory) Do you have this file in your /dev directory? If not, MAKEDEV i2c will make the device nodes for you. If you are using devfs you're going to have some fun trying to debug why they don't show up. Once you get the dev files you should be able to get the right chips detected and proceed. --mike
PCI serial port card problems
I bought a startech 2 port serial card to add some ports (only after googling a bit did I discover startech is not well loved in the linux development community). The thing is that the card is there according to lspci, but the kernel doesn't create any extra serial ports for the card. This also means devfs will not create a new device for the two ports. I've just upgraded to kernel 2.4.16 with these serial options (2.4.13 had the same options except compiled in and had the same problems). I've also tried playing with the BIOS for PnP options to no avail: kernel options: CONFIG_PARPORT_SERIAL=m CONFIG_SERIAL=m CONFIG_SERIAL_EXTENDED=y # CONFIG_SERIAL_MANY_PORTS is not set CONFIG_SERIAL_SHARE_IRQ=y # CONFIG_SERIAL_DETECT_IRQ is not set CONFIG_SERIAL_MULTIPORT=y lspci -vv output: 00:09.0 Serial controller: Unknown device 9710:9835 (rev 01) (prog-if 02 [16550]) Subsystem: LSI Logic / Symbios Logic (formerly NCR): Unknown device 0002Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- Interrupt: pin A routed to IRQ 14 Region 0: I/O ports at 9400 [size=8] Region 1: I/O ports at 9000 [size=8] Region 2: I/O ports at 8800 [size=8] Region 3: I/O ports at 8400 [size=8] Region 4: I/O ports at 8000 [size=8] Region 5: I/O ports at 7800 [size=16] and dmesg shows only this on bootup for the serial ports: Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A PCI: Enabling device 00:09.0 ( - 0001) PCI: Found IRQ 14 for device 00:09.0 PCI: Sharing IRQ 14 with 00:04.2 PCI: Sharing IRQ 14 with 00:04.3 PCI: Sharing IRQ 14 with 00:0d.0 So it's enabling the card at this point but I don't get any ttyS2 or 3. I tried this: setserial /root/ttyS2 irq 14 port 09400 autoconfig after creating the correct char devices 4, 66 for ttyS2 and 4, 67 for ttyS3 and I still get nothing. Is this a kernel/devfs issue? I've given up after 2 days of testing and searching for any information about a problem like this. I hope someone can point me in the right direction. --mike
Re: How to capture start up messages?
On Tue, 2001-12-11 at 23:53, Marc Wilson wrote: On Wed, Dec 12, 2001 at 12:35:46AM -0500, Jeremy Gaddis wrote: How can I do this? $ less /var/log/dmesg Same problem, only contains kernel messages. Those produced during init ain't there. :( Check your /var/log/syslog --mike
Re: USB printer port (HP PSC 750)
On Sat, 2001-12-08 at 15:33, Pedro Quaresma de Almeida wrote: Hi I am trying to use my HP PSC 750 connected via USB. My kernel is Linux Fenix 2.2.18pre21 The dmesg command gives ... usb.c: registered new driver usblp usb.c: registered new driver usbscanner scanner.c: USB Scanner support registered. usbserial.c: USB Serial support registered for Generic usb.c: registered new driver serial uhci.c: USB UHCI at I/O 0xe000, IRQ 10 uhci.c: detected 2 ports usb.c: new USB bus registered, assigned bus number 1 usb.c: USB new device connect, assigned device number 1 usb.c: USB device 1 (prod/vend 0x0/0x0) is not claimed by any active driver. usb.c: registered new driver usbdevfs usb.c: registered new driver hub hub.c: USB hub found hub.c: 2 ports detected VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 48k freed usb.c: USB new device connect, assigned device number 2 usb.c: USB device 2 (prod/vend 0x45e/0x1b) is not claimed by any active driver. Swap area shorter than signature indicates Swap area shorter than signature indicates usb.c: USB new device connect, assigned device number 3 printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 registered device ppp0 I already tried to do (as said in http://www.linux-usb.org/USB-guide/x342.html) mknod /dev/usb/lp0 c 180 0 Well I'm no usb expert but how exactly are you communicating with the printer? Catting files into /dev/lp0 or /dev/usb/lp0? Is the usb printer module loaded or compiled into the kernel? Are you using lpd, CUPS, etc? --mike
Re: logrotate
Did you mean to send your message body as a reply to address? Ihaveallmylogsnicelycompressing androtatingdailyonmyolddebianmachinebut Ican'trememberhowtodoitonmynewone.Thelogrotate.conf isstandardoutoftheboxontheoldoneandyet [EMAIL PROTECTED] Isn't too easy to parse. Perhaps resending your question in the message body will help get you an answer if this isn't it. Reading the logrotate man page will tell you about options. For instance I found this option for your logrotate.conf : Here is more information on the directives which may be included in a logrotate configuration file: compress Old versions of log files are compressed with gzip by default. See also nocompress. You may need to remove the comment in your logfile to enable compression. --mike
Re: USB printer port (HP PSC 750)
On Sun, 2001-12-09 at 11:26, Pedro Quaresma de Almeida wrote: Michael Heldebrant writes: On Sat, 2001-12-08 at 15:33, Pedro Quaresma de Almeida wrote: Hi I am trying to use my HP PSC 750 connected via USB. My kernel is Linux Fenix 2.2.18pre21 The dmesg command gives ... usb.c: registered new driver usblp Well I'm no usb expert but how exactly are you communicating with the printer? Catting files into /dev/lp0 or /dev/usb/lp0? Is the usb printer module loaded or compiled into the kernel? Are you using lpd, CUPS, etc? --mike The module is compiled into the kernel. The contents of usb/drivers and usb/devices are (Fenix is the name of my Debian box) Fenix# cat /proc/bus/usb/drivers hub usbdevfs serial 48- 63: usbscanner 0- 15: usblp SNIP But when I tried to use lpr with Fenix# cat /etc/printcap # # This file was generated by /usr/sbin/magicfilterconfig. # lp|hppsc750|HP PSC 750:\ :lp=/dev/usblp0:sd=/var/spool/lpd/hppsc750:\ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/dj550c-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: For exemple Fenix# lpr lixo.devs Fenix# lpq Printer: [EMAIL PROTECTED] 'HP PSC 750' Queue: no printable jobs in queue Status: server finished at 17:45:24 Nothing happens :( The printer does not respond :( Have you tried just cat dmesg or something similar directly to /dev/usblp0 to see if the printer is working? If you get printing from this then . . . One possiblity is that lp isn't working properly, I'm not an lp user so I won't be able to say much other than that I like CUPS. Have you checked /var/log/lp-errs for any usefull information from lp? If it doesn't print something then it's going to be harder to debug. --mike
Re: SNAT or MASQUERADE?
On Sat, 2001-12-08 at 02:18, [EMAIL PROTECTED] wrote: On Wed, Dec 05, 2001 at 12:48:13AM -0600, Jor-el wrote: On Sat, 1 Dec 2001, David B Harris wrote: On Sun, 2 Dec 2001 11:36:20 +1000, [EMAIL PROTECTED] wrote: SNAT would be. However, you better make sure that each time the IP address of your interface changes, your firewall script runs. You could do this in Debian by putting your firewall script in /etc/ppp/ip-up.d/. But also please keep in mind that your firewall rules should be put in place *before* any external interfaces are brought on-line. Isnt this assuming that the internet connection uses ppp? Cablemodem, for instance, doesnt use ppp at all - a fact that seems to have escaped the maintainer of the dhcpcd package too. How would one solve this problem in the case of cablemodem? I understand that you are using dhclient from a subsequent post of yours. If you wanted to re-run part of your firewall to reconfigure for a change in IP address with a cable connection then you could look into the following: Firstly, I don't have a cable connection, but I did set one up on a friends computer recently. I can't remember all the details now, but I do remember that dhclient provided some hooks for doing things when certain conditions were met. For example, it is possible with dhclient to check the new IP address assigned and compare this to the old one and only have the firewall script run if the new IP address has changed. This would mean that even if dhclient lost the connection and had to reconnect, it would rarely have to re-run the firewall script for a cable connection (where IP rarely changes). Sorry I can't remember the name of the file to put these config details in to do this stuff, but if you read the documentation with dhclient then you will figure it out. Hey, I did :-) Anyway, I guess the point is, that you can do the same with dhclient, and in a more configurable way. I actually just wrote a script to do this exact thing because I no longer have a static cable modem ip. It's going to trigger in theory sometime tommorow night, so I can report back if it doesn't work perfectly. I rewrite my ipchains rules when my external interface changes ip's because I drop anything not coming or going from my external ip for added security. Dhclient has the dhclient-script (which I'm not sure if it runs by default or if it explicitly needs to be mentioned in the config file, I'll find out) which can call a script that you can make called dhclient-exit-hooks (and enter-hooks if you want one to run before hand). This script inherits the environment of the dhclient-script which includes things like $old_ip_address and $new_ip_address as well as the $reason the script was called. My exit hooks script cats a firewall rule set through SED to change my REPLACEIP placeholder to the $new_ip_address which then goes to ipchains-restore. I only run this if $old_ip_address != $new_ip_address. I also change my masquerade rules and update my dyndns.org account when things change. If you are interested I can post the actual script once I make sure it works. --mike
Re: Network config problem
On Sun, 2001-12-09 at 12:50, Daniel Toffetti wrote: On Sunday 09 December 2001 02:53, Michael Heldebrant wrote: You want: auto ethWHATEVER iface inet dhcp ethWHATEVER instead of static dhcp which, I'm not even sure how it would be parsed by ifup. ifconfig should tell you if your interface iseven being brought up. My fault here, sorry, it is if fact configured that way: iface eth1 inet dhcp hostname pump I read 'static' form the interface eth0 and wrote things down wrong. Assuming it's coming up and has an ip address, check your As far as I can tell from ifconfig's output, it's up and has the correct IP, broadcast and netmask. /var/dhcp/dhclient.leases file for a routers entry. If you have no My system is now Potato 2.2r0 and this file doesn't even exist. Note that I'm using pump as dhcp client, I don't know if this is relevant. Querying pump for the status of the interface (pump -i eth1 --status) shows that eth1 is fully configured. route add default ethWHATEVER This is a good clue !! My old one-diskette system has a routing table like this: Destination Gateway NetmaskIface 10.7.2.1 *255.255.255.255eth1 192.168.0.0*255.255.255.0 eth0 200.70.32.0*255.255.255.0 eth1 default10.7.2.1 0.0.0.0eth1 The recently installed Potato system's table has: Destination Gateway NetmaskIface localnet *255.255.255.0 eth0 200.70.32.0*255.255.255.0 eth1 It's strange to me that 'pump -i eth1 --status' shows correctly the gateway (10.7.2.1), nameservers, etc. So I tried to add the two missing entries, and it failed. root: route add default gw 10.7.2.1 dev eth1 SIOCADDRT: Network is unreachable and: root: route add 10.7.2.1 netmask 255.255.255.255 dev eth1 dboostrap_settings: Unknown host I guess perhaps the initialization scripts also tried to set up the correct routing entries and failed. Firstly, are you supposed to be sending pump as your hostname to request to your dhcp server? hostname pump in your eth1 stanza does exactly that. Have you tried route add -host 10.7.2.1 netmask 255.255.255.255 dev eth1 ^ then adding the default gateway? If pump continually doesn't work I'd consider trying dhclient. Pump always screwed up on my multiple iface machine. It would never rebind for me. Dhclient is much nicer in that respect. --mike
Re: USB printer port (HP PSC 750)
On Sun, 2001-12-09 at 12:54, Pedro Quaresma de Almeida wrote: Michael Heldebrant writes: On Sun, 2001-12-09 at 11:26, Pedro Quaresma de Almeida wrote: Michael Heldebrant writes: On Sat, 2001-12-08 at 15:33, Pedro Quaresma de Almeida wrote: Hi I am trying to use my HP PSC 750 connected via USB. My kernel is Linux Fenix 2.2.18pre21 The dmesg command gives ... Have you tried just cat dmesg or something similar directly to /dev/usblp0 to see if the printer is working? If you get printing from this then . . . I did now... nothing happens :( I am trying now in my laptop (HP OmniBook XE, Debian 2.4.4) and when I connect the printer I get: hub.c: USB new device connect on bus1/1, assigned device number 4 printer.c: usblp0: device node registration failed printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 device node registration failed :( what will be the problem? Hmmm. As I said I'm no usb expert ... I poked around for a bit and came up with some interesting things here: stream of stuff from google www.linuxprinting.org lists your printer and suggests using another driver, the hpijs driver for Ghostscript from hp which can be had at: http://hpinkjet.sourceforge.net/ I don't think that's your problem at the moment. The forums list this usefull information: I'd compile the lp as a module as well as the parport services. Add this into your modutils directory in a file called printing or something. Then run update-modules alias /dev/usblp* lp options lp proto_bias=3 modprobing lp or trying to access the usblp device should load the module. The proto_bias may be specific to the driver from hp (below). Some people are talking about getting custom printer.c files from hp (I'm not sure if this is the correct solution though. So I went back to the HPOJ site and look at bugs/todo : I download the latest CVS hpoj version and take the new printer.c file compile ok with gcc-3.0.2 make modules modules_install for the printer.c add options printer proto_bias=3 in modules.conf /stream I'd say ignore all the disjointed junk I pulled from google above. I think all of the above will be explained by a carefull look at: http://hpoj.sourceforge.net/ especially the documentation on how to get this working by installing their software. At this point I'll leave it to you since I don't use usb, or multifunction printer devices at all and I'm tapped out. --mike
Re: certificate for courier pop3
On Mon, 2001-12-03 at 04:27, Marek Cermak wrote: Hello I have problem with certificate generated with mkpop3dcert for courier-pop3-ssl. It has been generated for localhost and I need it for FQDN of my pop3 server. I need self certified certificate. Please, how to generate it ? Well I'll take a shot at this for you. CCing you too since it's been a week and you may have given up hope. Look into the /usr/lib/courier directory and the mkimapcert command therin. You'll need to edit your imapd.cnf and then move your old certificate out of the way and run the mkimapcert command to make a new certificate. It worked for imap-ssl for me, I'm assuming it will do the same for pop-ssl. --mike
Re: Fw: HELP ! After 1st kernel compilation, the /lib/modules subd don't appear !
On Fri, 2001-12-07 at 02:13, spear wrote: Hi there ! Yesterday, i compiled the kernel, following the instructions ... Here's the matter : once i type make modules_install , it justs creates the /lib/modules/2.2.19 folder with a /net subfolder including just two modules ... ALL the ip_masq, ppp, ipchains, ALL the folders (else than /net) like /ipv4 /fs /misc are not built anymore :( Where did i go wrong ? Of course, many things don't work anymore, ppp, ipchains and all the other ... Did i do anything wrong ? Isn't it possible, when you upgrade the kernel, to upgrade all the modules by the way ? Did you configure modules in your kernel config? Did you also run make modules before the make modules_install? --mike
Re: how to disable gnome panel
On Sat, 2001-12-08 at 11:21, dman wrote: On Sat, Dec 08, 2001 at 01:23:29AM -0800, Karsten M. Self wrote: | on Sat, Dec 08, 2001 at 07:38:39PM +1100, Andrew Sione Taumoefolau ([EMAIL PROTECTED]) wrote: | On Fri, Dec 07, 2001 at 11:18:53PM -0800, Karsten M. Self wrote: | My problem with numerous GNOME apps (goats comes to mind) is that they | start the panel. This is one of several extremely annoying GNOME | behaviors. Any possibility to override? | | Maybe you're having this problem because goats isn't a GNOME app | proper, but a panel applet? | | I believe it's an applet, though it doesn't advertise it as same: | Description: A sticky-note type program for Gnome | Goats is a yellow post-it note applet for the Gnome desktop. ^^ It does say just that :-). | Other panel applets have the same (irritating) behaviour, but I've | never encountered it in any real GNOME applications. | | It's more than one applet I've encountered that does this. KDE's apps | don't seem to have the same behavior. Apps or applets? There is a big difference. | I'm not sure if this is something you can override. Probably not, | unfortunately. If you're averse to running the panel for screen | real-estate rather than memory considerations you could create a tiny | little floating panel that contained only goats... I probably wouldn't | even if I could, though, it's a pretty sensibilities-offending prospect | :). | | It's not so much the memory (thought that's an issue), it's just a | matter of environment / desktop control. I don't like GNOME. There are | a few apps which are reasonable. I'll use them. Loading the entire | environment for a single goddamned little utility is a joke though. | | There's a distinction between integration and interoperability I'd | thought we'd learned in the 1990s. The GNOME Panel is a core part of the GNOME framework. I was reading a (old, I printed it quite a while ago but didn't get to reading it) document about CORBA and GNOME. It described how the panel is a CORBA servant that provides a lot of functionality for other servants that wish to use it. One of those is managing the piece of the screen where the applet can draw its pixels. I think if you want a way to run an applet without the panel, you would need to create a panel-look-alike that provided a regular GtkWindow for the applet to draw itself in. Anyways the panel is flexible enough that you can have a single panel with just that applet in it in most places on the edge of your screen. Have you tried just closing the panel once it opens? Or if it insits on opening one, just keeping it collapsed at all times? You can configure the panel (gnome-main-menu-panel-properties-size) to ultra-tiny (12) pixels to minimize impact and also set the level to below so it's not in the way as a workaround. --mike
Re: Can't make xconfig on 2.4.* series kernels
On Fri, 2001-12-07 at 04:16, THE CROW wrote: I've tried a lot of time to give the command: #make xconfig first with the 2.4.14 kernel and then with the 2.4.16 one. The output I received has been always the following: # make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux/scripts' cat header.tk ./kconfig.tk ./tkparse ../arch/i386/config.in kconfig.tk echo set defaults \arch/i386/defconfig\ kconfig.tk echo set ARCH \i386\ kconfig.tk cat tail.tk kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/src/linux/scripts' wish -f scripts/kconfig.tk Application initialization failed: unknown color name Black Error in startup script: can't invoke button command: application has been destroyed while executing button .ref (file scripts/kconfig.tk line 51) make: *** [xconfig] Error 1 Unfortunately I only found a message on a public forum like this on this problem; it seems a tcl/tk problem but I'm totally ignorant on this language:( Anyone could help me ? Not the solution you're looking for but ... Have you installed the ncurses5-dev package and ran a make menuconfig? It looks like tk is having problems with colors from your error message. Perhaps your rgb.txt file from your X installation is somehow the source of the problem. Perhaps addind Black in addition to black will allow you to continue with xconfig. --mike
Re: Network config problem
On Sat, 2001-12-08 at 23:14, Daniel Toffetti wrote: On Saturday 08 December 2001 16:58, ben wrote: Right now I get the external interface be assigned the valid IP address as before, configuring it as 'static dhcp - hostname pump' in /etc/interfaces. But when I try _any_ ping (any but my own address and localhost, of course), it fails with a Network is unreachable message. It's strange to me that the ping fails, but the names are correctly resolved to their respective IPs. shouldn't the path be /etc/network/interfaces? You are right, this is the correct name of the file, anyway this is of no much help to solve my problem... ::)) Replace WHATEVER with your proper iface number. You want: auto ethWHATEVER iface inet dhcp ethWHATEVER instead of static dhcp which, I'm not even sure how it would be parsed by ifup. ifconfig should tell you if your interface iseven being brought up. Assuming it's coming up and has an ip address, check your /var/dhcp/dhclient.leases file for a routers entry. If you have no routers or 0.0.0.0 listed then your dhcp provider is broken, let them know. Then check your route table for a default route for the rest of the internet. If you do have one something is wrong, report back with that output. If you don't (more than likely) add a default route with: route add default ethWHATEVER to fix the problem until your dhcp providers fix it since you don't know your gateway. You can take a good guess at the gateway by running tcpdump |grep arp, looking for the major arp requestor(s) and setting default route to that host but this isn't the correct way. --mike
Re: Movie players in certain Linuxes , O God !
On Wed, 2001-12-05 at 09:42, [EMAIL PROTECTED] wrote: There are certain movie players in certain Linuxes , that are horrendously pathetic . It is something like this : You see two hands , you hear some sound , and after 5 minutes you see Silvester Stalllone ? What's going on ? Move your hands away from in front of eyes. ; Seriously though, what movie player are you using. What type of processor runs on your computer. What version of linux on which distribution? If your processor is too slow you're not going to be able to get all the frames though this sounds like you're running it on a 386 (5 minutes is a long time to wait). --mike
Re: OT: free cmd is lying to me
On Mon, 2001-12-03 at 03:04, Holger Rauch wrote: Hi Michael! First of all, thanks for your hint! On 2 Dec 2001, Michael Heldebrant wrote: IIRC from the Understanding the Linux Kernel book by O'Reilly, linux doesn't actually worry about memory until you actually use it. I'm not sure if a malloc counts as using it for storing data since I'm no C programmer but unless you actually write to the memory linux doesn't bother setting up the actual pages since it's a waste for the system to make and tear down pages that are never accessed. You mean I actually have to write data to the malloc()ed memory region? I beleive so, if it's just malloced and not used the kernel won't bother making the page until the last second when it's needed for a read or write. I'll go read my kernel book again and report back if thats not the case. --mike
Re: OT: free cmd is lying to me
On Mon, 2001-12-03 at 11:34, dman wrote: On Mon, Dec 03, 2001 at 10:13:43AM -0600, Michael Heldebrant wrote: | On Mon, 2001-12-03 at 03:04, Holger Rauch wrote: | On 2 Dec 2001, Michael Heldebrant wrote: | | IIRC from the Understanding the Linux Kernel book by O'Reilly, linux | doesn't actually worry about memory until you actually use it. I'm not | sure if a malloc counts as using it for storing data since I'm no C | programmer but unless you actually write to the memory linux doesn't | bother setting up the actual pages since it's a waste for the system to | make and tear down pages that are never accessed. | | You mean I actually have to write data to the malloc()ed memory region? | | I beleive so, if it's just malloced and not used the kernel won't bother | making the page until the last second when it's needed for a read or | write. I'll go read my kernel book again and report back if thats not | the case. Read the book? If it is in print, it is out-of-date with recent volatility of the VM system. Though I think you can get a good point-of-reference from your book anyways. Its even possible (likely, I would think) that this hasn't changed (aside from bugfixes and performance improvements). It's true that the underlying structures and algorithms most likely are compeltely different but I think the concept of not making pages until you need them is most likely quite sound in any recent linux kernel now. Though for the definitive answer we could always browse the source. --mike
Re: help: tcpwrappers aren't working!!
On Sun, 2001-12-02 at 12:22, Peter Jay Salzman wrote: begin: Peter Jay Salzman [EMAIL PROTECTED] quote tcpwrappers don't seem to be working for cvspserver. on host satan (64.164.47.8), i have the following wrappers: bad form to reply to your own message, but someone will ask. from inetd.conf: Not really if it's additional information. IMHO. cvspserver stream tcp nowait.40 root /usr/sbin/tcpd /usr/sbin/cvs-pserver Have you restarted inetd after changing your hosts files? Have you also killed any reamining cvspserver processes after reloading inetd? Does cvspserver try and run it's own standalone daemon from any scripts? netstat -atp as root should show that inetd is listening for the cvsperver ports, if it's not then you know it's starting from somewhere else. --mike
Re: GTK+(?) font sizes insanity
On Sun, 2001-12-02 at 13:41, Paul E Condon wrote: I am a newbie. I have just done an install of gnome via dselect of potato. Where is gnome control center? I check in dselect and it says it is already installed, but I can't find it. Does it run from a command line? Must I run as root? It should be under the main gnome menu-programs-settings-Gnome Control Center. You don't need to run it as root. --mike
Re: GTK+(?) font sizes insanity
On Sun, 2001-12-02 at 14:47, Paul E Condon wrote: I guess I am not actually running gnome. I have a windowing environment, but not a panel at the bottom of the screen, as I did have when I was using RedHat. How do I determine what windowing environment I have and how do I change it. dselect says I have already downloaded the gnome stuff, but it appears that something else is what I have running. You're going to need to have something like gnome-session installed (at least for the way I do things) and place the command: exec gnome-session in your .xsession file. Once gnome-session is running it will take care of loading the window manager of your choice (in the control center) and the panel as well as other gnome components and save and reload them as neccessary between sessions. ls -al /etc/alternatives/x-window-manager will tell you the default window manager for the system but you could run your own. ps aux while X is running will tell you what window managers are running on the system, typicals are blackbox, sawfish, enlightenment, fvwm, wmaker. apt-cache search window manager should show everything you could have installed. --mike
Re: Thoughts on RTFM
On Sat, 2001-12-01 at 07:34, Tom Allison wrote: My point is this: If all you ever want is the step by step instructions, that is all you will ever know. diatribe This is more or less the key for me to understanding why other people can't be bothered to read the manual. If it's not in a step by step format for their exact problem they assume somewhere, someone else is to blame for their problems. The real solution is to understand that step by step instructions and example config files are tools to properly comprehend the CONCEPTS and their RELATIONSHIPS to the REQUIREMENTS to solve your PROBLEM. Once you learn what goals need to be accomplished and the steps needed to take them, you don't need step by step instructions anymore. You can map your own route from point A to point B independent of a particular howto. Learning how to absorb massive amounts of Documentation and incorporate the concepts ino your knowledge base is critical to understanding where a particular point A and point B are for undefined problems. Sometimes some people get this very quickly, people like Systems Analysts and Sysadmins usually, others often don't for a long while. The secret is not to know everything, but where to go looking for it. If you can't be bothered to read Documentation, you shouldn't be given control over your own systems. I'm really serious on this point, if you don't want to learn how to fix it right you shouldn't ever try. To the people that say That's why Linux will never be a desktop: I agree, the system is too complicated for most users, especially those who expect and demand that a free product meet their expectations immediately without trying to contribute anything but criticism. There is no one solution or default config, default enabling of unused services is why Red Worm and things spread like wildfire through Windows. Linux can provide solutions to most tasks, you have to understand what those are and why before you can implement them. Of course those who do climb out of the newbie pit often look back and see how obvious the solutions are to their old problems and figure everyone should understand those now simple concepts, thats why I think it's hard to write docs for newbies. It doesn't help that most error messages are a tad bit cryptic to new users and especially ones from Windows who only ever see a blue screen and just shrug and reboot. They've been trained to ignore why the problem happened and not to look for the solutions. Onto the main point of the thread. The RTFM sayers aren't all lumped into the same grouping. I haven't seen all that much of a RTFM one liner to a question much here, we actually care about users here. The other camp is trying to point someone in the right direction usually after providing the solution or a large hint. Self sufficiency as an admin is really the ultimate goal of helping list questions here in my opinion. When I see short questions that are actually answerable by RTFM and it's someone relatively new I quote the FM for them and tell them where I found it, suggestions to use the command apropos to provide clues to the FM etc. On the other hand if it's technical questions by experienced users I recognize I answer them succinctly because I know that the answer will provide understanding to the recpient independent of a lecture. But, if people keep asking the same question after being given an answer, or sometimes two or three that will work, or the answer is RTFMLA (MLA=Mailing List Archives). One ability that needs to be learned is how to search for previous solutions from archives and google. Most questions I have have already been answered somewhere else. It gets annoying to see them same question over and over, and over and over about 2 weeks later when the same issue hits testing from unstable. /diatribe --mike
Re: help: tcpwrappers aren't working!!
On Sun, 2001-12-02 at 14:41, Peter Jay Salzman wrote: mike, thank you! begin: Michael Heldebrant [EMAIL PROTECTED] quote On Sun, 2001-12-02 at 12:22, Peter Jay Salzman wrote: begin: Peter Jay Salzman [EMAIL PROTECTED] quote Have you restarted inetd after changing your hosts files? Have you also killed any reamining cvspserver processes after reloading inetd? i did. and just to make ABSOLUTELY sure, i did the unthinkable. i rebooted after weeks of uptime. *sigh*. i can still access the pserver from belial.ucdavis.edu Does cvspserver try and run it's own standalone daemon from any scripts? netstat -atp as root should show that inetd is listening for the cvsperver ports, if it's not then you know it's starting from somewhere else. cute. i never knew about the p switch. unfortunately, pserver is being run from inetd: Local Address Foreign Address State PID/Program name *:cvspserver*:* LISTEN 178/inetd *:printer *:* LISTEN 182/lpd *:time *:* LISTEN 178/inetd *:finger*:* LISTEN 178/inetd *:sunrpc*:* LISTEN 103/portmap *:x11 *:* LISTEN 276/X *:www *:* LISTEN 211/apache *:ftp *:* LISTEN 178/inetd *:ssh *:* LISTEN 191/sshd *:smtp *:* LISTEN 178/inetd satan.diablo.loca:32771 belial.ucdavis.edu:ssh ESTABLISHED 300/ssh That's ... interesting, have you looked at the output of tcpdchk -v for possible errors in the hosts files? It should also explain in great detail the access control for cvspserver. The only other thing I can think of is to look at syslog for messages relating to inetd, tcpd, and csvpserver. Perhaps a dumb question, but what does your DNS have to say about belials ip address and the reverse lookup? --mike
Re: OT: free cmd is lying to me
On Sun, 2001-12-02 at 14:28, Jason Healy wrote: In order to find out whether this is right, I wrote a small test program that continuously does a malloc() for 10 MB every 5 secs until the system runs out of memory. Strangely enough, it didn't. How long did you run it for? To use up 1.8GB of available RAM would take 15 minutes at the rate you described. To exhaust all system memory (including the 4GB of swap) would take a total of 48 minutes. Did you wait that long? Also, did you run the program as a normal user? The default ulimit probably would have clobbered the process before it could hog that much memory. 1. What could be the cause that size of used mem doesn't increase accordingly when I malloc() 10 MB? Because the system dumps cache in favor of your running process. Linux counts its cache memory as 'in use', so when it drops cache to provide memory to processes, the memory is still reported as 'in use'. The second line of 'free' output, however, should change when you start new processes. 2. Why does free leave the impression on me that no swap space is used? probably because none is =) . 2GB of physical RAM is a lot to exhaust... Hope this helps. If I've misread your question about free (i.e., you know about the buffer/cache thing), then maybe I'm missing something about what's wrong with the system. IIRC from the Understanding the Linux Kernel book by O'Reilly, linux doesn't actually worry about memory until you actually use it. I'm not sure if a malloc counts as using it for storing data since I'm no C programmer but unless you actually write to the memory linux doesn't bother setting up the actual pages since it's a waste for the system to make and tear down pages that are never accessed. --mike --mike
Re: NIC and LAN setup
On Sun, 2001-12-02 at 15:36, Paul E Condon wrote: I am Debian newbie. I have a LAN that was running and is now in need of reconstruction. On the LAN were two Linux boxes and two Macs. The Linux box that provided internet access via ppp has a Netgear fa311 NIC. This card is not supported by potato. I have obtained another NIC, a Linksys LNE100TX, which uses a DEC tulip chip and should be useable with potato. I would like to do just what is needed to configure the potato machine for this card and for LAN networking. I would like to avoid simply running through the complete install process for just this one change (and the consequent configuring of a network interface). How can I do this? You should already have the module for the tulip in your /lib/modules/your-kernel-version/net directory. Adding tulip to /etc/modules will load it on boot for you. Modprobe tulip as root should load it and respond appropriately. If you can't find it: Compile the tulip module from the appropriate kernel sources and install the module. You're going to need to bascially copy your .config file from your running kernel, should be in /boot into the source directory then make sure libncurses5-dev or 4 is installed and make menuconfig or go with the xconfig route (has it's own dependencies tcl/tk etc) to get the tulip module selected. Then just make dep make modules and make modules_install. If you're going this far you should also look into make-kpkg and building your own custom kenels which debian can handle as a package. --mike
Re: Newbie comments queries
On Sun, 2001-12-02 at 16:13, Ian Balchin wrote: OK, OK, OK, I _am_ reading the modem-HOWTO and the wvdial README right now. I can see this is a complex subject. I have installed minicom but can only run from root. When run from user I get: minicom cannot open /dev/ttyS1: permission denied Check the permissions of /dev/ttyS1 with ls -al. It's most likely owned by root with a dialout group. Adding your username to the dialout group with addgroup and logging in again should allow you to use minicom with a normal user(s) of your choice. --mike
Re: routing question
On Tue, 2001-11-27 at 23:39, shock wrote: * nate ([EMAIL PROTECTED]) spake thusly: from the looks of the info you gave machine A and E are on the same hub..the cables seem to work as they can both get to the dsl..so my guess would be theres a incorrect netmask or broadcast address set on either A or E, and the DSL gateway doesn't seem to care. since machine A and E are on the same subnet and on the same hub theres no routing involved ..its just there. here's the /etc/network/interfaces for machine e (debian woody): iface eth0 inet static address 192.168.1.99 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.254 machine a (RH6.2) fires up eth0 and eth1 via /etc/rc.d/rc.local with the following statements: ifconfig eth1 192.168.2.1 netmask 255.255.255.0 broadcase 192.168.2.255 up ifconfig eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255 up route add -net 192.168.2.0 netmask 255.255.255.0 eth1 route add -net 192.168.1.0 netmask 255.255.255.0 eth0 the broadcast / netmask scenario you described (while potentially problematic) seems to be okay. unless i'm overlooking the obvious. either that or you may have firewall rules on one or the other that could be blocking traffic. my guess would be bad broadcast somewhere tho ive had similar problems. machine e has no firewall. machine a contains the following: /sbin/ipchains -A input -j ACCEPT -i eth0 -s 0/0 67 -d 0/0 68 -p udp /sbin/ipchains -P forward DENY /sbin/ipchains -A forward -s 192.168.2.0/24 -j MASQ as further background, i can ssh from a machine on the internet to machine a. also, i can ssh from machines on the 192.168.2.x to machine a. it seems that only machine e (192.168.1.99) can't successfully get to (or see) machine a. What is the default policy for the input and output chains on a. ipchains -L -v -n output will show this. The output of netstat -atp on a would also be helpfull along with the route output from both machines. I assume the broadcase above for eth1 is a typo and not the actual command right? Are you using some sort of dhcp on a with pump? --mike
Re: routing question
On Wed, 2001-11-28 at 11:34, shock wrote: * Michael Heldebrant ([EMAIL PROTECTED]) spake thusly: What is the default policy for the input and output chains on a. ipchains -L -v -n output will show this. [EMAIL PROTECTED] stephen]# /sbin/ipchains -L -v -n Chain input (policy ACCEPT: 3466 packets, 774392 bytes): pkts bytes target prot opttosa tosx ifname mark outsize source destination ports 0 0 ACCEPT udp -- 0xFF 0x00 eth0 0.0.0.0/00.0.0.0/0 67 - 68 Chain forward (policy DENY: 0 packets, 0 bytes): pkts bytes target prot opttosa tosx ifname mark outsize source destination ports 1206 76677 MASQ all -- 0xFF 0x00 * 192.168.2.0/24 0.0.0.0/0 n/a Chain output (policy ACCEPT: 3294 packets, 806120 bytes): The output of netstat -atp on a would also be helpfull along with the route output from both machines. Everything looks ok so far. Routing information is the only thing left that I can think of. [EMAIL PROTECTED] stephen]# netstat -atp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 pappy.exitwound.o:pop-3 calypso.exitwound:44919 TIME_WAIT - tcp0 0 192.168.1.10:pop-3 calypso.exitwound:44918 TIME_WAIT - tcp0 0 *:6010 *:* LISTEN 607/sshd2 tcp0232 pappy.exitwound.org:ssh calypso.exitwound:44912 ESTABLISHED 607/sshd2 tcp0 0 *:smtp *:* LISTEN 409/sendmail: accep tcp0 0 192.168.1.10:www*:* LISTEN 363/httpd tcp0 0 *:mysql *:* LISTEN 359/mysqld tcp0 0 *:ssh *:* LISTEN 291/sshd2 tcp0 0 *:pop-3 *:* LISTEN 282/inetd tcp0 0 *:pop-2 *:* LISTEN 282/inetd You are listening on both cards in theory for sshd2. Can a get a ping response from e? I assume the broadcase above for eth1 is a typo and not the actual command right? actually, that wasn't a typo. it's been corrected. thanks. Are you using some sort of dhcp on a with pump? Nope. All of that is handled through the DSL modem/router. I just simply set the default gateway to point to it. Why do you have a hole in your firewall for the dhcp information then? If it's all internal to the modem (meaning you never change ip's ever) you may want to remove that from the firewall. --mike
Re: routing question
On Wed, 2001-11-28 at 14:21, shock wrote: * Michael Heldebrant ([EMAIL PROTECTED]) spake thusly: Everything looks ok so far. Routing information is the only thing left that I can think of. any specific flags i should be passing the route command? here's a brief one: [EMAIL PROTECTED] stephen]# /sbin/route -ee Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface MSS Window irtt 192.168.2.0 * 255.255.255.0 U 0 00 eth1 0 0 0 192.168.2.0 * 255.255.255.0 U 0 00 eth1 0 0 0 192.168.1.0 * 255.255.255.0 U 0 00 eth0 0 0 0 192.168.1.0 * 255.255.255.0 U 0 00 eth0 0 0 0 127.0.0.0 * 255.0.0.0 U 0 00 lo 0 0 0 default cayman.exitwoun 0.0.0.0 UG0 00 eth0 0 0 0 This is interesting. You have duplicate routes, which I don't think is a problem. I am guessing that the problem must be on the interfaces on the debian machine. What does ifconfig on the debian machine show? Your previous email had no auto eth0 line in your /etc/network/interfaces listed nor a lo stanza. Perhaps the interface is just not up? --mike
Re: routing question
On Wed, 2001-11-28 at 17:02, shock wrote: * Michael Heldebrant ([EMAIL PROTECTED]) spake thusly: I am guessing that the problem must be on the interfaces on the debian machine. What does ifconfig on the debian machine show? # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:C0:F0:57:C9:AF inet addr:192.168.1.99 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2827 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:228510 (223.1 Kb) TX bytes:0 (0.0 b) Interrupt:10 Base address:0x7000 # route -ee Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface MSS Window irtt localnet* 255.255.255.0 U 0 00 eth0 400 0 default 192.168.1.254 0.0.0.0 UG0 00 eth0 400 0 the interface /is/ up, because i can successfully gateway to the DSL modem. i just can't see 192.168.1.10 on machine a and machine a can't see this box. I'm all out of ideas other than these guesses. 1. Try taking the DSL modem off the hub for a bit and retest connectivity. All packets destined for the 192.168.1.0 network may be going to 192.168.1.254 as the gateway, meaning that e is expecting the dsl modem to route it. This would lead to: 2. Add static routes to each machine for the other ie: on a route add -host 192.168.1.99 dev eth0 on e route add -host 192.168.1.10 dev eth0 I'm confused at this point, hopefully some other networking guru can step in and solve this. --mike
Re: ssh2 client for debian 2.2r4?
On Wed, 2001-11-28 at 20:43, Patrick Hsieh wrote: Hello list, Since the ssh package for Debian 2.2r4 is 1.2.3-9.3, is there ssh2 client for debian? I'd like to connect to other servers with ssh2 daemon. The woody and sid version of ssh support version 2. The list has discussed compiling ssh 1:2.9p2-6 into potato elsewhere in the list IIRC. --mike
Re: klogd
On Wed, 2001-11-28 at 12:51, Gabor Gludovatz wrote: Hi, could someone please tell me how could I get klogd not to log every event to the console as well? syslog logging would be enough, but I haven't found any switch or configuration parameter... syslog.conf is set up correctly and if I kill klogd, there are no kernel messages on the console.. and no kernel messages in the syslog either :) help! :) The man page for klogd around line 111 is exactly what you want: The klogd daemon also allows the ability to alter the pre sentation of kernel messages to the system console. Con sequent with the prioritization of kernel messages was the inclusion of default messaging levels for the kernel. In a stock kernel the the default console log level is set to 7. Any messages with a priority level numerically lower than 7 (higher priority) appear on the console. Messages of priority level 7 are considered to be 'debug' messages and will thus not appear on the console. Many administrators, particularly in a multi-user environment, prefer that all kernel messages be handled by klogd and either directed to a file or to the syslogd daemon. This prevents 'nuisance' messages such as line printer out of paper or disk change detected from cluttering the console. When -c is given on the commandline the klogd daemon will execute a system call to inhibit all kernel messages from being displayed on the console. Former versions always issued this system call and defaulted to all kernel mes sages except for panics. This is handled differently nowardays so klogd doesn't need to set this value anymore. The argument given to the -c switch specifies the priority level of messages which will be directed to the console. Note that messages of a priority value LOWER than the indicated number will be directed to the console. For example, to have the kernel display all mes sages with a priority level of 3 (KERN_ERR) or more severe the following command would be executed: klogd -c 4 The definitions of the numeric values for kernel messages are given in the file kernel.h which can be found in the /usr/include/linux directory if the kernel sources are installed. These values parallel the syslog priority val ues which are defined in the file syslog.h found in the /usr/include/sys sub-directory. /etc/init.d/klogd even has a KLOGD variable suitable for passing the -c argument. I'd read up on the values in the kernel.h file to determine at what level you wish to stop logging to console. Manpages are your friends. --mike
Re: strange log messages - inetd
On Tue, 2001-11-27 at 03:31, Roger Keays wrote: Hi all, Has anybody seen this message in their /var/log/syslog? Nov 27 19:10:59 bilby inetd[31178]: /usr/sbin/tcpd: exit status 0x1 Nov 27 19:10:59 bilby nmbd[3012]: connect from 192.168.0.6 Nov 27 19:10:59 bilby inetd[31178]: /usr/sbin/tcpd: exit status 0x1 Nov 27 19:10:59 bilby nmbd[3013]: connect from 192.168.0.6 Nov 27 19:11:00 bilby inetd[31178]: /usr/sbin/tcpd: exit status 0x1 Nov 27 19:11:00 bilby inetd[31178]: netbios-ns/udp server failing looping), service terminated The message from tcpd is repeated many times. I am using Debian Woody, and restarting samba or inetd has no effect on these messages. Samba still seems to work correctly from the remote machine, but nmbd seems to be returning an error!? The entry in /etc/inetd.conf looks like this: .. netbios-ns dgram udp waitroot/usr/sbin/tcpd /usr/sbin/nmbd -a I get this occasionally. I've never been able to diagnose the problem short of nmbd going nuts and trying to spawn over 100-200 processes. Check your /var/log/samba/log.nmbd for anything usefull other than looping and failing stuff, maybe you'll get lucky and find out why it goes crazy. I can fix it with a killall nmbd followed by restarting inetd by an /etc/init.d/inetd restart has usually been sufficient to cure the symptoms but not the disease. Do you have a wins server assigned for your network? --mike
Re: Installing problem with Woody 3.0
On Tue, 2001-11-27 at 02:42, Lorenzo De Vito wrote: After installed Woody 3.0 I've always a problem... every 4-5 minutes these strings appears on my screen: Neighbour table overflow Neighbour table overflow Neighbour table overflow Neighbour table overflow Check to make sure your loopback interface is up and running with ifconfig. If it isn't make sure that your /etc/network/interfaces file contains these following lines preceding whatever eth stuff you have: auto lo iface lo inet loopback then run ifup lo to bring it up. Also make sure that 127.0.0.1 in your /etc/hosts has at least localhost to the right of it. --mike
Re: System Time Problems.
On Tue, 2001-11-27 at 17:21, Nick Jennings wrote: Hello, For some reason our Debain server thinks the BIOS clock is set to UTC, when it is really set to local time (PST). So when I set the timezone to Pacific/US, it offsets, based on the BIOS time, -8, making the system 8 hours behind. How do I change the settings that tell the system what the BIOS clock is set to. The only time i remember this question being asked is during the install process. Stolen from the tzconfig manpage (apropos time made me go looking here got lucky with my first shot). The Debian GNU/Linux system gains its knowledge of this setting from the file /etc/default/rcS. This file con tains either the line UTC=yes, which indicates that the hardware clock is set to UTC, or it contains the line UTC=no, which declares the hardware clock is set to Local Time. If these setting are correct, and the hardware clock is truely set as indicated, then configuring the proper timezone for the machine will cause the proper date and time to be displayed. If these are not set correctly, the the reported time will be quite incorrect. See hwclock(8) for more details on this topic. Running /etc/init.d/hwclockfirst.sh restart should correct the clock once you update the file. I don't know what package to reconfigure with dpkg to do this. Perhaps someone more enlightened can answer that. --mike
Re: multithreading sounds
On Mon, 2001-11-26 at 02:38, Stephen Gran wrote: Thus spake Martin Kacerovsky: Try killing the root esd process and letting it auto spawn (and die) for your user accounts. That means that I don't run anything and it should work? i've tried it and it didn't work, (mp3blaster don't start any daemon ) i haven't found any manpage to esd.conf, can you tell me which lines be there and which shouldn't my esd.conf: [esd] auto_spawn=1 spawn_options=-terminate -nobeeps -as 2 spawn_wait_ms=100 Mike - esd is usually run as a daemon that allows other programs to acces the sound hardware, like gnome or xmms. try running two programs that use esd at the same time and see what happens. If you don't use X, I don't think esd will do you a whole lot of good in this respect, though. Steve -- I've had good success with both mpg123-esd and festival (when it worked with esd ... haven't checked lately) being run from different consoles as the same user and outputting sounds at the same time. In X I also use xmms and xmame which are both esd aware with no problems. As long as the program is esd aware it's worked for me. You can also hack it by sending your sound programs output to standard out and reroute that into esdplay so it becomes esd compatible. --mike
Re: port 25 disabled?
On Mon, 2001-11-26 at 14:47, Joe M Mar wrote: I am using Exim and I am able to send messages but not able to receive them. I can telnet to port 25 locally but I can't from a remote computer. I think this is the problem as to why I am unable to recieve email. I wonder how i can enable this. Documentation only relates to enabling smtp on inetd but it is alredy enabled... Please help.. What does inetd.conf and hosts.allow and hosts.deny have in them (all in etc)? You may be blocking external hosts with tcp wrappers. --mike
Re: mp3 encoding
On Mon, 2001-11-26 at 15:03, jennyw wrote: I searched old messages and learned that mp3 encoders are not included in Debian is because of some patent issues, but ... Has something changed? I did notice some mp3 stuff in the debian packages list. If things haven't changed and I'm misunderstanding something I saw, how can there be so many free mp3 encoders out there? Are they all violating a patent? Or are mp3 encoders not included in Debian because the law is vague? Assuming I'm not breaking any laws here, any suggestions on how to get MP3 encoders for Debian Woody? I use lame, www.sulaco.org/mp3 is where to find it. I've had no complaints with it, fast and sounds good to my ears, YMMV. Go grab the source and follow the build instructions after you unpack it in a suitable place. --mike
Re: port 25 disabled?
On Mon, 2001-11-26 at 15:21, Joe M Mar wrote: Just the configuration it had after a fresh install. I did not touch any settings because they were working pretty good. What does inetd.conf and hosts.allow and hosts.deny have in them (all in etc)? You may be blocking external hosts with tcp wrappers. --mike So there is the ALL: PARANOID directive in hosts.deny. Exim runs from inetd.conf with this line: #:MAIL: Mail, news and uucp services. smtpstream tcp nowait mail/usr/sbin/exim exim -bs netstat -atp |grep smtp shows (as root): tcp0 0 *:smtp *:* LISTEN 19551/inetd Do these hosts you are connecting from have both forward and reverse DNS records? This would block them with a line in /var/log/daemon about refused connections. If there are no such logs then @home may just disallow port 25 incoming. --mike
Re: mp3 encoding
On Mon, 2001-11-26 at 17:46, nate wrote: William T Wilson said: On Mon, 26 Nov 2001, nate wrote: i use l3enc for encoding(very slow but good quality), i found a serial# for it a few years ago(i can't find a way to buy it) and i use Although l3enc is the only legal encoder I know of that runs on Linux, I wouldn't necessarily say it has the best quality, except at very low bitrates. I've heard that LAME is the best quality encoder at normal (128-256K) bitrates. I do not know which encoder is best for variable bitrate. yeah. i originallly started using it because i encoded stuff at 32kbps/96kbps for my rio. when i last tried lame(~2 years ago) it sounded weird(music was not stable, hard to describe it sounded wobbly). im not concerned too much about quality(unlike some who insist on 192kbps or something), but that was far from usable at the time, sort of like playing a tape in a screwed up cassette deck. at the time, l3enc sounded better at 32kbps then some other encoders(maybe lame too) at 96kbps. the key for me though is mp3make. i've tried several X based CDA-MP3 converters in the past, KDE based, gnome based(can't remember names off the top of my head) and all of them had severe problems for me, crashing, or wouldn't encode or i couldn't figure out the advanced options. as of the current version it doesnt seem as if mp3make supports lame out-of-the-box. thought it did ...runs on 8hz-mp3, l3enc, mp3enc, or bladeenc. Try abcde, it's console based but pretty good in my opinion. Does cddb querying and editing, id3 tagging, ripping and encoding through the programs of your choice. --mike
Re: port 25 disabled?
On Mon, 2001-11-26 at 17:48, Joe M Mar wrote: At 04:08 PM 11/26/01 -0600, you wrote: The output is: tcp0 0 *:smtp *:* LISTEN 263/inetd The difference is 'LISTEN 263 as opposed to what you said LISTEN 19551. Anything wrong with my output? Nope thats the pid of inetd listening to the port. It appears you are set up to receive mail on your machine directly. Does cat /var/log/daemon |grep refuse show anything usefull about exim refusing requests to connect? For instance my machine loves people from france trying to get to my ftp daemon, I get like 20 of these a week, 70-80% from france. Nov 25 15:51:55 richese proftpd[7332]: refused connect from AAmiens-101-1-4-7.abo.wanadoo.fr Nov 26 00:51:32 richese proftpd[10137]: refused connect from APlessis-Bouchard-101-1-5-213.abo.wanadoo.fr As an aside, people blindly searching for things like this annoy me so I set my tcpd to modify my ipchains rules to immediately deny all incoming packets from anyone foolish enough to scan. This is in addition to a good set of ipchains rules. A line in hosts.deny like follows will block people like this ALL: ALL: spawn (/sbin/ipchains -I input -y -s %a -j DENY -l -p tcp) Just be SURE to modify your hosts.allow rules for your hosts and services. That and check your firewall rules now and again to clean them out. --mike
Re: multithreading sounds
On Thu, 2001-11-22 at 03:26, Martin Kacerovsky wrote: Hi , can you advice me how to get it working? I've done : o install packages esound, esound-common, esound-clients Yes. o run esd as root No. esd will run automagically for each user that manages to get access to the sound hardware. root will block your user accounts from getting it. x but when i run e.g. mp3blaster it says failed to open audio device (ususal if other program locks /dev/dsp) x imho the documentation is very poor Try killing the root esd process and letting it auto spawn (and die) for your user accounts. --mike
Re: Unidentified subject!
On Sun, 2001-11-25 at 17:41, Shawn Lamson wrote: hi all - after ruining gnome in an attempt to install a font translator (ttf2pt1) i decided to overhaul anyway, tried ximian gnome ; had panel errors gazou; decided to wipe ximian out, which meant uninstalling just about every gnome related package, so i decided to go from my beginner's potato to a woody install... i did the presumably standard apt-get dist-upgrade and muddled my way through a few errors until it looked like everything went in. ( i am logged in remotely so i cant run X)... but i still see that on my last run of apt-get it still says the following about packages not upgraded... 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 87 not upgraded. This means that 87 packages are not fully installed. Re run apt-get update and apt-get dist-upgrade and post the errors that occur to the list so we can help you work through them. You can also try apt-get -f dist-upgrade to force the apt-get to continue. In my experience you can keep going until you get down to the final packages that won't install. --mike
Re: suspending a pid
On Sat, 2001-11-24 at 08:31, martin f krafft wrote: hi all, given a PID of a process that hasn't been started from a terminal, is there anyway i can suspend it? i am root, and init started process x, is there a way that i can suspend x at any point during normal operation, and also to unfreeze it again? I think a kill -STOP PID and a kill -CONT PID will allow you to do what you want. STOP is a nonblockable signal according to the kill man page so this should work regardless of the antisuspend intelligence of a process. --mike
Re: ssh without password for secvpn
On Wed, 2001-11-21 at 10:51, Ben Hartshorne wrote: On Tue, Nov 20, 2001 at 12:27:53PM -0600, Brooks R. Robinson wrote: Greetings, I am trying to set up the secvpn package between two boxes (one potato, one woody). I have the secvpn.conf figured out, no problem. My problem is a little more basic. I can't get ssh to connect without a password. On both boxes, I did a 'ssh-keygen' which created my '.ssh/identity' and '.ssh/indentity.pub'. I swapped the '.ssh/indentity.pub' to '.ssh/authorized_keys' to each machine. This is the right set of files to swap for ssh v1 or 1.5 I try to connect and I am still asked a password. I've tried it with both empty passphrases and obnoxious passphrases, and I get the same result (password not passphrase). I've muddled thorough the man pages for ssh and the vpn-howto, but I seem to be missing the final bit that makes it work. Is my problem that I am using a mix potato and woody, or am I just missing some configuration. Potato and woody install different versions of ssh by default. Potato installs a version of ssh (1.2.3-9.3) that defaults to using protocol v1.5 (I don't remember if it supports 2). Woody installs a version of ssh (2.5.2p2-3) that defaults to protocol v2, and it does support v1.5. If you're connecting from the potato box to the woody box, it should work with the identity and authorized_keys. Connecting from the woody box to the potato box, you need to run ssh -1 in order to force it to use protocol v1.5. The other solution is to force both to use protocol v2, but then you need different key files. They're no longer identity, identity.pub, and authorized_keys, but I havn't learned yet what they are. I should probably do that soon... sshkeygen -t rsa or sshkeygen -t dsa on the local computer will create an id_rsa.pub and id_dsa.pub which can be placed in the remote computer's authorized_keys2 file to allow passwordless logins. --mike
Re: You don't exist. Go away.
On Wed, 2001-11-21 at 15:09, nate wrote: Andre Berger said: access (I can ping IP addresses, they are not resolved). The You don't exist. Go away. message appears when I try to issue while i haven't experienced this myself under normal circumstances .. i have had it when trying to ssh in a chroot enviornment. turns out ssh or openssh(or both?) requires a entry for the userid running ssh in /etc/passwd without one it spits back you dont exist! go away!. have had the same error on win32 with SSH without a /etc/passwd so my best reccomendation would be to check to be sure /etc/passwd is there and is not curropted and has an entry for the UID your using to do tasks. I've seen this error once before on my firewall system which had been clogged with a looping nmbd problem. I couldn't get a login to work, it gave me the exist error. Luckily I still had a tty logged in so I could try and kill most of the processes and reboot. I figured the system couldn't open any more files. Never have had it happen again, so far. --mike
Re: downloading with apt-get --download-only install package
On Wed, 2001-11-21 at 03:19, Vineet Kumar wrote: * Michael Heldebrant ([EMAIL PROTECTED]) [011120 12:17]: On Tue, 2001-11-20 at 11:56, Michael A. Miller wrote: sed -e s/'\$//|sed -e s/'// Strips them both off, but the last version of the sed command only strips the first ' off and trying to combine them isn't working for me with (|) syntax. Maybe a regexp or sed guru could give me a pointer. IANAG, but I can give a few pointers. At a shell prompt, you can remove the single quotes from stdin in this situation in a couple of ways: | sed -e s/'\(.*\)'/\1/ Just to make sure I grok this fully: We're splitting the line into a beginning ', the matching regexp pattern of any character as many times as we want, followed by a closing '. Then we strip the ' by just substituting the regexp matched portion with the \1 argument. I still don't quite understand why the syntax I was using wasn't working but this is my first foray into sed. I had assumed sed would match any and all ' and replace them with null. Or does the regexp syntax stop with the first match per line? That removes the ticks from the first single-quoted expression in a line. Simpler still (to just remove any ticks): | tr -d ' This is the simpler solution I see now. But I think learning sed is more usefull in the long run for other text trickery. for your particular case, though, to just avoid having to use a temp file, and given that it doesn't complain about getting single quotes anyway, just tell wget to read from stdin by specifying - as its input file: apt-get install $yourpackages --print-uris -y --reinstall | tail +5 | awk '{print $1} | wget -i - Slightly complicated command line but it gets the job done. Perhaps this functionality can be integrated into apt as a --redownload switch or something. Worth filing a wishlist bug against it? --mike
Re: Virus incident
On Wed, 2001-11-21 at 16:04, DvB wrote: God, I wish YODA would stop sending this crap :-( Actually, I wish [EMAIL PROTECTED] would fix his machine. --mike
Re: terminals - tty
On Wed, 2001-11-21 at 15:37, madhombre wrote: I was wondering if there was anyway of running commands on different ternimals on startup I use my debian laptop to as a client and also to monitor my 2 servers, can I auto ssh into the servers on tty2 and tty3, maybe even do shutdown command on all three (order has to be correct!) I'm not sure what you mean my order has to be correct but you should be able to run any command you want on any terminal you want by changing your /etc/inittab file. Changing for example: default inittab portion: 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6 New inittab portion: 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:once:ssh server1 6:23:once:ssh server2 Should spawn a ssh on tty5 and tty6 once each boot (assuming you boot into level 2 or 3, or just put boot instead of once if neccessary) to your servers on those terminals. Man inittab is quite usefull to read. I'm unclear on what you mean by do shutdown command on all three. Set up passwordless logins for ssh (ssh-keygen -t rsa and copy the id_rsa.pub to your servers authorized_keys2). You could create a script from the /etc/init.d/skeleton as a template in the /etc/init.d directory that is run at runlevels 0 and 6 that essentially runs ssh server1 shutdown -h now ssh server2 shutdown -h now then insert it into your notebook's rc scripts with: update-rc.d yourscript stop 05 0 6 the 05 is to make sure it's run before the firewalling is changed or networking is taken down etc. I'm not sure this is a good idea to kill your servers every time the laptop reboots but it's what you asked for. --mike
Re: Debian rescue disk replaced kernel
On Tue, 2001-11-20 at 11:38, Daniel Serodio wrote: Heh, been there. After 2 days trying, I gave up, installed the base system using 2.2.17-reiserfs (from http://chao.ucsd.edu/debian/boot-floppies/), and upgraded to 2.4.x afterwards (add deb http://people.debian.org/~bunk/debian potato main to apt.sources, apt-get dist-upgrade). I think maybe syslinux, init or something in the boot disks is not compatible with 2.4.x. If you do find a fix, please email me. Hope that helped. Speaking of 2.4 bootdisks, has anyone ever gotten BOOTP or DHCP NFS root to work? I've had no luck, I've tried the rdev trickery on a raw floppy as specified in the nfs-root in the docs, proper parameters for both lilo and syslinux. A 2.2 kernel created for the FAI package works fine. --mike
Re: downloading with apt-get --download-only install package
On Tue, 2001-11-20 at 11:56, Michael A. Miller wrote: I'd like to download a selection of packages for machine A that is on a slow connection. So I made a list of what I want and went to machine B, which has a fast connection, and used apt-get --download-only install package. This didn't work for packages that are already installed on machine B because apt-get saw them as already up-to-date. Can anyone tell me if there is a way to force apt-get (or any other tool) to download a package regardless of it's status on the machine from which it is being downloaded? I could do this easily with wget if I knew a way to automatically find the url for a package, based on my sources.list. Any ideas on that? Perhaps you could try this: export yourpackages=yadda yadda apt-get install $yourpackages --print-uris -y --reinstall |tail +5|awk '{print $1}' aptfile wget -i aptfile I've built this on the fly with some debugging, let me know if you have problems with it. I'm having a bit of trouble getting sed to strip off the single quotes due my inexperience with regexps on the command line and what needs to be escaped from bash etc. I've totally confused myself so I went with the file way, wget seems to understand the single quotes. sed -e s/'\$//|sed -e s/'// Strips them both off, but the last version of the sed command only strips the first ' off and trying to combine them isn't working for me with (|) syntax. Maybe a regexp or sed guru could give me a pointer. --mike
Re: Kernel
On Tue, 2001-11-20 at 14:11, Denis wrote: Magellano:/usr/src/kernel-source-2.2.12# make menuconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/kernel-source-2.2.12/scripts/lxdialog' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C=curses.h -c lxdialog.c -o lxdialog.o In file included from lxdialog.c:22: dialog.h:29: curses.h: No such file or directory make[1]: *** [lxdialog.o] Error 1 make[1]: Leaving directory `/usr/src/kernel-source-2.2.12/scripts/lxdialog' make: *** [menuconfig] Error 2 Magellano:/usr/src/kernel-source-2.2.12# Help me!!! apt-get install libncurses5-dev I'd also recommend kernel-package as well. --mike
Re: dhcp-client help (more information)
On Mon, 2001-11-19 at 14:03, D. wrote: Hi all, I have installed dhcp-client. My /etc/network/interfaces is: auto lo iface lo inet loopback iface eth0 inet dhcp I have made the files in /etc/network/ifup and ifdown and they each have in them eth0. I have a /var/dhcp/dhclient.leases. The /etc/resolv.conf is there and once I get connected it is right. My problem is that my system will not get a ip address by itself. I have DHCP at work and home. I have to do dhclient eth0 to get connected. I have searched everywhere that I can think of for a answer, to no avail. What am I missing, any and all help is appreciated. Thanks Don Here is some more information that you might need. I'm running Woody using a 2.4.12 kernel. When I log in and out I see this message also: xfsdevice eth0 entered promiscuous mode, and the device eth0 left promiscuous mode. Don I think adding auto eth0 into your network interfaces file before the iface eth0 stanza should bring it up automatically for you. I'm confused as to what you did when you say you made the files in /etc/network/ifup and so forth. You don't need anything else other than the dhcp directive in interfaces. The command ifup eth0 will work if you don't want to do this automatically. Not sure about your promiscuous mode messages, this would indicate somewhere in your startup scripts on the system /etc/profile, /etc/bash.bashrc or something in a user directory is setting eth0 into promiscuous mode look around for something like snort, or an ifconfig eth0 up promisc or something. --mike
Re: Mouse scrolling with xserver-xfree86 v4
On Tue, 2001-11-20 at 14:31, [EMAIL PROTECTED] wrote: Hi. I have installed a new video card with a new xserver-xfree86 v4. I had version 3 before. Everything works fine accept for the mouse scrolling. I have gpm daemon running just like before. My mouse is a simple logitech with 2 bottons and a clickable wheel. Did I pick a wrong mouse type at dpkg-reconfigure xserver-xfree86 ? Or is there something new in xfree86 v4 that I'm not aware of ? Make sure gpm is repeating raw or disable it entirely. Then in your XF86Config-4 file under your mouse section add: Option Buttons 5 Option ZAxisMapping 4 5 you will have to find the correct protocol for your mouse if does not follow IMPS/2 protocol. --mike
Re: UPS hardware and software
On Tue, 2001-11-20 at 09:58, Charles Baker wrote: What brands of UPS's do you all use? What software do you use on your debian boxen to interface with the UPS? I've never had a problem with APC Smart-UPS. I use nut to talk to the ups over the special serial cable. The nut-doc package has a way to build your own instead of spending 30$ for it. --mike
Re: dhcp-client help
On Tue, 2001-11-20 at 09:59, D. wrote: Thanks for the help on this. This is what my /etc/network/interface looks like now auto lo eth0 iface lo inet loopback iface eth0 inet dhcp When I did the auto eth0 on the same line I got the error unable to configure auto=auto. When I did it in a seperate line it would not configure. Anyway it now works at my office, just need to check it at home, but it should work there also. Try: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp --mike
Re: /dev/hda is not a valid block device
On Tue, 2001-11-20 at 10:18, nate wrote: Pollywog said: Yesterday, I attempted to mount the CDROM and I got: /dev/hda is not a valid block device. I have not changed /etc/fstab or my kernel config options, and I had no problems until yesterday. I am not sure just how long the drive has been unmountable, though. I was using kernel 2.4.12 and last night I upgraded to 2.4.13 but the problem still exists. Anyone have ideas on where I should look? check dmesg. it will say what device the cdrom was detected as if there was a cdrom detected. just run 'dmesg | more' Also check that ls -al /dev/hda shows a valid block device with the correct major and minor numbers (3, 0). Check that /proc/devices has 3 ide0 in it. Check that you have the correct cdrom filesystems compiled. --mike
Re: Serve DHCP on a machine with 1 nic?
On Tue, 2001-11-20 at 14:39, Bruce Z. Lysik wrote: Hi folks, I have a machine with a static IP, on a network, plugged into a hub. This box only has one nic. I'm trying to create an internal network on 192.168.1. for other machines plugged into that same hub. What I'd like to do is have the machine act normally on eth0, but act as a gateway (NAT?) and DHCP server for machines on the 192.168.1.* network on eth0:0. Can anyone give me some pointers for this? I've tried first defining the alias: ifconfig eth0:0 192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0 up route add -net 192.168.1.0 dev eth0:0 Then I defined my dhcp.conf: # option definitions common to all supported networks... option domain-name something.net; option domain-name-servers dns ip here; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.254; # not sure if this is correct default-lease-time 600; max-lease-time 7200; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; } And then I was trying to use gShield to set up iptables to do the NAT. Unfortunately it didn't appear to like ip aliasing. At one point I was /very/ close. A laptop I had was getting an IP via DHCP, but it couldn't get anywhere. Any help is greatly appreciated. Have you tried binding your dhcpd server to the eth0:0 interface (I'm still looking for the elegant way) by adding the interface name in the init.d/dhcp file after dhcpd: __ ie --exec /usr/sbin/dhcpd eth0:0 -- -q where appropriate? This sounds more like an iptable problem. Perhaps the firewall config posted to the list would help an iptables guru debug it. I'm still an ipchains user at the moment. --mike
Re: network card problem
On Tue, 2001-11-13 at 08:34, Richard Weil wrote: You don't happen to remember the name of the utility do you? I found a few possible suspects on the 3com website -- I'm not sure which of them, if any, will do the job. Thanks. snip It's the disk with the dos drivers for the 3com 3c509x cards. I ran the exe on a windows machine to get the files out of the archive (perhaps an lha archive tools will do it as well without windows) and copied it onto a floppy. The 3c5x9cfg.exe tool is run after I boot with a win98 boot disk to confg the cards. If you can't find it shoot me an email again and I'll try to email it to you. --mike
Re: xinetd refuse connect
On Mon, 2001-11-12 at 11:43, Brian P. Flaherty wrote: Michael Heldebrant [EMAIL PROTECTED] writes: On Sun, 2001-11-11 at 12:16, Brian P. Flaherty wrote: Hello, I am trying to run an rsync server from xinetd. I have a desktop connected via eth0 to a DSL line and eth1 connected to a little hub. My laptop is on the hub too. When I start the rsync server from the prompt, I can access it from my laptop just fine (on the internal network). But, when I run it from xinetd, I get this message in my daemon.log: Nov 10 14:48:25 localhost xinetd[2468]: warning: can't get client address: Invalid argument Nov 10 14:48:25 localhost xinetd[2468]: refused connect from no address This message appears 10 times and then rsyncd is deactivated because of looping. In what form or from where is xinetd asking for identification and what is my laptop failing to provide? I thought it might be related to ident, but all those services are running on my laptop. I checked the xinetd docs and webpage, but did not see anything related. When searching google groups, someone had a similar problem with linuxconf running from xinetd, but there were no solutions posted. Thanks for any suggestions. Have you looked in your /etc/hosts.allow and /etc/hosts.deny for possible rejections (most likely a PARANOID directive is stopping your connection)? Does /var/log/messages (or syslog) have anything to say about this? --mike In an effort to test this, I commented out everything in hosts.allow and hosts.deny, so I believe this will allow everything in. Then when I try to connect to rsync --daemon started in xinetd, I get these interesting messages in daemon.log, servicelog, and syslog/messages. Here is the part of syslog: Nov 12 12:28:05 localhost xinetd[22066]: warning: can't get client address: Invalid argument Nov 12 12:28:05 localhost rsync[22070]: warning: can't get client address: Invalid argument Nov 12 12:28:05 localhost rsync[22070]: connect from unknown The laptop just sits there waiting for some response from the desktop. [daemon.log says the same thing] And then in servicelog, it indicates that rsync starts from no address: 01/11/[EMAIL PROTECTED]:28:05: START: rsyncd pid=22070 from=no address What is interesting here, is that I can telnet and ftp from the laptop to the desktop and my laptop's ip are determined. Both ftp and telnet are started by xinetd too. So, for some reason, the address is not getting to rsync. Could this mean that there is a problem in rsync or in my configuration? Later, when I restart xinetd to try again, this message appears in syslog when xinetd stops and starts: Nov 12 12:37:42 localhost xinetd[22066]: Exiting... Nov 12 12:37:43 localhost xinetd[22158]: bind failed (Address already in use (errno = 98)). service = rsyncd I think bind failed error indicates that rsyncd is still running. You can kill the process and then retry to connect. I have no clue why it keeps getting no address. Does your rsyncd have any special care and feeding instructions in the /usr/share/doc/rsyncd about inetd/xinetd issues? --mike
Re: Frustration (cablemodem woes)
On Sun, 2001-11-11 at 00:26, Michael Patterson wrote: Ok, I'm totally frustrated. To bring anyone who doesn't know up to date: My previous service was wantweb. I was given a static IP address, upon which I set up a debian (potato) box. I used IP masquerading to connect all my windows boxes to it (for game playing, you know). Now I find that the company is going under. enter the cablemodem. I have cablemodem service with Adelphia cable. ( @home). it works beautifully when I hook up a single windows machine to it, using DHCP. When I hook up my linux box to it, I get terrible performance, and eventually my connection to the cablemodem fails. I can get the connection back by powercycling the cablemodem. I'm using dhcp-client. DHCP appears to be working find after changing my /etc/networks/interface to: iface eth0 inet dhcp hostname leasehours 1 leasetime 3600 ifconfig verifies that I have an IP address, etc. (and, as I said earlier, the connection works fine, but with poor performance, and eventually dropping.) When the connection stops working, ifconfig reports the same IP, etc, but starts reporting drops. switchig to a static address, using what DHCP gave me still gives the same results. I'm finding this EXTREMELY difficult to debug, since it isn't an out-and-out failure. The cablemodem howto isn't much help, either. Any help would be appreciated. --Mike Do you have a firewall in place? I found out about two issues in my struggles. I found that without /proc/sys/net/ipv4/dynaddr set to 1 my second and future dhcp requests would try and go out the eth1 static internal card which was being blocked from sent by my firewall (source=adaptor anti-spoofing rules etc). I also found that my cable modem keeps sending me IGMP multicast packets that if I blocked the service would get flaky, at least as far as I recall. Albiet that this was with pump that had it's own set of problems but I have charter @home working almost perfectly with dhcp-client. My current setup still requires rebooting the modem (and perhaps not the pc next time, have to try that) on occassion but otherwise works very well. --mike
Re: Message fron chron: cannot get ip address for localhost
On Sun, 2001-11-11 at 13:31, Cheryl Homiak wrote: problem snipped since all relevance is right here below My /etc/hosts contains the following: 127.0.0.1 maranatha This is most likely the root of your problems. Your computer can't find any reference to the localhost. Change this to: 127.0.0.1 localhost or 127.0.0.1 localhost maranatha Additionally: if you have a static ip for your computer put that ip in /etc/hosts with your machine name, and check/edit /etc/hostname to make sure it's your machine name. --mike
Re: xinetd refuse connect
On Sun, 2001-11-11 at 12:16, Brian P. Flaherty wrote: Hello, I am trying to run an rsync server from xinetd. I have a desktop connected via eth0 to a DSL line and eth1 connected to a little hub. My laptop is on the hub too. When I start the rsync server from the prompt, I can access it from my laptop just fine (on the internal network). But, when I run it from xinetd, I get this message in my daemon.log: Nov 10 14:48:25 localhost xinetd[2468]: warning: can't get client address: Invalid argument Nov 10 14:48:25 localhost xinetd[2468]: refused connect from no address This message appears 10 times and then rsyncd is deactivated because of looping. In what form or from where is xinetd asking for identification and what is my laptop failing to provide? I thought it might be related to ident, but all those services are running on my laptop. I checked the xinetd docs and webpage, but did not see anything related. When searching google groups, someone had a similar problem with linuxconf running from xinetd, but there were no solutions posted. Thanks for any suggestions. Have you looked in your /etc/hosts.allow and /etc/hosts.deny for possible rejections (most likely a PARANOID directive is stopping your connection)? Does /var/log/messages (or syslog) have anything to say about this? --mike
Re: AC97 Sound Problems
On Sun, 2001-11-11 at 11:36, [EMAIL PROTECTED] wrote: Hi, I just compiled a new kernel for the AC97 sound support on my Motherboard, the Aopen MK33. However, /dev/dsp still won't work! Does anyone have any ideas for what may be wrong? Ok. Try running mpg123 as root, if you have sound then you need to add your username into the audio group with: addgroup your_login audio Logout and relogin to enjoy your sound. If you can't get sound as root then you will need to investigate further: Is the module(s) loaded (/proc/modules output may be helpfull to debug)? Does /proc/devices show this line: 14 sound Does dmesg have anything usefull to say about sound? If you can modprobe and get sound working and want to always autoload you can add: alias char-major-14 ac97_or_whatever_it's_called into /etc/modutils/local. Or just add the module name into /etc/modules. --mike
Re: kernel-package
On Sun, 2001-11-11 at 03:01, james martinez wrote: Hi, I have been trying to compile kernel 2.4.12 with the kernel-package and have had some problems. The kernel does get compiled and the package is created and I can install and boot the kernel. But when it is booting it gives me errors saying that it can't find the modules. I did notice one error when running the command make-kpkg kernel_image it is looking for /usr/src/modules but I do not have that directory and I am not sure what I need to install to have this ddirectory. Any ideas? What is in /lib/modules/2.4.12 ? Have you run update-modules and depmod -a ? --mike
Re: xscreensaver on woody
On Fri, 2001-11-09 at 08:24, George Karaolides wrote: On 8 Nov 2001, Michael Heldebrant wrote: On Thu, 2001-11-08 at 11:41, George Karaolides wrote: On 7 Nov 2001, Michael Heldebrant wrote: On Wed, 2001-11-07 at 16:15, George Karaolides wrote: Hi, I'm running woody, using the icewm window manager. I can start xscreensaver from the command line, and I need to get it to start when I log in (from wdm). I've tried to put xscreensaver -no-splash in my ~/.xsession file without success. Does the xscreensaver line come before or after the icewm line in .xsession? Please show relevant config files (.xsession) and output (.xsession-errors) if this is not the case. --mike This is .xsession-errors; the last line is the result of my trying to lock the screen from the icewm menu entry ( I saw it happen using tail -f). icewm: Bad option: TaskBarShowPPPStatus icewm: Bad option: IgnoreNoFocusHint icewm: Bad option: ShowXButton icewm: Bad option: WindowListFontName icewm: Warning: Could not load font ''. icewm: Warning: Could not load font ''. xscreensaver-command: no screensaver is running on display :0.0 The only line in my .xsession file reads: xscreensaver I have tried giving the absolute path, and renaming the file to .Xsession, without result. Does /etc/X11/Xsession.options have allow-user-xsession? Yes. Which X version are you running? 4.1.0-8 What do /etc/alternatives/x-session-manager and /etc/alternatives/x-window-manager point to? /etc/alternatives/x-window-manager - /usr/bin/X11/icewm /etc/alternatives/x-session-manager does not exist. Should it, and if yes, what should it point to? It should only point to something if you have an x-session-manager installed. If you don't there's no point in having it exist. Maybe wdm is the missing link here, I don't use them so I don't know if it re-reads your .xsession once it logs you in. Perhaps the man page for it has something to say. Have you also tried making your .xsession: xscreensaver exec icewm (or whatever the command is, I don't know) I'll try that next. Hope it's working now. --mike
Re: debootstrap
On Sat, 2001-11-10 at 06:22, Tom Allison wrote: Michael Heldebrant wrote: On Fri, 2001-11-09 at 19:34, Tom Allison wrote: debootstrap dist /target/dir http://http.us.debian.org/debian where dist = woody sid potato (not stable unstable ... that didn't work for me) /target/dir is wherever you want it to land and the http (or ftp) site your favorite mirror. Works like a charm. Do you think that I could do this from a floppy like the LinuxRouterProject? Or some other linux mini-distro? Or does this have to be a mini-debian distro? Where I get into trouble (I think) is that in the congifiguration process, there is an option to pull up the network information and set up the modules. I will already have the modules loaded into RAM since I'll be accessing the PC via ssh from across the country. Right now, my best alternative is to download the base2_2.tgz file and unzip that all over the hard drive. But I'm having trouble finding out what I would have to run after that to finish the installation... I kind of have to do everything the debian installation is designed to do, but manually as I won't be accessing a tty anywhere in the process. I'm sure if you could get debootstrap on the floppy along with wget it should work great. Just create your debian base wherever you want it to go after the system is up. As long as you can partition/mount/format and work with your target hard drives you should be able to get the system going from the floppy. Just be sure to config inside the target system so that it will reboot with a correct apt-sources, module and network configuration. Make sure the target syetem /etc/passwd has a root account and a user account. Chroot into the target system and get ssh installed with sshd enabled through an apt-get update apt-get install ssh. Repeat for other desired packages before rebooting. Once you get to be able to reboot the system just ssh in and finish config by hand like any other debian system. --mike
Re: scanner
On Sun, 2001-11-11 at 14:05, Petr [Dingo] Dvorak wrote: Hey List, i have old Digital MD-30C scsi scanner laying around for some years now, and i was wondering if any of you is using it and if so, where did you get the module needed to make it work, any help would be appreciated. When plugged in, the scanner shows in /proc/scsi/scsi fine, i just need some way to control it ;) Perhaps browsing the http://www.mostang.com/sane/ website will tell you if it's supported and how to get it working. At least it's on the SCSI bus with no problems. --mike
Re: snmpd eating memory
On Sat, 2001-11-10 at 15:09, Quietman wrote: I have a strange problem with one of my potato boxes, snmpd sits and slowly eats up all the memory. The box in question has hand-built 2.2.17 kernel, snmpd 4.1.1-2. Since being started on 27th October it is now using 90596k according to memstat, this on a 96meg box. I cannot work out what is going on, the only thing snmpd is used for on this box is for mrtg to report on bandwidth usage. I have two other potato boxes with the same version of snmpd being used for the same purpose without this problem. One has kernel 2.4.3, the other 2.2.19. Any ideas where the problem might lie? Try putting a 2.2.19 kernel on this misbehaving box. If it still eats the memory it's probably a config file problem for the system. Are the other two machines both running mrtg? --mike
Re: Message fron chron: cannot get ip address for localhost
On Sun, 2001-11-11 at 16:48, Cheryl Homiak wrote: Ok, I' didn't think I was supposed to have a static ip, but my internet address acording to ifconfig has stayed the same; is that normal? It's a different address, by the way, if I take out dhcpcd and use pump; I did that to see what would happen. Also, my nameservers in /etc/resolve.conf are both different from my internet address in ifconfig; is this correct. Sorry if I sound a little confused, but having just gotten dsl I'm not sure I understand which addresses are which. Also, when I run ifconfig, should I also have a loopback interface up or not? It is still in my /etc/network/interfaces and I think will come up unless I comment it out there. If you get a dynamic address even if it's basically static I'd still be inclined to suggest using the dhcp-client tools since it may actually change one day. The nameservers are provided by the dhcp server to you. They are going to be different than the ip provided. These machines translate names into ip addresses. lo should be there, it's going to be the major interface, if not the only interface (I can't think of why it wouldn't but ... *shrug* I'm not that much of an expert), that localhost traffic uses. --mike
Re: debootstrap
On Fri, 2001-11-09 at 19:34, Tom Allison wrote: Where can I find LOTS of documentation on this debootstrap program? It seems that this is being used to replace the old base*.tgz files that I'm so familiar with. I'm trying to figure out how to do a remote installation with near zero direct access to a computer and this might simplify things a lot. how does it work? After wrestling with it just today myself (see debian-beowulf for more on this subject because I want to do the exact same thing) I found out it's actually quite easy to use for setting up a chrootable live system inside of a currently running system (though I'm sure it can do more). just run: debootstrap dist /target/dir http://http.us.debian.org/debian where dist = woody sid potato (not stable unstable ... that didn't work for me) /target/dir is wherever you want it to land and the http (or ftp) site your favorite mirror. Works like a charm. --mike
Re: tape drive
On Thu, 2001-11-08 at 09:29, Matt Fair wrote: I have them all compiled into the kernel. When but when I do a cat /proc/scsi/scsi I get Attached devices: none My /var/log/kern.log has an error when I boot up: Nov 8 09:21:33 apollo kernel: SCSI subsystem driver Revision: 1.00 Nov 8 09:21:33 apollo kernel: request_module[scsi_hostadapter]: Root fs not mounted Nov 8 09:21:33 apollo last message repeated 3 times It looks like you might not have the host adaptor module/compiled in support. What adaptor is this on and does it get activated during boot? --mike
Re: samba problem
On Thu, 2001-11-08 at 02:44, Mirek Dobsicek wrote: yes, login and line in smbpasswd exists ... when I test it with smbclient localhost, it works fine it looks for mistake on windoze side :-( Can you please attach your working (security = share) and your nonworking (security = user) smb.conf's with a netstat -atp with each running? Any /var/log/samba/log.?mbd output might be usefull. Perhaps it's best to send me the big stuff offlist to not annoy others and I'll report anything relevant I find back into the list for future generations. --mike