LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-09-2006, 09:42 PM   #31
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15

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!

Thanks
Justbill
 
Old 01-09-2006, 10:55 PM   #32
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
yes you will get it working

as far as having ext2 & 3 on dif partitians, i seriously doubt that would be the issue here.

i use ext2 ALWAYS because it is MUCH faster at copying/moving, etc.

ext3 is more of a journaling type sys than 2 and is therefore slower.

i don't care as much about 'journaling' because i backup everything regularly using the; son, father, grandfather backup scheme.
 
Old 01-09-2006, 11:14 PM   #33
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
Your isp's address is on the external side of your modem/router.

Internet <- 68.184.201.45(modem/router external) || 192.168.2.1(modem/router internal) <- 192.168.1.x (your computers)

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.
 
Old 01-09-2006, 11:51 PM   #34
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
Your isp's address is on the external side of your modem/router.

Internet <- 68.184.201.45(modem/router external) || 192.168.2.1(modem/router internal) <- 192.168.1.x (your computers)

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.
 
Old 01-11-2006, 07:53 PM   #35
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
Angry Which is Worse?

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
 
Old 01-11-2006, 10:13 PM   #36
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
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.
 
Old 01-12-2006, 06:16 AM   #37
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
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!

Thanks
Justbill
 
Old 01-12-2006, 07:04 AM   #38
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
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.
 
Old 01-12-2006, 08:02 AM   #39
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
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.
 
Old 01-12-2006, 12:17 PM   #40
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
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).

http://www.nomachine.com

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.

Last edited by halvy; 01-12-2006 at 12:20 PM.
 
Old 01-12-2006, 08:51 PM   #41
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
Thumbs down Still Peckin

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]#

So, What next?
Thanks
Justbill
 
Old 01-12-2006, 09:08 PM   #42
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
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).

Thanks
Justbill

P.S. B). got my vote, I'll take the ants

Last edited by Justbill; 01-12-2006 at 09:12 PM.
 
Old 01-13-2006, 01:51 AM   #43
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
maybe this will help bill,

http://www.tldp.org/HOWTO/NFS-HOWTO/

hang in there.. i have a feeling you'll strike pay dirt with all the avenues that you have been persuing
 
Old 01-13-2006, 05:55 AM   #44
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for the link halvy, Iv'e read that one already, but I'll read it again, perhaps I missed something!

Thanks
Justbill
 
Old 01-13-2006, 01:32 PM   #45
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
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.

maybe your on to something lol

again, good luck bill.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Home key not working right roninja Slackware 4 02-23-2005 10:05 PM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Home Network Similar to Work Network Boffy Linux - Networking 2 08-05-2004 06:52 PM
home network and work network PlatinumRik Linux - Wireless Networking 2 02-24-2004 07:12 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration