DHCP client hostname unknown

I have a SunBlade using Solaris 9 with the DHCP client. I am requesting the DHCP information from a w2k box that is sharing my DSL connection. I cannot seem to get the configuration to provide a hostname (always comes back "unknown"). Any suggestions?

Hi there,
Edit the file /etc/init.d/network and change the line that reads
"dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
to
# "dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
"dhcp") hostname=`/usr/bin/cat /etc/nodename` ;;
Then, edit the file /etc/init.d/inetsvc and change the line that reads
hostname=`/sbin/dhcpinfo Hostname`
to
# hostname=`/sbin/dhcpinfo Hostname`
hostname=`/usr/bin/cat /etc/nodename`
Save the files and reboot the system. The system's hostname will be the
entry in the file /etc/nodename.
Regards,
Chris

Similar Messages

  • Router reports garbage characters for Mac's DHCP client hostname

    I've got a Linksys wifi router giving nice wireless access to my 17" powerbook (OSX 10.3.9). But when I look at the DHCP active IP table, this one (and another Mac I have on the network) both show up with garbage characters on the "client hostname" even though I have the "DHCP client Id" field filled in in the Network, TCP/IP system preference pane. How do I get the router to see my client's name?
    Mike

    Might help if you told us what the "garbage" was. It
    might help indentify what it relates to because it's
    highly unlikely to be truly random. It's more likely
    to be based on the client's MAC address.
    ok. It is, exactly: ¸#Єª
    In any case, DHCP client ID and hostname are not
    related, so you might be out of luck depending on
    what the Linksys is doing.
    ah! Sorry - I thought that's what it wanted. So, where on my machine do I set the client hostname? Where does a router grab this info from? I've got a PC connected to this thing which does report its name correctly.
    Thanks,
    Mike

  • DHCP Client Hosts Name

    How to configure DHCP client hostname?

    Hi,
    download this document from this URL:
    http://docs.sun.com:80/ab2/coll.47.8/SYSADV1/@Ab2PrintSelect?Ab2Lang=C&Ab2Enc=iso-8859-1
    guide name- TCP/IP and Data Communications Administration Guide
    and read Part IV - DHCP administration.
    revert back.
    Thanks.
    regards.
    senthilkumar.
    SUN - DTS

  • DHCP client and manual hostname ?

    If i use my solaris8 system using dhcp i get the hostname "unknown". Thats seems to be normal.
    Is it possible to be a solaris8 dhcp-client AND use a manual-entered hostname, NOT one wich is given by the DHCP server ?
    thanks.

    If you configure the system as DHCP client, then when the system
    comes up it will ask for the host/ip information from the
    DHCP server, and may overwrite the manually entered hostname.
    This is something you will have to try out.
    Thx
    Tushar Patel.

  • Macs show up as "unknown" on my router's DHCP Client Table

    Both of my Macs, an Intel Mac Mini running Snow Leopard and a G4 iMac running Tiger show up as "unknown" in my router's DHCP client table.
    All of my Windows PCs all show up with their computer names.
    Is there a way to get my Macs' computer names to show up in the DHCP client table? The router is a Linksys RTP300.

    Open Network System Preferences, click on the service you are using to connect to the network (airport, ethernet, etc), click on Advanced and go to the TCP/IP tab. There is a field for DHCP client ID. This may pass a name to the router and it may use it. I don't know.
    Another option is the WINS tab. You can set the Netbios name (other than the default) and workgroup (and any WINS servers, if you know their addresses).

  • Missing hostname in DHCP Client Table???

    I give up. I've searched the internet for an answer to why my mac's hostname does not show up in my WRT54G's DHCP Client Table and come up empty. I see host names for my windows and linux boxes, but not my macbook pro. Anyone have a clue?
    Thanks,
    Steve

    I have a BEFSR81 with the latest firmware (2.51.3) and I have also noticed missing hostnames in the DHCP Client Table. I have a couple of scenarios that this appears to happen.
    The first case is if the router is power cycled, the DHCP Client Table will obviously be empty, but even waiting up to 24 hour later for a default renewal, the hostnames are not updated and most remain empty. The only way to get the hostnames to appear is to reboot the machines where the hostname field is empty.
    The second case is that some of my network devices never have hostnames in the router's DHCP Client Table.
    The last case is when the entire network (machines as well as the router) is restarted. The router is started first and there are no Clients in the DHCP Client table. Then the clients are started and the DHCP Client Table fills up. After 24 hours, the client table will slowly degrade to have several missing hostnames, but the machines are still there and they are at the same address.
    Is this a known problem with this router?
    I had a Vonage router (Linksys RT31P2) and never had these problems. On the RT31P2, the DHCP Client table always had all the hostnames.
    Message Edited by kae on 01-10-2008 05:07 PM

  • (ask) WRT54GC Static DHCP client name always "unknown"

    I use WRT54GC for gateway for my internet connection. I have several wired computer that connect to switch that connet to WRT54GC. I have set Static DHCP as in manual book and name each MAC address. But in DHCP client list the name always show "unknown". Anyway to fix this? Thank you.
    Message Edited by scannerfm77 on 07-29-2008 08:12 PM

    The router DHCP will not show client using Static IP in the network .....
    If you are using "Obtain IP settings" .... then the IP address ...computer name & MAC address ... will be there ...

  • Solaris 10 zone configuration with sysidcfg and dhcp and hostname

    Hi
    Excuse me if I look like a n00b... it's probably because I'm a n00b.
    I've been struggling in the dark for more than 2 days now and I'm wondering if I'm thinking about this all wrong...
    I have stand-alone server where I need to run zones. I want to create zones and automagically configure them at boot (read: by running a script). So here's what I need...
    A zone
    starting from unconfigured state
    whose hostname is not the same as the zone name
    using corporate DHCP to get its IP address
    with DNS config coming from the DHCP server
    registering its address the DNS
    with a preconfigured root password
    (I don't own the corporate DHCP or DNS servers, I can't put my own DHCP or DNS servers on the network.)
    I would lke to create the zone, throw some config at it, then boot the zone and walk away. I am using zones with exclusive-IP. I can construct the zones and manually configure them once they're started to have DHCP, my own name, registered IP address with DNS and everything else I have specified above. But I don't want to do it manually...
    Sysidcfg seems to do some of what I want but not entirely.
    In sysidcfg I can set the root_password, the primary interface using DHCP, DNS server. I can't set a hostname in sysidcfg AND use configure it for DHCP. So the hostname is not what I want it to be after the zone is started and ready to go. The DHCP server is providing the DNS configuration, Solaris does not seem to honour it, but i'll ignore that for the moment.
    I have tried various combinations of using sysidcfg, /etc/nodename, /etc/hostname.+interface+ and /etc/dhcp.+interface+ but I can't find any combination that actually works.
    I can write to the zonestorage/etc/nodename to set the nodename, that works. But it does not match the DHCP address, so I get prompted for a new name service because it can't find a DNS entry for the name.
    I can write to the zonestorage/etc/hostname.+interface+ and /etc/dhcp.+interface+ (to get the system to register its name with the DNS server after getting its DHCP address) but then I get a system with no root password and no DNS configuration, even though they are set in the sysidcfg file.
    I can write a script that gets part of the way using sysidcfg and /etc/... files, then boots the zone and then runs a bunch of voodoo via zlogin commands to fix all the stuff that couldn't be done 'properly', but that's not a 'boot and walk away' environment. I can write a script that uses sysidcfg and hacks around with other files in /etc (like nsswitch.conf, resolv.conf), but that just feels likes a dirty hack to fix something that wasn't done properly in the first place.
    So where am I going wrong and how do I do it right (within the constraints defined)? Why can't I configure, boot and walk away?
    Thanks

    Thanks abrante
    Thanks for your response!
    I don't think the config is messed up after the installation. I think the installation is fine, it's just not what I want :-)
    I'm trying to decouple the zonename from the system name and get DNS registrations working. After installation, a DHCP client can get its hostname from DNS but I'm trying to do it the other way around. I want the DHCP client specify its own hostname, get an address from the DHCP server and then register its hostname with DNS. If the system gets its name from DNS/DHCP then I have to configure those to provide the system name and I don't own the DHCP/DNS infrastructure. These zones are for a development/QA environment, so we create and reconfigure these frequently. Hence the need to specify the system name within the zone and register that name in the DNS.
    I have tried fiddling with the PARAM_REQUEST_LIST but it does not seem to be working as I expect. :-$ Removing 12 did not help with setting the hostname from the system. DNS does not have a registered name for this system anyway, so even if it tried to get a name for this system, it would get nothing.
    I also do want the DHCP to change the DNS server and domain name, but this does not happen even though my dhcpagent includes 6 and 15 in the PARAM_REQUEST_LIST. I still have to set them in the sysidcfg file because it is always ignored in Solaris (S10u8 with 10_Recommended 30-Jul-2010)
    As stated, I know I can hack around with the system after it has booted. But I'm trying to configure the system before it starts and let it take care of itself and not have to touch it. Frankly I'm surprised that the sysidcfg does not allow you to set a hostname name when you are using DHCP, that the default DHCP configuration does not register the system name with the DNS server, and the DNS config from the DHCP response is ignored. Even a sys-unconfiged system requires DNS configuration during initial boot, when I know that the DHCP response contains DNS information.
    FYI: Windows systems using DHCP work as expected in this respect by default, i.e. set system name, use DHCP --> system gets address from corporate DHCP, DNS settings are set from DHCP information, DNS registration is made for system name.
    I'm working around this at the moment... I call my zone by the system name I want, I hardcode the DNS settings in the sysidcfg file and I create the hostname.+nic+ and dhcp.+nic+ files in the zone storage to get the system to register its name with DNS, them boot.
    Edited by: cydonian on Aug 19, 2010 7:45 PM

  • How to specify "client hostname" so that my router knows it?

    I've got a Linksys wifi router giving nice wireless access to my 17" powerbook (OSX 10.3.9). But when I look at the DHCP active IP table, this one (and another Mac I have on the network) both show up with garbage characters on the "client hostname" even though I have the "DHCP client Id" field filled in in the Network, TCP/IP system preference pane. How do I get the router to see my client's name?
    Mike

    In "Sys. Prefs. -> Network -> Airport -> TCP/IP" there's a text field where you can specify a "DHCP Client ID". You might try adding the name you'd like to see in there. You may have to do a "Renew Lease" or disconnect/reconnect to the router to get the client ID to be passed to the router.
    However, on my machine the "DHCP client ID" field is left blank and my NetGear wireless router shows the same client name that I've set up in "Sys. Prefs. -> Sharing"... so I guess "your mileage may vary" for different routers...
    Steve

  • Register DHCP clients in DNS

    Hi all,
    is there a way to get the (DHCP) clients on my local network to automatically register with the DNS service in SLS so that they can be looked up by hostname?
    Cheers,
    Mark

    i feel like people ask this all the time.
    check this post of mine from 2009 for pointers.
    http://discussions.apple.com/thread.jspa?messageID=10485062&#10485062
    basically, you'll need to roll your own on this one.

  • Need ASA DHCPD log with client hostname

    I recently switched from a Linux DHCP server to using DHCPD configuration on Cisco ASA 8.4 code.  With the Linux DHCP servers, the logs showed the hostname of the requesting DHCP client.  Unfortunately, I'm not seeing the hostname information in the DHCPD logs from the ASA.  How can I get the ASA to log the clients' hostname?
    Thanks

    I've got the Cisco VPN client 5.x setup with connection profile to Tunnel Group name and pre-shared key.
    Client is communicating with the ASA and is getting prompted for user login.  I have the ASA configured for aaa radius authentication to MS IAS on Windows 2003K server.   Experimenting on the IAS side between the IAS config "connection policies" and AD user profile.  I can now assign a static IP address to the remote VPN client which is nice!  This can be done two ways... either in IAS connection profile or in AD user profile.  What I'm working on next is having the IAS server pass back to the ASA (radius client) a acl list # (filter.id = 80.id) where I have an access-list 80 statement defined.  Not finished up with setup.  Any advice/input on this piece would be helpful.
    The basic goals of this exercise/project include:
    1.  Remote Cisco VPN users authenticating with AD.
    2.  Pre-configured .pcf file created and deployed to remote users.
    3.  Unique static IP's assigned to all VPN users for audit purposes (or troubleshooting).
    4.  Apply ACL's to VPN users based on their assigned static IP so I can control what subnet's/IP's they can reach.
    So far so go... We are a month or so away from implementing our first Windows 2008 server, so I'm fine with getting this to work for our 20-30 remote users with IAS in Win2Kserver environment while I get educated on NSP.
    Joe

  • I want to reserve a static IP address on my Airport extreme.  What is the difference between reserving by MAC Address and DHCP Client ID?

    I want to understand the differences in the way you can reserve a static address for a device on the network.  I had previously set the device itself to an address and then reserved it with DHCP Client ID, which I thought was just the devices static addresss.  I'm not sure if this was in fact correct or just happend to work.  I know what a MAC address is, but I'm not really sure what the DHCP Client ID is. So it would be great if someone could clarify it, and the difference between reserving address by MAC Address or DHCP Client ID.

    A MAC address is a unique identification consisting of letters and numbers in a form that looks like this:
    xx:xx:xx:xx:xx:xx
    Every network device has a MAC address, which can be found on a label on the bottom or back of the device. Apple calls this the Ethernet ID.
    A DHCP Client ID is an optional name that you can assign to a device. For example, on your Mac....
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on Ethernet
    Click Advanced at the lower right
    You may be able to edit the DHCP Client  ID here....for example.....you could enter MJ500's MacBook in the space provided. That would be the Client ID of your Mac.

  • Cisco ASA 5505 and DHCP Client Problems

    Hi, i have a problem. I've connected my ASA appliance to an ADSL modem, and i dont get an DHCP address on the outside interface (e0/0). I use the asa-722-19.bin firmware.
    I turned on the debugging for the DHCP client and could see that the ASA device was sending out broadcasts but a reply never came. Instead I connected the device to my internal network where the ASA got an address instantly.
    I read somewhere that if I was to use ?ip address dhcp client-id fastethernet 0″, then I got an address from the ISP.
    I tried looking for a similar command on the ASA5505 but I couldn?t find anything. I did however find a page on the Cisco site confirming my suspicions. It said some ISP?s require the client-id field of the DHCPDISCOVER request to be filled.
    I've also read that this issue has beed fixed since a few weeks, now they have released version 7.2(2).22 where you can define ?dhcp-client client-id interface outside? in global configuration mode. Im running 7.2(2).19 and i cannot find any command like that in my appaiance. How do i fix my problem ? Or how do i get about recieving the 7.2(2).22 firmware update.
    Regards !
    Leif

    Hi again! I thought I should share the solution that worked for me. I use software version 7.2(2) on this device. ASDM 5.2(2). In ASDM open configuration / Interfaces. Click in outside (my case 0/0) and press Edit. Then open the tab Advanced and set the correct Active Mac address. Fore some reason its empty by default and the ISP/modem don't like that. You will find the correct MAC address under the help menu / "About ASA". Im sure there is some another way to do this but this is a simple "how-to" that works with Swedens biggest ISP and their standard DSL modem.
    When I used a Linksys DSL modem in bridge mode without the MAC address set I got an inside IP adress (192.168.x.x) from the modem to the ASA. After setting the MAC address I just had to do a renew and got the outside address right away. /Bjorn
    (future users searchwords: no ip from isp, ASA 5505 and cable modem).

  • E4200v2 - DHCP client list NEVER displays

    As the most expensive and hyped "consumer router" at the local big-box stores, and after already returning a Netgear N600 that appeared to be defective, I had high hopes that this router would work properly and I could stop fooling with router settings and move on to real work. And I'll acknowledge that for a lot of folks this router will probably be fine. I didn't do any speed measurements or methodical testing, but it seems pretty fast and using it for more than three weeks it seemed reliable. However, it had several issues that were maddening and ultimately for me, unacceptable. Summarized as follows:
    > The DHCP client list NEVER displays all the clients connected on my network, no matter how many times I look. These clients are actively transferring data, and I can download free programs from the web that report all clients reliably. Why is this so difficult??
    > The logging feature is ridiculous - it often didn't log events that I knew had occurred, and even when they were shown, you would only see an entry if you checked the log very quickly after the event (some sort of "auto-flush" function that makes the whole feature pretty useless).
    > The previous issues are annoying - but this was the deal-breaker. I could not connect to an OpenVPN device on my network through this router. I could connect to the device locally, I could connect to other devices remotely through other forwarded ports, and I could see in the log (if I looked quickly enough) that the router was seeing the connection attempt to the OpenVPN device, but it was getting blocked. Many hours searching forums and experimenting with router settings / firmware updates did not help.
    > In the pursuit of resolving the third issue, and with very low expectations, I contacted Linksys tech support. This proved to be a complete waste of time. After working through the front-line guy who only knew how to look through the User's Guide, I was connected to another person who was even more clueless and was almost robotic in his hard-coded sequence of attempts to guide me through silly procedures that had absolutely nothing to do with my problem. After again asking if I could speak to someone that might actually understand the issue I was put on hold for more than 20 minutes, at which point the call was disconnected (I think this means they hung up on me).
    So once again I'm returning an expensive router that doesn't work properly and will be trying something else. It shouldn't be this difficult.

    With reference to your post I would like to know that does all the client devices on your network runs on DHCP or some of them have static IP address as well? The devices which are running on static IP address will not be displayed in the DHCP client table.
    Regarding the logs that are not being created on the router for any event that takes place could be because of the reason that you might be using another router or a gateway before your linksys router.
    As far as your VPN issue is concerned please try to disable the firewall of the router and then try to connect to the open VPN device because this router acts like a VPN passthrough. Click on the following link to know how to disable the router's firewall http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=87795adab27b4bd7a432e03be4e28e8d_17347.xml&pid=80&...

  • Have to regularly restart DHCP Client - HP Pavilion 500-205 DT - Windows 7

    HP Pavilion 500-205 DT - Windows 7 Home Premium 64-bit SP1
    Realtek PCIe GBE Family Controller - Driver 7.67.1226.2012
    Bought 3 identical machines for our childcare center. Set them up the same. All work fine except ONE of them becomes inaccessible periodically (daily more-or-less) to the other Windows computers on our little peer-to-peer LAN. You can see it, but cannot access any shared folder. There is NO problem accessing the OTHER computers on the LAN from this one. All 3 machines have the same sharing profile, workgroup, permissions, AV, firewall settings, everything. I realized restarting the computer in question solved the problem immediately but temporarily. I narrowed it down to restarting the DHCP Client service. Do that, everything works fine immediately but temporarily.
    Things I tried:
    Calling HP support - not helpful at all. It is under warranty.
    Disabled IPv6
    Disabled wireless
    Disabled power-saving shutoff of network adapter
    Setting DHCP CLIENT recovery to:
      First Failure = Restart the the Service
     Second Failure = Restart the the Service
     Subsequent Failures = Restart the the Service
     Reset Fail count After = 120
     Restart Service after = 0
    But again, this isn't happening to the other machines with default settings. Nothing works except restarting the DHCP Client service. The loss of access happens with or without someone logged or using it. It has happened since it was first set up.
    I don't know if the HP warranty covers factory-loaded OS. I don't want to restore the thing and start over. I am not an IT professional, just the guy in the office who does these things, but it seems like the network adapter could be defective. I don't know if I can convince a first-level phone support person to have me bring the machine to an authorized service place.
    Any help greatly appreciated,
    Larry
    This question was solved.
    View Solution.

    You're very welcome.
    I would tend to agree, but I wanted to offer you that driver as a last resort.
    This is a consumer to consumer forum.  I don't work for HP, and if you suspect it is a hardware issue, you will need to contact HP technical support and submit a support case under the warranty.
    The warranty covers hardware, and support for the HP software and operating system installed (as long as it is the original factory image that came with the PC and not an operating system you installed).

Maybe you are looking for

  • How do I set up a playlist for tv shows on apple tv so it will continuously play

    We have set up apple tv in a bedroom and want to be able to have a rolling list of tv shows to play during the night. How do I set up a playlist to continuously play one after another? The playlist was already created in iTunes on the computer and ho

  • Skype offline

    Hi, I am using skype for internal chatting. But now a days skype is always in offline. Evethough it is connected with internet i am always in offline mode. any Thoughts? Solved! Go to Solution.

  • How can I make an album from a playlist?

    How can I make an album from a playlist in iTunes? I still running Windows XP.

  • Help .. OEHR is not starting

    Hi everyone i import OEHR application normally but when click on Run Application it give the following : ======================== Installing this application created the objects and sample data needed to complete the exercises in the Oracle Applicati

  • 'In the case of a fixed vendor, please enter info record'  error message

    Hello All, We are on SRM 5.5. User created SC and selected a vendor as a source of supply. After ordering, Pr should be created in ERP. Instead of that we receive an error - "In the case of a fixed vendor, please enter info record". Any idea what can