Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Networking Internet issue, sol 9 U10, 1

Status
Not open for further replies.

WestCoastKid

Vendor
Jun 3, 2002
94
US
Hey gang,
I cant seem to get my U10 connected to the internet. I think all of my config files are correct...however I've only been using Solaris for about a week and a half.


Here is what I have so that we're on even ground.
cat:
--
etc/hosts
127.0.0.1 localhost
10.0.1.70 angela loghost
---
etc/hostname.hme0
angela
--
etc/resolv.conf
no domain
nameserver1 63.203.35.55
nameserver2 206.13.28.12
--
etc/defaultrouter
10.0.1.200
--
ifconfig -a
lo0: flags=1000849 <UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000
hme0: flags=1000851 <UP,POINTOPOINT,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 10.0.1.70 netmask ffffff00
ether 8:0:20:8e:88:db
--
I've
# cp /etc/nsswitch.dns /etc/nsswitch.conf

I can ping DNS 1 & 2 as well as any system on the network and the response is "XXXX is alive"
I cannot however connect to the internet via netscape.
Can someone help me get connected?
Thanks in advance.
 
can you
nslookup (or any other domain)
ping (hoping cnn.com alows and replies ping)

if both commands work your Solaris Installation is ok.


Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
I cannot. When I try I receive this:
Ping: unknown host

Also when I came into the office today there was a message that said "You've got mail, unable to qualify my own domain name"

I can quite put my finger on it.
Any Ideas?

One more thing, in the begining I tried a sys-unconfig to reset all of the IPs and such, so to do that again I doubt would bring resolution.
Thanks!!
 
Take out the numbers like this:

/etc/resolv.conf
no domain
nameserver 63.203.35.55
nameserver 206.13.28.12


Cheers,


Achech
 
can I see the output of
Code:
#  grep ^hosts: /etc/nsswitch.conf

it should be something like
hosts: files dns


>> Also when I came into the office today there was a message that said "You've got mail, unable to qualify my own domain name"

if you do not have a domain you cannot receive emails, I suggest to disable sendmail (pkgrm) or setup a DNS Domain (you need to setup a DNS Server or use the Server of your ISP) and edit hosts file:
Code:
# more /etc/resolv.conf 
domain [b]mydomain[/b].de
nameserver 10.14.14.14
# more /etc/hosts
127.0.0.1       localhost
10.14.14.29     SPQR.[b]mydomain[/b].de SPQR loghost

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Take out the numbers like this:

/etc/resolv.conf
no domain
nameserver 63.203.35.55
nameserver 206.13.28.12
----
I've made the changes you've suggested however I am still having problems with my internet connection.
----


# grep ^hosts: /etc/nsswitch.conf
I tried this and received this message:
usage: grep -hblcnsviw pattern file
hosts:: not found

I am uncertain what this means exactly

Now then in terms of the DNS I have 2 numbers established under resolv.conf Those are the only DNS numbers that come to mind unless I am not understanding everything mentioned so far. We do not have a domain set up in house just a workgroup. We are a small operation, with about 5 systems on the network.

I recall needing these same DNS number to setup our Windoze clients, and I can ping them successfully. I just cant seem to connect or view the internet via a browser.

I appreciate everyones help so far...
Don't stop now ;-)

 
Edit /etc/nsswitch.conf
look for the line hosts: files
and add dns to it so it looks like this
hosts: files dns

Also, I change my hosts file to read (My hostname is me)
127.0.0.1 localhost
xxx.xxx.xxx.x me me.localdomain loghost

This has helped me with internet access and also with sendmail. Don't forget to put a CR or LR (Enter) at the end of your statements, like at the end of the last entry in my
resolv.conf file, if I don't hit enter after my last nameserver entry it doesn't work.

See if that works :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top