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.
I have a small home network that im trying to get up and running this network has four computers on it two with xp one with mandriva 2005 and the last one being my laptop dual boot with xp and mandriva 2005.
So far the linux boxes can see the xp boxes and pull files from them not sure if the xp boxes can see the linux boxes haven't really gotten that far yet. My problem is the linux systems can not see each other. not sure if im just not looking in the right spot or not. Right now to see the network I click on Computer than Network than it shows me Windows Network click on that and I get mshome where I see what ever windows systems that are on at the time.
Am I looking in the wrong spot for the linux boxes or is there something I need to do to get them to see each other?
1) are you using one box as a server and have it running nis? [ yp ]
2) have you defined nfs shares on the linux boxes? Or have you turned off nfs sharing completely?
3) which share subsystem are you implementing for the linux-linux connection?
ok now im realy confused. Its been a while since i networked the first three systems. So not realy sure how I did it. Though when I put linux on the laptop just pluged in the network card and it was able to see the windows box.
I'm not using any system as a router. Guess I forgot to put that part in all systems are pluged into a Linksys wireless broadband router. and they all can conect to the internet.
A nearly identical problem to one I am currently experiecing, however, I have done a few more tests and still do not resolve it. My two Linux boxes can communicate with my windows machine through Samba, and the windows machine exchanges with one Linux box, but the the other (Ubuntu). NFS is running on the the FC4 box and netsat returns normal infor on both Ubuntu and FC4. Disabling firewalls for tests, no result. Enabled IPv6 on Fedora since it seems to be default in Ubuntu, no result. Attempts with telnet, talk, ssh. hosts-allow/deny files scanned, no changes needed, but no result.
I have but given up, but, strangely, all machines and ping each other with no errors. I have come to the conclusion that it very well could be that these two distros (FC4 and Ubuntu) do not work and play well together.
ok just pinged the laptop am getting good replays. Now for the dumb question how do I get it to stop pinging???? I typed "ping 192.168.1.105" and it came back with well cant do a copy of it right now as it is still pinging fact as I write this its up to seq=575 do I just log out and shut down to get it to stop? Cant believe thats the only way to stop pinging. so I must have done something wrong but not sure what.
you need to press "control c". i.e hold the control key and press "c".
this is universal accross unix commands (i.e. it sends and interupt signal). i believe this is also the same in dos/windows.
anyway, you've discovered that the machines can see each other. to be honest i think you need to read a basic guide to use unix/linux - not wanting to be rude, it's just that you need to grasp some basics first....
I would love to do some reading up on Linux and in fact if you where to look at one of my first posts I had asked about good books to pick up. Was pretty much told to go ahead and jump in and ask is I had any questions. As I live in a small town in the middle of nowhere we dont have any of these big fancy stores like the big towns do. Not putting down the big towns as I grew up in chicago. Mention Linux to most ppl in this town and you will get a blank stare from them. Forget about going to the public library them and the two book stores in town still carry win98 books. So unless I can find a good book to help me learn than these forums are all I have for help.
So sorry for taking up your time with what you feel is a stupid question.
i wasn't annoyed at you, i actaully just don't want you to be beating your head against the wall in frustration. I'm lucky in that i work in a unix job, so i get it all day long.
Was messing around last night still trying to get this to work and I noticed that both the desktop and laptop are saying localhost on them. Do I need to change one of them? If so how could not find anywhere to do this. I have changed the NetBios names for both of them to linuxdesktop and linuxlaptop in sambo but now im kinda worried about running sambo on both systems at once for the windows network.
There is still a ton I need to learn as well, but I am getting terrific help in this forum. I will mention, also, that pretty much no matter what problem or challenge you encounter, there is usually a tutorial of some kind on the net. For example, there is a complete linux/unix tutorial (covers the works) on the net called rute. Just google the word rute. You'll find it. This is what I finally did to get my two Linux boxes to work with each other on the network (Fedora and Ubuntu):
1. Make sure NFS services is enableed on both Linux machines (from Gnome, DESKTOP>SYSTEM SETTINGS>SERVER SETTINGS>SERVICES. Just make sure the box is ticked on both machines (this description is assuming you have Fedora on both machines, but it works similar on most Gnome desktops.)
2. Make sure the directories you want to share are chosen on both machines (DESKTOP>SYSTEM SETTINGS>SERVER SETTINGS>NFS. This dialogue will guide you.)
3. Again in Gnome, PLACES>CONNECT TO SERVER. This will bring up a dialoqgue to connect to another machine. From the drop down box, choose SSH connection, and fill the IP address of the machine you want to connect to along with the other information (i.e. name of connection, shared folders, name of user, etc.). When you click OK, an icon for the other machine will be placed on your desktop.
4. When you click on the other machines icon for the first time, you will be warned about security, click log in anyway. When you do this you will be asked for a password. Use the password for the name of the user on the machine you are trying to connect to.
5. If all goes well, the shared folders on the other machine will be displayed. Do the same procedure on the other machine to connect back to the first one, except using that machines password. In other words, the user and password for the machine you are trying to connect must be used.
I am assuming that you are trying to connect a home network. If not, then obviously the method I described above is not secure (everybody knowing everybodies passwords.) I know there is another way to store more secure password, but I haven't figured it out yet. In any case, the above method worked for me. I can now share folders across two linux machines (including printers), and the Samba connection with my Windows laptop is not affected.
Hope this helps.
Bob
ps: I know I will get some responses about how unsecure the above method is. If there is a more secure way of doing this at home, hopefully someone will describe it.
Bob,
Yes this is for my home network right now just trying to get the desktop and laptop to work. They both see each other can ping them, Just driving me crazy on how to share files about ready to give up. Have NFS checked on both.
Im in Gnome on both of them but I am using Mandriva on them and cant seam to find the places that you went on yours to get it working "DESKTOP>SYSTEM SETTINGS>SERVER SETTINGS>SERVICES." Mandriva has some kinda control center I go in there and just get lost in most things.
If it wasnt for the fact that I take the laptop to the wifes job and do work on it there than wind up at home needing the files off of it I would just say forget it.
It's been a long time since I seen a Mandriva Desktop (not since the days of Mandrake), but Gnome has a similar setup on most distros. It may be called something else, like it is on Ubuntu, but the functionality is similar unless I am mistaken. The control center in most distros is primarily for settings on the local machine. Not sure about Mandriva. If you post your question in the Mandriva forum, someone familiar with the Gnome desktop in Mandriva will help.
The main thing is (if you have NFS running on both machines and they can ping each other), that you have the shares identified, in other words what directories on both machines you want to share. I do this in Fedora in NFS configuration in server settings. There is also command line configuration as well, but I would not want to try to guide you when I am not familiar with your distro.
I wish I could help more. Hopefully, someone with the correct solution will respond.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.