Ubuntu Installation :: Changing Hostname Permanently ?

Jul 23, 2010

I am new to Ubuntu 10.04 and so far I love it! I recently created a LiveUSB and I am running Ubuntu from my USB drive with preserve mode.

I changed the /etc/hostname and /etc/hosts files with my new hostname and everytime I reboot those files are going back to original state and change the hostname back to ubuntu...

The rest of my installed applications and settings are preserved... Is there a way to permanently change the host name?

View 7 Replies


ADVERTISEMENT

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 :: Permanently Changing Song Info In RhythmBox

Jun 19, 2011

I've got Rhythmbox set to automatically draw songs from two folders. Everytime I start the program up, it builds the library fresh from the folders, so any changes I've made to track numbers, song titles, artists, etc is not retained from the previous section. Is there a way to permanently change this time of info in Rhythmbox, or is the another decent Linux music player that has this capability? Btw, I have Gnome.

View 4 Replies View Related

General :: Changing The Environment Variable Permanently In Ubuntu 10.10

Apr 30, 2011

I want to make change to environment PATH system wide. Because I have program called "md5". I want to execute it from anywhere (i.e any directory).

My md5 program is located at "/home/ahuq/MappingServer/md5_program". So what I did was to put: "export PATH=$PATH:/home/ahuq/MappingServer/md5_program" in the running SHELL.

This only makes temporary changes and lets me run the "md5" program from anywhere temporarily.

But I want to make this change permanent. So what I did was to put the "PATH=$PATH:/home/ahuq/MappingServer/md5_program" line into the "/etc/environment" file.

This screwed everything up and then for a while I couldn't execute anything from SHELL. I knew the absolute path of "nano" editor and used it to modify the file (i.e. /etc/environment) back to its original condition.

This fixed the problem and now I can run programs like "ls" from the SHELL.

But still I need a way to permanently add the path of "md5" to the environment. How can I do this in Ubuntu 10.10? Which file needs to edited?

Do I just logout or do I have to restart the system to make the changes active?

View 6 Replies View Related

Server :: Changing IP And Hostname In Red Hat ES 5

Jul 20, 2011

How I can change IP and hostname in red hat linux es 5 command mode , not in desktop GUI?

View 1 Replies View Related

Ubuntu Networking :: Changing Namesevers In Resolv.conf Permanently?

Sep 22, 2010

My Internet connection runs slow and jerky, but can be fixed by using the Google public nameservers instead of the default one in this file. Problem is, the changes keep being reverted, even when I chmoded the file to have read-only permissions by everyone.

How can I change the nameserves permanently?

View 4 Replies View Related

General :: Permanently Changing Permission Of FireWire Device?

Jan 22, 2011

I just setup a FireWire audio interface. Everything works fine, except for I need rw-rw-rw- permissions on /dev/fw0. I can always sudo chmod 666 /dev/fw0 just before setting the thing up, but then it will be gone on the next rebooting.The solution to modify /etc/udev/rules.d/020-permissions.rules (which is for Ubuntu Breezy) doesn't go well for Ubuntu 10.10 Maverick because there is no /etc/udev/rules.d directory.

View 1 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 :: Gateway Changing Hostname?

Mar 14, 2010

I am coming across a strange error with my gateway. When I do a "ping", this is what I get below:k-63a5b848c6cb4:~ # ping simba PING simba.gateway.2wire.net (192.168.1.69) 56(84) bytes of data.

64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=3 ttl=64 time=0.023 ms

[code]....

View 1 Replies View Related

Networking :: Gateway Changing The Hostname?

Mar 14, 2010

I am coming across a strange error with my gateway. When I do a "ping", this is what I get below:

k-63a5b848c6cb4:~ # ping simba
PING simba.gateway.2wire.net (192.168.1.69) 56(84) bytes of data.
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=3 ttl=64 time=0.023 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=4 ttl=64 time=0.015 ms

Does anyone know what the problem could be?

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

Fedora Networking :: Changing Hostname Disables Autoconnect?

Feb 13, 2009

After installation, I changed the hostname of my computer, using system-config-network. However, after every reboot, it no longer wants to automatically connect to the network. The only way I could fix this was to remove NetworkManager-gnome and install knetworkmanager and use it to create a new connection. There was a flag there to autoconnect.

The other problem is that the hostname never shows on my network. My other PCs all have visible hostnames. One is an Ubuntu box and the other Windows XP. These machines can be pinged by hostname. The Fedora box can only be reached from the other PCs by specifying the numeric IP address.

I've checked the usual places and the hostname is correctly specified. Entering the 'hostname' command returns the correct hostname on the Fedora box. I am running Fedora 10.

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

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

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 Installation :: How To Permanently Delete Windows

May 30, 2011

I want to get rid of my Windows partition and delete every last vestige or residual information from the laptop.I installed Ubuntu 11.04 and used BleachBit's Free Disk Space to overwrite the files once there.Is there any data left like recovery data points?

View 6 Replies View Related

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

Jan 21, 2010

the difference between $HOSTNAME and $(hostname)?

View 5 Replies View Related

Ubuntu Installation :: Remove Windows Xp Permanently From A Dual Boot System?

Sep 9, 2010

make ubuntu as my default OS by removing windows. I formated windows drive and removed all the programs associated with it. I just want to remove the boot menu too... whenever I switch on my laptop, I need Ubuntu to come up without any prior selection.

View 1 Replies View Related

Debian Installation :: Preseed Hostname Reconfiguration

Aug 25, 2014

I'm trying to create preseed configuration for debian. Currently I'm working with Debian version: 7 (wheezy), Installer build: 20130613+deb7u2+b1.

What I want to achieve is to have different network configuration than during installation.

I have two preseed files, one in intrd and the second that is fetched through http (url argument to kernel)

In the initrd file there are settings required to get dhcp network settings that will be used during installation:

Code: Select alld-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

Then in the preseed file that is downloaded from network i have this:

Code: Select alld-i netcfg/choose_interface select auto
d-i netcfg/disable_autoconfig boolean true

d-i netcfg/get_ipaddress string 192.168.56.199
d-i netcfg/get_netmask string 255.255.255.0

[Code] ....

IP address settings work as expected, at the end of the installation netcfg runs again and when installed system boots it has static address set (.199). However hostname stays the same, it is not reconfigured.

I have tried many different combinations like removing get_hostname and get_domain options form initrd preseed and appending 'priority=critical' to kernel boot arguments but no matter what I do it always fails.

Is there any way to do this? I know that hostname can be set by hostname= krenel boot arg or by using dhcp option but I'd like to avoid this.

View 0 Replies View Related

Networking :: Hostname And Domain Name Using Expert Installation Mode

Aug 24, 2010

During Debian installation there is a question about Hostname and Domain Name using expert installation mode. Correct me if I'm wrong, but hostname should be only for local usage as it's associated with 127.0.1.1 in /etc/hosts. However, I don't know any local network service, which uses 127.0.1.1 instead of 127.0.0.1. Do you? In this light hostname under Linux seems to be nothing more than a computer name in practice(but it can associated with local network services if one wants to)?

View 1 Replies View Related

Ubuntu Installation :: Changing From Windows Version To Complete Installation

May 25, 2010

I have Ubuntu 10.04 installed in my laptop through a windows installation and I want to make a new, complete, install so I can boot directly in Ubuntu (and change some configuration choices I didn't get right in the first place). Is there any (as simple as posible) way to save my actual data (users, software installed, personal files...) as a whole so I can "install" all that back to the "new" Ubuntu installation?

View 4 Replies View Related

Debian Installation :: "permanently" Change The Mount Point?

Feb 11, 2011

I recently installed Squeeze and it was simple and is running great. I have a usb fat32 drive that shares data on 3 partitions with winxp. None are listed in fstab. They all are mounted in /media.2 partitions, Video and Music, are shown in gparted as mounted by their volume labels, which is what I want; eg /media/MUSIC. The DATA volume is mounted by its' uuid. This is how it is displayed on my desktop. The other 2 volumes display the way I want: MUSIC and VIDEO. I have changed the mount point in /media to the label name:/media/DATA but it returns to its' uuid after reboot. How can I change it to display the label name? It works fine, but I have a need to "tidy up" my desktop.

View 5 Replies View Related

Ubuntu :: Keyboard Settings Always Changing / EMESENE Always Changing

Sep 1, 2011

is everytime i reboot , my keyboard is reset to USA. im in canada & it pisses me off each time i need to change it also.all my options on EMESENE is the same issue always RESET.it's like if nothing keeps the changes once rebooted.

View 1 Replies View Related

Ubuntu Installation :: Changing From HDD To FlashDrive ?

Jan 22, 2011

Does anyone know if it would be possible to copy/clone my current Ubuntu install to a memory card of usb stick, and then boot from it? I have a HTPC and the hard drive is the loudest component in the pc. I was hoping that running it from a flash drive would be a lot quieter.

View 2 Replies View Related

Ubuntu Installation :: Changing Default Boot OS To UNR?

Feb 22, 2010

I have a Toshiba NB 205 Netbook. It is currently dual boot with Win 7 and UNR (9.10). The default OS is Win 7. I would like to leave the machine as dual boot, but make UNR the default boot OS, so that I don't have to babysit the machine and choose UNR every time I reboot the machine. BTW, I am delighted with UNR! What a great OS. Really like how it plays so nicely with Firefox. And much faster than Win 7.

View 1 Replies View Related

Ubuntu Installation :: Changing Primary OS In GRUB2?

Feb 27, 2010

I'm using Ubuntu 9.10 and Windows 7. The problem is I share computer with my brother and sometimes with my girlfriend (but computer is still mine basically).

Now I'd like to set Windows 7 as primary OS, since they don't have much knowledge about computers. When I had Windows XP and Ubuntu 8.04 that wasn't a problem but now I don't know how to do it with GRUB2.

So what I want is s simple explanation how to change GRUB2.

View 4 Replies View Related

Ubuntu Installation :: Changing The GDM Login Screen?

Apr 10, 2010

My friend recently showed me gnome-look.org and there's a lot of really cool stuff on there. I was looking around and saw a really cool GDM login screen that I want to use [URL]... The only problem is that I don't know how to use it. I already downloaded the file for it, but I don't know what to do next.

View 6 Replies View Related

Ubuntu Installation :: Changing The Amount Of Hd Space?

May 13, 2010

I have a 250GB HD which has windows on 230GB and Ubuntu 10.04 on the other 20GB--Everything works 100% however i'd like to give Ubuntu some more of the free HD space that windows is using-Can that be done without formatting either OS?

View 1 Replies View Related







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