CentOS 5 :: How To Find Computer Hostname

Jun 17, 2011

I am having problems with this computer program called fluent. I have a service request open with them and they need to know my computer's hostname. ANything I have tried tells me that my computers hostname and fqdn is localhost.localdomain. The people on the service request seem to not believe me. Is there anyway that the computer hostname is hidden? This is what I have tried:

[powder@localhost ~]$ hostname
localhost.localdomain
[powder@localhost ~]$ dnsdomainname

[code]....

View 4 Replies


ADVERTISEMENT

CentOS 5 Networking :: No Hostname - Cannot Find Valid BaseURL For Repo

May 12, 2011

I have a server running centos 5 located in a datacenter. I am setting it up as a web server but haven't bothered to move the domain from my current registrar to the server as there are a lot of things I need to get done before that. I am having a problem where I couldn't install httpd. So i tried some of the basic fixes i knew as far as yum clean all and checking that my /etc/resolv.conf was ok. I have the two nameservers I am using listed there but I have no hostname set because I simply dont have the domain transferred or anything like that yet. Is that the reason I am having these issues. I installed the system with a network install fine about a month ago so im not sure why I am having problems now.When i try to ping centos.org I get an unknown host www.centos.org error. I tried changing the resolv.conf to have localhost as the hostname and I still have the same issues. I havent made any changes to anything that would potentially cause this.

My etc/resolv.conf looks like this:
search
nameserver 12.34.567.8
nameserver 12.34.566.8

Also it seems the problem may have got worse after yum clean-all because before that when I would try 'yum install httpd' it would show the files and filesizes and ask to install, when I would select yes It would give an error showing it could not find the fastestmirror. Now it doesn't give any file size or files or an option to approve the install. It just responds with an error saying it could not retrieve mirrorlist
<urlopen error (-3, 'Temporary failure in name resolution' Error Cannot find a valid baseurl for repo: base

View 2 Replies View Related

Fedora :: Ping Hostname To LAN Computer ?

Nov 9, 2009

I am using FC9 and internet is working fine on it.

Well, I ping to google, it is resolving but if I ping by hostname to other LAN computers. it gives error : unknown host.

But if i ping with IP address it is pinging.

NOTE :
1) My firewall is acting as a dns server and other windows systems are resolving it.

2) FC9 firewall is disabled.

View 5 Replies View Related

Debian :: Computer Not Sharing Hostname?

May 6, 2011

My server's hostname is 'cookhome'. I am wanting it to broadcast over my network so I can just use that name instead of the IP address, but it isnt working. I am unable to ping it from any other computer./etc/hosts

Code:
127.0.0.1 localhost
127.0.1.1 cookhome

[code]....

View 2 Replies View Related

Ubuntu Networking :: Connecting To Computer By Hostname Over LAN?

Nov 22, 2010

I have Ubuntu server installed on my old machine, which has no avahi running. I want to be able to connect to it by hostname. Is it possible. I have a tp-link TL-WR941ND router, but it doesn't seem to have any related options. How can I do it? Is there another way?I know I can add them on by one to the host file, but that is not what I want. Also that wouldn't work well with DHCP, and new hosts.

View 3 Replies View Related

OpenSUSE Network :: How To Change Computer Description (Hostname)

Mar 14, 2011

When browsing in WinXP Windows Explorer to view an OpenSUSE computer, the displayed name is:
Samba 3.5.4-5.3.1-2489-SUSE-SL11.3 (*hostname*)

Other Windows computers display as:
[computer description]([hostname])

How can I change the "computer description" within OpenSUSE?

View 3 Replies View Related

OpenSUSE Network :: Unable To Locate Computer By Hostname?

Aug 24, 2011

I went into Yast and disabled the SYSLOG service, ignoring the warning of which services would be affected, I went ahead anyway and stopped it. Sure enough, a handful of other services stopped as well.Now I have almost recovered the PC from this foolish mistake of mine, the only problem I seem to be stuck with is I am now unable to locate the computer on my LAN by hostname ... does anyone know which service I should restart please (if it helps, the computer can resolve DNS names such as Google.com OK)?

View 3 Replies View Related

Ubuntu :: Find / Create A Hostname For VNC?

Dec 17, 2010

How do I make/find a host name in Ubuntu (10.04) so someone outside my local network can connect via VNC (Remote Desktop). I went to System> Preferences> Remote Desktop, but then it says

"Your desktop is only reachable over the local network. Others can access your computer using the address 192.168.1.102 or geordie-desktop.local."

*Note, would this error be due to my ISP?

View 2 Replies View Related

Software :: Find Out Where Is The HOSTNAME Defined

Mar 24, 2011

Normally each machine should have a host name such as [URL] Where should this HOSTNAME to be define normally? In ' /etc/sysconfig/network'? Else where?

View 9 Replies View Related

Ubuntu Multimedia :: Find A Way To Watch Videos From Main Desktop Computer On Another Computer?

Jul 9, 2011

I've been trying to find a way to watch videos from my main desktop computer on another computer I've plugged into an HDTV. I'm such a Linux newbie that I decided to give Mythbuntu a try. It was way to complicated for what I needed, and I'm sure that some more experienced people reading my first two sentences laughed to themselves at my naivety.

What I am trying to find is simple: browsing one computer's home folder from another computer, and playing the videos therein. If there's anything like Mythvideo that requires less than half of the skill requirements, I will telepathically send love to the person that informs me of it.

View 2 Replies View Related

Networking :: How To Find Ip Address Of Other Computer In LAN Network From Own Computer?

Jun 7, 2010

i want to find ip address of other computer which are connected in LAN..suppose ther are 5 compter in LAN and i want to find ip of all remaining 4 computer using my computer only in command or any other way is ther....

View 4 Replies View Related

CentOS 5 :: How To Change The Hostname

Aug 12, 2010

I have changed my hostname to - ns1.searchdns.net by

1) editing the files /etc/sysconfig/network

2) then run the command - echo "ns1.searchdns.net" > /proc/sys/kernel/hostname

3) then restarted the service /etc/init.d/network restart

I run the command hostname and it returns ns1.searchdns.net. But I am also supposed to modify the /etc/hosts file. I am not sure about this. The content looks like this at the moment

127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.20 abc.com

What should my host file look like now? I am not sure if I should also modify the second line or delete it etc.

View 1 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

CentOS 5 Networking :: Access The Server Using Its Hostname ?

Sep 17, 2010

I've completed the installation of a CentOS server.Running the setup utility as root, ive set up a static IP and installed apache. Now this works ok. I can type in the servers IP address from my browser/putty/winSCP and access the server within the intranet. The problem is that i would also like to access the server using its hostname, e.g. http://centos or whatever Currently i cannot do it. I've searched the forums, edited the /etc/sysconfig/network and /etc/hosts to no avail no matter what i do i cannot access it. i've disabled some services so im not sure if this is the fault.

View 1 Replies View Related

CentOS 5 Server :: Hostname Won't Start On Boot

May 22, 2011

Hostname won't start on boot

I have had a problem where I had to edit in port 53 for the iptables which i think was strange.

Anyways.. On boot I am getting a error where my hostname won't start correctly which causes 110 and 143 to not work correctly.

After i boot I have to run

Then my mail seems to work..

GOAL - to get this to work on boot

View 5 Replies View Related

OpenSUSE Install :: Set $HOSTNAME To Dynamically Update With The Hostname That Is Specified For The Ip In DNS?

Apr 6, 2010

How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?

View 3 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

May 22, 2011

I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".

I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.

Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".

How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.

View 1 Replies View Related

CentOS 5 Networking :: Hostname Changes Automatically On A Server With Static IP?

Jan 7, 2009

Server has been moved to a different locations and so the IP has been changed now the hostname is changed to something other that what it was before.

Could it be the rDNS that is causing this?

Note: this is not a DHCP connection.

View 1 Replies View Related

CentOS 5 :: Mail Stopped Working After Hostname Change

Aug 18, 2010

I built the system with one name and now want to change it.I do the usual things. change the /etc/hosts file change the hostname with the command hostname newname changed /etc/sysconfig/network and then mail stops working. Put it back to the old name and it works fine.So I am guessing I am missing something in the configuration for sendmail. I checked the sendmail.cf file under /etc/mail and no reference back to the hostname was found.I also tried the GUI on the console to change the hostbname.

View 3 Replies View Related

CentOS 5 Networking :: PING From 5.5 To Windows Hostname/NETBIOS Name?

Jan 28, 2011

Givens

LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD

Goal

From CentOS 5.5, have

# ping AwesomePC

resolve to a ping on 192.168.1.20

Problem

# ping AwesomePC

resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers

ATTEMPTS

Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast

Does # ping even care about samba? How can I get this to work?

View 5 Replies View Related

CentOS 5 Networking :: Slow System Due To Hostname Loopback Address?

Jan 12, 2010

New CentOS 5.4 system working fine. Sys admins came in and copied the hosts file from one of the servers down to my desktop and ever sincethen machine has been slow (progs take 10-20seconds to load). RunningGnome. Luckily I saved the old hosts file and copied it back and all is now well. But I'd like to understand why, particularly as I will need to change myhostname in the future.

As configured:
/etc/hosts (yes my hostname is "dummyName" that I will need to change later)
127.0.0.1 dummyName localhost.localdomain localhost

[code]....

View 5 Replies View Related

CentOS 5 Networking :: Change A Systems Hostname And IP Address Via Script?

Dec 14, 2010

I am looking for a way via script to change a systems hostname and IP address!

View 1 Replies View Related

General :: Difference Between $HOSTNAME And $(hostname)

Jan 21, 2010

the difference between $HOSTNAME and $(hostname)?

View 5 Replies View Related

CentOS 5 :: Apache 2 Test Page Powered By Centos..what Is It Get On My Computer In The First Place ?

Jul 2, 2010

i opened up my browser to surf the web and a page popped up i had never seen before.Apache 2 Test page powered by centos. Any address i put into my firefox browser won't come up and i'm stuck on this test page and,i can't locate it on my computer to remove it.How do i get rid of it and more importantly how did it get on my computer in the first place?

View 10 Replies View Related

CentOS 5 Networking :: Configure Server1 To Have A Different Hostname On The Standard Network Than On The Virtual Network?

Oct 5, 2010

I have a server that is on both a standard network and a virtual network, as follows: server1 attached to standard network server1 acting as Dom0 with two linux DomU guests (under Xen) I only have one network card. How do I configure server1 to have a different hostname on the standard network than on the virtual network? Here are the relevant network configuration files for server1:

/etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.122.9

[Code]...

View 1 Replies View Related

Ubuntu :: Find Out Computer Is 64 Bit Or 32 Bit?

Jan 26, 2010

How do I find out if my computer is 64 bit or 32 bit? I already have ubuntu installed.

View 7 Replies View Related

Ubuntu Installation :: Computer Is Not Able To Find Any OS

Jul 28, 2010

My master hard-disk has crashed. However both my operating systems were installed on other disks.But my computer is not able to find any OS because Grub must have been on the old master IDE hard-disk rather than the new SATA one on which Ubuntu 10.04 was installed.Now, I want to regenerate my Grub file so that my system an use the already installed Ubuntu 10.04.

View 2 Replies View Related

General :: Networking - Find Out Computer Network Name?

Feb 18, 2011

I have a linux machine on my university network where I usually log in via ssh from home. I have know the ip, so this is what I use to log in, but it would convenient to know if my computer have a hostname on the local network (it's easier than remembering the ip).I set up a hostname when I installed linux on my pc, but it's not the name associated with that ip on the network. Is there a way to find out if there's a name associated with that ip?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved