Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, my office has a linux machine currently used as a WinCVs server only. It will be moved to an other building and the IP address has to be changed. The trouble with this machine is that the monitor is fixed on the computer (uniterchangeable) and has already broken. We can not see anything on the screen.
We want keep all the content on this computer, what can we do?
The computer will be turned off during move. Can it boot without link to network? and then how can we change the IP address when we have a new one?
It should be easy enough to modify the network settings via ssh.
What distro is on the computer? That affects what file(s) in /etc might need to be modified.
In the long run, it might be a good idea to plan to change out this computer or repair the monitor because, eventually, something will break that requires a direct interface with display capabilities to be fixed.
Before you do anything you should see if you can access by some method. Not needed but may be helpful.
Knowing the type or distro of the linux may help us too.
Access it via a lan by knowing some part of the system. Knowing the mac address or IP address would help. Tools to access remotely include ssh, telnet, vnc or other remote like NX. Even access by tftp or nc may provide ways to control it.
Knowing user names and passwords is also helpful.
It may be that you have to remove the hard drive to access it in a different system. May have to boot to a special live cd to access it remotely.
Can you or anyone access it now by any method and any user passwords known?
The machine is working with the current IP and we can access it even if we cannot see anything on the screen. The computer will be turned off and moved to a new building where the current IP WILL NOT work and we will be given a new IP.
So my trouble is:
Once in the new building we turn on the computer, how can we access the machine and change the IP address?
Different Linux distros put the ip address information in different files. The files are always in the /etc directory. However, the exact name of the file can vary. Also, some distros put that file directly in /etc, others put it in a subdirectory, as in /etc/[some directory name]/[file name].
Accordingly, if you can tell us what Linux distro (Fedora, Debian, Slackware, CentOS, and so on) is being used, it will be easier for us to suggest which file must be modified.
If it is static then simply use any computer and make an arp static assignment to the old ip. I'd do that on a very simple two computer setup so as to not goof up anything else. Arp can force any ip to a mac address so that you can access it.
If dynamic, then arp may still work but I never tried it. I'd use wireshark to view request to the mac address then access it.
One of the Linux Link Tech Show guys in this week's podcast did a rant on how to get a Linux job (he admins 100s of Linux servers and had just been hiring; apparently one too many persons answered "Use the GUI tool" to a question). He said, among other things, that knowing about basic system tools such as pwd and clusterssh was important.
I bet he would have included arp as one of those commands.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.