*BSD News Article 30398


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!doc.ic.ac.uk!warwick!uknet!EU.net!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!news.belwue.de!delos.stgt.sub.org!luva!migieger
From: migieger@luva.stgt.sub.org (Michael Giegerich)
Subject: Re: Dialout modem
References: <768923589snz@bstone.demon.co.uk> <CptFrr.3Lz@luva.stgt.sub.org> <768999798snz@bstone.demon.co.uk>
Organization: private FreeBSD site
Date: Sun, 15 May 1994 20:01:41 GMT
Message-ID: <Cpv0z7.247@luva.stgt.sub.org>
Lines: 68

In article <768999798snz@bstone.demon.co.uk>,
Ian Steel <Ian@bstone.demon.co.uk> wrote:
>In article <CptFrr.3Lz@luva.stgt.sub.org>
>           migieger@luva.stgt.sub.org "Michael Giegerich" writes:
>
>> Newsgroups: comp.os.386bsd.questions
>> Path: bstone.demon.co.uk!demon!bnr.co.uk!bt!pipex!sunic!EU.net!uunet!
>> zib-berlin.de!news.belwue.de!delos.stgt.sub.org!luva!migieger
>> From: migieger@luva.stgt.sub.org (Michael Giegerich)
>> Subject: Re: Dialout modem
>> References: <768923589snz@bstone.demon.co.uk>
>> Organization: private FreeBSD site
>> Date: Sat, 14 May 1994 23:26:01 GMT
>> Message-ID: <CptFrr.3Lz@luva.stgt.sub.org>
>> Lines: 19
>> 
>> In article <768923589snz@bstone.demon.co.uk>,
>> Ian Steel <Ian@bstone.demon.co.uk> wrote:
>> >Hello,
>> >
>> >No matter what I seem to try, I can't get tip/slip/pppd/chat/echo to talk to
>> >a modem connected to tty01.
>> >
>> >I can talk to it using 'cu -ltty01 dir' and then run ifconfig, etc to sort out
>>                               ^^^^^
>> You should use /dev/cua00 to dial out (make sure you did
                  ^^^^^^^^^^
must say `/dev/cua01'

>> `/sbin/mknod /dev/cua01 c 28 129'    to create /dev/cua01
>> `/sbin/comcontrol /dev/tty00 bidir'  to turn on bidir capabilities).
                     ^^^^^^^^^^
must say `/dev/tty01'

>> 
>> Bye,
>> -Michael
>> -- 
>
>Thanks. The trouble is that my FreeBSD 1.1 doesn't appear to like using these
>mythical /dev/cua?? devices :-(

They aren't mythical, I use them regularly...

>
>I tried doing the mknod which went fine, but the comcontrol complained saying
>that the ioctl specified wasn't supported for this device. Whats going on?
>All I want to do is dial out :-(

You did make a kernel which supports the bidir capabilities? Here are
the relevant entries in my config file:

---------- snip ---------- snip ---------- snip ---------- snip ----------
options		"COM_BIDIR"		#Bidirectional support in sys/isa/sio.c

#For high speed serial lines.
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
---------- snip ---------- snip ---------- snip ---------- snip ----------

in your kernel config file (I hope this wasn't changed for FreeBSD-1.1).

Bye,
-Michael
-- 
------------------------------+------------------------------
Michael Giegerich             | migieger@luva.stgt.sub.org
------------------------------+------------------------------