[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modem IRQs, password & mail problems



On Tue, Nov 26, 2002 at 07:42:18PM +0000, Pigeon wrote:
> A few small questions:
> 
> 1) How do I tell Linux that my modem on /dev/ttyS2 wants to use IRQ5?
> It's a non-PnP ISA hardware modem. 

setserial will change the kernel's idea of what IO/IRQ the modem is on.
It won't change the settings on the actual modem though.

> At the moment I have to set it to IRQ4, the default for the third
> serial port. I want to set it to IRQ5 to avoid conflict with stupid
> DOS/Windoze drivers that don't like sharing serial port IRQs. man ttys
> and man mknod are silent on the subject of IRQs.

You lost me there: under linux the DOS/win drivers should be completely
irrelevant - and hence no conflicts !?

> 2) I have a dead file somewhere that is interfering with some userid
> stuff. Some of my directories give numerical user/group ids instead of
> root or pigeon. exim refuses to start with "can't get user name for
> userid x" errors, so no mail functions work. My /etc/passwd and
> /etc/shadow seem to be OK; they contain the following (and also a
> peculiar gnats/admin entry which I don't understand): (I haven't got
> round to setting up shadow passwords yet)
> 
> root:onetwothreefour:0:0:root:/root:/bin/bash
> pigeon:wedontwantyourbloodywar:1000:1000:Pigeon,,,:/home/pigeon:/bin/bash
> gnats:*:41:41:Gnats Bug-Reporting System 
> (admin):/var/lib/gnats/gnats-db:/bin/sh
> 
> Any ideas where I should be looking for the fault?

Basically that number is not found in /etc/passwd ... As a short-term
measure, you can create a new user (adduser --uid xxx --gid yyy) should
buy you time (make sure that this user cannot log in). 

Medium term: Figure out where those files come from (which will appear
to be owned by your newly-added user).  If they come from some package,
then it's probably a bug...

> 3) I want to use exim & mutt for mail, not staying online all the time
> but dialling up with pon/poff to send and receive in batches. Can
> anyone suggest the best howto / config tools for this particular
> purpose?

For outgoing mail: exim should do this by default - you should find that
/etc/ppp/ip-up.d/exim attempts to flush the mail queue when a connection
is established.

For incoming mail: fetchmail is your friend: set it up as a system-wide
service - IIRC it too creates a file in /etc/ppp/ip-up.d to wake up the
fetchmail daemon.

-- 
Karl E. Jørgensen
karl@jorgensen.com        http://karl.jorgensen.com
==== Today's fortune:
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
		-- Isaac Asimov

Attachment: pgpgy06vEtKTX.pgp
Description: PGP signature


Reply to: