Article View: aus.computers.linux
Article #47810Re: Unable to Browse Internet with Netscape [long]
From: Michael Strates
Date: Thu, 31 Dec 1998 00:00
Date: Thu, 31 Dec 1998 00:00
98 lines
5226 bytes
5226 bytes
On Wed, 30 Dec 1998, Patrick D Phillips wrote: * Your posting exceeds 80 characters per line! PDP> I am having some trouble trying to get my internet connection PDP> working. I have been able to connect to my ISP O.K. and I get PDP> allocated a TCP address but I am unable to use Netscape to do PDP> any browsing. I type in an URL and it does nothing until timing PDP> out. I have looked in the message logs and I see a regular PDP> message No link beat on the MII interface, status then 7809 now PDP> 7809. I am using Red Hat 5.2 and Netscape 4.07 and I have PDP> checked that the DNS is correct. My ISP does not use a proxy and PDP> they are unable to support Linux. As I am new to Linux any ideas PDP> would be appreciated. ** This is a LONG Message, as it details the setup of a Dynamic hosts ** ** file. You can safety press Next now, if you aren't interested!! ** The first thing I suggest to anyone with a Dynamic IP address is to make sure their /etc/hosts file is updated automatically. This will make alot of programs more comfortable. For these examples, we call your system tigerbox. To find out your systems name, type hostname at your shell prompt. Open up /etc/hosts-down as root (it'll be a new file) and add the line below: 127.0.0.1 tigerbox localhost tigerbox The second column would usually have an FQDN, but in your case you don't have a domain name, so we'll leave it out, and just write tigerbox. Most things should look okay, except if a site does a reverse DNS lookup. Then, that's bad news :-). Then open up /etc/hosts-up and put the following in: 127.0.0.1 localhost xxanchorxx tigerbox tigerbox Insert the two lines into the file, making sure you DO NOT MODIFY xxanchorxx. There MUST be xxanchorxx, and then spaces or a tab after it, and then your site's FQDN (which you don't have). Sed needs to replace xxanchorxx with your new IP address every time you login, so don't modify it. Depending on your distribution, open up /etc/ppp/ip-up file and add the following line, to the end of the file, but it must be before the config file calls another config file, ie: debian's runparts. cat /etc/hosts-up | sed -e s/xxanchorxx/$4/g > /etc/hosts Then open up /etc/ppp/ip-down and write the following in there, just before the end. cp /etc/hosts-down /etc/hosts Add the above line to /etc/rc.d/rc.local (distributions may differ) as well, so every time you reboot the disconnected version of the file is copied in. Okay.. When you start your PPP connection, the /etc/hosts-up is modified and xxanchorxx is automatically replaced by the IP address your given and the new file is placed in /etc/hosts. When you close the connection, /etc/hosts-down is copied into /etc/hosts to make things work whilst your offline. Bigpond has some problems, and I'm quite sure that they DO have a proxy. Just ask them, I think its something like proxy-1.telstra.net or the likes. Ring them up. It took me 2 1/2 hours to get to someone on bigpond support (this was a while ago, I was helping out a friend) to get someone that knew about Linux.. "You don't know what I'm talking about do you?", "Yeah, Linux.. That's that new hamburger Hungry Jacks(tm) has got, isn't it". "Yeah, that's right.. I'm putting up a website for Hungry Jacks!" :-) If not, setup your own. Download the package for squid-novm and install it carefully. A probably more suitable smaller cache, that can also do offline viewing is called WWWOFFLE. I use that myself, and I've found it quite satisfactory (albeit a little annoying whilst offline). Can you please try a nslookup www.linux.org.au This will prove if/if not DNS is working. If it is, then can you please e-mail me your /var/log/ppp.log (edited to remove your passwords if they are in cleartext) and I'll see what else I can do to help. -- e-mail: mstrates@croftj.net www: http://203.12.237.9/~mstrates/ Get PGP Public Key by Finger. Encrypted Mail is Accepted (no SHA hashes) Fingerprint: 3D68CFB3C61B3A05 7FC68308A3BC0B86. See also the Water Rocket Central page <http://203.12.237.9/~mstrates/wrc/> for information about the infamous "Rocket Trike".. The World's 8th Wonder! :-) Linux!! The OS of my Choice [Melbourne Linux Group] => www.mlug.org.au ....................................................................... "Once you have flown, you will walk the earth with your eyes turned skyward, for there you have been, and there you long to return." - Leonado da Vinci.
Technical Details
Message-ID:
<Pine.LNX.4.05.9812311717140.180-100000@biggerkitty.dyn.ml.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36896cef.0@139.134.5.33>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 102983,6d53688151edc3f X-Google-Attributes: gid102983,public From: Michael Strates <mstrates@croftj.net> Subject: Re: Unable to Browse Internet with Netscape [long] Date: 1998/12/31 Message-ID: <Pine.LNX.4.05.9812311717140.180-100000@biggerkitty.dyn.ml.org> X-Deja-AN: 427211613 Content-Transfer-Encoding: QUOTED-PRINTABLE References: <36896cef.0@139.134.5.33> Organization: Minkirri Internet Access X-Sender: mstrates@biggerkitty.dyn.ml.org X-Server-Date: 30 Dec 1998 19:54:11 GMT Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Mime-Version: 1.0 Newsgroups: aus.computers.linux