LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2016, 02:14 AM   #1
tylersundance
LQ Newbie
 
Registered: Nov 2016
Posts: 3

Rep: Reputation: Disabled
Mounting cifs share on Linux RT device


I have a problem with mounting a Windows share on a Linux system and hope that I can find some help here. I am new to Linux and tried several things. I am working with a device from National Instruments that runs Linux. The device has on-board WiFi and i already managed to connect it to an enterprise network using wpa_supplicant. So this part should be fine.

Now I want to mount a network share. First of all I have to say that I got it to work on a Raspberry Pi with Raspbian Jessy with the following command:

sudo mount -t cifs -o username=xxx //eu.xxx.com/department/share /mountpoint

Now I try the exact same thing on the National Instruments device. I installed cifs-utils via opkg. I received the message: unsatisfied recommendation for kernel-module-cifs. Not sure if I have to worry about that.

After I entered the mount command I get asked for my password and after that I get mount error(6): No such device or address. When I enter the wrong password I get an mount error(13): Permission denied. So the authentication should be OK in my opinion.

The Raspberry has cifs V6.4 installed, and the NI device 5.9, could this be an issue ? I have a third device (Cubietruck) that has cifs V6.0 and the mounting also works fine there.

I also found that there is a setting SecurityFlags in /proc/fs/cifs, which could be a problem, but on the Raspberry and the NI device they are both 0x85.

lsmod of the raspberry shows me that there is a cifs module loaded. This is not the case on the NI device. I tried modprobe cifs and got no error. But lsmod still doesn't show the module.

I will provide any additional information you ask for and will be thankful for any advice.
 
Old 11-29-2016, 07:36 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
For some reason the NI device won't load the cifs module. Can you try
Code:
$ locate cifs.ko
and check if it's available? Otherwise maybe check if cifs-utils is installed.

Last edited by AwesomeMachine; 11-29-2016 at 07:39 PM.
 
Old 11-29-2016, 07:51 PM   #3
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
Or,

Code:
zgrep CIFS /proc/config.gz
(if config.gz is available)

If it does not turn up positive, you might need to install a newer kernel with cifs on it.
 
Old 12-02-2016, 01:04 PM   #4
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 134

Rep: Reputation: 17
Are you sure it said "recommendation" and not "requirement"? Because if it did then you'd have to install all the packages as well that the cifs module needs before it can work.
 
Old 12-08-2016, 03:53 AM   #5
tylersundance
LQ Newbie
 
Registered: Nov 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi,

i checked again by reinstalling the cifs-utils package, it said "unsatisfied recommendation".

locate cifs.ko did not get any results. But cifs-utils is installed

I also tried zgrep CIFS /proc/config.gz

Answer:

CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_XATTR is not set
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_SMB2 is not set

Any ideas ?
 
  


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
Trouble Mounting cifs share leonsmit Linux - Newbie 2 01-29-2016 10:09 PM
Issues mounting a remote Windows share using CIFS over a Cisco VPN funcrusher Linux - Networking 2 06-07-2013 07:37 PM
Help with mounting samba share: smbmount or mount.cifs error: permission denied wdli Linux - Server 1 08-11-2009 11:31 PM
Mounting CIFS share causes the mount point to be destroyed kenneho Linux - Server 13 06-19-2009 01:39 AM
Mount.cifs Mounting a subdirectory of a windows share MonctonJohn Linux - Networking 4 09-28-2007 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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