Solaris 5.7 needs a network config helper

Hello Experts,

I just purchased myself a Solaris Ultra Sparc 5 with ver 5.7 installed. Im trying get it connected to the internet but it has no tools to do such a thing and I obviously know very little about Unix can you guys help me get this computer connected to the internet?? Where do I start?? I will start a new thread for each quiestion.

Thanks
Delta526Asked:
Who is Participating?
 
NopiusConnect With a Mentor Commented:
In /etc/hostname.hme0 should be the only record with your hostname, just "ultra5", remove all other lines.

Create /etc/defaultrouter if not exist and write router's IP there:
--[cut]--
192.168.21.1
--[cut]--
0
 
NopiusCommented:
How do you try to connect to the Internet?

Do you have DSL line and your Solaris box should authenticate agains remote ISP server, your Solaris is too old (it should be at least Solaris 8 10/01):
http://www.phildev.net/solaris/spppoe.html also there is a way of compiling RP-PPOE package on Solaris 7: http://www.phildev.net/solaris/rp-pppoe.html but that's not an easy way and you should download many extra packages to get it running.


If you have an Internet IP address or some other device connects to the Internet, you should just configure IP address on your Ultra 5 NIC and add a default route. Everything is done manually with text editing files:

/etc/hostname.hme0        - write here a hostname of your machine, that is in /etc/hosts (I use "ultra5")

/etc/hosts                         - add here a line with your Sun's IP address and host name, like "192.168.0.2   ultra5"

/etc/defaultrouter             - add here your default router IP address, like 192.168.0.1

then reboot, you should have IP address assigned to the interface hme0
0
 
Delta526Author Commented:
I found /etc/hostname.hme0  and I added this line ulta5 and then I found /etc/hosts where I added:
192.168.21.2 ultra5 loghost
My gateway is 192.168.21.1 but I can find the defaultrouter file can I create it? and if so what should it say in the file?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Delta526Author Commented:
Oh sorry about your first question about how I connect to the NET, I have a gateway on my windows box. I created a defaultrouter file and put my gateway IP and I can ping this solaris box from my windows box so I am on the network!!! thank you. but I still can't connect to the internet on the conputer. There is a globe icon that maybe is not an internet browser? When I open it its called HotJava for Solaris??? what the heck??
0
 
NopiusCommented:
Thank you for points.
You may try  'nslookup google.com' or 'telnet google.com 80'
if both commands work, you are connected.

What Solaris 7 comes with old Netscape Navigator browser. I don't have Solaris 7 to see how it looks or where is it located, but as far as I remember, yes, it's a globe sign. Sun Co. names  everything with a 'Java' prefix even when there is nothing common with Java. Just try any URL in address bar or configure Proxy if you need to. Most probably it _is_ your browser.
0
 
Delta526Author Commented:
I can get to google by typing http://64.233.167.99 and my hotjava is looking at a Google screen. But it can't find anything I think I need wins resloution??
0
 
NopiusCommented:
Yes, now edit your /etc/resolve.conf and add a line like:
--[cut]--
nameserver 212.122.1.2
--[cut]--

put your DNS IP instead of 212.122.1.2, you may add more nameservers
next edit /etc/nsswitch.conf, find 'hosts:' entry and change to:
--[cut]--
hosts: dns files
--[cut]--

Now DNS should work, no reboot required.
0
 
Delta526Author Commented:
Thanks Nopius! but I can still only get to a website with an IP address how do I add more name servers?

nameserver 212.122.1.22
nameserver 212.122.1.23
nameserver 212.122.1.24
or is it
nameserver 212.122.1.22:nameserver 212.122.1.23:nameserver 212.122.1.24 or how?

0
 
Delta526Author Commented:
Oh hey whats the deal with proxies?? When I try to use www.google.com it comes back with:

Unknown Host:
Make sure your proxies are setup correctly:

Then it asks for
HTTP: Port:
FTP: Port:
SOCKS: Port:


0
 
NopiusCommented:
multiple nameservers should be one to one line

nameserver 212.122.1.2

is a real IP address of My ISP DNS server, it _may_ work for you, but you should have closer DNS server, ask your ISP for IP or look in your Windows router with "ipconfig /all".
0
 
Delta526Author Commented:
I used ipconfig /all and I entered our name DNS server sorry about the copy. It should have been

nameserver 192.168.67.12 for a DNS but perhaps I need to add the WINS server too? If I can get the google page on my screen using the IP address of google then I am almost there right???
0
 
NopiusCommented:
Just use "nameserver 192.168.67.12", no WINS, no proxy. Don't forget about changing /etc/nsswitch.conf
0
 
Delta526Author Commented:
Nopius, this box is on the net thanks to you. I can ping it from my windows box and I can ftp to it so its good to go. Why this Java browser won't work is a whole other issue. But thanks for helping me through this!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.