astudent
19-09-2006, 21:58
When I plug in a USB drive into my WL-500gP, it is automatically mounted to /tmp/harddrive and stupid-ftpd starts up. I'm sure that's desirable behavior for some people, but it's annoying to me.
How can I stop this behavior? I've read other posts of people trying to figure out how to disable stupid-ftpd. Killing the process is obviously one way of doing it, but I'd like a better solution. For one, even if I kill stupid-ftpd, if I unplug the USB drive and plug it back in, the drive is again automatically mounted and stupid-ftpd starts up again.
There must be some other process that's monitoring for USB devices and spawning stupid-ftpd - any idea which one?
/ # ps
PID Uid VmSize Stat Command
1 admin 660 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
90 admin 308 S telnetd
95 admin 388 S httpd vlan1
98 admin 396 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
103 admin 364 S klogd
104 nobody 404 S dnsmasq
108 admin SW [khubd]
116 admin 276 S lpd
118 admin 260 S p9100d -f /dev/usb/lp0 0
121 admin 340 S waveservermain
123 admin 344 S rcamdmain
129 admin 424 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
131 admin 320 S infosvr br0
132 admin 488 S watchdog
134 admin 340 S ntp
148 admin 436 S dropbear
149 admin 560 S /bin/sh
161 admin 448 S upnp -D -L br0 -W vlan1
163 admin SW [usb-storage-0]
164 admin SW [scsi_eh_0]
209 admin 404 S stupid-ftpd
213 admin 408 R ps
Don't suggest any of the processes that are surrounded by square brackets - none of those are killable.
BTW, my drives weren't auto mounted and I had never heard of stupid-ftpd before upgrading to the latest WL500gP firmware (ie. 1.9.2.7-7f-pre7).
How can I stop this behavior? I've read other posts of people trying to figure out how to disable stupid-ftpd. Killing the process is obviously one way of doing it, but I'd like a better solution. For one, even if I kill stupid-ftpd, if I unplug the USB drive and plug it back in, the drive is again automatically mounted and stupid-ftpd starts up again.
There must be some other process that's monitoring for USB devices and spawning stupid-ftpd - any idea which one?
/ # ps
PID Uid VmSize Stat Command
1 admin 660 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
90 admin 308 S telnetd
95 admin 388 S httpd vlan1
98 admin 396 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
103 admin 364 S klogd
104 nobody 404 S dnsmasq
108 admin SW [khubd]
116 admin 276 S lpd
118 admin 260 S p9100d -f /dev/usb/lp0 0
121 admin 340 S waveservermain
123 admin 344 S rcamdmain
129 admin 424 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
131 admin 320 S infosvr br0
132 admin 488 S watchdog
134 admin 340 S ntp
148 admin 436 S dropbear
149 admin 560 S /bin/sh
161 admin 448 S upnp -D -L br0 -W vlan1
163 admin SW [usb-storage-0]
164 admin SW [scsi_eh_0]
209 admin 404 S stupid-ftpd
213 admin 408 R ps
Don't suggest any of the processes that are surrounded by square brackets - none of those are killable.
BTW, my drives weren't auto mounted and I had never heard of stupid-ftpd before upgrading to the latest WL500gP firmware (ie. 1.9.2.7-7f-pre7).