Please help - Free BSD Problem!
Robert Storey
y2kbug at ms25.hinet.net
Tue May 6 04:37:28 PDT 2003
On Monday 05 May 2003 21:06, afilippov at fromru.com wrote:
> Hello,
>
> Please help me! I have FreeBSD 4.5 RELEASE - and cannot get online -
> cannot install my modem driver: US Robotics Sportster 33.6 Voi (ISA -
> internal). ID: 00117102. When booting the kernel it tells me that I do
> have such a modem, but when I try to use ppp to connect my ISP - get
> an error - Failed to open /dev/cuaa1.
Dear Alexander,
As a FreeBSD newbie who just struggled with this problem two days ago, maybe I
can help. You need to edit file /etc/ppp/ppp.conf (be sure to make a backup
copy of that file first).
Below I'm including a copy of how the file might look after you've set it up.
Of course, you'll have to supply the real phone number of your ISP, and your
password, and I'm also assuming you log in to your ISP as "afilippov".
Also, I'm just assuming that you log on to your computer as user "alex", but
if you're user "al" or "alexander", that's what needs to go on the last line
of this file.
After you have ppp.conf all set up, you go online by typing in an Xterm:
ppp -background fromru
You hang up by typing:
killall ppp
The use of the word "fromru" is what I'm assuming you'll use because that's
the name of your ISP (according to your email address), but you can use any
word when you set up the configuration file - "armadillo" would be fine, but
then you'll have to type "ppp -background armadillo".
good luck,
Robert
#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself at cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#################################################################
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device /dev/cuaa0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
fromru:
set phone 4156780
set authname afilippov
set authkey YOURPASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
allow users alex
More information about the freebsd-questions
mailing list