PDA

Bekijk de volledige versie : Help me!!



sollie
13-06-2007, 06:42
hello world,

I broke my white box and therefor i need help. I need all the content from the /shares/MYVOLUME1 dir (the MYSHARE1 dir i dont need).

Can somebody zip that content for me.

Sollie.

PS: or i need a way to reprepare the internal HD

sollie
13-06-2007, 07:09
When i take aout the drive and format it under windows. After that i place it back. Upload firmware.

Should the steps above repair the disc content?

Sollie.

gratitude182
13-06-2007, 08:04
you could maybe upload the 1.0.4.2 trx file (than the reset button) and then 1.0.4.2 firmware and then the 1.0.4.6. maybe that help. (because i think you have tried to upload a firmware)

btw: the opt folder in there is really big (in /shares/MYVOLUME1)

grat182

sollie
13-06-2007, 08:52
Thanks, but i am not looking for the .../opt or the .../MYSHARE directories. I am looking for all other origional files.

I deleted those files and i shouldnt do that. Right now i have no shares any more. But the drive is working, coz i can view my photoalbum.

Sollie.

luckynuts
13-06-2007, 10:28
i almost got the same problem...i formated my drive....when i try to put the openwrt on it, and fdisk no drive is found though i can format it for linux, when i take out the drive and connect it to a windows pc hdd works.
trying to put the WL700gE_1.0.4.2_flash.trx on it, and try to restore asus firmware.. it just showes an error....
it is pretty much the same like sollie got
can somebody tell me how the jumper should be set on the hdd (master, slave, cable select?)

:confused:

gratitude182
13-06-2007, 11:09
maybe you can try to copy the 1.0.4.2 trx file to the box... then press the reset button for 5-10 seconds and then install the firmware with the firmware restore tool to 1.0.4.2...

grat182

hal2k1
13-06-2007, 11:39
When i take aout the drive and format it under windows. After that i place it back. Upload firmware.

Should the steps above repair the disc content?

Sollie.

AFAIK, Asus firmware expects a Reiserfs format on the disk.

I think it is Reiserfs 3.5.

http://en.wikipedia.org/wiki/Reiserfs

AFAIK there are only three filesystem types supported by Windows: FAT16, FAT32 and NTFS. None of these are Reiserfs.

Therefore, AFAIK you cannot successfully "take out the drive and format it under windows". Windows doesn't know how to format a drive with the correct format, which is Reiserfs.

Try booting your PC with a Knoppix CD:
http://en.wikipedia.org/wiki/Knoppix

Once you have Knoppix running from the CD on your PC, then format your WL700ge drive in Reiserfs format using gparted:
http://en.wikipedia.org/wiki/Gparted

You should be aware that re-formatting a drive removes all content (wipes it clean, leaves it formatted but empty). It does not repair disk content, but it does re-enable a corrupted disc to work again. But beware, once re-formatted, the disc will be empty. Working, but empty. This is the state of the HDD when you first bought the WL700ge box in the first place.

Good luck. I hope this helps.

Postscript: It would appear that you don't even need a Knoppix CD. You can get Gparted itself on its own liveCD, for just your situation:
http://gparted.sourceforge.net/download.php
http://sourceforge.net/project/showfiles.php?group_id=115843&package_id=173828

Another alternative is a system rescue liveCD
http://en.wikipedia.org/wiki/System_Rescue_CD
http://www.sysresccd.org/Main_Page

Once again, good luck!

A further note ... here is the output of the "mount" command on my wl700ge box:

$ mount
/dev/ide/host2/bus0/target0/lun0/part1 on / type cramfs (rw)
/dev on /dev type devfs (rw)
proc on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
ramfs on /tmp type ramfs (rw)
ramfs on /shares type ramfs (rw)
ramfs on /foreign_shares type ramfs (rw)
/dev/se/2 on /shares/MYVOLUME1 type reiserfs (rw,noatime,nodiratime)
/dev/se/2 on /opt type reiserfs (rw,noatime,nodiratime)


Yes, it is reiserfs. You can see you probably have no hope of dealing with this disk using Windows.

I'm thinking more and more that what you need to do is get a copy of the System Rescue CD, boot from that CD on your PC with your wl700ge HDD connected, and then run the Test-disk tool that comes on the SystemRescue liveCD.
http://www.cgsecurity.org/wiki/TestDisk

Woa, hold the horses! Even better, you can in fact get a version of Test-disk for Windows:
http://www.cgsecurity.org/wiki/TestDisk_Download
http://www.cgsecurity.org/testdisk-6.6.win.zip

Even easier! (for those who still run Windows).

Rejan
13-06-2007, 11:53
Hi, I had the same problem with lost files which removed all shares under /shares/MYVOLUME1. The router started so I tried to recreate the files via filename and locked down the whole router, it was impossible to restart, probably dumped during boot. I could not do anything else than remove the HDD put it in an Easy IDE adapter and connect to my laptop via USB. Then I formated the drive and removed the partition after that so the driver showed the disk as unallocated space. I put the HDD back and loaded the firmware 1.0.4.6 back via Restoration tool and I got the brick to work again but I lost my files...

Rejan
13-06-2007, 18:10
Hi Sollie, if you need to recreate the files the following textfiles is the ones to create (if its possible to repair that way)

You will need:
- a file named __share_<sharename>_vars.txt for each share you had (example: __share_MYSHARE1_vars.txt)
- a file named __share_list.txt containing the shares, one name per row (I have two):
MYSHARE1
FTP

The __share_MYSHARE1_vars.txt contains info regarding the share:
known_user_count=2
cifs_enable=enabled
cifs_write_enable=enabled
ftp_enable=enabled
ftp_create_enable=enabled
ftp_delete_enable=enabled
http_share_enable=enabled
http_share_create_enable=enabled
http_share_delete_enable=enabled
nfs_enable=enabled
nfs_write_enable=enabled
known_user_0_name=<myuser1>
known_user_0_permission=full
known_user_1_name=<myuser2>
known_user_1_permission=read

So I dont think a copy of my files will help you, its custom files depending on which shares you have created. Hope this info can help you.

sollie
13-06-2007, 19:04
Ok, thanks for all info.

Before i made my box unusefull i made a backup. So i dont care if the drive is empty. Somebody mailed me and said to format i with openwrt. I installed it an format the whole drive. ReiserFS wasnt in the list.

I tried with a tftp tool to put the asus frimware into it. I didnt work. After 10 sec it stopped with uploading.

Maybe somebody has a tut for downgrading to ASUS firmware from Openwrt.

Sollie.

Rejan
13-06-2007, 19:35
Hi Sollie, have you tried the firmware restoration tool?
That was the one I used after formating my drive, I never tftp:d my firmware.

sollie
13-06-2007, 19:46
Yes i did and it worked,

i used this:


I don't think its needed.
When you experinced the stability and power of OpenWrt i don't think you want to revert to the crappy firmware of ASUS but here's a How To: (make sure you have a static ip 192.168.1.2)


press the ezflash button (keep it pressed) and plug in the power
If the ready light stops flashing let go of the ezflash button
in a dosshell run "tftp -i 192.168.1.1 put WL700gE_1.0.4.2_flash.trx"
wait a couple of seconds until the image is uploaded a message appears if it's succesful oploaded
now wait half a minute before you yank out powersupply
again wait 10/20 sec press the ezflash button(keep pressed again) and put in the power
NOW if the ready-light flashes one time let go of the ezflash button and start Asus Firmware Restoration


upload WL700gE_1.0.4.2.nas and wait until the device boots 1-2 min.
(images to flash are attached)

Thank you all.

Sollie.