Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Using CIFS to mount a windows share

Hi

I am trying to mount a windows share on uClinux (running on a 1C20 board) using CIFS. Here are the steps I've taken:

1. Created a directory on my Windows machine and gave full permissions on it to everyone (just to start with).

2. Defined a new user in my windows machine (called it u).

3. Made sure no firewall is active.

4. Issued the following command in uClinux:

mount -t cifs //192.168.12.65/uClinux /mnt/nfs -o user=u

The output from this command is

can't create lock file /etc/mtab~32: Read-only file system (use -n flag to overr

ide)

So, I took the advice and issued the command with the -n flag this time:

# mount -t cifs //192.168.12.65/uClinux /mnt/nfs -o user=u -n

CIFS VFS: Send error in SessSetup = -13

CIFS VFS: cifs_mount failed w/return code = -13

mount: block device //192.168.12.65/uClinux is write-protected, mounting read-on

ly

CIFS VFS: Send error in SessSetup = -13

CIFS VFS: cifs_mount failed w/return code = -13

mount: cannot mount block device //192.168.12.65/uClinux read-only

looking at the messages going back and forth betwen the uClinux board and the pc, I can see that the last message states a STATUS_LOGON_FAILURE (0xc000006d).

Has anyone tried this before ? I know that the readme file says that this is well tested , but I was just hoping for some basic file read capabilities, so that I can develop stuff on my pc and run them from the uClinux board.

Any help will be appreciated.

Nir
No RepliesBe the first to reply