Sponsored LinksКатегорииLinksUnix Tutorial
Personal Development Ruslan Valiev Solaris Performance Team Damien Farnham Fintan Ryan Nicky Veitch Niall Mullen Sean McGrath DTrace Bryan Cantrill Brendan Gregg ZFS Tim Foster General Ben Rockwood Learning Solaris 10 Privacy policy |
Saturday, April 29. 2006Using Solaris 10 as DHCP client
Today I just wanted to document here the quickest and easiest way of setting your Solaris box as a DHCP client.
1) Create the /etc/hostname. For instance: bash-3.00# touch /etc/hostname.skge0 2) Create the /etc/dhcp. It can be an empty file, but you can also use it to specify how long ifconfig should be waiting for a DHCP-server reply before giving up and continuing with Solaris boot. bash-3.00# cat /etc/dhcp.skge0 wait 60 3) Your system name It has to be specified in /etc/nodename. This name is going to be used as your hostname in case your DHCP-server does not return your hostname in reply to your DHCP-request. THat's all. Reboot your system, and it all should work! Enjoy! :) Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
How did you get skge0 to work for you?
I have a Marvell Yukon (9851) NIC and the link keeps going up and down both on Windows and Solaris, even when connected directly to another Yukon via a cross over cable. Not even the latest drivers helped! pci11ab,9851
Hi again!
I've explained how I got it to work in this post: http://solaris.reys.net/english/2006/04/a8n-sli_networking_in_solaris One thing I'm not sure about is the weird link status changes you're seeing on your NIC. I wouldn't know because I never ran Windows on that box. That said, I didn't notice such a behavior in Solaris at all, everything worked just fine. Give it a try. Good luck!
I have tried various tips including yours to configure DHCP on my native SPARC Solaris 9 - laptop bought from TADPOLE in 2004.
Still no luck. I have broadband supplied by French Telecom - the network feed from this router goes into a hub. I can connect my IBM laptop XP prof as DHCP - no problem; I can also connect my ibook MAC/OS X also fine. When I connect my Tadpole Solaris 9 ifconfig shows address 192.168.1.12 and I can ftp to it from my IBM XP Win but I cannot see IBM XP from Solaris. I followed your steps even specified wait 90 but no luck. Where am I going wrong...? Please help if you can. Many thanks in advance Andrew
Hi Andrew,
I'll send you an email to answer. Thanks for stopping by! |





