Ubuntu :: How To Change The Host Name
Sep 7, 2010Can I change the Host name ?
View 2 RepliesCan I change the Host name ?
View 2 RepliesOn an Ubuntu 9.10 machine, how do I change the host ID to a different value?
View 1 Replies View RelatedI changed my ip address to a static one. Hope did it correctly. Now when I try to ssh or sftp I get this.The authenticity of host '192.168.1.28 (192.168.1.2' can't be established.RSA key fingerprint is 6b:31:28:58:ee:2b:77:36:08:64:a1:33:85:3c:f1:1f. Are you sure you want to continue connecting (yes/no)?
View 2 Replies View RelatedHow to change host name in sles10.2 ?
View 6 Replies View RelatedIn order to change host name I usually create a file with this:
nano /etc/hostname (after going SU)
And in that I type the new hostname.
Also I did this too...
nano /etc/hosts
127.0.0.1 localhost <hostname>
nothing happens. OS is PCLinux
I had my procedure down for setting up the keys on my various machines on my LAN when I was running Fedora9 - I just followed my own notes to set up 'ssh' on one of my machines that I am upgrading to Fedora13 and am finding discrepancies. I used to be able to set files up such that if I am on one machine, I could just ssh to another and I wouldn't be prompted for passwords or passphrases etc. Whatever I did before doesn't work any more (I keep being prompted for passwords/passphrases) - does anyone have a hint to point me in the right direction on how to set up the keys etc. - or what changed from F9 to F13? Also is the handling of ssh keys the same from F9 to F13? Reading the documentation it seems that on my old machines the man page says this:
Code:
<snip> that passphrase will be used to encrypt the private part of this file using 3DES.
Code:
<snip> that passphrase will be used to encrypt the
private part of this file using 128-bit AES...
I changed the host name on this CentOS 5.5 machine but whenever I reboot the machine the startup pauses at the point of starting sendmail for several minutes and then eventually moves on. What could be causing this?
View 7 Replies View RelatedI am in the process of setting up an Asterisk server with Broadvoice services. I am having issues with making outbound calls and Broadvoice suggests I modify the /etc/hosts file in order to add their proxy server IP address and name. I login to my server as root and get the following command line header
[root@root tmp]#
I entered cd thinking this is what I need to change directory but fails. What is the command I need to enter in order to get to the /etc/host file so I can change it? How do I confirm an /etc/host file even exists?
I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.
this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.
The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.
Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.
There are more examples of the same,around 20 domain have the same problem.
Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)
Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)
I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)
View 1 Replies View RelatedI have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.I don't have space on the used host to simply gzip all the files. I've googled this and see that there may be some combination of tar and/or gzip that will let me do this with some sort of redirection.
I really need and example line of how this can be accomplished. If my explanation seems rather sparse, I can supply more details.
Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.
View 1 Replies View RelatedI'm trying to get Synergy up and running between my Windows 7 (server) host and my Arch Linux (client) host. In rare exception, synergy works perfect on my windows host, however every time I try and run Synergy on my linux machine I get the following error in messages.log:
[code]...
I'm running Arch with a barebones Xorg install and SLiM with LXDE. I'm not sure what in the world is causing the problem and haven't been able to find anything of substance in a search.
So here's the setup:
Ubuntu 10.04 host inbound port 22 open
FreeBSD 8.0 host no inbound ports open
Both hosts are running sshd currently. What would you do for the Ubuntu host to be able to ssh to the FreeBSD host? A tunnel?
I am a bit of a n00b when it come to linux but I am setting up a test environment were I have a appliance monitoring network traffic. Part of my test requires me to copy a file via RCP from one host to another host. I have two ubuntu boxes. I have allowed the subnet in the etchost.allow for ALL. I have installed rsh-server
When I try to copy the file it looks like it tried to use SCP instad of RCP because it connects to 22 instead of 544. Also note that traffic must be unecrypted thus me trying to use Is there anyway to make ubuntu go old school to allow me to use rcp instead?
Code:
testuser1@ubuntu:~$ rcp /home/testuser1/test.txt testuser1@10.46.41.38:/home/testuser1
ssh: connect to host 10.46.41.38 port 22: Connection refused
lost connection
testuser1@ubuntu:~$ rcp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[Code]....
I'm trying to ssh from my laptop to my desktop (both fedora 14) over a local network. I can ping my desktop and get responses, but if I ssh to it, I receive
ssh: connect to host 192.168.100.xxx port 22: No route to host
I can ssh from the desktop to itself.
HOW TO GET THE IP ADDRESS OF HOST IN LINUX WITH USING OF HOST AND NSLOOKUP COMMAND and after getting the ip address how to assign it in the variable
View 4 Replies View RelatedThe internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:
- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.
I have installed CentOS 5.4 machine named test.example.com (192.168.1.1)File /etc/hosts contains:127.0.0.1 test.example.com test localhost.localdomain localhostI have read that the loopback addres should not be assigned to host name,only to localhost and the host name should be assigned to 192.168.1.1, like this:127.0.0.1 localhost.localdomain localhost192.168.1.1 test.example.com testIs there any reason why it should be one or another way?
View 6 Replies View RelatedWhat do host.allow and host.deny do exactly? what are they??
View 3 Replies View RelatedHost - Fedora 12 64bit
KVM
VM - Windows Server 2008 64 bit
bridge-utils
VM can ping host and Internet but host can't ping VM.
I set VM static IP 192.168.0.205.
It turns out dynamic IP - 192.168.0.55
On host:
I recently installed Ubuntu 10.04 Netbook Remix on my Gateway LT3103u. I noticed shortly into using it that it has a graphics bug every so often. Especially when I change the background image. Everything will change to a warped mix of colors and pixels. Everything is affected. My mouse, the bar at the top of the screen, text and all. My netbook runs on an AMD Athlon 64-bit processor with ATI Radeon X1270 HyperMemory up to 256MB graphics.
So far I have tried reinstalling, and even the 64bit desktop edition which had the same problem. Ive noticed that it freaks out when i scroll too quick, when changing background images, and on certain websites. Then other times its completely random. When it happens it looks similar to these: [URL]
I currently have a Windows XP OS which i want to dual-boot with Ubuntu Linux 10.10 . I put the disk in the drive and chose the option to install Linux through Windows. But it hangs in the middle. I am also unable to change my BIOS settings due to which i can"t change my boot preference. My first Boot is the HDD. I want to change it to CD-ROM. Any suggestion? I also have another PC where i can boot through the CD...I tried installing there by booting from the CD but i get this error message after seeing the purple Linux screen with the loading dots. "(Process:286):Glib warning**:getpwuid:failed due to unknown user id (0)
P.S.- I am not able to see any options while the boot is going on
I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.
No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.
No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?
No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?
Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.
I changed it and got it working a long time ago but i installed 10.10 (great work BTW ) and have forgotten completely.
View 6 Replies View RelatedNow I know that in order to change the colors in your terminal you have to play around with ~/.bashrc But the effects don't stay in place after a change-root is taken affect. It just reverts to black. Is there any way I can change that too in .bashrc?
View 3 Replies View RelatedI had issues with changing the pointer when compiz was active in ubuntu 10.10. it would not change when on the desktop, only when hovering over a window.I solved this issue by doing the following:
Hit alt f2 and enter-> gconf-editor
Then goto-> /->apps->compiz->general->allscreens->options
Then in "cursor_themes" type in the name of the pointer theme(Eg. DMZ-White)
This should resolve the issue with compiz.I am not going to go over that here.Oh yea don't forget to logout/login or press ALT F2 and enter compiz - -replace to refresh the pointer...
If this information excists here so sorry I was not able to find it. How to change permissions in Unbuntu for those people who are trying to change persmissions in a subdirectory.
Open the terminal and then type: Quote: sudo chmod yourpermission number /thenameofyourdirectory
Example:
Quote: sudo chmod 755 /directory
I installed the webilder application to automatically change the wallpaper, preferences you've specified the directory where the images but I can not change the background. Does anyone know why not change?
View 5 Replies View Related