DD-WRT v23 SP3 (01/18/07) std WRT54G V1.1 SMBFS Not Mounted

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
grolon
DD-WRT Novice


Joined: 10 Nov 2006
Posts: 5

PostPosted: Thu Jan 18, 2007 16:14    Post subject: DD-WRT v23 SP3 (01/18/07) std WRT54G V1.1 SMBFS Not Mounted Reply with quote
I'm using a Linksys WRT54G v1.1 with DD-WRT v23 SP3 (01/18/07) std.
I've configured Samba FS automount enabled,
Share //10.0.0.100/smbshare
User user1
Password *secret*
Init Script NONE

SMB share is not mounted, why ?

i run
# mount -t cifs //10.0.0.100/smbshare /tmp/smbshare/ -o username=user1,password=*secret*

# dmesg
CIFS: Missing UNC name for mount target

Any ideas ?
Thanks in advance.
Guido
Sponsor
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Thu Jan 18, 2007 16:20    Post subject: Reply with quote
# mount.cifs //10.0.0.100/smbshare /tmp/smbshare -o user=user1,pass=*secret*
grolon
DD-WRT Novice


Joined: 10 Nov 2006
Posts: 5

PostPosted: Thu Jan 18, 2007 16:27    Post subject: Reply with quote
~ # mount.cifs //10.0.0.100/smbshare /tmp/smbshare/ -o user=user1,pass=*secret*
mount error 22 = Invalid argument
Refer to the mount.cifs(Cool manual page (e.g.man mount.cifs)
~ #

My server is an IBM netfinity runnning Mandriva Linux 10.0

It used to work very well with v23 SP2

thanks
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Thu Jan 18, 2007 16:32    Post subject: Reply with quote
MAybe trailing / in mount point is problematic?

This is how it's done by default:

mkdir /tmp/smbshare
chmod 777 /tmp/smbshare
insmod cifs
mount.cifs $SAMBA_SHARE /tmp/smbshare -o user="$SAMBA_USER",pass="$SAMBA_PASSWORD"
grolon
DD-WRT Novice


Joined: 10 Nov 2006
Posts: 5

PostPosted: Thu Jan 18, 2007 16:40    Post subject: Reply with quote
/ # ls -lad /tmp/smbshare/
drwxrwxrwx 1 root root 0 Jan 18 17:00 /tmp/smbshare/

/ # insmod cifs
/ # lsmod | grep cifs
cifs 183088 0

/ # mount.cifs //10.0.0.100/smbshare /tmp/smbshare -o user=user1,pass=*secret*
mount error 22 = Invalid argument
Refer to the mount.cifs(Cool manual page (e.g.man mount.cifs)

/ # dmesg
CIFS VFS: cifs_mount failed w/return code = -5
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Thu Jan 18, 2007 16:43    Post subject: Reply with quote
Hmm, let me check some things, maybe it's broken again....
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Thu Jan 18, 2007 16:56    Post subject: Reply with quote
No, all is OK, automount and manual mount work as it should. Maybe your user or pass have "funny" characters inside?
grolon
DD-WRT Novice


Joined: 10 Nov 2006
Posts: 5

PostPosted: Thu Jan 18, 2007 17:00    Post subject: Reply with quote
Mmmm,

user = 6 letters
password = 3 letter 1 number and 3 letters NO SPACES, NO DASH, NO NOTHING

always worked like this.

snif snif
dicksons
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 980
Location: Coal Creek Canyon, Colorado

PostPosted: Thu Jan 18, 2007 17:47    Post subject: Reply with quote
this works for me even via the WUI:


smbworks.gif
 Description:
 Filesize:  3.02 KB
 Viewed:  15213 Time(s)

smbworks.gif



_________________
linksys GSv2, Gv4, Gv2, GLv1, G-TM, Buffalo wbr2, whr, whr-hp, whr-g125, wli-tx4-g54hp, Moto wr850gp, Alix.3C2
anectine17
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1535
Location: Idaho

PostPosted: Thu Jan 18, 2007 18:35    Post subject: Reply with quote
Just basic settings here. No password or script, and it works fine. I have found that on occasion it takes awhile to show that it's mounted. Not sure if that's a delay in actual mounting, or a just a delay in the GUI reporting it.


untitled.JPG
 Description:
 Filesize:  21.4 KB
 Viewed:  15202 Time(s)

untitled.JPG



_________________
Clear 4G Wimax.
Linksys WRT54G-TM w/14929 std-nokaid, fan-cooled, 2 GB SD mod, Primary Router.
Linksys WRT54G v.3 w/15230 std-nokaid, Client Bridge.
Linksys E2000 w/15200 "Big"
Linksys WRT54G v.4
La Fonera 2100, fan-cooled
Linksys WRT54G v.3.1
Linksys WRT54G v.1.1
Linksys WRT54GS v.1
2x Linksys WRT54G v.2.2

Peacock Thread - READ THOROUGHLY
grolon
DD-WRT Novice


Joined: 10 Nov 2006
Posts: 5

PostPosted: Thu Jan 18, 2007 23:34    Post subject: Reply with quote
I don't know, i think my config is ok, but it's not working.
Sorry, it's is spanish. Smile



wrt54gsmbfs.JPG
 Description:
 Filesize:  14.27 KB
 Viewed:  15164 Time(s)

wrt54gsmbfs.JPG


Maddin
DD-WRT Novice


Joined: 19 Jan 2007
Posts: 1

PostPosted: Sat Jan 20, 2007 8:11    Post subject: Reply with quote
grolon wrote:
I don't know, i think my config is ok, but it's not working.
Sorry, it's is spanish. Smile


I''ve got a similar problem and I was not able to find any hints in the docs/forum so far.

On my Linksys WRT54GL running 'DD-WRT v24 Beta (01/18/07) vpn' I can't mount my NAS-device (simple printserver LevelOne FPS-3003). The command
Code:

mount.cifs //printserver/USB2_D1P1 /mnt -o user=router

fails with
Code:

mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Using the same command from my linux box running Suse 10.2 is successful.

Any hints are highly appreciated.
Thanks a lot
jogumi
DD-WRT Novice


Joined: 27 Oct 2006
Posts: 3

PostPosted: Fri May 18, 2007 17:48    Post subject: Reply with quote
The problem is because samba uses the tcp port 139 and cifs uses the tcp port 445. Configure the device to accept connections using the 445 port instead 139.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum