Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux host name visible to Windows boxes

Reply
Thread Tools Display Modes

Linux host name visible to Windows boxes

 
 
Gary N.
Guest
Posts: n/a

 
      07-01-2003, 11:51 PM
Hi -

I setup a Linux box on an NT network. I am able to obtain an IP address
using dhcp and I can ping/dig systems on our network and outside our
firewall. Systems on our network can ping the Linux box using its IP
address. However, the same systems can not use the Linux box's host name
(defined in /etc/host).

What else do I need to set in order for other systems to find the Linux
system using its host name instead of just the IP address? It 'feels' like
I need to let the dhcp server know my host name when I ask for an IP
address.

Thanks for the help!

Gary



 
Reply With Quote
 
 
 
 
Gary N.
Guest
Posts: n/a

 
      07-02-2003, 12:39 AM
Got it.

I put the line

send host-name "my-host-name";

in the file /etc/declined.conf





Gary N. wrote in message news:bdt6qv$or4$(E-Mail Removed)...
> Hi -
>
> I setup a Linux box on an NT network. I am able to obtain an IP address
> using dhcp and I can ping/dig systems on our network and outside our
> firewall. Systems on our network can ping the Linux box using its IP
> address. However, the same systems can not use the Linux box's host name
> (defined in /etc/host).
>
> What else do I need to set in order for other systems to find the Linux
> system using its host name instead of just the IP address? It 'feels'

like
> I need to let the dhcp server know my host name when I ask for an IP
> address.
>
> Thanks for the help!
>
> Gary
>
>
>



 
Reply With Quote
 
Rich Piotrowski
Guest
Posts: n/a

 
      07-02-2003, 01:37 AM
On Tue, 1 Jul 2003 17:51:57 -0600, "Gary N." <(E-Mail Removed)>
wrote:

>Hi -
>
>I setup a Linux box on an NT network. I am able to obtain an IP address
>using dhcp and I can ping/dig systems on our network and outside our
>firewall. Systems on our network can ping the Linux box using its IP
>address. However, the same systems can not use the Linux box's host name
>(defined in /etc/host).
>
>What else do I need to set in order for other systems to find the Linux
>system using its host name instead of just the IP address? It 'feels' like
>I need to let the dhcp server know my host name when I ask for an IP
>address.
>
>Thanks for the help!
>
>Gary
>
>


Gary,

More info.

What is your dhcp client software on Linux? Is it dhcpcd, pump,
dhclient or other?

For instance, in dhcpcd you might have to add the "-h hostname"
switch. If it is dhclient, look at man dhclient.conf. I think "send
host-name hostname" is what you might be looking for.

Rich Piotrowski

To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Register linux host with static IP dynamically in Windows DNS Daniel Alder Linux Networking 2 11-12-2008 10:38 AM
Printing from Linux (lprng) to a shared printer on a Windows host Jem Berkes Linux Networking 0 05-22-2004 07:58 PM
Linux<->Windows connection using USB host-to-host cable =?iso-8859-2?Q?Rados=B3aw?= Grzanka Linux Networking 0 04-10-2004 03:23 PM
Access to public host from private host through Linux router Santanu Chatterjee Linux Networking 5 11-14-2003 11:57 PM
Re: Making host visible Edgar Giese Linux Networking 0 07-03-2003 02:38 PM



1 2 3 4 5 6 7 8 9 10 11