LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-10-2009, 12:33 AM   #1
londy
LQ Newbie
 
Registered: Feb 2009
Distribution: openSUSE 11.4
Posts: 28

Rep: Reputation: 3
NFS doesn't work with wireless


I set up a NFS server on my laptop running Arch Linux. My client is my desktop running Kubuntu 9.10.

If I have my laptop connect to the router via cable, I can mount the NFS through the terminal. However, when my laptop connects wirelessly, I can no longer mount the NFS. When I enter the mount command in the terminal it just stalls with no error messages. I enter "Ctl + c" to exit. I've tried connecting with Dolphin/Konqueror but that didn't work, either wired or wireless.

I can connect to the internet wirelessly with my laptop and pinging works from desktop to laptop.

I also have a samba server on my desktop and I have no problems connecting to it wirelessly from the laptop.

What's the problem?

I would appreciate anyone's help.
 
Old 12-10-2009, 03:45 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
On many routers wireless and plugged parts are generally on a different subnet.
You may have to edit /etc/exports to allow more subnets.

Can you post ip's, etc/exports, /etc/hosts.allow ?
 
Old 12-10-2009, 06:19 AM   #3
londy
LQ Newbie
 
Registered: Feb 2009
Distribution: openSUSE 11.4
Posts: 28

Original Poster
Rep: Reputation: 3
Here is the info for the laptop (server):

/etc/hosts
Code:
# /etc/hosts: static lookup table for host names                        
#                                                                       

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1               localhost.localdomain   londy-laptop
192.168.0.130           londy-desktop        
# End of file
/etc/exports
Code:
# List of directories exported to NFS clients.  See exports(5).
# Use exportfs -arv to reread.                                 
#                                                              
# Example for NFSv2 and NFSv3:                                 
#  /srv/home       hostname1(rw,sync) hostname2(ro,sync)       
#                                                              
# Example for NFSv4:                                           
#  /srv/nfs4       hostname1(rw,sync,fsid=0)                   
#  /srv/nfs4/home   hostname1(rw,sync,nohide)                  
# Using Kerberos and integrity checking:                       
#  /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)         
#  /srv/nfs4/home   gss/krb5i(rw,sync,nohide)

/home/londy 192.168.0.130(rw,fsid=0,no_subtree_check,async,no_root_squash)
I have no rules in hosts.allow or hosts.deny. Also, the firewall is disabled.

Static IP addresses:
Router: 192.168.0.1
Laptop: 192.168.0.131
Desktop: 192.168.0.130
 
Old 01-07-2010, 08:31 AM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Still no idea, as it seems laptop and desktop are on same subnet (assuming netmask is identical on both, which seems obvious).

Some thoughs :

use "nmap 192.168.0.131" from the desktop to see open ports. Try wireless and plugged to see any difference.

type "route" on the laptop wirelessly and plugged, in order to see some eventual difference.
 
Old 01-07-2010, 09:05 AM   #5
forubu
LQ Newbie
 
Registered: Jul 2009
Location: Trondheim, Norway
Distribution: Ubuntu
Posts: 28

Rep: Reputation: 16
Quote:
Originally Posted by londy View Post
Code:
/home/londy 192.168.0.130(rw,fsid=0,no_subtree_check,async,no_root_squash)
I have no rules in hosts.allow or hosts.deny. Also, the firewall is disabled.

Static IP addresses:
Router: 192.168.0.1
Laptop: 192.168.0.131
Desktop: 192.168.0.130
According to this you are only allowing Desktop computer (192.168.0.130) to access the NFS share.
Change to:
Code:
/home/londy 192.168.0.0/24(rw,fsid=0,no_subtree_check,async,no_root_squash)
This will allow the whole subnet on 192.168.0.0 to access the share.
Alternatively you could add: 192.168.0.131(rw,fsid=0,no_subtree_check,async,no_root_squash) for only allowing the laptop access to your share.
 
Old 01-07-2010, 06:48 PM   #6
londy
LQ Newbie
 
Registered: Feb 2009
Distribution: openSUSE 11.4
Posts: 28

Original Poster
Rep: Reputation: 3
I never figured out what was wrong. I installed opensuse since I last posted here and everything works fine now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NFS needs ip address. Name does not work arubin Linux - Networking 17 12-19-2007 01:22 PM
NFS doesn't work when internet down flamma Linux - Networking 2 05-29-2007 02:18 AM
Fstab does not work in nfs windsurfer Linux - Software 1 04-23-2007 02:33 AM
NFS doesn't work work well with mounted NTFS volumes? StevenO Linux - Networking 6 02-13-2006 10:54 AM
NFS wont work exit83 Linux - Networking 6 06-10-2005 04:21 AM

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

All times are GMT -5. The time now is 08:49 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