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 > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-14-2004, 08:59 PM   #1
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Rep: Reputation: 30
NFS file transfer problem via wireless


Greets! I was trying to stream some multimedia wirelessly (is that a word?) from my main linux box to my laptop. Both have Slack 10. The desktop is wired via ethernet to a Linksys wireless 802.11b router. The laptop connects via a built-in 802.11g (ndiswrapper driver). NFS is cooking on both systems, and the laptop can mount and browse the desktop's multimedia directory. However, streaming or even copying any of the files jams up the works. Everything just freezes with no error messages from the kernel at all!

My wifi connection is ULTIMATE, my MTU is set at 1500 on the laptop, desktop AND router. I feel this has something to do with packet size, but any web resources that reference both wifi AND NFS are virtually non-existent. Any advice out there???

--Akshun J
 
Old 12-14-2004, 10:09 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Your setup is very much like mine, except that I have no such problems. The worst thing that will happen is a pause or skip in music playing over the NFS mount with XMMS if I'm also copying a file via SSH, downloading something off the Internet, on the edge of coverage or some combination of those factors.

The wireless card I normally use is Prism-based using orinoco_cs driver, but I have another with an internal Broadcom/ndiswrapper card I can use for testing if you want to compare notes. Slack 10, 2,4,27 on the laptops and the file server.

In case it matters, here's how I'm mounting the NFS dir in /etc/fstab:
192.168.1.99:/home/music/ /mnt/music nfs noauto,intr,user,ro 0 0
 
Old 12-14-2004, 10:24 PM   #3
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Yeah, you're right. Our setups seem similar except for the card type...

Wonder what my issue is?

--Akshun J
 
Old 12-15-2004, 04:46 AM   #4
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Does the wireless link work if you're just pinging? Or does it only crash when you get data via NFS?
 
Old 12-15-2004, 07:15 PM   #5
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
bash-2.05b$ ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6) 56(84) bytes of data.
64 bytes from 192.168.1.6: icmp_seq=1 ttl=64 time=1.49 ms
64 bytes from 192.168.1.6: icmp_seq=2 ttl=64 time=2.13 ms
64 bytes from 192.168.1.6: icmp_seq=3 ttl=64 time=1.40 ms
64 bytes from 192.168.1.6: icmp_seq=4 ttl=64 time=1.42 ms
64 bytes from 192.168.1.6: icmp_seq=5 ttl=64 time=1.37 ms
64 bytes from 192.168.1.6: icmp_seq=6 ttl=64 time=1.33 ms
64 bytes from 192.168.1.6: icmp_seq=7 ttl=64 time=1.38 ms

--- 192.168.1.6 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6005ms
rtt min/avg/max/mdev = 1.338/1.507/2.133/0.261 ms

*******I am both PING and mount capable. Only transferring data seems to be the issue.
Thanks for the reply!

--Akshun J
 
Old 12-15-2004, 07:23 PM   #6
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Well running a ping and mounting is transfering data so It'd be a problem in your NFS implementation. Try re-installing nfs-utils and if all else fails re-compile the kernel as NFS is mainly implemented there.
 
Old 12-15-2004, 07:33 PM   #7
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Well, that's the real trick. I recompiled the kernel four times. Not related to NFS, but to get ALSA just right. And NFS works great when I'm plugged in via ethernet. Why should NFS care if I'm connected via ethernet or wifi? In any case, reinstalling nfs-utils has changed nothing. I still think it's a packet size trick. Either that or a kernel bug, as I'm running 2.6.10-rc3, which is not really a final release. I'll try a live CD that's got a driver for my wifi and try troubleshooting from there. Any other suggestions are GREATLY appreciated! :-)

--Akshun J
 
Old 12-15-2004, 07:34 PM   #8
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Did I mention that I WAS able to transfer a small text file? The larger files just jam everything up, though.
 
Old 12-15-2004, 07:47 PM   #9
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Trippy, I've never had MTU problems. So what happens exactly? Do you get a total lockup kernel panic (scroll/num lock flash when it panics) or just a terminal freeze/X freeze or just a transfer stall?
 
Old 12-15-2004, 08:01 PM   #10
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
VERY trippy. I use KDE's konsole to launch Midnight Commander. I can browse the mounted NFS directories going into subdirectories and so on with zero issues. But when I try to transfer a file, Midnight Commander locks up with the file transfer dialog frozen at 0%. And I can't cancel the transfer. And my connection seems to send and receive a few Kb of data every five seconds or so. While trying to watch a video with Xine, I got different error messages. Xine told me the file I was asking for did not exist. And MPlayer would freeze up like Midnight Commander. WEIRD.

--Akshun J
 
Old 12-15-2004, 08:17 PM   #11
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
New wrinkle is that Samba works fine to transfer files. At least JPEGs.
 
Old 12-15-2004, 09:04 PM   #12
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Well I'm sorry I'm at the end of my suggestions sorry . If your happy using samba just use it even though it's inferior IMO....I guess if you can't get NFS to work you don't have much choice .
 
Old 12-16-2004, 09:35 AM   #13
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Think I may have found an issue. NFS on my laptop reports that mount is older than kernel version. I'm not sure if that means I'm using an old version of nfs-utils compared to by cutting edge 2.6.10-rc3 kernel nfs support. This is the angle I'm pursuing, though.

I'll post an update when I get home...

--Akshun J
 
Old 12-16-2004, 04:45 PM   #14
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Ah right, if you need to update mount you'll need to update either the mount package or util-linux, I'm not sure which....
 
Old 12-16-2004, 09:52 PM   #15
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Yeah. The FAQ I just read on the NFS site told me the same. It's quite vague about how to do this. Wait a sec...

I DO have a package called util-linux. Hmmm. Now I need to compile a package that hooks my new kernel and upgrade? Crossing my fingers...

--Akshun J
 
  


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
Problem with file transfer and SATA Blue1K MEPIS 4 07-26-2005 11:54 PM
file transfer performance over wireless. dukeinlondon Linux - Wireless Networking 4 03-01-2004 01:53 AM
Wired and Wireless file transfer ksalopek Linux - Wireless Networking 0 02-06-2004 02:48 PM
Gaim file transfer problem Wynd Linux - Software 3 09-08-2003 11:56 AM
File transfer problem aldaeron Linux - Networking 3 08-05-2002 09:01 PM

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

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