Date: Sat, 21 Sep 1996 23:25:39 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: Leonard Chung <Leonard@pacbell.net> Cc: questions@freebsd.org Subject: Re: Default speed of cuaa*? Message-ID: <Pine.BSI.3.94.960921232444.259C-100000@gdi.uoregon.edu> In-Reply-To: <1.5.4.32.19960922024430.00672bec@pacbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Sep 1996, Leonard Chung wrote: > Is there any way to set the default speed of the tunnel devices? I have a > shell script that reads and writes to a 2400 BPS modem, but since the > default speed of the /dev/cuaa0 device seems to be 9600 BPS, the modem and > the script can't communicate. For example, if I type "cu -l /dev/cuaa0 -s > 2400", then I can talk to the modem fine. But if I type "cu -l /dev/cuaa0" > and don't specify a speed, then the port speed gets set to 9600. Is there > any way I can change the default speed, or set the speed of the cuaa device > from within a shell script? You can make the changes permanent (until the next reboot) by using stty to change the settings of the /dev/cuala0 device. cuala is used as a 'template' for settings; modifying it modifies all future references to /dev/cuaa0. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960921232444.259C-100000>