Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 07-10-2003, 06:49 PM   #1
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Angry Solaris DHCP reception problem

Hi all.

I have an old Sparc 5 that I use for writing (learning) scripts. Basically, that's all it's used for(except to crank out a SETI unit about every year and a half, lol). It is supposed to recieve a DHCP address from my DHCP server (a Red Hat machine, LAN ip address Well, one day, I turned it on and got error messages that it wasn't working. Unfortunately, there is no way for me to post the code directly, so bear with this:

At boot time, it says:

Starting DHCP on primary interface le0
le0: No carrier - cable disconnected or hub link test disabled?
ifconfig: le0: wait timed out, operation still pending...
/sbin/dhcpinfo: interface not in appropriate state for command
Hostname: Unknown

Then it continues to boot, and when I finally get to the desktop, a window pops up saying:

Action Required

The DT messaging system could not be started.

To correct the problem:
1. Choose [OK] to return to the login screen.
2. Select Failsafe Session from the login screen's option menu and log in.
3. Check to see that the hostname is correct in these locations:

For additional information, see the DT User's Guide

Now, the only option open to me is to press [OK]. I do that and am returned to the login screen. I then login to failsafe mode. I check the /etc/ file, and it doesn't EXISTS!!! Ugh... I check the /etc/hosts file, and it says that: localhost unknown

Then, I check /usr/adm/inetd.sec and that file doesn't exist, either! Now, the weird thing is that it SEEMS to be getting an IP ADDRESS, but not a hostname. "ifconfig -a | more" shows me that le0 has an IP address of!!! So, it seems to be getting the address. However, if I try to ping Yahoo!, I get:

ICMP Host Unreacable from gateway

What is that all about?! That's not even close to being the right gateway, first of all. I have no idea whose IP address that is!

Does anyone have any thoughts? I know it's not the cable or the switch port. I tested them both and they are fine. I'd appreciate any help! Thanks a million!


PS. This is running Solaris 8
Old 07-10-2003, 09:24 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
what about your DNS settings? /etc/resolv.conf could be a bit helpful, also the routing table
route -n
Old 07-10-2003, 10:26 PM   #3
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
I will take a look into that, but I don't really see what that'll tell me about not recieving a hostname from the DHCP server. I'll take a look, then get back to you. Thanks.

Old 07-11-2003, 07:56 AM   #4
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
It appears that your system has lost its identity. A common side effect of this is the CDE problem that you describe. Try doing a sys-unconfig.
Old 07-11-2003, 10:09 PM   #5
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
sysunconfig? I am unfamiliar with that. Could you elaborate? Thanks!

Old 07-12-2003, 10:04 PM   #6
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
a sys-unconfig will return the machine to a totally unconfigured state, then reboot and run throught the questions where you can specify all your network stuff (hostname, ip, etc...).

a couple of questions I dont see answered here.

0. With the message "cable disconnected", did you check the cable, (possibly replace the cable). Either the cable is unlinked, bad, or the card is bad for this to happen.

1. What version of Solaris is it?
If it's Solaris 7 or better, then post the contents of /etc/default/dhcp* (mostly just the last few lines)

2. Did you recently re-install it?

3. What are the contents of "/etc/hostname.le0" and "/etc/hosts".
If no /etc/hostname.le0, then create it with the correct hostname as the contents.


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
DHCP to static IP in Solaris ??? davepal Solaris / OpenSolaris 7 04-30-2004 11:06 AM
how to setup a solaris 8 dhcp server to do dynamic dns updates smiller71 Solaris / OpenSolaris 0 04-02-2004 02:16 PM
tv card reception problems (in the UK) salparadise Linux - Hardware 0 12-11-2003 12:03 PM
Infrared reception..?? k.van.hagen Linux - Newbie 4 10-24-2003 04:54 PM
hauppauge winTVgo no reception, D'oh! Lukas Linux - Hardware 12 11-27-2002 01:33 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:26 PM.

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