Cable Modem

     

    FAQ: 
    How to connect a SPARC/Solaris workstation
    to DSL (Covad/Zyan)

    By Colin A. Bitterfield
    EX-SUN Microsystems, Inc.
    Contact Me


    Overview:

     When I went to install my Ultra 10 at home via DHCP the issue became quickly that I did not want the hostname "unknown" or "something.something.something.provider.com". I found that there are 2 issues one is getting the hostname set correctly and the other is getting the /etc/inet/hosts file set correctly.

    Tested Configuration:

  Ultra 10 Solaris 8, & Ultra60 Solaris 8
How to:
Step 1:
     Install Solaris 8 normally. Choose DHCP for network addressing or you can choose a none network install and update the files /etc/nodename and /etc/dhcp.hme0.
    Replace the 2 files initsvc and S30network.sh they are included below. You can grep on "DSL" to see the modifications
     Reboot the machine
Step 2.
Create or edit the following files
 
       /etc/nodename (Place the hostname you want the machine to be, otherwise you will get something like "dhcp-23-45.isp.net" or "unknown" as the hostname.
       /etc/dhcp.hme0 (You place the word "primary" in here if you have more than one interface).

     Sample Files:
     

    /etc/init.d/initsvc
    /etc/rcS.d/S30network.sh
Step 3:
Edit /etc/nsswitch.conf:
Make sure that you copy /etc/nsswitch.dns to /etc/nsswitch.conf

     

     
Step 4. Troubleshooting

     1. Verify IP address from DHCP server
    ifconfig hme0 dhcp status

    2. Verify gateway
    netstat -rn (make sure there is a default route, if not add it and edit /etc/defaultrouter, usually .1 on the same network)
    3. Verify DNS
    nslookup
    > www.sun.com
    4. check hostname
    hostname


    Thats all.
     
     
     

last update on 28 Apr, 2005

[Colin's Home] [News] [Contact me] [Articles] [Solaris Resources] [Win32 Resources] [Mooniacs] [Aviation] [Photo Albums] [Family] [Private]