Fedora :: Stale File Handle - Accessing WLAN0 Interface?
Mar 22, 2010
I've got a problem while accessing the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, CLI's throwing: "Stale File Handle" - there's no access to this file. Problem is the same regardless wlan0 interface is up or down.
I currently have a home network setup so that my main machine shares it's external hard-drive via NFS. This has been working perfectly for months, however I just got a new laptop, installed openSuse 11.3 x64 and set everything up. Now there is two folders on the external network mount that won't let me do anything and always just return Networking: Stale NFS File Handle. The system still works fine under my old openSUSE 11.2 x86 laptop. I have tried unmounting the drive from the laptop, restarting the NFS client, and restarting the NFS server on the main machine. None of these have made a difference.
It is only these two folders that are effected. Everything else works just fine.
I did a backup of the ssd on my eeepc using the following command from a Linux Mint on a USB key: dd if=/dev/sda1 of=/media/disk/eeepc_save/SYSTEM/system.bck (/media/disk in an external USB disk)
I deleted the ext2 partition using GPartEd on live USB key and created it back. I rebooted Linux Mint and restored the filesystem using the opposite command : dd if=/media/disk/eeepc_save/SYSTEM/system.bck of=/dev/sda1
I mounted /dev/sda1 and when I "ls" the root directory, I get several "NFS stale file handle" messages concerning directories (/dev and other). I tried "e2fsck -y", had a bundle of corrections that resulted in the deletion of the directories. I don't use NFS. I did the same for the user filesystem and had no problem (it's an ext3 partition). The two filesystems are the ones that came with the original Xandros installed on my eeepc and that were mounted with union-fs.
I've got something showing up in my /mnt directory that I can't figure out how to get rid of. If I try to delete it, I get, "ERROR: Stale NFS file handle". I've tried googling it, but the only solution I can find is "remount and then unmount your NFS server". The trouble is that I don't have any NFS servers - it was a mountpoint for a squashfs file. Trying to remount the squashfile just gives the same error message. My best guess for how it was created is that maybe the file was deleted while mounted. Surely there is a way I can get rid of it? It stuffs up my system by e.g. preventing find from working. I'm running Puppy Linux 4.1.1, although I suspect that is irrelevant.
When using rsync to copy from one NFS mounted filesystem to another mounted NFS, rsync displays "stale NFS file handle" while attempting to issue a chmod after each file is copied. The files appear to be written successfully but the owner and group show up as "99." The source file system is mount USB ext3 drive and the target is a Buffalo TeraStation TS-XL/R5.
We have Linux server in our environment for application development. In this server we mounted so many NFS share from Storage. Past few days we receive this error in syslog kernel: nfs_statfs64: statfs error = 116 Some user fased this error "Stale NFS file handle"
Server info OS= RedHat Kernel = Linux hostname 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
I have a 20TB filesystem, xfs formatted. The filesystem has been mounted with the inode64 option, and I now need to NFS export it. NFS doesn't like the inode64 option at all. The NFS clients cannot access any of the directories with inode numbers exceeding the 32bit limit. They get the "Stale NFS file handle" message. I have tried to attach the filesystem to a RHEL5.3 system, and after turning on the no_subtree_check option in /etc/exports on the server, it all works fine. No changes were needed on the clients.
The problem is that I need to get this to work on a RHEL4.4 system. Unfortunately I cannot do any test on that system yet, I then did a quick test on a RHEL4.3 system... and it didn't work. Even using the no_subtree_check option was on any help. I am afraid that this will not work on the RHEL4.4 system either. How to get the inode64 xfs filesystem NFS exported on a 2.6.9 kernel?
I get this error which means I cant visit websites. I cant rm, cp, mv, vi, ... this file. How do I regain the ability to browse the internet? Is there a way I can create a /etc/resolv.conf2 and have my system use that instead?
When I run lilo (/sbin/lilo), it messes up my /boot partition. Next time I try to mount it after running lilo, I get an error: "mount: Stale NFS file handle" (I define -t ext2). My /boot partition is ext2, mounted locally, and not nfs. Then I do fsck /dev/sda1, and I get several: Free blocks count wrong for group #0 (7665, counted=5063). Fix<y>? I say yes to all and it works normally afterwards. This happens only after I run lilo. Lilo is installed in MBR.
Here is relevant configuration: Code: root@darwin:/home/cabrilo# cat /etc/lilo.conf append=" vt.default_utf8=0" boot = /dev/sda
Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104422 83 Linux /dev/sda2 14 144 1052257+ 82 Linux swap /dev/sda3 145 3432 26410860 83 Linux /dev/sda4 3433 19457 128720812+ 83 Linux
I was following the relatively simple instructions here for setting up a LAMP system. After having installed Apache2-related applications, I ran
# a2enmod expires # /etc/init.d/apache2 restart
That worked fine. Then, a little later, after having set up a virtual host for my project website, and after installing PHP, MySQL and setting up a Mail Server with Exim, I rebooted and started getting errors when trying to start Apache:
Starting web server: apache2apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/expires.load: Stale NFS file handle
Now it seems as if there is nothing I can do with that file:
# rm -f /etc/apache2/mods-enabled/expires.load rm: cannot remove '/etc/apache2/mods-enabled/expires.load': Stale NFS file handle # cd /etc/apache2/mods-enabled/
[code]....
Is there anything I can do to refresh the NFS index so that it finds or removes this file? I'd be happy to just get rid of it. At the moment, I can't start Apache or anything because of it.
I've set up a FTP server, but now I would also give the ability to users to access file through a web interface, like the ones you can find in many NAS.I there anyone that knows a software that do this? I can't find nothing useful.
the PC just hangs for ever. No mouse movement, ctrl-alt-del, nothing.
I have downloaded a Linux driver from Realtek but it will not compile. I have the latest kernel-devel, headers, and gcc. I can post compiler errors if anybody would like. They're all apparently to do with missing parameters.
I have installed open suse 11.4, gnome but no luck with wireless settings so far. kernel version is iwl3945 here is stuff that i did but it says "scan is deprecated"
linux-1f6k:/home/rajbanul # dmesg | grep firmware [ 7.249018] tg3 0000:18:00.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update.
having trouble with my asus 1000 rt2860 wireless n card and WPA/PSK/WPA2 connections. Funky thing is it worked in the 2.26.32-21 kernel (iwconfig shows ra0 as the wireless interface), but when the kernel was updated and pushed through in the ubuntu updates to 2.26.32-22 the wireless card won't stay connected and iwconfig says wlan0 is the interface. I checked the proprietary drivers and they said that the driver for my card was active, but not in use. How do I use the ra0 instead of wlan0?
how do i use the driver that's listed as not being used? I'm having to boot up lucid with the older kernel now, it's annoying, lots of programs aren't running as expected as a result. I've tried manually installing the driver from the RaLink website as detailed in many other posts concerning this wireless card. It seems to work for some people, but not with me.
I try to set-up an Access point using ubuntu 11.04. I am using the minimal configuration file from [URL] together with a TP-Link TL-WN422G (Atheros chipset). I've installed the linux-backports-net-natty-generic drivers. But when trying to start hostapd I always get this output:
Code: # hostapd -dd -K test.conf Configuration file: test.conf Failed to set interface wlan0 to master mode. nl80211 driver initialization failed. wlan0: Unable to setup interface. ELOOP: remaining socket: sock=5 eloop_data=0x9b9440 user_data=(nil) handler=0x43d980 I have also disabled the network-manager for this device by adding this to /etc/network/interfaces:
I have managed to configure a wireles PCI card on CentOS 5.3 and it seems to work fine. It is a off brand (Hercules) with a Ralink RT61 chipset. I installed the most current driver (RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661) from the rt2x00 Open Source Project. I now have a question that might be very simple for one or more of you to answer. When I issue the command "shutdown -h now", the machine starts to come down and brings down eth0 cleanly, but when it attempts to bring down wlan0, the machine hangs and never brings down the interface OR powers off the box. The only way to complete the power off is to "hard" power off the machine.
My Lenovo laptop has an Intel Pro 4965 Wifi adapter,here is the "lspci" detection:
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
So installed the needed "firmware-iwlwifi" kernel module, which is a correct kernel module for this adapter.
Then "modprobe -a iwlwifi"........no complaints !
However, #iwconfig wlan0 wlan0 No such device and # lsmod |grep iwlwifi iwlwifi 87219 0 cfg80211 350041 4 iwl4965,iwlwifi,iwlegacy,mac80211
The wired ethernet is working fine ifconfig -a eth0 Link encap:Ethernet HWaddr 00:1e:37:82:ac:72 inet addr:192.168.1.16 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21e:37ff:fe82:ac72/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[Code] ....
when I go to "Preferences" "Network Connection" ' "Add" "WI-FI" "Create" "Device MAC Address " box is empty.......no Wi-Fi adapter detected !!!
I am having a problem trying to transfer large file (~700MB) from one station in my home to another. I have 3 PCs hooked up through a router. 1 is wired to the router and the other two are wireless. One wireless is a laptop that has a built-in Atheros wireless card that was supported during the FC13 install. The other wireless has a plug-in wireless card made by Belkin (F7D1101). I had to use ndiswrapper to get it to work on FC13.(BTW all PCs are running FC13)
The one with the Belkin card is, I think, the problem. The one with the Atheros card will transfer files at a rate of about 8MB/sec to the one with the wired ethernet connection. The one with the Belkin card will not transfer at rates over 300KB/sec to either of the other two PCs. I have tried file transfers both encrypted and not and it makes no difference.
(and new-ish to Linux in general) and would appreciate some assistance with fixing a problem I'm having with getting wireless working on my computer.Computer specs: Lenovo Thinkpad Edge 520, I5Wireless card: Intel WiFi Link 1000 b/g/n(Note: I also have a Netgear USB wireless adapter, and trying to use this does not solve my problem)I cannot activate wireless. When I go to Network Settings > Wireless, it is listed as "unavailable", and "off". When I try to switch wireless "on", it says "disconnected", but then immediately switches back to "off".Having tried to browse various forums and such for a solution, I tried looking for the file ifcfg-wlan0 under /etc/sysconfig/network-scripts, but it doesn't exist
I just installed Fedora 13 on a new Dell XPS desktop and some of the networking files are not created/missing. The computer has Broadcom Gigabit wired card and Asus PCE-N13 wireless card. When I type lspci, I see that Network conroller: RaLink RT2860 and Ethernet controller: Broadcom BCM57780 Gigabit Ethernet. So, somehow they are being detected by the OS, but I am not sure if the drivers are installed or why some of the network files are missng.
I have Puppy installed on an old laptop and one way or another I ended up with a file inside /usr/bin that has the Stale NFS file error. I've tried to look around for a way to fix it but all places I've looked have only been for the situation where it's on a drive you're able to unmount. At least I think they were. I certainly don't know what I'm doing well enough to know for sure. Obviously restarting the computer has been tried as well as attempting to unmount things, but I can't unmount the drive that is running the unmounting.
I would like be able to access packets coming off the network with the hopes of coding a primitive packet sniffer for learning purposes. I would also like to be able to piece together my own packets and send them out on my network. Eventually, I would also like to write a simple firewall so I want the capability to drop packets as well as let them pass. I assume I will have to access the kernel with some system calls to do this, any one have any information or resources that could help me on this project?
I am developing a program which can access the SATA-hard disk. I have to use the /dev/sda interface for accessing the hard disk. What are all the commands i can use to perform the sector read, write (Both DMA and PIO), sending the smart commands etc. Or is there any easier way?
I saw that i can make use of hdparm call for getting some of the attributes.
I'm trying to setup a small network between my old and new laptops to transfer my personal data. They are now linked with a crossover cable and they see each other.The old one has a dual-boot setup with WinXp and Ubuntu 9.10.The new one with Win7 and Ubuntu 9.10.I tried samba but it was very slow even using Windows in both computers: maximum transfer rates were about 1,5 Mib/sec.I tried SSH using ubuntu on both pcs and it is reliable and much faster, 5 Mib/sec. But I wanted more...I installed the NFS server on the old one and exported the NTFS partition where my data resides with sync and ro options.
I installed the NFS client on the new one and i'm able to mount the remote partition.Now, when I transfer my files I get very high speed, more than 10 Mib/sec but after a while I get a "Stale NFS file handler" error but I really didn't touch any file in the old pc and the connection is always up.Searching on the web I found that NFS had some troubles exporting NTFS partitions in the past but should be fully compatible with them since the last versions of ubuntu.
I have my home network up and running. I can access my index file by the ip I gave to eth0 - 192.168.0.2
I put this same ip into etc/hosts: 192.168.0.2 localhost localhost.localdomain One space separates the hostnames from the ip in /etc/hosts. The hostname command returns: localhost.localdomain
I have /etc/resolv.conf configured the right way, so I can use my isp's DNS servers. I know this because yum works and I can ping anywhere by url. The next step is to learn to access the index file by url locally on my own network.