Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux hostname not accessible

Reply
Thread Tools Display Modes

Linux hostname not accessible

 
 
Jonathan Janssens
Guest
Posts: n/a

 
      07-21-2003, 06:20 PM
Currently running Red Hat 7.2 for Samba and HTTP purposes. Just using
it as an internal server. I'm able to access the machine by IP
address, however, trying to access it in any way by hostname doesn't
work. "The hostname could not be found" or something to that effect.
Similarly when I try to ping my windows clients from the linux box.
It does not have a fully qualified domain name because I'd like to
keep it as anonymous as I can from the Internet. Any help would be
much appreciated.

JJ
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      07-21-2003, 06:31 PM
On 21 Jul 2003 11:20:49 -0700, Jonathan Janssens wrote:
> Currently running Red Hat 7.2 for Samba and HTTP purposes. Just using
> it as an internal server. I'm able to access the machine by IP
> address, however, trying to access it in any way by hostname doesn't
> work. "The hostname could not be found" or something to that effect.
> Similarly when I try to ping my windows clients from the linux box.
> It does not have a fully qualified domain name because I'd like to
> keep it as anonymous as I can from the Internet. Any help would be
> much appreciated.


While waiting for an answer you might try

a Frequently Asked Questions (faq) Search engine:

http://groups.google.com/advanced_group_search
samba hostname domain windows smb in the first box
*linux* in the Newsgroup, pick English

 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      07-21-2003, 07:06 PM
(E-Mail Removed) (Jonathan Janssens) writes:

]Currently running Red Hat 7.2 for Samba and HTTP purposes. Just using
]it as an internal server. I'm able to access the machine by IP
]address, however, trying to access it in any way by hostname doesn't
]work. "The hostname could not be found" or something to that effect.
]Similarly when I try to ping my windows clients from the linux box.
]It does not have a fully qualified domain name because I'd like to
]keep it as anonymous as I can from the Internet. Any help would be
]much appreciated.

??? What help do you want? a) you cannot make up an IP address. You must
eitehr get one from a duly autorised provider of IP addresses, or use a
"non-routable" address ( 192.169.x.x, 10.x.x.x, )
b) to look up a host name your system MUST ask some duly authorised DNS
sever ( listed in your /etc/resolv.conf file) for the IP address of the
hostname. If the hostname is not listed with the DNS server, then there
is no way your system can find what the IP address is.
c) Do you really think computers know who is doing the looking up, and
can tailor their responses accordingly? Why is your request for the IP
address any different from anyone elses? If you hide your systems from
others, you hide it from yourself as well.

So what help do you want?


 
Reply With Quote
 
Ken Kauffman
Guest
Posts: n/a

 
      07-21-2003, 07:18 PM

"Bit Twister" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| On 21 Jul 2003 11:20:49 -0700, Jonathan Janssens wrote:
| > Currently running Red Hat 7.2 for Samba and HTTP purposes. Just using
| > it as an internal server. I'm able to access the machine by IP
| > address, however, trying to access it in any way by hostname doesn't
| > work. "The hostname could not be found" or something to that effect.
| > Similarly when I try to ping my windows clients from the linux box.
| > It does not have a fully qualified domain name because I'd like to
| > keep it as anonymous as I can from the Internet. Any help would be
| > much appreciated.
|
| While waiting for an answer you might try
|
| a Frequently Asked Questions (faq) Search engine:
|
| http://groups.google.com/advanced_group_search
| samba hostname domain windows smb in the first box
| *linux* in the Newsgroup, pick English
|

as BT points out, this has been answered alot. it has to do with
configuring Samba and WINS. you either need to tell and existing WINS
server you exist or set your linux server up to be the WINS server. Either
way, its a samba configuration issue. You still will not be able to ping
from the Linux box to the windows boxes. If you want to go through the
effort, lookup DDNS if it MUST be all "automatic".

ken k


 
Reply With Quote
 
Carl Farrington
Guest
Posts: n/a

 
      07-21-2003, 11:38 PM
Bill Unruh wrote:
> (E-Mail Removed) (Jonathan Janssens) writes:
>
> ]Currently running Red Hat 7.2 for Samba and HTTP purposes. Just
> using ]it as an internal server. I'm able to access the machine by IP
> ]address, however, trying to access it in any way by hostname doesn't
> ]work. "The hostname could not be found" or something to that effect.
> ]Similarly when I try to ping my windows clients from the linux box.
> ]It does not have a fully qualified domain name because I'd like to
> ]keep it as anonymous as I can from the Internet. Any help would be
> ]much appreciated.
>
> ??? What help do you want? a) you cannot make up an IP address. You
> must eitehr get one from a duly autorised provider of IP addresses,
> or use a "non-routable" address ( 192.169.x.x, 10.x.x.x, )
> b) to look up a host name your system MUST ask some duly authorised
> DNS sever ( listed in your /etc/resolv.conf file) for the IP address
> of the hostname. If the hostname is not listed with the DNS server,
> then there is no way your system can find what the IP address is.
> c) Do you really think computers know who is doing the looking up, and
> can tailor their responses accordingly? Why is your request for the IP
> address any different from anyone elses? If you hide your systems from
> others, you hide it from yourself as well.
>
> So what help do you want?


ugh! could've just told him to configure the WINS /nbns properly! bad day eh
;-)


 
Reply With Quote
 
Timo Voipio
Guest
Posts: n/a

 
      07-22-2003, 08:46 AM
Bill Unruh wrote:

> b) to look up a host name your system MUST ask some duly authorised DNS
> sever ( listed in your /etc/resolv.conf file) for the IP address of the
> hostname. If the hostname is not listed with the DNS server, then there
> is no way your system can find what the IP address is.


Ahem. Keyword: dnsmasq (no need to hassle with BIND)

-Timo

--
Timo Voipio | Helsinki, Finland | ICBM at: 60 11.800 N 024 52.760 E
GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++
o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y

 
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
How to change the hostname in linux guddu Linux Networking 3 06-23-2008 12:24 PM
MN700, Linux and Hostname MP Broadband Hardware 2 07-02-2004 01:38 AM
New to linux and confused about changing the hostname Patrick Shroads Linux Networking 3 02-17-2004 05:05 AM
changing linux hostname without rebooting Tony Linux Networking 8 10-10-2003 11:42 AM
linux windows hostname problem Dhruv Linux Networking 1 10-07-2003 04:14 PM



1 2 3 4 5 6 7 8 9 10 11