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


ADVERTISEMENT

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

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

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

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

Jan 21, 2010

the difference between $HOSTNAME and $(hostname)?

View 5 Replies View Related

OpenSUSE Install :: Keeping Familiar Hostname In SUZE 11.2?

Jan 6, 2010

I managed a first installation of SUZE 11.2 from a mag distro - downloaded the iso file - burned the dvd, installed again, looking to retain the host name for this computer. But for the second time I get a linuxXXXXX sort of host name! No chance to set my preferred one up. I like what I've seen of SUZE so far and am happy to move to it sort of permanently. This legacy hostname helps me keep sane in networking matters though and I have yet to configure a networked laserprinter and add another computer. Can I re-set the hostname to my selection without harming the whole set-up?

View 5 Replies View Related

OpenSUSE Install :: How To Change Random Hostname Of System

Aug 29, 2010

How generally to change the hostname. When the system was installed the there was given random hostname and I am wondering how to change it.

View 3 Replies View Related

OpenSUSE Network :: Fresh Install Hostname Wrong

Nov 17, 2010

Just completed a fresh netinstall of OpenSUSE. This machine previously had a Ubuntu install on it, but I was having all sorts of issues and decided I required a fresh start. The install itself went acceptably, although I ended up manually fixing GRUB.Now the system is running, I've got a ridiculous problem, in that I'm still seeing the old hostname- It used to be ubuntu-server, but should now be unimatrix-001.Checked both the obvious places (/etc/HOSTNAME & YaST), but the correct hostname is in both of them.

View 5 Replies View Related

OpenSUSE :: Hostname Keeps Changing On Reboot?

Apr 14, 2011

This isn't really a problem or an issue but I'm kinda curious about it. I thought openSUSE generate a hostname like "linux-xxxx" when you install it and that was it. But for me it generates a new host name every time I turn on my computer. For example, right now it's "oseiler-linux" yesterday it was "mac-sophia". I'm wondering how it generates these kinds of hostnames.

View 1 Replies View Related

Networking :: Setting Hostname For Install ?

Apr 28, 2011

Coming from a regular syslinux prompt is there any way to set the node's hostname? Basically I'm trying to start an install and the syslog= parameter needs to have the hostname set. It doesn't look like it's getting set by DHCP.

View 7 Replies View Related

OpenSUSE Network :: How To Change Hostname In SLES11

Jan 11, 2010

How do you change the hostname in SLES11? I have normally used the /etc/hostname file and rebooted the server in other distros. I only notice the way to change it is in yast2 -> network devices -> network settings -> Hostnames. I am looking for where it is stored because I want to write a script to update it (apart of a server deployment process).

View 9 Replies View Related

OpenSUSE Network :: Changing Hostname Via DHCP?

Jan 29, 2011

I cannot uncheck the "Change Hostname via DHCP" box because it is disabled. Next to it says "No interface with dhcp". How can I fix it? I'm using OpenSUSE 11.3/KDE4

View 3 Replies View Related

OpenSUSE Network :: Unable To Change The Hostname?

Apr 10, 2011

I've a little trouble: I reinstalled on my notebook OpenSUSE 11.3 yesterday and I'm unable to change the hostname. I modified it, but when I type on terminal

Code:
uname -a

it doesn't give the right answer but returns

Code:
host

I don't know where I wrong because I did this action many times with Opensuse 11.1 and 11.3 without any problem.

View 9 Replies View Related

OpenSUSE Network :: TLS : Hostname Does Not Match CN In Peer Certificate

Feb 16, 2011

I'm trying to use LDAP with TLS but allways got Connect error. The message error is TLS : hostname does not match CN in peer certificate So I've tried to generate new certificate with my hostname for CN but my LDAP still don't want to work with TLS.

I use opensus 11.3. I used YAST2 for crating my CA and certificates.

View 9 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

OpenSUSE Network :: Apache Error Message - Request Without Hostname

May 4, 2010

Anyone know what this signifies in the Apache logs files:

Code:
[Tue May 04 20:56:06 2010] [error] [client *******] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 20:56:06 2010] [error] [client *********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 21:05:18 2010] [error] [client ********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 21:05:18 2010] [error] [client ********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)

View 2 Replies View Related

OpenSUSE Network :: Hostname Change Via YaST Not Applied After Restart

Apr 1, 2011

I installed openSUSE on my notebook with an usb drive using openSUSE 11.4 KDE LIVE iso. The installation process set the name to "linux-ygrl" which I don't really like. (I probably just missed the setting during the installation.). I tried to change it through YaST -> Network -> Hostnames and I set everything where needed to the new name and restarted but the changed weren't applied. I searched the web and found out about the /etc/HOSTNAME file which still contains "linux-ygrl". Now I could change it manually but I was wondering if there is a GUI for it? (I mean, openSUSE has for alsmost everything a GUI.

View 9 Replies View Related

OpenSUSE Network :: Stopping .site From Being Appended To Hostname Every Bootup?

Apr 21, 2011

.site gets appended to the end of the hostname every system bootup for me (e.g. hostname.site), even though I've changed the hostname in both the Network Settings and Hostnames sections of YaST. How can I stop this?

View 7 Replies View Related

OpenSUSE Network :: Error From Yast2 HTTP Server - Hostname Not Valid

Nov 6, 2010

I've been running a SuseStudio-built VM for a few weeks with no issues. I built a new one recently, and now I can't configure a new vhost in Apache using the http-server module. It gives me this error. Screen shot 2010-11-06 at 11.42.24 AM.png. Why YaST suddenly decided that my hostnames aren't valid?

View 1 Replies View Related

OpenSUSE Network :: Hostname Not Saved In Router Table / Broadcast It To Entire Network?

Jun 13, 2010

I setup the hostname for my linux machine to Linux. If I try ping Linux from the same computer it works. If I try from another computer inside my network the host can not be resolved. If I ping the IP from another computer it works.

I take a look in my router at DHCP client list and my linux machine doesn't have the Hostname set up.

How to broadcast the hostname to the entire network?

View 8 Replies View Related

Debian :: Trying To Change Hostname Through SSH

Apr 15, 2010

I tried to change hostname through ssh.
Old hostname = server1
New hostname = server1.domain.local

I changed the hostname by editing the /etc/hostname file
Old:
/etc/hostname
server1
New:
/etc/hostname
server1.domain.local

Then I executed /etc/init.d/hostname.sh, and get as below, looks OK!
hostname -f
server1.domain.local
hostname
server1.domain.local
hostname -s
server1

The logs are still just showing server1.
Example:
tail -f /var/log/auth.log
Apr 15 13:30:01 server1 CRON[22783]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 13:30:02 server1 CRON[22783]: pam_unix(cron:session): session closed for user root

Do I really have to reboot, or is this normal behaviour that it does not show the full hostname?

View 10 Replies View Related

Ubuntu :: Using Variables In Hostname?

Aug 27, 2010

I'm have been tasked with created a base Ubuntu image that can be used for cloning to multiple machines. As this is a network environment, each hostname will obviously need to be unique. Rather than manually changing the hostname each time a new, cloned machine is rolled out, I was wondering if there is a way to use a variable in the hostname (i.e., use a variable to truncate the the last 6 digits of the MAC address to the end of the static hostname--or any other unique variable for that matter--so it would look like hostname00E6D4).

View 7 Replies View Related

Fedora :: 14 - Way To Change Hostname ?

Jan 19, 2011

Is there any way to change Hostname in Fedora 14?

View 4 Replies View Related

General :: Hostname Does Not Have A FQDN?

Jul 7, 2010

I'm using Ubuntu 10.04 LTS

By typing the command:

hostname --fqdn

I get the following

hostname: Name or service not known

As requested by Raphaƫl Hertzog

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

[Code].....

View 3 Replies View Related

Ubuntu :: How Does Hostname Get Set On Karmic

Mar 24, 2010

I just set up a new karmic server, and the hostname is being set properly, but I'm not exactly sure how, since there is no longer an init script that sets it (it used to be /etc/init.d/hostname.sh on my older servers). Now I'm curious: what is the new mechanism by which the server's hostname is set at boot time?

View 3 Replies View Related

Ubuntu :: How To Put `hostname` In Uppercase

May 3, 2010

How i put `hostname` in uppercase in this case:date +"%Y%m%d%T" > date_`hostname`.txt Best wishes,Andr Barradas

View 3 Replies View Related

Ubuntu :: SSH After Changing The Hostname?

May 14, 2010

I just have a simple question. When I installed Lucid a few weeks ago, I didnt feel very inspired, and thus left the host name at default. I just changed the hostname today, and I discovered that I can no longer resolve the host for ssh connections to the computer. When I changed the hostname files, I followed this guide: [URL].. Is there a file that I need to change regarding SSH that has a hostname in it?

Specifically, Im trying to ssh and VNC connect to the Ubuntu box from my iPhone. I have a PuTTY client installed on it (from the app store, called iSSH) and up until now, it worked.

View 9 Replies View Related

Ubuntu :: Set /etc/hostname And /etc/hosts?

Dec 4, 2010

Ubuntu 10.10 64 bit

I need to set /etc/hostname and /etc/hosts so that on running;

$ hostname
Code:
ub1004
$ hostname -a
Code:
ub1004

[Code]....

View 2 Replies View Related







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