How to mount a Windows share
Hello,
I've installed Olegs 1.9.2.7 CR3 firmware on my brand new Asus WL500g.
I now want to mount a Windows share.
I tried several commands like
mount -t smbfs -o username=xyz,password=abc //host/share /tmp/mountpoint
But every time I get the error
mount: Mounting //host/share on /tmp/mountpoint failed: No such device
How can I mount the Windows share?
Do I have to use NFS for that?
Markus
Posible to mount a Samba Drive ?
Hey - I would just like to follow up on this question.
Is it posible to mount a samba drive hosted on another linux system on the WL500G Deluxe.
The reason for this is that I have bought a MAXTOR SHARED STORAGE NAS.
But this sweet thing do not have a built in FTP server (Before you flame me for not buying a PLEXTER NAS instead you should know i tried that - and was COMPLETLY dissapointed.) The software/Functionality/Usability/Stability/Finish/Language/FTP/USB and Filesystem/ WAS COMPLETLY AND UTTERLY USELESS!!!.
Its the worst NAS device out there - BUT it has ftp.... (which in turn only support ONE user with only ONE set of permissions.... hurraaayy for that...... what a fuckup from Plextor).
Oh well.... my agression put aside. I know that the MAXTOR SHARES STORAGE makes its windows shares with Samba. And i would like to make the FTP server in my WL500G Deluxe host the content of my Maxtor NAS.
So im asking here:
Is it posible to mount a Samba share on the WL500G Deluxe.... or would it do the same thing a windows share.
I hope someone(Oleg) will respond and clear this one out one time for all.
Or perhabs consider making a firmware able to mount windows shares in the future.
Mr. EoniX
2 Attachment(s)
mount a shared network folder/drive to your Router
It is really easy - all you need is a valid samba2 installation.
1.) Store smbfs.o to directory /opt/modules
2.) Store script sambi to /opt/sbin
make script executable with chmode +x /opt/sbin/sambi
adjust (edit) script sambi to your needs (IP-address and directories)
3.) Add to your post-boot after mounting your harddisk partition to /opt:
#include access to any samba share with smbmount
if [ -e /opt/modules/smbfs.o ]
then
insmod /opt/modules/smbfs.o
fi
perform the usual
flashfs save && flashfs commit && flashfs enable && reboot
Done..
I use script sambi, because the script toggles in a simple way my smbshare.
In newer samba versions, smbfs is missing and cifs is used instead, becausesmbfs has a "not maintained status".
Anyhow, I never experienced probs with smbfs and win, except vista.
I use it to backup my network smbshare to my nas.
FOR OLEG VERSIONS =>9 READ http://www.wl500g.info/showpost.php?...6&postcount=33
THIS SMBFS IS FOR OLD VERSIONS <9
Have fun....
smbfs segmentation faults
Same here :mad: : Once the smbmount share has been mounted several segmentation faults occur. The smbmount does work and I'm able to list the files on my NAS. However the router becomes useless since many other commands are corrupted.
Any solution to this problem?
Config: Asus WL500gP, Oleg firmware 1.9.2.7-10, Samba2, smbfs.o (insmodded)