This is a discussion on Help for a Solaris 10 Newbee within the Sun Solaris Hardware forums, part of the Solaris Operating System category; --> Greetings, I have just loaded Solaris 10 on an Ultra 5 workstation (learning purposes). Everything appears to be fine ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Greetings, I have just loaded Solaris 10 on an Ultra 5 workstation (learning purposes). Everything appears to be fine ... until I get to the ethernet and internet portion. I have assigned a static ipaddress ... and ifconfig appears correct. I can ping my router just fine ... but I can not get onto the internet. I have a feeling that this has to do with the DNS of my IP service provider. My theory is that the Ultra 5 does not know what to do with www.sun.com ... so I need to set up the NSS ??? Can someone please point me in the correct direction on how to get my Ultra 5 capable of browsing the internet? I am not looking for the answer (see above - learning ... LOL) but some hints on what I need to be looking for. I am guessing that this is fairly easy ... but I have to shake off many years of peecee simplicity. I have browsed the docs at SUN ... but not sure I am looking for the correct thing (or reading it correctly) In advance, thank-you Glenn |
| |||
| "* Me *" <also_atREMOVETHIS@hotmail.com> writes: >I have assigned a static ipaddress ... and ifconfig appears correct. I can >ping my router just fine ... but I can not get onto the internet. What is the route you installed? Routes are printed using: netstat -nr >I have a feeling that this has to do with the DNS of my IP service provider. >My theory is that the Ultra 5 does not know what to do with www.sun.com ... >so I need to set up the NSS ??? Ah, /etc/resolv.conf to setup nameserver, /etc/nsswitch.conf and include "dns" on the hosts/ipnodes line. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. |
| |||
| "Casper H.S. Dik" <Casper.Dik@Sun.COM> wrote in message news:43dcda43$0$11068$e4fe514c@news.xs4all.nl... > "* Me *" <also_atREMOVETHIS@hotmail.com> writes: > > >I have assigned a static ipaddress ... and ifconfig appears correct. I can > >ping my router just fine ... but I can not get onto the internet. > > What is the route you installed? > > Routes are printed using: netstat -nr > > > Ah, /etc/resolv.conf to setup nameserver, /etc/nsswitch.conf and include > "dns" on the hosts/ipnodes line. > > Casper Casper, Thank-you for the quick response. By router ... I mean mu small SMC router between the cable modem and my home network. It supports DHCP however, for simplicity, I used a static IP for the Ultra 5. I will look at the other files you mention. (Guess i been spoiled all these years with WinDoze where everything was mainly done) Thanks Glenn |
| |||
| "* Me *" <also_atREMOVETHIS@hotmail.com> writes: >By router ... I mean mu small SMC router between the cable modem and my home >network. It supports DHCP however, for simplicity, I used a static IP for >the Ultra 5. I mean the configured routers on the Ultra-5. The Ultra-5 needs to know which system to ask to route packets for it. I'm not sure that using "static IP" is a simplification: static IP requires you to configure: - IP address - default route (/etc/defaultrouter) - /etc/resolv.conf - /etc/nsswitch.conf DHCP will do that all for you. Casper |
| |||
| Casper H.S. Dik wrote: > "* Me *" <also_atREMOVETHIS@hotmail.com> writes: > > >>By router ... I mean mu small SMC router between the cable modem and my home >>network. It supports DHCP however, for simplicity, I used a static IP for >>the Ultra 5. > > > I mean the configured routers on the Ultra-5. The Ultra-5 needs to > know which system to ask to route packets for it. > > I'm not sure that using "static IP" is a simplification: > static IP requires you to configure: > > - IP address > - default route (/etc/defaultrouter) > - /etc/resolv.conf > - /etc/nsswitch.conf > > DHCP will do that all for you. > > Casper But DHCP it is a pain, even on a home network I find. I ran an SS20 on DHCP for all of about 3 days, and that was enough for me. Now it is like all my other items - a static IP. If you want to SSH to the box from a PC you never know where it is. The cable modem probably has some sort of firewall, and that is more hassle if the Sun is using a dynamic address. It's good for things like laptops on a corporate environment, but I'm personally less convinced it is a good idea for a Sun on a home network. And a static is not that hard to set up. Agreed a bit more hassle than DHCP, but hardly that difficult. And DHCP gets a hassle if you want to fix the hostname. Just my 2c. -- Dave K http://www.southminster-branch-line.org.uk/ Please note my email address changes periodically to avoid spam. It is always of the form: month-year@domain. Hitting reply will work for a couple of months only. Later set it manually. The month is always written in 3 letters (e.g. Jan, not January etc) |
| |||
| Dave (from the UK) wrote: > Casper H.S. Dik wrote: > >> "* Me *" <also_atREMOVETHIS@hotmail.com> writes: >> >> >>> By router ... I mean mu small SMC router between the cable modem and >>> my home >>> network. It supports DHCP however, for simplicity, I used a static >>> IP for >>> the Ultra 5. >> >> >> >> I mean the configured routers on the Ultra-5. The Ultra-5 needs to >> know which system to ask to route packets for it. >> >> I'm not sure that using "static IP" is a simplification: >> static IP requires you to configure: >> >> - IP address >> - default route (/etc/defaultrouter) >> - /etc/resolv.conf >> - /etc/nsswitch.conf >> >> DHCP will do that all for you. >> >> Casper > > > But DHCP it is a pain, even on a home network I find. I ran an SS20 on > DHCP for all of about 3 days, and that was enough for me. Now it is like > all my other items - a static IP. > > If you want to SSH to the box from a PC you never know where it is. The > cable modem probably has some sort of firewall, and that is more hassle > if the Sun is using a dynamic address. > > It's good for things like laptops on a corporate environment, but I'm > personally less convinced it is a good idea for a Sun on a home network. > > And a static is not that hard to set up. Agreed a bit more hassle than > DHCP, but hardly that difficult. And DHCP gets a hassle if you want to > fix the hostname. > > Just my 2c. I find static is a pain on my home network because the ISP has a habit of moving their DNS servers around. The best of both worlds can be had if your DHCP server supports reservations, whereby you associate ethernet addresses with IP addresses so each machine is always given the same IP address. Sunny |
| |||
| "Dave (from the UK)" <see-my-signature@southminster-branch-line.org.uk> writes: >But DHCP it is a pain, even on a home network I find. I ran an SS20 on >DHCP for all of about 3 days, and that was enough for me. Now it is like >all my other items - a static IP. Really? I've used nothing else albeit with fixed IP addresses; I have around 4 systems in regular use and 3-4 more used on and off. >If you want to SSH to the box from a PC you never know where it is. The >cable modem probably has some sort of firewall, and that is more hassle >if the Sun is using a dynamic address. Ah, but I use DHCP with fixed addresses; it allows you to get the configuration in a single location, the DHCP server, but keep all the systems on unique, fixed, addresses. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. |
| |||
| Casper H.S. Dik wrote: > "Dave (from the UK)" <see-my-signature@southminster-branch-line.org.uk> writes: > > >>But DHCP it is a pain, even on a home network I find. I ran an SS20 on >>DHCP for all of about 3 days, and that was enough for me. Now it is like >>all my other items - a static IP. > > > Really? I've used nothing else albeit with fixed IP addresses; > I have around 4 systems in regular use and 3-4 more used on and off. > > >>If you want to SSH to the box from a PC you never know where it is. The >>cable modem probably has some sort of firewall, and that is more hassle >>if the Sun is using a dynamic address. > > > Ah, but I use DHCP with fixed addresses; it allows you to get the > configuration in a single location, the DHCP server, but keep all the > systems on unique, fixed, addresses. > > Casper What do you mean - keep an infinite lifetime on the DHCP server? Not sure if you can configure that on many of them, although I know you can if you have a Sun as a DHCP server. And how about host names. Do you force that fixed on the Sun, or accept whatever the DHCP sever gives you? I know you can fix it on the Sun, but it is more hassle than running static IPs in that case. -- Dave K http://www.southminster-branch-line.org.uk/ Please note my email address changes periodically to avoid spam. It is always of the form: month-year@domain. Hitting reply will work for a couple of months only. Later set it manually. The month is always written in 3 letters (e.g. Jan, not January etc) |
| ||||
| >> >> Ah, but I use DHCP with fixed addresses; it allows you to get the >> configuration in a single location, the DHCP server, but keep all the >> systems on unique, fixed, addresses. >> >> Casper > > What do you mean - keep an infinite lifetime on the DHCP server? Not > sure if you can configure that on many of them, although I know you can > if you have a Sun as a DHCP server. You can have a list of reserved IP's on a DHCP server but unfortunely I speak here of M$ DHCP server as it's the only one I've admined on a large network. > > And how about host names. Do you force that fixed on the Sun, or accept > whatever the DHCP sever gives you? I know you can fix it on the Sun, > but it is more hassle than running static IPs in that case. Solaris 10 keeps it's own hostname with a DHCP assigned IP, ITSR previous versions didn't. I notice this Mac (OSX - BSD based) gives me a stupid NTL hostname. Steve |