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 Habu!
I got through step 3 with no problems! I can ping my router, and each computer from each other. I have the ip addresses for the router and the 2 computers. I'm not real clear on the statically setting the ip addresses on the computers :-( I believe I have my isp's address 68dot184dot201dot45 , does this sound correct? I thought Samba was strictly a Linux to Windose application, I am using FC4 to CentOS 4.2, will Samba work that way also? I took a look in the Domain Name System (Desktop>SystemSettings>ServerSettings>DomainNameSystem) whats up with the A thru M ROOT-SERVERS.NET and they all have a different IP address? I am somewhat comfortable with command line, but still find myself needing some clear instructions. And I have a small amount of experience with vim.
Thank you all for responding to my posts, and for all the help you have been! I already have learned alot, and am sure in time will get this working!
You don't have to worry about that side of things. In the configuration for your network cards, there'll be the option to automatically configure ip addresses using dhcp, or to manually set them. If you manually set them that's static addressing. Here's a very basic explanation of dhcp: http://bucarotechelp.com/networking/97091950.asp
Samba will work. Samba is basically a program that emulates Windows' Netbios/SMB system, for unix/linux. It's main uses are for windows-nix communication, because unixes already have other methods of talking to each other, but it can be used for nix-nix communication too. You'll just have to configure and run samba on both your fedora and centos computers. The domain name system settings under "server settings" are for running a dns server, you definitely don't want to go there. But just as a side note, the A-M root servers are main dns servers that take care of domain names on the internet. They're only important if you want to run your own dns server.
You don't have to worry about that side of things. In the configuration for your network cards, there'll be the option to automatically configure ip addresses using dhcp, or to manually set them. If you manually set them that's static addressing. Here's a very basic explanation of dhcp: http://bucarotechelp.com/networking/97091950.asp
Samba will work. Samba is basically a program that emulates Windows' Netbios/SMB system, for unix/linux. It's main uses are for windows-nix communication, because unixes already have other methods of talking to each other, but it can be used for nix-nix communication too. You'll just have to configure and run samba on both your fedora and centos computers. The domain name system settings under "server settings" are for running a dns server, you definitely don't want to go there. But just as a side note, the A-M root servers are main dns servers that take care of domain names on the internet. They're only important if you want to run your own dns server.
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918
Rep:
Quote:
Originally Posted by Justbill
A). Being staked to the ground, covered in molasis, next to a colony of fire ants.
B). Setting up a Linux network
No luck yet! Just shoot me and get it over with
Justbill
bill, maybe you are making this harder than it is by insisting on doing this ONE way (ie nfs), instead of trying some of the ideas others and i have given you concerning programs to help you get the hang of networking, before you move on to more intricate programs.
I was just trying a little frustrated humor there. I run into the same problems with Samba, and I can't get nx to install, some sort of dependancy problem with nx. I have webmin installed, but I am having a hard time figuring that one out,doesn't seem to be a lot of documentation (that I can find) to explain what different things do. So I have tried a couple of different avenues. It seems like I was getting closer with nfs, I'm not sure what the mistake was that I made with Samba. I suppose that the problems I am having is largely due to lack of experience with Linux, and computers in general ( I've only been messing with computers for about 2 years now, and linux for 1), and some of the terminology confuses me! But, I'll keep pecking away at it! One thought I had, is I may have my hostname/domainname messed up. Shoud it be "Hostname.Domainname" or "Hostname@Domainname" ? However, when I just tried using the ip addresses, I didn't get anywhere with that, so the hostname domainname probably isn't the issue, is it?
Oh well, more reading, and more pecking!
Er, sorry but the only nx i've heard of is the terminal server software? You really don't need that for samba...if it's some other nx you meant then do tell me about it, i'd like to learn too
Hostnames/domains should not be an issue, try to get everything working using plain old ip addresses first before moving on to names. What kind of problems did you run into with samba? Could your computers see each other using samba? Oh and do make sure you've turned off the firewalls on both machines, unless you've specifically opened the neccessary ports. Tell us what sort of problem you're running into, any error messages, etc, regardless of whether you've chosen to use nfs or samba. It would help us pinpoint the problem.
One other possibility, with samba if you're using user authentication, you'll have to create samba users. I believe the redhat gui for samba allows to do this.
When you did a mount for nfs, did you specify the -t option? I believe mount tries automatically to find out which type of fs to use, but you can manually specify it too with mount -t nfs [...what you put before...]. I only say this because of the error message you received. As already mentioned, it is also pretty important to temporarily drop the firewalls when trying stuff like this. If I had a nickel for every time iptables was the source of my troubles! I've learned my lesson to say the least.
I have tried myself to get Samba working to share my printer with an XP machine... what a nightmare. Filesystem sharing with Samba, on the other hand, is pretty easy. It actually has its own mount program "smbmount." Since I don't have two NIX machines to work with I don't put an entry into fstab for anything, but I am pretty sure that it can be done.
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918
Rep:
Quote:
Originally Posted by Habu
Er, sorry but the only nx i've heard of is the terminal server software? You really don't need that for samba...if it's some other nx you meant then do tell me about it, i'd like to learn too
it does much more than that since it allows the user to control x apps and it supports 'drag & drop' (like nfs?).
check out their site, esp. the link about xandros-- which explains in the article ALL the benefits of nx (ie. No Machine).
bill do you get the dependency problem when you try to complile from source? if so post the error messages.
and with webmin you need to install as much as possilbe of all of it's modules for it to be of any use.
in each section there should be help docs, as well as a seperate module for docs solely.
do take the time to set up webmin properly, as it is superiour to the old 'Linuxconf' when it comes to configuring linux-- unfortunetly not all programs are written to have an interface with this wonderful program.
I'll be posting twice, once from each machine. I configures Samba, but I could not figure out how to access it from the other machine, I did not know the command line or how to get to it at all from the CentOS box. I did dis able the firewalls. I tried nfs again, not because I am being single minded about nfs, it just seems like I am closer to success (maybe not) with it. Here is what I typed into the terminal, and what it s reply was.
I am on box2, box2 = Ulysses .
[bill@Ulysses ~]$ mount 192.168.2.2:/home/bill /home/192.168.2.5/bill
mount: only root can do that
[bill@Ulysses ~]$ su
Password:
[root@Ulysses bill]# mount 192.168.2.2:/home/bill /home/192.168.2.5/bill
mount: mount point /home/192.168.2.5/bill does not exist
[root@Ulysses bill]# mount 192.168.2.2:/home/bill 192.168.2.5/home/bill
mount: mount point 192.168.2.5/home/bill does not exist
[root@Ulysses bill]# mount 192.168.2.2:/home/bill ~bill/192.168.2.5
mount: mount point /home/bill/192.168.2.5 does not exist
[root@Ulysses bill]# mount 192.168.2.2:/home/bill
mount: can't find 192.168.2.2:/home/bill in /etc/fstab or /etc/mtab
[root@Ulysses bill]#
Here is what box1 had to say about my attempt to communicate with box2. Box1 = Goliath
[bill@Goliath ~]$ su
Password:
[root@Goliath bill]# mount 192.168.2.5:/home/bill /home/bill/192.168.2.2
mount: 192.168.2.5:/home/bill failed, reason given by server: Permission denied
[root@Goliath bill]# mount 192.168.2.5:/home/bill /home/192.168.2.2/bill
mount: 192.168.2.5:/home/bill failed, reason given by server: Permission denied
[root@Goliath bill]# mount -t nfs 192.168.2.5:/home/bill home/192.168.2.2/bill
mount: 192.168.2.5:/home/bill failed, reason given by server: Permission denied
[root@Goliath bill]#
So on this one it looks like I don't have something set up correctly, because box2 is denying permision, I guess.
I really don't have any idea what to do here. I''m not opposed to using ANY other application to accomplish this, I just don't seemto be making headway really with any of them. I could try Samba again, but I would need someone to tell me how to access it (from box2) after I mount a share (on box1).
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918
Rep:
yea i don't know if you found it where i did (here on lq somewhere), but if you follow that guys thread, he went back and did some tinkering to make it work the way he needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.