PDA

Bekijk de volledige versie : Samba yes, FTP no



mojo
18-11-2004, 12:20
I'd like to run samba, but not the ftp-server. But when I disable the ftp-server using the web-interface, the USB-disk doesn't get mounted anymore.

I have searched forums and played with the nvram set usb_storage_device=1 command, yet to no avail. How can I achieve this?

I'm using 1.8.1.7-3.

Thanks,
-Udo.

Oleg
18-11-2004, 13:15
mount disk manually.

mojo
18-11-2004, 14:38
Thanks Oleg, it works now. But you forgot to mention that the proper kernel modules have to be loaded before you can do a manual mount.
Here is how my post-boot looks like:


#!/bin/sh

/usr/sbin/smbd -D
# /usr/sbin/nmbd -D

insmod scsi_mod
insmod sd_mod
insmod usb-storage

mkdir /tmp/harddisk
mount -t vfat -o sync,rw /dev/discs/disc0/part1 /tmp/harddisk

Oleg
18-11-2004, 14:40
Why you don't start nmbd?

Antiloop
18-11-2004, 15:47
Why you don't start nmbd?
nmbd is not needed.. :D

I'm not using the hostname at all
because I map it directly to a driveletter in windows.. thus an IP is enough

also in my case, my second wl500g(2) is often setup as gateway meaning another subnet and will not resolve the samba server at my wl500g(1) but when using IP it goes all fine

Oleg
18-11-2004, 18:25
This will probably cause problems with Win9x clients, which do not use DNS to resolve names...
Also, wl500g will not appear in the Network Neighbourhood...
Also, smbd is using nmbd to perform certain queries...

mojo
18-11-2004, 19:17
AFAIK nmdb takes care of netbios name resolution, like translating \\router\share to \\192.168.1.1\share. I don't need this, so I free up as many resources as possible. BTW what is infosvr ?

Oleg
18-11-2004, 20:10
AFAIK nmdb takes care of netbios name resolution, like translating \\router\share to \\192.168.1.1\share. I don't need this, so I free up as many resources as possible. BTW what is infosvr ?
Used by ASUS utilities to discover wl500g on the net.
I will probably remove it together with lpd...