Subject: Re: get/set serial port
To: William J.Hudspeth <wjhud@jps.net>
From: Perry E. Metzger <perry@wasabisystems.com>
List: port-i386
Date: 08/28/2000 22:07:08
William J.Hudspeth <wjhud@jps.net> writes:
> I have been trying to set up my actiontec modem for ppp connections 
> and cannot find a command that will set proper parameters. For example,
> under Linux I issue the command:
> 
> 'setserial  /dev/ttyS1  uart 16550A   port 0xdc00  irq 5'
> 
> to reference the modem. For a permanent intall, I enter the same command
> in   /etc/rc.local  file. 
> 
> I have not been able to find an equivalent  command for NetBSD.  
> Would someone please point me at the proper reading source?

Unlike linux, the information from "setserial" isn't needed at all --
your kernel figures out for you what port the serial controller is on
without any help from the user, and the irq and such as well. In other
words, you don't need to do any of this. :)

What you can do, just to verify that there is no problem, is do a
"dmesg | egrep ^com" to verify that the serial port is in fact
configured properly.

In a more abstract sense, you might want to learn how to build kernel
config files for kernel customization, which can impact how things
like indirect bus probes work, but I don't think you need to know
about that to get ppp working.

--
Perry E. Metzger		perry@wasabisystems.com
--
Quality NetBSD Sales, Support & Service. http://www.wasabisystems.com/