Networking :: Getting Two Linux Servers To Communicate
Dec 18, 2010
I am testing with Suse Linux Enterprise Server 10 in a VMWare environment. I've installed two SLES10 servers, named sles1 and sles2. I can't get the two servers to communicate, even a simple ping won't work. The "Network Adapter" in VMWare is set to "bridged", a setting which has worked fine when installing WinXP in VMWare and connecting to the Internet.Even if I ping sles1 from sles1 (= "pinging myself"), I get the same error message.Only if I ping localhost, I get a proper ping result.What did I do wrong? Did I forget to configure something?
I am testing with Suse Linux Enterprise Server 10 in a VMWare environment. I've installed two SLES10 servers, named sles1 and sles2. I can't get the two servers to communicate, even a simple ping won't work. The "Network Adapter" in VMWare is set to "bridged", a setting which has worked fine when installing WinXP in VMWare and connecting to the Internet. I have configured the Network Settings as follows:
Hostname/DNS tab: -Hostname: sles1 -Domain Name: local -Name server: blank
Routing tab: -Default Gateway: 192.168.0.1 (= my router connected to the Internet) SLES2: same as sles1, with IP 192.168.0.22 and Hostname sles2
With these network settings, the two servers seem totally unable to communciate. -When I ping sles2 from sles1, I always get the error message: connect: Network is unreachable -Whatever way I ping, either ping sles2, ping sles2.local, ping 192.168.0.22, whatever, the error message is always the same. -Even if I ping sles1 from sles1 (= "pinging myself"), I get the same error message. -Only if I ping localhost, I get a proper ping result.
I'm using Fedora 9 and has finished the DHCP for my eth2 and static on eth0. I would like to add a route so that the 192.168.22.x eth0 and 192.168.26.x eth2 can communicate to each others,.
I downloaded and installed a new copy of Fedora 11 last week onto a new computer (hereafter "proximate"). I also have a remote computer without a monitor running an outdated version of Red Hat Linux (hereafter "remote"). To manage the processes on remote graphically, I ssh from proximate into remote; this connection succeeds without incident in transmitting text (including commands) between the two computers; however, the command "gnome-session" returns: (gnome-session:15789): Gtk-WARNING **: cannot open display:
(The numbers apparently represent the process identifier and vary from instance to instance.) A similar warning (and no accompanying graphics) occurs whenever I attempt to start any graphical user interface from remote via ssh from proximate. The issue almost certainly lies with proximate; remote successfully communicated graphics to the ancient box that proximate replaces.
Interestingly, I cannot communicate via ssh from remote to proximate (within a secure shell from proximate to remote). If I execute /usr/sbin/sshd on proximate as root, then I can login, but even then I cannot execute any commands.
Consider the following output:
If I execute ssh -vvv proximate from remote to proximate, then I get a lengthy output that ultimately ends with "debug1: Exit status 254."
What must I do to communicate both text and graphics among my computers?
I have two computers...Ubuntu server and Windows XP client. Both are connected to the internet using Ethernet. I have them connected directly using 1394 to increase speed of large transfers. The internet network and 1394 have different IP address scemes. Internet 192.168... 1394 10.0.0...
I am having problems getting the two computers to communicate with each other. I can ping the server's ip address and and it loops back. Same with the XP's IP address. I can't ping each other.
ifconfig shows my eth0 and eth1 connections are up. The eth1 Link Encap says UNSPEC.(Don't know if that means anything.)
I am running Ubuntu Release 10.04 (lucid), Kernel Linux 2.6.32-26-generic-pae, GNOME 2.30.2.
I have installed the ASUS USB-N13 according to your advice in previous posts, specifically, in your advice to 828688 Ben.
The dongle seems to be operating as it should. The LED does its flashing at what appears to be the correct time. Wicd also looks correct. Networks are found with good signals shown. Everything looks correct. But when I attempt to connect, "validating authentication" runs for quite some time, and eventually results in a dialogue window stating the communication failed. The required WEP password is entered in the RT2870STA.dat file, and again in the wicd window.
I have entered as much detail in the RT2870STA.dat file as I dare, and believe it to be correct.
ndiswrapper is not installed. Network Manager is uninstalled. Only wicd remains.
I am trying to set up an NIS client on a Fedora Core 12 64-bit system. The ypbind daemon is running via the /etc/init.d/ypbind script. However, whenever I run the ypwhich command, the following error message appears on-screen:
[code]...
The client has been configured so the domain is set, and the client will broadcast for the first available nis server. The client is on a subnet where there is one nis slave server, so it should bind to that server. One thought that came to mind was the fact the client in question is 64-bit, while the nis slave is 32-bit. Could that cause this problem?
given my computer is in a network consisting of multiple subnetworks, i.e. there are groups of computers: {192.168.1.1, 192.168.1.2, 192.168.1.3 etc.}, {192.168.2.1, 192.168.2.2, 192.168.2.3 etc.},..., {192.168.254.1, 192.168.254.2, 192.168.254.3 etc.}. My computer is 192.168.1.1. So I can communicate with 192.168.1.2, 192.168.1.3 etc. To communicate with other people I have manually switch to the proper subnetwork and take a new ip, e.g. 192.168.2.1. My question is: Is there any way to be member of all groups and communicate simultaneously with ALL computers? And if not, is there a way to find out (without manually changing the ip address) if computers of other subnetworks are online, so one does not have to change the ip and then look for other computers in the new subnetwork?
I am unable to ssh a Linux box from other Linux boxes; also tried to window putty.Although I am getting the password prompt instantaneously.So far, by comparing logs of other server, I am just able figure out that "debug2: callback start" is not coming in ssh -vvv logs.
One problem has led to another.. I had notebook version 9.10 and it worked OK. I Downloaded 10.04 onto USB and all seemed fine. After upgrade - disaster. I have as Asus Eee PC901.
1. I am in Italy and bought a TIM USB mobile broadband modem - Ubuntu can see the device but nothing happens except a bizzare message with no information at all 'Unable to Open Archive'. I have no idea what that meant nor what I should do to resolve whatever it is, so I went back to my older USB modem which worked under 9.10 - Now even that device does nothing.
2. as a result, Ubuntu software centre does not work, Synaptic Package manager is the same; also update manager.
3. Limited communications are available via the university wireless network. That network requires me to work through their own proxy;port address (with username and password) which I have set up using proxy manager including the username and password. This allows me to carry out web surfing and point to point downloads.
4. Firefox works fine, and it obeys the requirements for registering with the proxy. Thunderbird, evolution, Synaptic, Update manager, Software centre etc all fail because they failed to authenticate with the proxy. They all have been set up to use system proxy. (Also tried direct proxy address;port in each package but no go)
5. The ultimate frustration has come from the direct download of Skype (.deb). Double click and it starts to install then crashes because of numerous dependencies (things like libqtgui4).
Now that I have more computers I am looking at new solutions to manage the proliferation.My Linux machine has been replaced and its now much more powerful than before but its still a 32-bit processor. No problem as I am not using anything unorthodox outside the LAMP stack with a few PHP add-ons to support graphics.I use SAMBA so I can edit web sites easily with Windows tools.So now given a Windows Server, who should be king server and have everybody on the same page so to speak.
I have been trying to set up a network bridge for the 2 virtual machines installed on my Fedora 14 host PC. I want the VM's to be able to ping each other and have their own "network" in which they can operate/communicate. What is the simplest way to accomplish this? Most of what I have read revolves around turning off NetworkManager, and the following config files:
[code]...
Once these files are configured and the network is restarted, the bridge should work. Is this true? I have been encountering problems with this process, specifically when I try to link a VM to a bridge.
My necat (nc) doesn't listen! It means when I write "nc -l 3333", I can't communicate data with "nc 127.0.0.1 3333" in another terminal! Also after writing "nc -l 333", I don't see port 333 between the ports which are listening, by "netstat -ln | grep 3333".
I am looking for some monitoring tools (such as disk usage,memory usage, cpu,etc) for my linux machines. I came across two tools, cacti and splunk.Which one is better ? It will be nice if you can also let me know the reason.
I have a personal ubuntu server that provides apache, glassfish, firewall, routing, email, CVS, MySQL, etc.... This server has been running for a while with two hard drives configured into a RAID 1 array. The array has two partitions, one for swap and one for the data. I currently back up the data with a removable hard drive. I use dd and create an image of one drive and the MBRs (partition tables) of each drive.In a disaster situation I can use this data to recreate one drive and then re mirror it to the second, or just boot the back up.I like this solution because I can easily recover from bare metal, and the backup is transparent. I can browser it if needed since its an uncompressed image of the drive. The one drawback is that I need to reboot the system with a linux CD to do the backup.
My hard drive space is almost at capacity. So what I want to do is add a third drive to the array and migrate it to RAID 5. However this will cause my current backup method to no longer work. How can I back up this RAID 5 array. I need to back up the entire system, and not just the data. I have made many tweaks to the system over the years that it has been running that I can't lose if a restore is needed. I have seen a large thread here that people have been using tar. My concern with tar is how do you use a tar archive to restore a system to a new array. Im assuming that you would need to setup the array and then just restore the archive? Also, i don't have much faith in using tar on a running system. Doesn't this open yourself up to corrupted backups? My second idea is using rsync. While I consider myself experienced in linux from 10 years of personal and professions use, I have not had much experience with this utility. Would rsync provide a more reliable way to backup a running system that would enable a bare metal restore later? I once read something about people using rsync with hard links to create a backup that could store many incremental backups.My main concern with both rsync and tar is not being able to restore the OS to the state that it was in at the time of the backup.
I am in the process of running a set of performance tests for the latest Sun JVM 1.6.0_20. I am using for that the dacapo test suite: [URL]
I ran the test suite very often with all sorts of settings, but recently it happened once that my Ubuntu system froze. I could still ping the machine, but nothing else was responding any more, no screen output, no ssh login, not possible to switch consoles. After rebooting the system the system logs were quiet. No single trace of any problem.
I am using a custom compiled kernel 2.6.34: Linux i7 2.6.34-custom-201005231602 #1 SMP PREEMPT Sun May 23 16:06:01 CEST 2010 x86_64 GNU/Linux and I am experimenting around with the -XX:+UseLargePages JVM switch the requires to set-up the hugetlbfs on the Linux system: [URL]
A similar issue happened in March 2010 on one of our CentOS 5.4 systems where we run a heavy load Java application on, where we had to hard power off the machine and after the reboot there was no trace of the problem in the logs. On that server we used JDK 1.6.0_17 and did not use hugetlbfs.
My first question would be what to do so that next time something like that happens I have more information available after the incident to debug and analyse the problem?
if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?
I have learnt that the network locked huawei modems may be unlocked to use any sim card bu getting a special unlock code and it should ask for it when a "foreign" SIM card is inserted. This procedure works well in Windows, but in Linux where I use wvdial, I dont get prompted for this unlock code. Does anyone know how to insert the unlock code in Linux using any Linux tool (GAMMU/GNOKII/Minicom etc)?
I have 2 computers one of them ubuntu installed and on the other one windows(xp) installed.how they can communicate?like file sharing,printer sharing etc.?wat kind software or what i need?
I am trying to set up a website from my ubuntu machine through IIS of windows server 2003. I am sharing the folder I want to store the files in across the network and all the computers are seeing it find.
The question is, how do I do this so it does not require a password to connect to it or give windows the permission without having to put them in every time.
I can get to my website, but it is asking for username and pass... I need that gone.
I previously used SSH to communicate between my two ubuntu PCs, but my new internet connection is far too slow for this method. Is there someway I can directly communicate between my two PCs using the router. Samba? moreover, my ip seems to be dyanamic through my internet, how can i change it to static? or will it not matter for Local area connections?
I have a wireless headset that I'm trying to charge through USB. When I connect it, it just doesn't charge. Looking at dmesg, the device isn't recognised, which is not surprising, since I think the USB port is only for charging, and it won't communicate over USB. lsusb also tells me that (apart from other things that are connected to the USB bus, that all of the 'MaxPower' variables are set to 0mA. So what I think is happening is I connect the headset ubuntu queries it, receives no reply, and so doesn't let the port draw any current. As far as I'm aware, there usually is some kind of OS handshaking like this, but it may vary from model of computer to model, so there's no point in saying "my <INSERT USB DEVICE HERE> charges". I am able to charge my MP3 player from the same port (because it's recognised), and I can charge the headset if I use a dumb mains->USB/5V transformer, but it should also work with my laptop. What I think I need is some way of manually setting the 'MaxPower' on the USB ports.
I am setting up a small home print server running Fedora 13 (no gui). I setup Samba to have 1 file share and 1 printer. I can access both just fine in Windows network.
However when I try to print, nothing happens. I looked under Jobs in the Cups Web Interface and no job was ever created, so I suspect either Samba or CUPS isn't configured correctly. I am able to print a test page from CUPS directly.
The code compiles without errors, but doesn't catch any input text from the device attached to RS232. I have tried it with Rx and Tx connected, but didn't receive my text back. It works OK if I substitute /dev/ttyS0 with an ordinary file, but any attempt to use /dev/ttyS0 seems to lead to an empty answer string. I tried this on a PC under Ubuntu Linux 7.10.