Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 19:15:29 +0800
From:      Robert Storey <y2kbug@ms25.hinet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Please help - Free BSD Problem!
Message-ID:  <200305061915.29080.y2kbug@ms25.hinet.net>
In-Reply-To: <884299906.20030505170619@fromru.com>
References:  <884299906.20030505170619@fromru.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 05 May 2003 21:06, afilippov@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, ma=
ybe I=20
can help. You need to edit file /etc/ppp/ppp.conf (be sure to make a back=
up=20
copy of that file first).

Below I'm including a copy of how the file might look after you've set it=
 up.=20
Of course, you'll have to supply the real phone number of your ISP, and y=
our=20
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=20
if you're user "al" or "alexander", that's what needs to go on the last l=
ine=20
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=20
the name of your ISP (according to your email address), but you can use a=
ny=20
word when you set up the configuration file - "armadillo" would be fine, =
but=20
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@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 =3D COM1, cuaa1 =3D 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=09=09=09# 3 minute idle timer (the default)
 enable dns=09=09=09=09# 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=09=09=09# Add a (sticky) default route

 allow users alex




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305061915.29080.y2kbug>