Re: ipcop and serial ports


Subject: Re: ipcop and serial ports
From: Fielder George Dowding (fgdowding@iceworm-enterprises.net)
Date: Mon Apr 28 2003 - 19:49:59 AKDT


Right! The next question is, "Is there an executable Bourne (bash)
shell script called "setserial" in /etc/init.d/ [?]

On Mon, 28 Apr 2003 18:24:41 -0800
Jim Gribbin <jewelrysupplier@gci.net> wrote:

> Yes it does, so I have a feeling it is being used in the startup
> scripts somewhere, even though I haven't been able to figure out
> where. The problem could be that while the setserial that comes
> with the 2.4.x kernel stuff looks for /etc/serial.conf by default,
> it can be told to use a file by some other name somewhere else in
> it's invocation.
>
> It also doesn't have locate, probably for security reasons.
>
> Jim Gribbin
>
> On Mon, 2003-04-28 at 15:00, Fielder George Dowding wrote:
> > Hmmmm... Does it have the "setserial" utility?
> >
> > On Mon, 28 Apr 2003 13:57:19 -0800
> > Jim Gribbin <jewelrysupplier@gci.net> wrote:
> >
> > > Nice try, but ipcop doesn't have a serial.conf. At least not
> > > in/etc. I'm still looking to see if I can find it somewhere
> > > else as ipcop seems to have moved or hidden some of scripts
> > > for security reasons.
> > >
> > > I may take a shot at just creating one and see if it uses it.
> > >
> > > Jim Gribbin
> > >
> > > On Mon, 2003-04-28 at 11:14, Fielder George Dowding wrote:
> > > > Greetings Jim and all,
> > > >
> > > > Under the 2.4 kernel, serial port setup is handled in a new
> > > > and better way, really :)
> > > >
> > > > Look in the file /etc/serial.conf
> > > >
> > > > Read the man page for setserial
> > > >
> > > > You will probably have to edit serial.conf to reflect the
> > > > desired ttyS<n>, IRQ, and I/O address. The card you are
> > > > talking about may be listed in serial.conf. In any case,
> > > > look for the stanzas that set the ports to the ones you are
> > > > getting and edit them to the ones you want.
> > > >
> > > > fgd.
> > > >
> > > > On 27 Apr 2003 22:26:57 -0800
> > > > Jim Gribbin <jgribbin@alaska.net> wrote:
> > > >
> > > > >
> > > > > I don't think I'm doing a good job at describing my serial
> > > > > port problem, so I'll try a little different tact.
> > > > >
> > > > > I have a pci high speed port card with 2-serial &
> > > > > 1-parallel ports.
> > > > >
> > > > > Under the 2.2 kernel, /proc/pci showed an unknown card
> > > > > mfg'd by Timedia in a particular slot with 3-ports and an
> > > > > irq. Apparently because the card was unknown, Linux did
> > > > > nothing with the ports and I could assign the ports using
> > > > > setserial's port option to whatever available /dev/ttySx
> > > > > were available.
> > > > >
> > > > > Under the 2.4 kernel, Linux seems to know what the card
> > > > > is./proc/pci now shows a multi-port card mfg'd by Timedia
> > > > > (I don't recall the exact wording, but the card is now
> > > > > known) with 2-serial ports and a parallel port. Because
> > > > > Linux now knows the card, it is assigning the ports for
> > > > > me. But I want them assigned elsewhere and Linux won't let
> > > > > me do it has them already assigned.
> > > > >
> > > > > Clear as mud now? :-)
> > > > >
> > > > > Jim Gribbin
> > > > >
> > > > >
> > > > >
> > > > > ---------
> > > > > To unsubscribe, send email to <aklug-request@aklug.org>
> > > > > with 'unsubscribe' in the message body.
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
>
>
>

-- 
Fielder George Dowding, Chief Iceworm
dba Iceworm Enterprises, Anchorage, Alaska
Since 1976 - Over 25 Years of Service.

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Mon Apr 28 2003 - 19:39:24 AKDT