PDA

View Full Version : Ftp unavailable when Wl500g boots on ext3



Ols
21-10-2004, 22:06
Yop guys,

Perhaps this problem was explained on the forum, but i didn't found it, and if it did, sorry for this ask.. :o

I've upgrated my wl500g with 1.8.1.7-2a, connect my external usb storage ( Maxtor 160g with 1*150g fat32 and 1*6g ext3), reboot and test my ftp, worked fine.
Then I copy the fs image on the ext3 partition, apply settings to nvram, reboot, checked if it booted on the usb, it was right (i've added a folder called "test" in the image), but now, the ftp doesn't work :(

I've changed the ext3 from primary to extended, nothing different.

Mount command tells me in the first case (ftp OK) :


/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/part1 on /tmp/harddisk type vfat (rw,sync)
/dev/discs/disc0/part2 on /tmp/harddisk/part1 type ext3 (rw,noatime)

With Usb boot OK but ftp unavailable :


/dev/root on /mnt type squashfs (ro)
none on /mnt/dev type devfs (rw)
none on /mnt/proc type proc (rw)
/dev/scsi/host0/bus0/target0/lun0/part2 on / type ext3 (rw,noatime)
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)

It seems it doesn't mount the fat32 partition correctly, i tryed to mount it manually, but no change...

Edit 1 : I could mount the partition with :

mount -o remount,rw,sync /dev/scsi/host0/bus0/target0/lun0/part1 /tmp/harddisk

But nothing changed :(

Could you please advice me ?
Thx

Ols

Oleg
22-10-2004, 10:40
The problem is that hotplug does not work in this case. You will need to put


nvram set usb_storage_device=1

in your post-boot script for watchdog to perform the mount. But, there is also another problem - it will mount your root partition.

Ols
23-10-2004, 11:01
Thx Oleg for your reply, it's Ok now :)

But i don't understand what's the problem if root partition is also mounted with this command?
Isn't it mounted when the wl500 starts ?

Thx

Oleg
23-10-2004, 11:43
Yes, it's get mounted in both cases. But it should not be mounted at least with rootfs used.

Antiloop
09-11-2004, 23:47
Yes, it's get mounted in both cases. But it should not be mounted at least with rootfs used.

maybe I misunderstand it..

but when I used rootfs @ usb

I put the ext2(at that time) partition at the end of the harddisk

so that should cause that hotplug should mount first partition available.. (your fat32 partition for example)