Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 14:13:14 -0800 (PST)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        FRED_LONG@udlp.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Failure of FreeBSD to Recognize Serial Ports
Message-ID:  <Pine.BSF.4.21.9912141408430.4557-100000@fw.wintelcom.net>
In-Reply-To: <00147D70.C21254@udlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Dec 1999 FRED_LONG@udlp.com wrote:

>  I installed FreeBSD choosing the Gnome w/Enlightenment configuration. When
> trying to use the PPP Facility listed under the Menu tab Internet, in all cases
> I was unable to access the serial ports. During the setup of a new account using
> the PPP Facility, it gives the option of choosing /dev/modem, /dev/ttyS0,
> /dev/ttyS1, /dev/ttyS2, or /dev/ttyS3. For home programming I have been using
> Linux(SuSE, Debian) for sometime and typically have used /dev/ttyS3(COM 4)
> without any problems whatsoever. For whatever reason(s) regardless of which
> ports I select it responds with either "[xxxx]unrecognized option - /dev/modem"
> or "[xxxx]unrecognized option - ttySx". I tried re-enabling the serial port #2
> on the motherboard in the BIOS, without effect. I also tried issuing the command
> - "ln -s /dev/ttyS3 /dev/cuaa3", similarly without effect. I also issued the
> command "ifconfig -a" and it listed "ppp0" as being an active port. Similarly I
> went back and tested ttyS3(COM 4), demonstrating that it a working serial port.
> 
>  I also went about setting up PPP using chat scripts(i.e. using ppp.conf and
> dial.conf). In all cases, regardless of what I chose as a port(i.e. cuaa1 -
> cuaa3 or ttyS1 - ttyS3), it still would not recognize the port. I have went and
> thoroughly studied the PPP How-to, PPP Primer, Pedantic PPP etc., and the PPP
> man pages all to no avail. I am not sure if I am missing something very simple
> or what.
> 
>  I use this platform primarily for engineering/software development and must
> have access to the WWW in order to do my work. I have already lost a couple of
> days fighting this problem, and am not sure how to proceed at this point. This
> must be a simple problem. Thank you in advance for your patience and time to
> help me resolve this problem.

My advice to you would be to simply ignore the spiffy X ppp config stuff,
as far as i know it's linux specific (ttyS2, ttyS3) so it's probably not
going to want to work with FreeBSD.  Not only that but FreeBSD's ppp is
pretty easy to configure.

You don't say what version of freebsd you are using, but if you're running
something after 3.1/3.2 (maybe earlier) there should be an almost plug
and play config file in /etc/ppp/ppp.conf, just open it up and change
the lines:

--

papchap:

 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
 
 set phone PHONE_NUM
 set authname USERNAME
 set authkey PASSWORD

--

to what they need, then run 'ppp -ddial papchap' that should help.

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912141408430.4557-100000>