problem after kernel upgrade
well i am a novice but i searched for updates for red hat linux 9 which is the distro that i use and i installed some kernel updates from the site http://download.fedoralegacy.org/redhat/9/updates/i386/
and installed them i also installed the kernel updates and now the kernel version is upgraded to 2.4.20-46.9 now i dont remember what the previous version was...now when i try to use the command mount -t smbfs -o username=root //path //mount dir it says this is not surrported by the kernel whereas it worked fine before the upgrades also the smbmnt command gives the same error any help??? |
The use of smbfs has been deprecated use cifs (see example below) instead or download the source rpm file and rebuild with smb support added back.
http://www.digitalhermit.com/linux/K...ild-HOWTO.html Example; mount -t cifs -o username=root //path //mount dir |
Quote:
mount: fs type cifs not supported by kernel and with the smbfs i get this here is the full message with the command i use [root@localhost root]mount -t smbfs -o username=root //192.168.0.1/dummy /home/mount 2003: session request to 192.168.0.1 failed (Called name not present) 2003: session request to 192 failed (Called name not present) Password: ERROR: smbfs filesystem not supported by the kernel Please refer to the smbmnt(8) manual page smbmnt failed: 255 |
Try using something like;
smbmount //192.168.0.1/dummy /home/mount -o username=guest -rw If guest is a valid user/account on the remote system or else use a user that is known on the remote system. You may need to also do something like (as root); chmod u+x /usr/bin/smbmnt chmod u+x /usr/bin/smbumount Also check if either smbfs or cifs is infact available; ls -al /lib/modules/`uname -r`/kernel/fs/smbfs ls -al /lib/modules/`uname -r`/kernel/fs/cifs Note that is the backtick (above the 'Tab' key on most keyboards) and not the single quotemark ['] in the commands above. |
Quote:
Quote:
bash: uname-r command not found when i tried the command with spaces on both sides of `uname-r`like this ls -al /lib/modules/ `uname -r` /kernel/fs/smbfs it showed me a list of files with these files in it 2.4.20-42.9.legacybigmem 2.4.20-42.9.legacy 2.4.20-42.9.legacyBOOT when i use the same command for cifs it showed not found i also did a which smbfs but it didnt show anything when i did which smbmnt it found it in the /usr/bin/smbmnt |
Quote:
It seems that you may have an issue with spacing since you later stated; Quote:
|
Quote:
it was just a typing mistake here....i used the space in my query |
I was wondering if someone can help me out, I am experiencing a similar problem. I am trying to
Code:
mount -t cifs //server/share /mnt/net -o username=user,password=secret Code:
mount error: cifs filesystem not supported by the system Code:
ls -al /lib/modules/`uname -r`/kernel/fs/cifs -rwxr--r-- 1 root root 249124 Jun 14 2007 cifs.ko If anyone can help me mount the Win 2K3 File Share, it will be most appreciated. |
Tagging onto an old posting is not the best way to get help..........with that said;
I type something along the same lines as you; mount -t cifs //<IP address>/share /mnt/somewhere -o credentials=/home/lenard/bin/cifs.txt -rw Use the IP address of the Windows 2003 Server system, I keep my username and password in the cifs.txt file which reads like; username=user password=mypassword You may want to look into (using google) search: Windows 2003 plain password |
Thanks for your response. I tried both of those methods. (Tried using IP, and tried using a file to keep my credentials.) The error comes out the same:
Code:
mount error: cifs filesystem not supported by the system |
All times are GMT -5. The time now is 07:09 PM. |