LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 02-03-2008, 10:34 AM   #31
gavin watson
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0

hi, sorry to bump this post, but im having terrible problems trying to get onto the internet on my first install of solaris and am requesting kind help from someone more specialised than me!

this is what i have:

- a new clean install of Solaris 10
- a router for the internet on IP '172.26.0.1' (which works fine, as i have other machines running windows connected fine)
- for arguements sake, this new solaris machine will use IP '172.26.0.44' and the name of the machine is 'unix'
- i have made the following changes:

/etc/hosts
172.26.0.44 localhost loghost unix

/etc/netmasks
172.26.0.0 255.255.255.0

/etc/nsswitch.conf
(contains) host: files dns

/etc/nsswitch.dns
(contains) host: files dns
ipnodes: files dns


created /etc/hostname.lo0
172.26.0.44 unix

created /etc/defaultrouter
172.26.0.1

created /etc/resolv.conf
nameserver 80.58.0.33
nameserver 80.58.32.97


/etc/inet/hosts
172.26.0.44 unix

/etc/inet/ipnodes
172.26.0.44 unix

and it does still not work...

in addition, as suggested elsewhere, i have doen the following:

# svcadm /network/dns/client:default
# svcadm /network/dns/server:default

but it still doesnt work...

at this stage, i think im making a small mistake, but not sure where... any help would be greatly appreciated.

thank you in advance

edit :

i can ping my own machine (172.26.0.44) but not the router (172.26.0.1) or anything obviously past the router

Last edited by gavin watson; 02-03-2008 at 10:44 AM.
 
Old 02-04-2008, 10:05 PM   #32
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by gavin watson View Post
/etc/hosts
172.26.0.44 localhost loghost unix
Ouch, here is the mistake. You do not want to change localhost IP address which is by definition 127.0.0.1.
Quote:
created /etc/hostname.lo0
172.26.0.44 unix
Same issue here. The loopback interface isn't meant to be configured that way. Remove this file.

What is your NIC ? This is what you need to configure instead of the loopback which cannot propagate network packets to the outside by design, being a software only driver.
 
Old 02-05-2008, 01:59 AM   #33
gavin watson
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
hi, thanks for that, i've just realised that my network card isnt supported, which is where the problem has been all along, hence me trying to configure the localhost settings by mistake thinking they were the NIC.

I'll try again on another system (or with another network card) and hopefully it'll be a lot more straight forward. thanks again for your reply.
 
Old 02-05-2008, 02:48 AM   #34
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
What is your NIC model ? Perhaps is there a third party driver available.
 
Old 02-05-2008, 04:20 AM   #35
gavin watson
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Havent got details to hand, its VIA RhineII, there seems to be one available which i've tried my best to install and configure, but it's proving difficult as there is an updated version so the instructions are not exactly the same, even thoguh I have followed them through as best I can, I'll give more information later (when I'm at home) and maybe you could help me through it.

Thanks again
 
  


Reply

Tags
dhcp, solaris


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change to 1000MB full duplex for Solaris 8,9,10 DarReNz Solaris / OpenSolaris 17 07-02-2007 10:54 AM
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 12:14 AM
How to change default shells in solaris 10 and other misc. questions amlucent23 Solaris / OpenSolaris 3 07-21-2006 10:45 AM
script to change IP and hostname under Solaris 10 xpucto Solaris / OpenSolaris 9 06-08-2006 05:37 AM
Change background in solaris and Xterm background also EvilAngel Solaris / OpenSolaris 2 01-31-2005 11:25 AM


All times are GMT -5. The time now is 10:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration