PDA

Bekijk de volledige versie : How to mount/map a network drive?



dragoon
20-05-2008, 22:39
Hi there,

I have a network drive connected to one of asus's ethernet ports.
And I just do not know how to mount it to Asus file tree.
Oleg's firmware very comfortably automounts usb drives, so that is no problem.

The network drive has Samba and Fat32, shared folder is "public".

From windows it is easy:
net use F: \\192.168.1.2\public
or by using the explorer's "map network drive" command.

From Asus I have tried with mount command,
admin[/tmp/local/root] mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part2 on /opt type ext3 (rw,noatime)

admin[/tmp/local/root] mount -t vfat //192.168.1.2/public /mnt
mount: Mounting //192.168.1.2/public on /mnt failed: No such file or directory
admin[/tmp/local/root] mount -t smbfs //192.168.1.2/public /mnt
mount: Mounting //192.168.1.2/public on /mnt failed: No such device

samba is running
admin[/tmp/local/root] ps |grep mbd
169 admin 1004 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
171 admin 1004 S /usr/sbin/nmbd -D -n myasus -o -l /tmp -s /opt/etc/sa

THis must be frustratingly simple, but as a newbie I just do not figure it out :(

raas
21-05-2008, 11:10
Hi,

you have to use something like smbmount.

The following thread should give you enough information:

http://www.wl500g.info/showthread.php?t=1531

(it thought me how to mount a share on a windows machine. so you should be good.)