CentOS 5 Networking :: Renaming Host Does Not Persist?
Feb 18, 2010
My centos host (running under VMware) is called localhost.localdomain I've tried to rename this is a myriad of ways:
* I've altered HOSTNAME variable in /etc/sysconfig/network
* I've created a file called /etc/hostname with the new name
* I've modified /etc/hosts
* I've written the new name to /proc/sys/kernel/hostname
* I've used sysctl -w kernel.hostname=NEWNAME
* I've run hostname NEWNAME
and yet after reboot the name remains localhost.localdomain
View 10 Replies
ADVERTISEMENT
May 6, 2009
Quick question: Can anyone tell me if a logical volume will persist through a CentOS 5 re-install? I hosed my system, and am working to reinstall CentOS (once I work through another problem).When I re-install, I am planning on keeping the same partitions and structure, but hope to not lose the information on my logical volumes (not the LogVolGrp, a different Logical Volume I created). Anybody know if keeping this data intact through a re-install is realistic?
View 1 Replies
View Related
Apr 21, 2009
running fc10 in a vmware setup Added /etc/sysconfig/network-scripts/ifcfg-eth0:0 to create another interface and all works fine (IPADDR=10.99.56.98). Would you expect this to be available after a reboot, last reboot I had to run ifup eth0:0
View 7 Replies
View Related
Feb 1, 2011
I'm setting up apache on centOS 5.5 and administering it from another host on my LAN(this web server has no Xorg). I can ping from the config host to the web server but not the other way. My network is quite a way from being set up so i'm just configuring the web server at the moment, the simplest way i can. It's just trying to get two LAN hosts both with 192.168.1.0/24 I.Ps to talk to each other using a router to connect them.
Here are the outputs of ifconfig and netstat -rn for the web server, the config host and the router:
The ifconfig -a and netstat -rn of the config host are:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
[code]....
View 5 Replies
View Related
Oct 12, 2009
I've just configured my Linksys RVS-4000 router to syslog messages to remote syslogd server (i.e. my CentOS5 machine). Redirecting messages was easy, but now I'm having difficulties to redirect those same messages received from Linksys to a separate log file. By default, all these messages are logged to /var/log/messages, and after browsing manual pages for syslog, syslog.conf, and syslogd, came to suspect that what I want isn't possible.
View 1 Replies
View Related
Jan 13, 2010
I have an HP BL460c G5 with 5.3 installed fresh
it can ping its own IP address just fine
its a bit slow but constant pinging the switch its connected to
and i get alot of Destination host unreachables(a few do get through) when pinging the gateway
port on the switch is hardcoded to GB/full. and the server itself reads that its connecting at GB/full.
View 10 Replies
View Related
Jul 30, 2010
I have 5 1955 blades in an enclosure for an custom application cluster.All were running Centos 4.4 no problem.We wanted to start upgrading them cleanly to 5.5 so two of them got fresh installs of 5.5.The installs went well enough, no glaring errors.However they can only ping each other! The network settings are fine, no firewall or selinux. I'd run the info script but I can neither download it to them nor paste it in via kvm.Standard static entries, virtually identical to their 4.4 brethren. They ping each other so network drivers are fine, no built in switch configuration changes. It has to be some kind of network configuration issue that i'm just not seeing.
Edit* When i try and ping anything else, including the other blades, I get Destination Host Unreachable.
View 5 Replies
View Related
Aug 29, 2010
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
View 1 Replies
View Related
Jun 23, 2010
I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines? Please note: I am very inexperienced in the IT field. [URL]...
View 2 Replies
View Related
Feb 5, 2009
telnet localhost the output is...
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
I don't understand what is the problem. Its not configured properly how do i configure it?
View 7 Replies
View Related
Nov 14, 2009
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 Related
Jan 16, 2011
I had made following entries in my httpd.conf file at centos5.5.
###########################
Listen 80
Listen 8080
Listen 8085[code]....
When i am trying to access the any directory other on port *80, its not being accessible from the static ip which is routed through a DMZ server. http://122.165.35.9:8085 something like this returns the error "could not connect to web browser"
View 3 Replies
View Related
Feb 11, 2009
I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.
View 3 Replies
View Related
Mar 4, 2010
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.
View 3 Replies
View Related
Oct 12, 2010
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 Related
Jan 27, 2009
The 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.
View 2 Replies
View Related
Jan 23, 2011
I have a Netgear ReadyNAS NV in the basement, that I want to use to serve up video files over my network to a TV in the living room.
Now, I have a lot of files that HandBrake encoded and it gave the files an m4v suffix. Even when the files are in a codec that the TV can handle, it refuses to load them because of this suffix... so I want to rename them all.
This is fairly simple for files on a local filesystem. I can simply cd into the directory containing the files, and do something like the commands below.
Code:
$ for a in `ls`;
> do
> stem=`echo ${a} | cut -f1 -d"."` ;
> mv ${a} ${stem}.mpg ;
[Code]....
Although there are a few smb commands available (smbstatus, smbget, etc.), I've not found any commands like smbls or smbmv.
Are there any special commands or utilities around that can do the kind of thing I'm trying to do?
View 1 Replies
View Related
May 19, 2010
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?
View 6 Replies
View Related
Sep 2, 2010
I would like to secure my dhcp server against mac spoofing. I have two nics:eth0 -10.10.10.1/24 LANeth1 - WAN (dynamic from dhcp)I have setup /etc/etheresSERWER.MYDOMAIN.PL 00:01:02:03:04:05comp1 00:1f:d0:27:d1:beetc.
View 3 Replies
View Related
Jan 5, 2011
I have some Oracle (Unbreakable|Enterprise) Linux systems, mostly running v5.4. I'd like to migrate them to CentOS 5.4 (or 5.5... I'm not picky about that).Is it as simple as updating the repo files in /etc/yum.repos.d, and issuing 'yum upgrade', or is there further magic involved?
View 1 Replies
View Related
Jul 1, 2010
I use a reverse SSH tunnel to log into my university machine from home. In order to do so, i start the java client that let me have ssh access to my university machine (since is behind a nat), then start the ssh -R command. However the java client is defective and brings my firefox to 99% cpu and ram leak, If I close the java client, i also lose the ssh -R tunnel and the connection. I tried to give disown, but again when the TTy is closed i also lose the tunnel. Is there any way to make it persistent? at least for an hour once i have closed the java client?
View 3 Replies
View Related
Oct 9, 2010
Right click on the "K". Choose Menu Editor.Save changes. However, after that,some changes persist, other changes do not and, additionally, some unexpected folders magically appear on the menu (such as "Office-1, Office-2, etc.). Some folders I created never show on the right place (the main menu) but instead tend to persist on a different submenu (such as "Graphics"). If I move them out to the place I want, they immediatly show back in the wrong place. Regular KDE manuals I've seen do not mention this issue or how to go about fixing it (they just tell you to delete an item when you want to delete it, to save the configuration after you are done, etc). Maybe I should switch to Fluxbox immediately. I use Linux mostly for production and research, and all I expect from a GUI is to let me get things done.
View 8 Replies
View Related
Jan 29, 2010
Okay so my iPod auto mounts correctly to /media/IPOD (out of the box). But the permissions are set to root leaving me with no write permissions for syncing. Obviously it works if I sudo rhythmbox and then sync, but it's too much of a hassle and not very optimal (having to re-add the songs you want to sync etc).
So...How do I make my iPod mount with permissions allowing me to read & write? Previously (in 8.10 Intrepid Ibex) it used to auto mount with correct permissions.
Some info that might be worth brining up: This all started after I got my iPod back from Apple Store for repairs. I noticed they had updated the firmware and formated it to HFS+, I told them I wanted it changed to FAT32 and got it changed rather quickly. Is it possible they f'd something up when formatting? If so, how do I correct it?
View 9 Replies
View Related
Aug 1, 2011
Does XFCE persist the status of programs? If I close down and leave one program open, does XFCE restart that program the next time round?
View 2 Replies
View Related
May 23, 2010
I am trying to configure pppd to connect to a 3G network (Sprint, in this case) and then stay connected, reconnecting automatically if the remote connection is terminated. I have enabled the persist option. My configuration file is as follows:
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/cellular"
[code]....
View 1 Replies
View Related
Dec 1, 2010
Due to some foolishness on my part I have needed to reinstall UT GOTY on my Ubuntu Karmic PC. I have run the loki installer fine and the game runs but every time I load it up I am back to Player as my name and the default video settings. For some reason my changes are not being saved.
The loki readme states that a .loki/ut folder is set up in the ?home folder and this is where all the config is stored. There isnt one shown in Nautilus BUT if i try to create one it says it is already in use. So I had a look through the CLI and got this:
Code:
saric@saric-desktop:~/.loki/ut$ ls
install_dir System
Not sure what this means.
I did note during the install that the shell kept saying it couldnt create the .loki/ut directory but it seems to be there. Can anyone shed some light on how to get my preferences to stick. I have a hankering for some fragging.
View 1 Replies
View Related
Sep 16, 2010
I've a headless custom device that boots from USB using live image. Since I cannot access the device through the network, I need a way to persist boot related log files (dmesg, boot.log, messages) to view them on another computer. I also need to know how can I run custom commands on startup of live image.
View 3 Replies
View Related
Aug 17, 2010
For a website I'm making in PHP, I need a link on a particular dynamically generated page, called "Make a friend". Clicking this will take the user to a page where they have to provide their username and password, and if it's correct, the database will be updated. When the "make a friend" page is generated, the link will have a ?author=32 (say) argument, to reflect the author's id in the database. Now my problem is, that I need the author AND username and password as arguments to the "make a friend" script. How do I do this?
Instead of making the link a link, I've been toying with the idea of making it a form button (which will look better anyway), and using a <input type="hidden"> argument, for the NEXT page, which will be the page requesting the username and password, but I still can't seem to come up with a viable solution somehows.
View 4 Replies
View Related
Jan 27, 2011
OpenSuSE 11.3 (but this is not likely a distro specific issue)Kernel 2.6.34.7, but likely applies to a number of previousAm close to launching a more extensive webpage describing in detail why and how this configuration is important, but I'm missing up to date information on how to persist the config. By default, changing the TCP Congestion Control algorithm only modifies the current system session. Docs I've read recommend that the command resetting the algorithm be written to Code:/etc/rc.d/rc.dAm confused with all the different config files, but I suspect either an existing file should be modified or an additional file should be modified in
Code:
/etc/rc.d/rc5.d/
Question:
[code]....
View 9 Replies
View Related
Sep 16, 2010
I've a headless custom device that boots from USB using live image. Since I cannot access the device through the network, I need a way to persist boot related log files (dmesg, boot.log, messages) to view them on another computer. I also need to know how can I run custom commands on startup of live image.
View 3 Replies
View Related