Ubuntu :: Hostname - Short Name And Long Name - Whats The Difference
Sep 27, 2010
I installed a new instance of Ubuntu server (10.04) and set the hostname equal to "ubuntu-10.04-server-i386". However when I type the command hostname I get that the hostname is equal to "ubuntu-10". I then realised that the command hostname --long gives me the full name (as defined when doing the linux installation) while hostname --short gives me the name as displayed in terminal. My question is; what is the difference between these two? Are both valid?
View 4 Replies
ADVERTISEMENT
Jan 21, 2010
the difference between $HOSTNAME and $(hostname)?
View 5 Replies
View Related
Jun 10, 2010
I am backing up data from a remote server onto a local ntfs partition. It seems that the rm -rf and cp -a commands are taking a long time to complete in what should be short, incremental backups.Has anyone had similar problems when backing up to an ntfs partitionHere is my rsnapshot.conf:
Code:
#################################################
# rsnapshot.conf - rsnapshot configuration file #
[code]....
View 5 Replies
View Related
Oct 8, 2010
What is the difference between /etc/hosts and /etc/hostname?
I think the /etc/hosts file stores all ip address associated with this computer, but what about /etc/hostname?
It sounds almost like the computer name, but what is it used for?
View 6 Replies
View Related
Jun 23, 2009
get me understand the short range and the long range links from routing (and routing protocols') point of view.
View 6 Replies
View Related
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
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
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
Jan 9, 2010
just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:
[Code]....
View 9 Replies
View Related
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
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
Jun 23, 2010
it's been quite a while since firefox 3.6.4 was released and yet i don't see any update and it seem to be that there is nothing in the stable ppa of firefox that i found.
View 9 Replies
View Related
Aug 3, 2011
For about a month GParted has been not running right for me. When I try to formate ext2/3 FS to a disk, it never completes, or hangs or then wont quit all the way when I shut it down. Then I have to use sudo pkill gparted to kill it right. Any one else having this trouble? Whats going on here? Is this some sort of kernel regression?
View 4 Replies
View Related
May 5, 2010
Is a firewall necessary on ubuntu? I've never thought about it until now. Do I need one? If so whats a good firewall to install? As you can tell im not too knowledgeable on this subject. I know (i think) linux has a built in firewall called iptables but ive never used it or looked into it.
View 9 Replies
View Related
Aug 3, 2011
i been pretty busy lately and haven't really been keeping up with gaming. i thought it would be fun to play an online game but i refuse to resort to downloading windows haha, plus i would have to set up grub to load both operating systems which i really don't feel like messing with. so whats a fun online game that works in wine?
i have 10.04 Linus with the latest wine install.
hardware requirements is not an issue.
View 2 Replies
View Related
Mar 19, 2010
seen it more in Windows than Linux but nonetheless I was always curious what does the % mean/do?
View 9 Replies
View Related
Jan 18, 2011
I'm looking for an OS to run WoW on mainly.
View 4 Replies
View Related
Jan 9, 2010
Whats is kde or shall i say the purpose of kde.
View 9 Replies
View Related
Apr 2, 2010
What is that super psychedelic screen saver on ubuntu called? Its like Hyp something?
View 5 Replies
View Related
Aug 10, 2010
i have always wondered , what is the package for Restricted Drivers Manager ? it used to be something like restricted-manager ,but that package is not in the repos
View 2 Replies
View Related
Apr 15, 2010
Out of daemons desperation* i had to install xfce4 Ok: kidding aside. I would like to add a shortcut to open the menu, but can't figure out how to call it. I checked */bin, but it ain't mentioned there. *heck: I think desolation is the better word.
View 12 Replies
View Related
Dec 22, 2010
have you ever try using Denso GT10Q-SR barcode scanner??could you tell me whats OS which required for this scanner?could it work in linux?
View 1 Replies
View Related
May 21, 2010
Im trying to set up a web server on Linux and I was wondering if there may be any shortcuts available or a simple step process to get me where I need to be in regards to setting up the server.
View 6 Replies
View Related
Oct 30, 2009
I am running Xandros3.0.1 OC on the same PC with Win XP Pro. Connection to internet through Win XP works fine but whe I try to connect through Xandros I got following message: unsuccessful PPPOE initialization request.
What did I do wrong.
View 4 Replies
View Related
Nov 17, 2010
I have a CentOS Server and i use ispconfig 3. I have hosted 10 websites and the other day all my websites went down. I have tried to look at the logs i cant see any thing ISPconfig logs dont have any errors.
View 5 Replies
View Related
Jun 2, 2011
I've got a solid PC w/Xeon dual core, 4gb RAM, and (2) 1Tb Sata HDs - looking to replace a WinXP pc that currently is running PlayOn (for media to the BD player on the TVs) and sharing folders/drives to all the PCs (WinXP, Win7, OSX, and Ubuntu.
I have tried a few distros to get media shared to the BD players, and even a Win7 - but the BD players can't seem to play any of the video files on the newer 'servers' - and only the Win7 even appears to the Sony TV in the living room (even though it can only browse the folders with video files). Another problem with the Win7 being tested for acting as a server - is the Macs cant seem to access the shares (get Access Denied errors).
Wondering if there is any good distro that is mainly setup for sharing files and storage space to all my devices. Thinking of trying FreeNAS, and seeing if I could add the UPnP/DNLA server packages to it?
View 2 Replies
View Related
Sep 11, 2010
whats the minimum hardware requirements for slackware13?
View 14 Replies
View Related
Apr 14, 2010
Code...
whats wrong with it? 'man mount' says that any can mount partition if it contains option 'user' or 'users' in /etc/fstab ?
View 7 Replies
View Related
Jul 19, 2009
Anyone know what the extra . (dot) in the permissions field is in the output of ls -la in FC11? A permissions field is normally 10 bytes, whats with the dot, a man an info on ls caused nothing obvious to jump out at me. A eleven byte perm field now with a trailing dot insead of the normal ten byte field
[root@osprey mark]# uname -a
Linux osprey 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux
[root@osprey mark]# ls -la /
total 110
drwxr-xr-x. 23 root root 4096 2009-07-17 20:56 .
drwxr-xr-x. 23 root root 4096 2009-07-17 20:56 ..
-rw-r--r--. 1 root root 0 2009-07-17 20:56 .autofsck
[Code]...
View 3 Replies
View Related
Aug 6, 2011
Whats the red circle with an exclamation mark in it on icons mean?
View 5 Replies
View Related