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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to figure an inter Sun Ultra 1

Status
Not open for further replies.

Warya

Programmer
Aug 8, 2002
2
US
Hi guys

I a bought second hand Sun Sparc Ultra 1 and
it is working well. I would like to configure High speed internet.

I donot where to start, The cable company they provided me Modem and network card,

Thanks
WArya

 
DHCP Option:

STATIC IP Option:
Bring a SUN Sparc5 online using Static IPs then here are some points for these files

/etc/resolv.conf must have domain name ( i.e. verzion, sprint, comcast ), nameserver xxx.xxx.x.xx ( dns ) nameserver xxx.xxx.x.xx ( dns ) ( on separate lines )

/etc/hostname.le0 must have a hostname ( i.e. sparky )

/etc/hostname6.le0 must have an empty file if there is not already one available

/etc/hosts must have 127.0.0.1 localhost and xxx.xxx.xxx.xx sparky loghost (on separate lines)

/etc/nsswitch hosts: files dns ( this line must be visible in /etc/nsswitch file )

/etc/defaultrouter must Static IP Address of router xxx.xxx.xxx.xxx



Some partitions on disk may be root ( / ) /var /opt /tmp /export/home swap

COMMENTS:
Not a big fan of DHCP for a SUN UNIX Box. Works great with a Router. If you know your DNS Servers great If not, then check run winipcfg and at least one should pop up for you. At a MS-DOS prompt you can type ipconfig | more and you may see two DNS Servers. Or check out Network Solutions

 
thank you very much your education

The Cable company is Rogers, they did not provide me any router I P Address and the Modem they provided me is regular Modem is not serial Modem. And I heard that only Hayes serial Modem is suitable of Unix specially Solaris.
After that should I use a tip command ?
ex
#tip hardwire
#tip /dev/cua/a or tip /dev/cua/b

sorry, the cable company donot have any knowledge about Solaris, therefore there is no help at all
 
Not sure about Haynes but would you do that when a cable/dsl router can do that work for you.

if you attached a 4-port Router to your Rogers Cable Modem, connection_life would be much easier to the Internet. AND a Cable/DSL Router provides Firewall Protection out_of_the_box. UNIX is wide open unless you provide safe gaurds

The Router IPs comes from after you power the Router and runs it own NAT configuration for connection to the Internet. Private IP are usually 192.168.XXX.XXX. for example, 192.168.xxx.1 and 192.168.xxx.254 may be restricted for your Router settings and you then have 2 -- 253 available numbers to play around with.

By the way, if you plan to use Static IP and it the Rogers I think it is then here is a link to there DNS Info. You may need at least 2 of these nameservers depending on your environment.

 
DHCP IS THE BEST SOLUTION !!!
I HAVE ALLREADY CONFIGURED

FOLLOW THESE STEPS

1 cd /etc

# touch dhcp.nterface (example) dhcp.le0

# touch hosname.le0

these two file should be empty
# touch notrouter ( because as default Solaris is router")
# touch defaultrouter and resolv.conf

# vi /etc/default/dhcp
add the rogers's hostname
Example

hostname=rogers.com

after that reboot the system
the Dhcp script it will wiped out your prior hostname if had one and your original ip address
look your interface
# ifconfig -a

# check it out /etc/defaultrouter and /etc/resolv.conf
if you see any new ip address and name server i think your set try to ping an new ip address
# ping xxxxxcxxx
if you see is live

then
# netscape &







.

Farah regal
good luck
"think twice and hit enter once"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top