Bekijk de volledige versie : USB can't detect External HD and printer
Couple of days ago I had some problem with the electricity. After that, USB ports cannot detect both external drive and printer. Prior to that, everything is working fine with Oleg's 7g firmware and samba3.
I've tried resetting to factory default both through the back panel and web interface but no luck. I've even flashed Oleg's latest firmware still no luck.
Can anyone help me? I'm looking for the instruction for a hard reset. I really hope that this is not hardware problem.
Thanks so much.
sharkman2008cn
05-11-2007, 07:37
you must open ftpd,so 500gp can auto mount usb disk .so you can mount it by yourself.if it cant work, External Power Supply is must. that's my Experience.
you must open ftpd,so 500gp can auto mount usb disk .so you can mount it by yourself.if it cant work, External Power Supply is must. that's my Experience.
Sorry for the this newbie question, how do you open ftpd? And does that work for printer as well?
Hi and sorry my poor English.
I think the factory reset disable stupid-ftpd daemon. The stupid-ftpd scan/mount usb periferials (if you don't load some kernel modules).
You must enable it (webconfig page -> usb application -> enable ftp server -> yes ) or add a few line to your post-boot script (
# test if USB disc has beeb attached
# if not - then insert needed modules
if [ ! -d /dev/discs ]
then
insmod scsi_mod
insmod sd_mod
insmod usb-storage
sleep 5s
fi
)
I advise you use the 2nd case.
The printer share:
use webconfig -> System setup -> Services -> Enable ... -> Yes (2 or 3 times, if you use LPR from linux or/and use EAW from windows)
Save and restart.
Bye,
George
George, thanks for your info.
However, still no luck. I've tried setting through the web both for printer and external storage and also tried putting the command you suggested to the post-boot script. It seems that the router is not visible in the network and can only accept internet connection and telnet. Last night I flashed the clear nvram firmware and then flashed oleg's latest firmware and still no use. So my guess is, it's either the USB service is not active or hardware problem. Is there any way I can check this without going to the service center? Hope you can help me out.
Thanks,
Bastian
Hi.
Can you access to router on web pages?
If yes, I think, you must disable ip packet logging (it create too many lines in syslog). Webconfig -> Internet firewall -> Basic config -> Logged packets type: -> None.
Check:
usb applications: Usb applications -> ftp server -> enable -> yes
router mode: system setup -> home gateway
Services: system setup -> services -> telnet -> yes
system setup -> services -> print services -> device discovery -> yes
print system: enable lpr -> yes, enable wan -> yes
plug external drive and printer
save and restart
log asus router's webconfig page to access system log.
find something in syslog: "usb.c"
Jan 1 01:00:04 kernel: usb.c: registered new driver usbdevfs
Jan 1 01:00:04 kernel: usb.c: registered new driver hub
Jan 1 01:00:04 kernel: usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
Jan 1 01:00:04 kernel: usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
Jan 1 01:00:04 kernel: usb.c: new USB bus registered, assigned bus number 1
Jan 1 01:00:04 kernel: hub.c: USB hub found !!!!
Jan 1 01:00:04 kernel: hub.c: 2 ports detected !!!! this line: the usb port in router !!!!
Jan 1 01:00:05 kernel: hub.c: new USB device 00:04.0-1, assigned address 2
Jan 1 01:00:05 kernel: hub.c: USB hub found !!!! my usb hub with 4 ports !!!!
Jan 1 01:00:05 kernel: hub.c: 4 ports detected
Jan 1 01:00:05 kernel: lp0: using parport0 (polling).
Jan 1 01:00:05 kernel: hub.c: new USB device 00:04.0-1.1, assigned address 3
Jan 1 01:00:05 kernel: usb.c: USB device 3 (vend/prod 0x4b4/0x6830) is not claimed by any active driver.
Jan 1 01:00:06 kernel: usb.c: registered new driver usblp
Jan 1 01:00:06 kernel: printer.c: v0.13: USB Printer Device Class driver
Jan 1 01:00:06 kernel: hub.c: new USB device 00:04.0-1.2, assigned address 4
Jan 1 01:00:06 kernel: usb.c: USB device 4 (vend/prod 0x58f/0x6362) is not claimed by any active driver.
Jan 1 01:00:08 kernel: usb.c: registered new driver audio !!!! usb audio service, if enabled :)
Jan 1 01:00:08 kernel: audio.c: v1.0.0:USB Audio Class driver
Jan 1 01:00:08 kernel: Linux video capture interface: v1.00 !!!! if webcan enabled
Jan 1 01:00:08 kernel: SCSI subsystem driver Revision: 1.00
Jan 1 01:00:09 kernel: Initializing USB Mass Storage driver... !!!! the next check - sort of usb devices - if detected !!!!
Jan 1 01:00:09 kernel: usb.c: registered new driver usb-storage !!!! (my first storage device - need, if your router detected any storage !!!!
Jan 1 01:00:09 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 01:00:09 kernel: Vendor: SAMSUNG Model: HM060HC Rev: 0000
Jan 1 01:00:09 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:09 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 01:00:09 kernel: SCSI device sda: 117231408 512-byte hdwr sectors (60022 MB)
Jan 1 01:00:09 kernel: Partition check:
Jan 1 01:00:09 kernel: p1 p2 p3 !!!! 2nd storage device (my card reader)
Jan 1 01:00:09 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 1 01:00:09 kernel: Vendor: Generic Model: USB SD Reader Rev: 1.00
Jan 1 01:00:09 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:09 kernel: Vendor: Generic Model: USB CF Reader Rev: 1.01
Jan 1 01:00:09 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:09 kernel: Vendor: Generic Model: USB SM Reader Rev: 1.02
Jan 1 01:00:09 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:09 kernel: Vendor: Generic Model: USB MS Reader Rev: 1.03
Jan 1 01:00:09 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 01:00:09 kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Jan 1 01:00:09 kernel: Attached scsi removable disk sdc at scsi1, channel 0, id 0, lun 1
Jan 1 01:00:09 kernel: Attached scsi removable disk sdd at scsi1, channel 0, id 0, lun 2
Jan 1 01:00:09 kernel: Attached scsi removable disk sde at scsi1, channel 0, id 0, lun 3
If your router not detected storage:
a) not load kernel modules (for detect and access usb storage hw):
(scsi_mod, sd_mod, usb-storage) these modules loaded, if enable ftp service (stupid-ftpd) check this in telnet console (ps | grep stupid-ftpd)
Or check modules: ps | grep scsi_mod etc.
B) have a hardware problem - usb is bad. One usb devices can blow any usb devices.
by any chance you can try router with other usb storage peripheria (usb stick "pendrive", or usb card reader) I think, you must use usb hun for check your external storage with PC ( PC <-> usb hub <->external storage ) If external storage fail, don't blow your motherboard's usb ports.
bye,
George