The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Internet setup on solaris10 wrapster SUN Solaris 23 02-03-2008 10:37 AM
Howto setup terminal connection Solaris10? XNOR UNIX for Dummies Questions & Answers 0 04-23-2007 09:22 PM
setup X connection johnjohn UNIX for Advanced & Expert Users 2 12-21-2005 07:33 PM
Connection of SUN to internet and to PC younics UNIX for Dummies Questions & Answers 0 11-14-2005 07:12 PM
Internet Connection via Lan una SUN Solaris 2 02-03-2005 08:14 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-21-2001
Registered User
 

Join Date: Sep 2001
Posts: 40
setup internet connection

HI..

i was wondering if someone out there can help me setup my internet connection.... i have no clue how to set it up.. could you please tell me step by step how to set it up.. i have a static ip, im using a cable modem to connect. my os is solaris 8. Please email me at lil_souldier@hotmail.com or reply to this thread..thankyou for your time.
Forum Sponsor
  #2  
Old 09-26-2001
Registered User
 

Join Date: Sep 2001
Posts: 1

Most cable modems assign the IP address using DCHP so
all you need to do is touch a file in /etc/ as follows

touch /etc/dhcp.hme0

if your interface card is hme0 or what ever interface you are using.


Hope this helps
  #3  
Old 09-26-2001
Registered User
 

Join Date: Sep 2001
Posts: 40
and more than that...

Here we go:


You got lots on your hands for what your experience level appears to be. If you have a static ip, and you want to assign it, my first advice is "man ifconfig", that will get you started. Mostly this is going to look like, "ifconfig le0 -netmask put.your.netmask.here ip.address.goes.here". Now you have your ip set, but you've got nowhere to go, U-Neda-Route...
This is usually, and you NEED to know what your default gateway/router is here, "route add default ip.of.router.here". This can be automatically set in the /etc/defaultrouter file in Solaris, at least it used to be, just put the ip in there.
A quick "netstat -nr" should tell you what your routes are and from which interfaces and such. Take a look.
Now, you are needing even more, you must "resolv" your problems further. So, I'd look at /etc/resolv.conf, then I'd add in my lines:
domain searchdomain.com
nameserver ip.name.server.here
nameserver ip2.name.server.here

Now, you have resolv, but do you know to look at it? NO!! You must go too find out where you can look at reolver versus local resolution. This is in nsswitch.conf, and here you must consult the man page, but mostly it will ask you in what order you want to look at things for resolving. When it comes to hostname, you want ot look at files, then network, then whatever else you may run.
I think the ifconfig will be permanent, but just to be safe, read the man page, they are sometimes cryptic, but a MUST for anyone who wants to know what they are doing.

You must also have an editor you are comfortable with for this, if this tells you about me, I like any old vi....

As a matter of fact, read the man page for each command mentioned above, they will all help immmensely, and you may come across some info you've been looking for....


Later,

loadc
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0