From owner-freebsd-isp Wed Sep 4 22:46:07 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA23381 for isp-outgoing; Wed, 4 Sep 1996 22:46:07 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts11-line12.uoregon.edu [128.223.150.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA23376; Wed, 4 Sep 1996 22:46:04 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id WAA00542; Wed, 4 Sep 1996 22:44:19 -0700 (PDT) Date: Wed, 4 Sep 1996 22:44:18 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Eka Kelana cc: freebsd-questions@FreeBSD.org, freebsd-isp@FreeBSD.org Subject: Re: your mail In-Reply-To: <4B6E4B58B1@manado.wasantara.net.id> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 5 Sep 1996, Eka Kelana wrote: > I have difficulties in making my freebsd be able to connect to my ISP. > And I hope there are some people here who is able to give me some help. > > Here is my problem: > > My ISP uses PPP and assigns IP address to each user dynamically. > So I used user PPP and made a very few changes to PPP configuration file > example located in /etc/ppp, then I renamed it into it's proper name. The > only changes I made looks like this: > > delete all > add 0 0 HISADDR ppp.linkup is pretty broken. I know here that it doesn't work. Once you get linked up, you should just type 'add 0 0 HISADDR' to add the proper route. > > in file ppp.linkup. I didn't make any changes to the other file located in > the same directory because I think that they have nothing to do with. I just > renamed ppp.conf.iij file into ppp.conf file. You should make a new entry for your ISP with the proper settings (device, speed, login sequence). My profile is as follows: uonet: set phone 3466520 disable pred1 deny pred1 set login "TIMEOUT 5 Username:-\\r-Username: blah word: blah UOnet ppp" set ifaddr set timeout 0 This sets me up for fully dynamic addresses. > I read the first line in that file which explain some stuffs about making a > connection to an ISP which use PPP and assign IP address dynamically and I > thought it could get me out of this problem. > As addition, I also made a few changes to /etc/hosts and /etc/sysconfig. It > looks loke this: > > /etc/hosts ----> adding line "10.0.0.1 myhost.local.pc myhost" OK there. > /etc/sysconfig ---> -set hostname to "myhost.local.pc" > -adding ethernet device and tunnel device (ed1 & tun0) > and also the neccessary changes to ifconfig_${device} line > -set ed1 as "myhost.local.pc" and set tun0 IP address to > 0.0.0.0 > -set routed flag with "-s" Do NOT ifconfig tun0; ppp will do it for you. I personally set routed=NO since I've had bad experiences with routed. > And I also created file /etc/resolv.conf into which I put this line: > "nameserver 202.159.65.166" Check. > Then I rebooted the machine and invoke PPP. After made some neccessary > configuration setting I tried to make a PPP connection by dialing my ISP > using command "term". > I could connect to my ISP and logging in, but after I invoked PPP in the > remote machine into which I logged in, PPP program in my computer and PPP > program in remote machine refused to negotiate and I could not get any IP > address from my ISP. Are you sure this is the problem? Did you check /var/log/ppp.log? Do you require any special authentication? > (invoking PPP in my ISP's remote machine after logging in is the procedure I > should do to start PPP program in remote machine). > I also would like to tell you that I currently do not know the IP address of > my ISP remote machine or gateway and my ISP's network mask. The only address > I know is my ISP's DNS. The other information isn't needed -- it's exchanged when the ppp session is negotiated. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major