Hi I have recently installed Linux, and cannot seem to get the syntax right to be able to mount a windows (samba) share.
The share is currently on a windows 2K Server, and i want to mount this share across my LAN.
I have tried the following but get an error:
# mount -t smbfs -o username=xxxx,password=yyyy //192.168.1.251/test /public/media/movie/test
mount: Mounting //192.168.1.251/test on /public/media/movie/test failed: Invalid argument
Can someone help me to sort out why this wont mount, do I have the syntax right?
I am running:
# uname -a
Linux LSYS1 2.4.22-xfs #1 Sun Jun 12 21:17:17 PDT 2005 armv5b unknown
Thanks
Alan
# smbmount
Usage: mount.smbfs service mountpoint [-o options,...]
Version 2.2.7b-ja-1.0
Options:
username=<arg> SMB username
password=<arg> SMB password
credentials=<filename> file with username/password
netbiosname=<arg> source NetBIOS name
uid=<arg> mount uid or username
gid=<arg> mount gid or groupname
port=<arg> remote SMB port number
fmask=<arg> file umask
dmask=<arg> directory umask
debug=<arg> debug level
ip=<arg> destination host or IP address
workgroup=<arg> workgroup on destination
sockopt=<arg> TCP socket options
scope=<arg> NetBIOS scope
iocharset=<arg> Linux charset (iso8859-1, utf8)
codepage=<arg> server codepage (cp850)
ttl=<arg> dircache time to live
guest don't prompt for a password
ro mount read-only
rw mount read-write
This command is designed to be run from within /bin/mount by giving
the option '-t smbfs'. For example:
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test