[SunHELP] Unable to access internet from solaris 8 system...
Robert Novak
rnovak at indyramp.com
Tue Jun 10 22:07:53 CDT 2003
On Tue, 10 Jun 2003, Phil Stracchino wrote:
> Do you have an /etc/defaultrouter file? ...You should.
Assuming you're using static routing, this is true. If you're using
routed/rdiscd, you shouldn't have one.
> Does it contain your router's FQDN? ...It should.
If you're using static routing, it should contain your router's IP
address. This is especially the case if you have a nameserver off your
local network, but it's the way I've always done it anyway. Unless your
router's DNS name is in the hosts file, and unless you have 'files' first
in the hosts: line of nsswitch.conf, I would not use a dns name in any
routing setup.
One thing to try is picking a website and telnetting to port 80 on it. See
if you get a response.
external% telnet www.sun.com 80
Trying 64.124.140.181...
Connected to www.sun.com.
Escape character is '^]'.
type: HEAD / HTTP/1.1
hit enter:
HTTP/1.1 400 Bad request
Server: SunONE WebServer 6.0
Date: Wed, 11 Jun 2003 03:03:55 GMT
Content-length: 147
Content-type: text/html
Connection: close
<HTML><HEAD><TITLE>Bad request</TITLE></HEAD>
<BODY><H1>Bad request</H1>
Your browser sent a query this server could not understand.
</BODY></HTML>Connection closed by foreign host.
external%
I apparently got the HEAD syntax wrong, but basically this tells me that
there's not a block on port 80 from my host, and if I were having the
problems you are, I would start focusing on the browser config itself.
Note that you hit enter twice, once after the command and once again.
--
Robert Novak - rnovak at indyramp.com
More information about the SunHELP
mailing list