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

Re: Modem IRQs, password & mail problems



On Tue, 26 Nov 2002 22:35:42 +0000, "Karl E. Jorgensen"
<karl@jorgensen.com> wrote:

>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.

Cool! Thanks.

>> 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 !?

Sorry for lack of clarity. I have a triple-boot Linux/DOS/Windoze
system. Some MS-based software gets confused when two serial ports
share the same IRQ, because it's crap. So I want to use COM1/ttyS0 =
0x3f8/IRQ4 (standard), COM2/ttyS1 = 0x2f8/IRQ3(standard), COM3/ttyS2
(the modem) = 0x3e8/IRQ5 (usually IRQ4). Since it's not a PnP modem,
if I can't tell Linux to use IRQ5, it means taking the modem out of
the slot and changing DIP switches. So thanks for your solution!

>> 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). 

Sorry. I should have said that x = 0 or 1000, ie. the usernames it
can't find are root and pigeon, whose userids ARE in /etc/passwd! I
also have a few directories - haven't found any pattern so far - in
which ls -l shows 0 or 1000 instead of root or pigeon for the
owner/group. Most directories are OK though.

Pigeon



Reply to: