I am trying to get DHCP to work on my Intel Solaris 8 laptop. I'm having
trouble getting a default gateway, domain, and DNS name resolution. I've
managed to get the NIC to get an IP address from the DHCP server, so I'm
fairly confident the NIC is installed OK, and that it's making contact with
the DHCP server.
Solaris 8, 4/01 Intel
IBM ThinkPad T20, 256MB RAM
3Com 3C589C PCMCIA - created pcelx1
DHCP server is a Linksys Cable Router BEFSR81, serving up addresses in the
192.168.0.0 private space, attached to a RoadRunner (MediaOne, now AT&T)
supplied cable modem.
I have Solaris set up for DHCP in DCA, and have the following files
/etc/dhcp.pcelx1 - empty
/etc/hostname.pcelx1 - empty
/etc/hosts - has only the 127.0.0.1 localhost entry, no other lines
/etc/notrouter - empty
/etc/resolv.conf - empty, isn't the DHCP bit supposed to populate this with
the domain as decreed by the DHCP server, and nameserver IPs?
/etc/default/dhcp - has one line "Hostname=iduff", no other lines
/etc/nodename - has "iduff" as only entry
/etc/network - has a line inserted to get hostname from /etc/nodename if the
DHCP server doesn't return it, so I'm not "unknown" <g>
/etc/nsswitch - the line now reads "hosts: files dns"
I've found conflicting anecdotes about /etc/defaultrouter, some saying an
empty file is needed, others saying no file causes Solaris to get the
default gateway from the DHCP server. I've tried each. An empty file assigns
the default gateway to me, no file assigns the default gateway to the
Linksys router, but with no interface associated with it. In other words,
I've tried numerous DHCP release then starts, to no avail.
I' ve done the /etc/nsswitch.conf modification to get it to do name
resolution via DNS, but it doesn't do that either. If I manually put the IP
of the Linksys router in the /etc/defaultrouter to get out to the world, I
can ping any publicly addressed host I want by IP, but not by hostname.
As a reality check, this same Linksys supplies default gateway, domain and
DNS addresses to this same laptop using the same NIC when it's running
Windoze (either 2K or NT4), so I'm fairly confident the Linksys and its
iteration of DHCP aren't the issue.
I've looked at the man pages for ifconfig dhcp, I've looked at BigAdmin
Solaris 8 Intel doc pages, I've looked at all the Google comp.unix.solaris
DHCP search results I can find, and haven't come up with anything useful,
prolly because I'm not smart enough to look in the right place.
What am I missing? Where can I look to learn more, hopefully enough to solve