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


ADVERTISEMENT

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

General :: Hostname Change Using System Config Network

May 4, 2010

My colleague changed the hostname using "system-config-network", but now I want to change it using any how (either system-config-network or /etc/sysconfig/network). Even I changed it from /etc/sysconfig/network. But when I reboot the system its getting old hostname. Is there some other place to change hostname?

View 5 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 :: 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 :: 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 :: 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

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 :: 11.0 - Which System To Mount To Change The Root Forgotten Password

Jan 12, 2010

I have a Suse 11.0 Server that has been running for a long time and I have not had to touch it, well I need to get into it today and I forgot the password. So I booted it up with the install disc and got into the rescue mode but I am not sure how or which system to mount to change the root password I tried sda and sda1 but it errored out with unknown system type

View 4 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 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 Install :: Configure The System To Automaticly Change Wallpaper And The Standard Icon Theme To A Custom Made?

Apr 8, 2010

How do you configure the system to automaticly change wallpaper and the standard Icon Theme to a custom made.

-If Im not mistaken, it must be something to do with the option to make a script at the end of the installation, -Ive seen the option in the creation,

View 4 Replies View Related

OpenSUSE Install :: Seemingly Random Crashes On A New Desktop Running 11.3

Sep 9, 2010

I got a new desktop and figured this would be a great oppurtunity to update to 11.3 (from 11.2) while migrating files.. However I have had lots of problems with it, right of the bat. My first installation got messed up right after it was done, so I had to redo everything. Now the system boots up all fine but I am experiencing crashes every once in a while. By crashes I mean nothing works; the system monitor graphs freeze, the clock freezes, system doesnt respond to key strokes. The only remedy is then to "force an unexpected reboot" (ref: IT Crowd). I have a feeling that it has to do with Yast or something related to Yast, as it is the only common denominator between the crashes so far. However the system doesnt crash everytime I start Yast so I cant really say anything conclusively..

I have also realised that when I attach a secondary screen the graphics get kinda screwed as well.. if that makes any sense... Here are my system details: Dell Vostro Desktop with Core i7 64bit processor

8 x 2.8Ghz
6gig ram
graphics card: GeForce GT220

What could be the problem here? btw let me know if anyone wants to see logs from /var/log/messages

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

Fedora :: 14 - Way To Change Hostname ?

Jan 19, 2011

Is there any way to change Hostname in Fedora 14?

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

Fedora Networking :: How To Change Hostname To Rodder

Oct 1, 2009

Yesterday, while trying on establishing mobile broadband, my hostname changed, and I can't make it yet. My /etc/hosts is

1 127.0.0.1 pc-194-101.fysik.uu.se localhost.localdomain localhost
2 127.0.0.1 pc-194-101.fysik.uu.se roddur
3 ::1 localhost.localdomain roddur

The second line I edited but after a reboot it inserted the first line all automatically and my /etc/sysconfig/network is

1 NETWORKING=yes
2 HOSTNAME=roddur

What I have to do if I have to change my hostname to "roddur"?

View 2 Replies View Related

Ubuntu :: Sudo Broken After Hostname Change

Nov 2, 2010

I changed my hostname by running sudo gedit /etc/hostname and changing the word there. Then I discovered that hadn't done anything so I used sudo hostname newname. My hostname was changed then but I tried to run sudo gedit /some/thing/else.txt and it said:

Code:
sudo: unable to resolve host newname
No protocol specified

(gedit:5512): Gtk-WARNING **: cannot open display: :0.0 and it says the same with sudo or gksudo for any program that has a gui including synaptic. I can run vi but I have no idea how to use it. I think the problem lies in the lines in /etc/hosts which still say

[Code]....

with the problem being that it still says localhost and my local IP address are ubuntu instead of newname. So if you could tell me how to edit that with vi or some other command line program

View 2 Replies View Related

Ubuntu Servers :: Possible To Change Hostname Of Machine In GUI

Nov 27, 2010

I have a problem with server bcs of the machine name. I'm wondering how to change the server name to it's IP. bcs now it has name "chrochne". I've found hostname in /etc/host and in /etc/hostname. But I'm afraid of changing it in this files. I'm using webmin and virtualmin to admin the server so can I change the name somewhere in the GUI?

View 9 Replies View Related

General :: Any Way To Change Hostname Of RedHat 9 Machine?

Apr 1, 2010

I want to change the Hostname of my Red Hat9 Linux machine using command line. By default it show me as following
[root@localhost root]#

I want to see it as
[root@pc1 root]#

Is there any way to change host name?

View 26 Replies View Related

General :: Bash Script To Change Hostname For RHEL

Jan 15, 2011

I'm trying to write a script to change the hostname of the computer at the first boot. The reason why I need this script is because I manage a number of training computer and I use Ghost to re-image it every 2 months. The script will read the mac address and the hostname from a csv file and compare it with the mac address on the current machine. I have stuck and don't know what is wrong as I'm new with script.

csv format:
Code:
00:11:22:33:44:55 host01
00:11:22:33:44:56 host02
script:

Code:
#!/bin/bash
# Description
# Change HOSTNAME for each machine from CSV file
#
# CSV File Format
# Each line contains two columns - mac address & hostname
# Description End .....

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

Fedora Networking :: Change The 'DHCPclient' Hostname Send To Router?

May 6, 2011

first time user of F14 here. Used PCLinuxOS so far. Installed F14 fine , got samba up, set the hostname of the box to fedora.linux BUT when I connect to my wireless router (Belkin) the hostname shown in the routers DHCP client list is different:
Router shows:

IP Address-----Host Name-----------------MAC Address
192.168.2.4----ralf-FK790AA-ABA-m9---00:22:5F:17:dE:98
In terminal it shows
[dagaz@fedora ~]$ hostname
fedora.linux
[dagaz@fedora ~]$

When I search the forum or google, I end up with hostsfile or samba howtos. Those settings all show the right name : fedora.linux Why does the router show ralf-FK7 etc..? and where can I change it?

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

OpenSUSE Install :: Moving A Moderately Complex System From An Old System To A New System

Sep 25, 2010

My problem is that I need to move a moderately complex system from an old system to a new system. The old system is a core 2 duo running on an asus p5k-se (p35 chipset) M/B, Nvidia 8500 gt, 3 x sata II hard disks, 1 x sata dvd, 1 x ide hd, 4GB ram. It runs opensuse 11.1 kde 4 as a desktop system + samba server, apache server, database server + other non-opensuse software. In addition some of the opensuse software is not the default 11.1 versions as later versions were required. The nvidia driver is from the nvidia repo. There are several file systems, some under LVM.

The new system will be a core5 760, asus p7p55d-e M/b (p55 chipset), nvidia 240, 3 x sata II HD, 1 x sata dvd, 4GB ram and possibly 1 x ide HD. This M/B also includes USB 3 & sata III. I have no USB 3 devices but this may eventually change. I have no plans for sata III and believe that it may be better to attach any sata III SSD to the sata II bus.

What I would like to do is to move the hard disks from old system to the new system. What I would like to know is, if the system is left at 11.1, is the system likely to work with the new hardware. If the answer is no, if the system was upgraded to 11.3, would the transfer of the hard disks then work? In order to upgrade from 11.1 to 11.3 using the DVD i believe I should get rid of all non-default repos. I assume that I should also get rid of anything that was installed from them, e.g. the nvidia driver and any software versions installed manually outside RPM. Also is there any default 11.1 software that should be removed either before or after the upgrade to 11.3

View 4 Replies View Related

Ubuntu :: Change Gnome Background To Random Image (perl)?

Apr 8, 2011

First, I wrote a bare bones bash script to change the gnome desktop background to a random image [URL] Then, I realized there are dozens of bash scripts posted in the ubuntu forums just like this one [URL] next, rothalem & I rediscovered the drama of processing files in bash that have spaces in the name [URL] Finally, sflitman suggested dumping bash all together & just using perl [URL]

Result :

A pretty little perl script to change the gnome desktop wallpaper / background to a random image. - If you are unfamiliar with perl :

[URL]

The completed script isn't bullet proof but it will :

- accept command line arguments
- accept files & dirs with spaces in the name
- catch most errors or use the defaults.

Step 1 : Inherit the appropriate CPAN library ( from command line )

- Main Menu -> Accessories -> Terminal

Code:

sudo cpan File::Random

Step 2 : Cut-n-Paste this code into a perl script & change red line to the path_to_your_wallpaper_images

Code:

#!/usr/bin/perl -w
# rocuan & sflitman
use Cwd;
use strict;

[code]....

View 4 Replies View Related

Debian :: Access System From Windows Box Using The Hostname?

Apr 20, 2010

On my Linux boxes, I can access another machine using hostname.local as the address. How can I do something similar from Windows (XP)?

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

Fedora Networking :: Hostname Not Pingable From System Besides Host

Nov 25, 2010

I am able to ping my hostname of sinbad only from the linux system itself. On all my windows boxes, I am not able to ping it. I can only ping the IP address.

[code]...

View 4 Replies View Related

General :: Windows 7 Network : Can't Ping System Box Using Hostname / Fix It?

Sep 17, 2010

First off I should say that I am a total Linux and Networking Noob. I have used Windows all my life, but I am now trying to get into linux so I have set up an old PC with Fedora.

Currently I only have the Linux Box and a Windows 7 Box and they are both connected to my broadband router. I have set them up with static IP addresses in the router and they can both ping each other by IP address but not hostname. I would like to be able to use hostnames to access each box (e.g. for SSH access and File Sharing). My question is basically how can I do this, what are the options and which is recommended for a small home network?

So far I have been able to set up the linux box to be able to ping the Windows box by hostname by editing the hosts file. Is this the right thing to do? Should I just do this on the Windows box too?

View 2 Replies View Related







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