LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cifs mount remote shared folder (https://www.linuxquestions.org/questions/linux-networking-3/cifs-mount-remote-shared-folder-874175/)

ted_chou12 04-10-2011 05:46 PM

cifs mount remote shared folder
 
Hi, I am trying to mount a local network shared folder of a windows computer on to the machines on folder:
Code:


sh-3.1# mount.cifs "//192.168.2.102/Downloads" "/mnt/win"
Password:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
sh-3.1#  mount -t cifs "//192.168.2.102/Downloads" "/mnt/win"
Password:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
sh-3.1# smbmount  "//192.168.2.102/Downloads" "/mnt/win"
Password:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I checked the manual and online, I think the syntax is alright, and I do have the mount.cifs package installed, why?
By the way, the Downloads folder on Laptop is an fat32 partition which i think is also supported as well.
I am using debian system.
Thanks,
Ted

Peacedog 04-10-2011 08:43 PM

Hi ted_chou12, Welcome to LQ. Please post the output from the following.

Code:

$ grep CIFS /boot/config
Good luck. ;-)

ted_chou12 04-10-2011 09:10 PM

Hi:
Code:


sh-3.1# grep CIFS /boot/config
grep: /boot/config: No such file or directory

do I need to creat this file?
Thanks,

Peacedog 04-10-2011 09:36 PM

You shouldn't need to create it. I just haven't a clue about your /boot directory. Please post the output from the following.

Code:

$ ls /boot
Good luck. ;-)

ted_chou12 04-10-2011 09:48 PM

Hi, thanks. its this:
Code:


sh-3.1# ls /boot
sh-3.1#

So i guess it's empty? :/
Ted.

Peacedog 04-11-2011 10:15 PM

Alright, let's try this.

Code:

$ cat /usr/src/linux/.config | grep CIFS
Good luck. ;-)

ted_chou12 04-11-2011 11:57 PM

Hi, still no luck:
Code:

sh-3.1# cat /usr/src/linux/.config | grep CIFS
cat: /usr/src/linux/.config: No such file or directory

Thanks again,
Ted

lpwevers 04-12-2011 04:49 AM

Hi Ted,

Looks like you don't have CIFS support in the kernel. You might want to try installing it by running
Code:

apt-get install smbfs
and then trying your mounts again.

ted_chou12 04-12-2011 02:04 PM

hi, thanks, but I already tried it before:
Code:

sh-3.1# smbmount  "//192.168.2.102/Downloads" "/mnt/win"
Password:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

and is already installed
$ apt-get install smbfs
Reading package lists... Done:
Building dependency tree
Reading state information... Done
smbfs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded.

Thanks,
Ted

Peacedog 04-12-2011 09:53 PM

What kernel are you running?

Code:

$ uname -r
Good luck. ;-)

travisdh1 04-13-2011 08:34 AM

Maybe try using mount -t cifs or mount -t smbfs?
ex: mount -t smbfs //ipaddress:/sharename /mount_point

I know it's supposed to do the same thing, but I've not had good luck using smbmount or mount.smb myself.

Good luck.

ted_chou12 04-13-2011 12:38 PM

Hi, its:
Code:

2.6.16-gazineu
But this is a small nas I installed some self made firmware.
@travisdh1 I tried it but its TCP not found :/
Thanks,
Ted

Peacedog 04-13-2011 07:16 PM

This is making sense now. Is this SnakeOS on a wlk652 or ns-k330? That's where the gazineu kernel I have comes from.

Good luck. ;-)

ted_chou12 04-13-2011 10:57 PM

yes! so it's impossible to bind i guess? I can access everything through smbclient, but i guess binding it to a local folder is much more convenient.
Oh and its a wlx 652 btw, probably should have mentioned that earlier, but didn't think anyone would know it.
Thanks
Ted

Peacedog 04-14-2011 08:47 PM

Yes, I have a wlx 652 also. Is this the chroot debian install or stock Snake?

Good luck. ;-)


All times are GMT -5. The time now is 08:52 AM.