Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Michael Moeller Newsgroups: comp.sys.sun.admin Subject: Re: Nodename issue Date: Thu, 09 Apr 2015 12:24:13 +0200 Lines: 51 Message-ID: References: <552462AC.AD63534C@nomail.com> <552510b1$0$2945$e4fe514c@news2.news.xs4all.nl> <55252745$0$2854$e4fe514c@news2.news.xs4all.nl> <55256831.609DB804@nomail.com> <5525a03d$0$2894$e4fe514c@news2.news.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net WeHHKrAXcmFBvrezdMAQTgvqRpv6Ch/PFPd4kBS1XBq4Q0Fs3h Cancel-Lock: sha1:w0xjr5atpuBhXZmZeRSkVTG0ciw= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <5525a03d$0$2894$e4fe514c@news2.news.xs4all.nl> Xref: csiph.com comp.sys.sun.admin:245 Am 04/08/2015 11:40 PM, schrieb Casper H.S. Dik: > Michael Moeller writes: > >> /etc/default/dhcp is called /etc/dhcp/dhcptags on Solais 2.6. >> Param 12 deals with the hostname, though. There are some remarks >> which strongly discourage messing around with the settings. > > If you don't want to receive a hostname, you should not ask > for it. > Understood. Makes sense. >> Why it worked before I assigned a new address to the router still >> is the big question. > > I'm not sure exactly what you did before? > Thats easy, because I wrote it down back then. I set up Solaris 2.6, put the empty files hostname.le0 and dhcp.le0 in /etc, default router IP goes to /etc/defaultrouter and the ISPs addresses in /etc/resolv.conf. After reboot I've got DHCP running with the real hostname like any of the PCs and Macs with a recent OS. By default at setup Sol 2.6 asks for a hostname and a static IP. These were used by the router as entries for its DHCP table. After changing the routers IP, it's not working any more. >> Could it be DHCP behaves different on a subnet router compared to >> one running PPPoE at the WAN side? Newer machines can handle this >> while the Sun can't? > > Please dump the DHCP packet and see what it contains; if it > contains a hostname, Sun will use it because is wants to > use. Ok, I'll try this with another Sparc. Meanwhile I gave it a static IP, so work continues. I'd like to understand what's going on, though. > You are complaining that an 18 year old OS isn't as capable > as a more modern OS? Really? Yes, because it worked before I changed the routers IP there must be a way to accomplish this. Michael