PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : windows-freigaben beim booten mounten



TRex2003
06.11.05, 13:23
hi,

ich möchte ein paar windows-freigaben beim booten mounten, und nach einem erfolgreichen mount an der konsole hab ich dann die parameter in /etc/fstab eingetragen. allerdings bekomme ich eine lange meldung, die mir zu verstehen gibt, dass ich irgendwas nicht hätte nutzen dürfen.

meine fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/192.168.1.1/Music /music smbfs username=TRex2003,password=xxxx,workgroup=thcgroup 0 0
/192.168.1.1/Zippies /zip smbfs username=TRex2003,password=xxxx,workgroup=thcgroup 0 0


und die meldung (nach mount -a):


Usage: mount.smbfs service mountpoint [-n] [-o options,...]
Version 3.0.14a-Debian

Options:

[snipped]

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
Usage: mount.smbfs service mountpoint [-n] [-o options,...]
Version 3.0.14a-Debian

Options:

[snipped]



wo liegt denn hier der fehler? die beiden zahlen nach den options hab ich nicht verstanden..ohne die zahlen kommt dasselbe raus.

Samsara
06.11.05, 14:50
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/192.168.1.1/Music /music smbfs username=TRex2003,password=xxxx,workgroup=thcgroup 0 0
/192.168.1.1/Zippies /zip smbfs username=TRex2003,password=xxxx,workgroup=thcgroup 0 0

Ich habe seit zwei Jahren kein Samba mehr angefasst, aber ich haette es erstmal so gemacht:

//Zippies /zip smbfs ip=192.168.1.1,username=TRex2003,password=xxxx,wor kgroup=thcgroup 0 0Klappt das?

HTH,

Samsara
.

emba
06.11.05, 21:20
ich glaube der fehler liegt in der angabe bei der ip
anstatt /ip musst du //ip/service eintragen

sufu hilft auch weiter

greez