Date: Tue, 24 Aug 1999 08:55:35 -0600 From: Darren WIebe <dkwiebe@heartland.ab.ca> To: Young <young@richardson.apana.org.au> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie PPP Configuration Problems Message-ID: <37C2B267.5C25AED5@heartland.ab.ca> References: <00ad01beee14$b5d14520$857e03cb@jdy>
next in thread | previous in thread | raw e-mail | index | archive | help
Young wrote: > > I've been trying unsuccessfully for days now to get a gateway/router box > working. I'd like to be able to (eventually) get http, ftp, mail, news, irc, > and hopefully ICQ access to the internet from boxes on the LAN running > whatever operating system. > > Hopefully I've included all the stuff needed for someone to diagnose my > problems > > I've read (but not understood) the Pedantic PPP Primer, the PPP MAN, the PPP > FAQ, > the Network Administrators Guide, but not getting anywhere fast > > I have a 8 IP addresses from 203.3.126.128 - 135, subnet 255.255.255.248 > > My "resolv.conf" file lists both nameservers > > domain.apana.org.au > nameserver 203.3.126.1 > nameserver 203.3.126.3 > > My "Routing Table" > > default 203.3.126.128 UGSc 0 0 > fxp0 > 127.0.0.1 127.0.0.1 UH 0 6 > lo0 > 203.3.126.128 ff:ff:ff:ff:ff:ff: UHLWb 1 0 > fxp0 => > 203.3.126.128/29 link#1 UC 0 1 > fxp0 > 203.3.126.129 203.3.126.130 UGHS 1 10710 fxp0 > 203.3.126.130 0:a0:c9:21:12:48: UHLW 1 0724 lo0 > > Due to my lack of experience, simplicity of configuration is ESSENTIAL, so > its probably best to avoid potentially tricky stuff like masquerading or the > like. > > The phone system in Australia is a bit unusual, we get untimed local calls, > but pay up to 25c for each local one ..... consequently its desirable for > those who have a permanent dialup connection to keep it up permanently. Dial > on demand is NOT a good thing here like it is in US with "free" local phone > calls. Cable connections are virtually unknown in private homes here, due to > the pricing policy of the dominant carrier. > > 203.3.126.129 is used for dialup modem interface, and 203.3.126.130 for the > NIC in the local gateway box > > At the server end, there are two DNS boxes, 203.3.126.1 & 203.3.126.3, and a > http proxy at 203.3.126.3 port 3128 > > I believe the correct IP address for remote gateway is 203.3.126.1 > > Neither PAP or CHAP are used, only the prompts for login & password, > although dialling can be automated in Win9x with a script. > > I can dial up manually, using "ppp", "term", ATDT<phone_number>, but can't > understand how to even begin preparing a chat script, so any sort of > automatic dialling is out of the queston for the immediate future. > > I have a local hosts file setup on the gateway box, and can successfully > ping other boxes on the LAN by either name or IP address. > > Initially I could not get a response from the local gateway box modem > interface (203.3.126.129), so I put a line in /etc/rc.conf "route add > 203.3.126.128 203.3.126.130" and now can get a response, although its rather > weird > > 36 bytes from oracle.apana.org.au (203.3.126.130): Time to live exceeded > prompts for login & password, I'd really appreciate a copy of their ppp.conf > file as it might be a lot more help than the documentation has been. > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" dATL0E1Q0V1M0DT\\T TIMEOUT 60 CONNECT" set phone 7423177 set login "TIMEOUT 10 \"\" \"\" gin:--gin: **LOGIN ID** word: **PASSWORD**" set timeout 240 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set openmode active add default HISADDR This is what I use. The system I am logging into is BSD/I. > A lesser (but still annoying problem) is some kind of timeout that > disconnects the line, apparently due to no data moving. What do I need to do > to keep the line up permanently even if nothing happens for hours. > set timeout 0 - Should do it. > do I tell the PPP connection to disconnect when I want it to ?? > I think that "ppp close" should work if you are manually setting up the connection. Darren Wiebe dkwiebe@hagenhomes.com 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?37C2B267.5C25AED5>
