[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Solaris 5.7 needs a network config helper

Posted on 2007-10-17
13
Medium Priority
?
507 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:Delta526
  • 7
  • 6
13 Comments
 
LVL 27

Expert Comment

by:Nopius
ID: 20097907
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
 

Author Comment

by:Delta526
ID: 20097938
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
 
LVL 27

Accepted Solution

by:
Nopius earned 2000 total points
ID: 20098028
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Delta526
ID: 20098029
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
 
LVL 27

Expert Comment

by:Nopius
ID: 20098105
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
 

Author Comment

by:Delta526
ID: 20098134
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
 
LVL 27

Expert Comment

by:Nopius
ID: 20098165
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
 

Author Comment

by:Delta526
ID: 20098316
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
 

Author Comment

by:Delta526
ID: 20098331
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
 
LVL 27

Expert Comment

by:Nopius
ID: 20098342
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
 

Author Comment

by:Delta526
ID: 20098355
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
 
LVL 27

Expert Comment

by:Nopius
ID: 20098425
Just use "nameserver 192.168.67.12", no WINS, no proxy. Don't forget about changing /etc/nsswitch.conf
0
 

Author Comment

by:Delta526
ID: 20105709
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

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question