LinuxQuestions.org
Visit Jeremy's Blog.
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-14-2006, 05:50 PM   #46
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 Everybody for all the help! I have finally given up! This si hopelessssssssssssssssss!

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

Rep: Reputation: 42
it's not hopeless bill..

you just need to take a break from it--

for a few minutes..... lol

come on.. dont' give up..

the penguin is counting on you!!
 
Old 01-22-2006, 02:40 PM   #48
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
Well.....Try Again!

Hi All!

So I took a break from this, regained some sanity, no longer have uncontrollable urges to use my computers for target practice and am ready to try again!

I have re-read some material, read some new material, and have tried to use NFS to share my "home" on box1 (Goliath) to my "home" on box2 (Ulysses), both are, you guessed it, home/bill.

Here is the output from the commands I ran earlier:

[bill@Ulysses ~]$ su
Password:
[root@Ulysses bill]# mount nfs -t Goliath.justbillsguitars.com:/home/bill /mnt
mount: fs type Goliath.justbillsguitars.com:/home/bill not supported by kernel
[root@Ulysses bill]# telnet Goliath.justbillsguitars.com
Trying 192.168.2.2...
telnet: connect to address 192.168.2.2: No route to host
telnet: Unable to connect to remote host: No route to host
[root@Ulysses bill]# ping -c 5 Goliath.justbillsguitars.com
PING Goliath.justbillsguitars.com (192.168.2.2) 56(84) bytes of data.
64 bytes from Goliath.justbillsguitars.com (192.168.2.2): icmp_seq=0 ttl=64 time=0.304 ms
64 bytes from Goliath.justbillsguitars.com (192.168.2.2): icmp_seq=1 ttl=64 time=0.245 ms
64 bytes from Goliath.justbillsguitars.com (192.168.2.2): icmp_seq=2 ttl=64 time=0.248 ms
64 bytes from Goliath.justbillsguitars.com (192.168.2.2): icmp_seq=3 ttl=64 time=0.248 ms
64 bytes from Goliath.justbillsguitars.com (192.168.2.2): icmp_seq=4 ttl=64 time=0.250 ms

--- Goliath.justbillsguitars.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.245/0.259/0.304/0.022 ms, pipe 2
[root@Ulysses bill]# exit
exit
[bill@Ulysses ~]$


As you can see from the attempt to mount nfs, the output said:

"fs type Goliath.justbillsguitars.com:/home/bill not supported by kernel"

does that mean that box2 (Ulysses) running CentOS 4.2 on an ext2 filesystem cannot communicate with box1 (Goliath) running FC4 on ext3 filesystem ? Are the filesystems incompatible?

The next try was "telnet". Again as you can see, The output was :

telnet: connect to address 192.168.2.2: No route to host
telnet: Unable to connect to remote host: No route to host

So, having no idea what that was supposed to mean, I pinged box1 from box2 successfully (as you can see), thinking that possibly something interrupted what minor network success I have had to this point.

So, really I am still at a loss here. I may try SAMBA again, but I am beginning to wonder if maybe a daemon or program or something I need for this is not installed, or not running currently. Or maybe I should re-install CentOS on ext3. What does any body here think?

Thanks in advance

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

Rep: Reputation: 42
wb bill

sounds like box 2 does not have it's gateway (route) set correctly.. make it the same as #1.

and yes, try anything that you think might help.

ext2 & 3 should have no problems communicating... key word SHOULD.

i use ext2 because it copies MUCH faster than 3 (because 3 uses extra 'journeling' for safty reasons-- which i don't care about because i have an extensive backup plan in action always)

Last edited by halvy; 01-22-2006 at 04:37 PM.
 
Old 01-22-2006, 05:11 PM   #50
drdosman
LQ Newbie
 
Registered: Sep 2004
Location: AZ
Distribution: Fedora
Posts: 20

Rep: Reputation: 0
I found that I got the same error"No route to host" on ssh due to my firewall being turned on for the computer I was trying to access. Did not see if you said you had turned the firewall off on your box1 and box2. I am not talking about a firewall that may or may not be active on the router. I am talking about the linux software firewall.



Dan
 
Old 01-22-2006, 05:26 PM   #51
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 All!

Well, first off, I did forget to turn off the firewall Newbies, ya can't live with em, and you can't delete them

And second, I was wrong about the file systems, they are both ext3.

So, I am going to try the firewall solution in a little while.

Thanks guys

Justbill
 
Old 01-22-2006, 05:48 PM   #52
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
EXT2 and 3 have no problems with each other, AFAIK. I'm using nfs to share between those two filesystems - and reiser also. If there isn't a telnet daemon listening on goliath you'll get an error message, though it shouldn't be "no route to host". Oh well. Try connecting to a host on the internet, say google.com, on port 80. That should determine if it's a gateway/network settings issue. Try
$ telnet www.google.com 80

Oh, i just noticed something
Your syntax was a little wrong, it should be
[root@Ulysses bill]# mount -t nfs Goliath.justbillsguitars.com:/home/bill /mnt

The -t switch is to tell the system what sort of filesystem you're trying to mount, so the "nfs" must come after the switch. Good luck!
 
Old 01-22-2006, 06:10 PM   #53
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
oh yea, when i say gateway/route i don't mean the router... i mean the info that is given when you type: route -n . which gives the network info for your ethernet cards (or other network devices-- OTHER than the actual physical router)

the term 'gateway' and 'route' are used interchangably (just to confuse noobs
 
Old 01-22-2006, 06:33 PM   #54
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
Talking Hooray!!!!

I just did it! I dropped the firewall on box1, and used this command from box2:

mount -t nfs Goliath.justbilsguitars.com:/home/bill /mnt

and then

mount

and I was able to cd to /mnt and view what is there. Now I just need to figure out how to open the files and do some copying, but it finally WORKED!

When I go back to box2 I'll post my output if you think you need it, but it was exactly like being on box1, and looking at ~bill in the terminal.
Now, my next question would be, how do I set my firewall so I don't have to disable the firewall each time I want to fileshare?

Next challenge: Printer sharing! If I go to http://localhost:631/ I have heard there is a way there to do this. But I am not entirely familiar with what terms they are using. Am I adding a printer or adding a class?

I must be a glutton for punshment, after all the time it took to get to this point, and now I want to jump into printer sharing

Thanks for all the help
Justbill

Thanks for the help on the syntax Habu, I noticed that also a little later, and thats when everything worked!

Last edited by Justbill; 01-22-2006 at 06:36 PM.
 
Old 01-22-2006, 07:06 PM   #55
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
I just did it!
NO WAYYY!!

congragulations bill, we KNEW you could doit

on the firewall, depending on which one you use (try guarddog, it is easy, powerful, grafic, and hasn't given me any problems).

just allow nfs traffic on the network cards that you want to do the transfers on.

although i'll admit, if you are 'sharing' one with the net..then you need to wait and get better advice on how to do that correclty.

again, congrats bill!!
 
Old 01-22-2006, 08:27 PM   #56
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
FC4 uses SElinux for the firewall, I was going to post a screenshot of what the frewall options page looks like but I could not figure out how to do that. So I'm going to try to describe it the best I can.

Trusted Services: (each one has a box next to it that is not checked


Secure WWW (HTTPS)
FTP
Mail (SMTP)
Telnet
WWW (HTTP)
SSH

Then there is a section

Trusted Devices: ( this is going to be hard to describe)

Name Tusted Masquerade

eth0 (unchecked box) (unchecked box)
sit0 (unchecked box) (unchecked box)


and then,

Other Ports: (1029:tcp) (blank box)

This is the best I could describe this! If anyone can tell me what I should check and what I need to leave unchecked, I would appreciate it. I realize that my router has a firewall built in, I guess I'm just paranoid, but I like to have my firewalls up! But if the system is secure without it and the firewall on the Belkin router is enough, I can learn to live with it (or take medication for paranoia )

As a little side note, I did get a test page printed on the printer locally connected to box1, from box2, using the http://localhost:631/ print management tool. I have not yet tried to print a document from box2 to box1, would I do that from the command line? or the printer icon on the word proccessor page?

Thanks
Justbill
 
Old 01-23-2006, 05:49 AM   #57
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
Yep, that's the firewall configuration gui utility. As far as SELinux goes you can safely disable it for the time being, at least till you become more familiar with linux. For the firewall, it's going to be a bit tricky, cos the NFS system uses random ports, and i'm assuming you don't want to open all possible ports. Have a look at this: http://www.lowth.com/LinWiz/nfs_help.html
It's a tutorial on forcing nfs to use static ports. You don't need to bother with the "linwiz" bits, unless you're interested - just start at "Viewing the used ports".
After you've done the stuff in the tutorial, open the ports that you're using (add them in the section called "other ports" in the firewall config gui).
 
Old 01-28-2006, 01:36 PM   #58
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 am having a bit of trouble here, when I try rpcinfo -p, I get command not found. I think I pretty much need to find out what ports are using what before I can configure anything, and I can't seem to get the information. I also want to allow the printer access but I am not sure what port that would be. Does anyone know how I get this working in FC4 ? There is a manual entry for rpcinfo, but that hasn't really helped either.

Thanks
Justbill
 
Old 01-28-2006, 06:34 PM   #59
Justbill
Member
 
Registered: Aug 2005
Location: House Springs, Mo. USA
Distribution: Fedora Core 5 & Ubuntu 5.10
Posts: 53

Original Poster
Rep: Reputation: 15
Unhappy WOW halvy

This Guarddog is quite confusing also! I have been through the handbook, and its just not quite coming together. Do you know of any other available information on Guarddog that may help here? Its set up , and it must be working , because I can't get past it to mount an nfs share!

Thanks
Justbill
 
Old 01-28-2006, 07:13 PM   #60
Habu
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: Fedora, Suse
Posts: 108

Rep: Reputation: 15
You'll need to run those commands (rpcinfo, etc) as root. For the printer sharing, have a look here: http://gentoo-wiki.com/HOWTO_Linux_p...ring_with_CUPS

It's for gentoo, but it should work the same. Ignore the "emerge" part, that's just their installation program. You should already have cups installed by default. You could try a shortcut if you don't want to edit the client configuration files manually. Just follow the instructions there for the server config, then on client use the printer management gui to add the remote printer - there should be an option for remote cups server or something along those lines.
Oh and remember to turn off the firewall on both machines, or at least the server, until you get the printing working.
 
  


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 05:30 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