PDA

Bekijk de volledige versie : Using HDD drive for Root on OpenWRT



MoD
21-01-2007, 12:25
I have prepared some scripts (see attachement) to use HDD as root file system. The scripts are based on info found at:
http://wiki.openwrt.org/OpenWrtDocs/Hardware/Netgear/WGT634U
http://openwrt.pbwiki.com/WGT634U_USB_root
http://forum.openwrt.org/viewtopic.php?pid=24104

As I'm not a big linux guru, the scripts might need improvements. So any feedback is welcome!

The script ini creates mount point (/hdd) in existing root filesystem and creates new file system layout.
linuxrc changes the root filesystem to hdd filesystem.
/etc/init.d/done has a small adition to execute linuxrc:
[ -f /linuxrc ] && . /linuxrc

How to use all this:

1. I assume you already have flashed OpenWRT firmware from http://back2basic.shacknet.nu/WL700Ge/
2. copy ini and linuxrc to /
3. give ini and linuxrc execute permition
4. execute ini
5. copy done to /etc/init.d/done
6. reboot the router.

You should see something like this:

root@OpenWrt:/# mount
/dev/root on /jffs/rom type squashfs (ro)
none on /jffs/dev type devfs (rw)
/dev/mtdblock/4 on /jffs/jffs type jffs2 (rw)
/jffs on /jffs type mini_fo (rw)
/dev/discs/disc0/part1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw)

back2basic
21-01-2007, 13:27
Great , was also trying to get the hdd mounted but I gues must learn alot more . Gonne try you're way

THxx:p

MoD
21-01-2007, 13:38
Great , was also trying to get the hdd mounted but I gues must learn alot more . Gonne try you're way

THxx:p

I'm not sure about these lines:confused: :

/dev/root on /jffs/rom type squashfs (ro)
none on /jffs/dev type devfs (rw)
/dev/mtdblock/4 on /jffs/jffs type jffs2 (rw)
/jffs on /jffs type mini_fo (rw)

I guess something should be unmounted?!

MoD
21-01-2007, 14:52
I have cleaned ini script:

#!/bin/sh
#script to create root filesystem on HDD drive partition
#it is important that you customize these settings to fit your drive!

boot_dev="/dev/discs/disc0/part1"
mount_point="/hdd"

# create mount point
mkdir $mount_point

#mount hdd
mount $boot_dev $mount_point

#copy root filesystem
/bin/tar cvO -C / bin/ etc/ lib/ sbin/ usr/ www/ rom/ | /bin/tar x -C $mount_point
cd $mount_point && mkdir tmp dev proc jffs var

#we have writeable filesystem and don't need symlink /var to /tmp
#copy content to real /var directory
cp -a /var/* var

back2basic
21-01-2007, 15:33
How to use all this:

1. I assume you already have flashed OpenWRT firmware from http://back2basic.shacknet.nu/WL700Ge/
2. copy ini and linuxrc to /
3. give ini and linuxrc execute permition
4. execute ini
5. copy done to /etc/init.d/done
6. reboot the router.

You should see something like this:

when I execute the script It gets me a bunch of error and @ last it tels me I ran out of space .But I didn't had the time to look into the script Ihad to go to work 15:00 - 23:00

I just saw that you cleared out the script. I guess its back to 'firstboot' for me and try it again. Gonne try It again when I'm back @home tonight

back2basic
21-01-2007, 15:36
I'm not sure about these lines:confused: :


I guess something should be unmounted?!

when I do a 'df -h' I see that /dev/mtdblock/4 is only a few kb I guess that's the one but I don't know It for sure .I'm trying it later and post back the results of it. mmm /jffs is also small maybe that needs to be unounted too

MoD
21-01-2007, 18:44
when I execute the script It gets me a bunch of error and @ last it tels me I ran out of space .But I didn't had the time to look into the script Ihad to go to work 15:00 - 23:00

I just saw that you cleared out the script. I guess its back to 'firstboot' for me and try it again. Gonne try It again when I'm back @home tonight

I did my tests on a fresh openwrt install. jffs2 has very little room.

MoD
21-01-2007, 18:49
I was able to enable USB support, but USB-sticks are not mounted. Filesystem kernel modules depends on kmod-nls-base with is not compiled for some reason:(

back2basic
21-01-2007, 20:01
I was able to enable USB support, but USB-sticks are not mounted. Filesystem kernel modules depends on kmod-nls-base with is not compiled for some reason:(

That could be my mistake since I compiled it :(
I'll check my config when I'm @home in 3 hours
Probably I gonne recompile it(And share it with all you) to start fresh.

MoD
21-01-2007, 20:37
That could be my mistake since I compiled it :(
I'll check my config when I'm @home in 3 hours
Probably I gonne recompile it(And share it with all you) to start fresh.

I have compiled my own firmware. still no luck:(

vfat compiles, but nls-base - doesnt.

back2basic
22-01-2007, 03:29
when I execute the script It gets me a bunch of error and @ last it tels me I ran out of space .But I didn't had the time to look into the script Ihad to go to work 15:00 - 23:00

I just saw that you cleared out the script. I guess its back to 'firstboot' for me and try it again. Gonne try It again when I'm back @home tonight

Got the hdd to mount
I made a tutorial on how to make a new filesystem
http://back2basic.shacknet.nu/WL700Ge/forum/showthread.php?t=4

MoD
22-01-2007, 09:07
I think that in flash wl700ge should use jffs2 root filesystem not squashfs. we are switching to hdd root, so squashfs failsafe does not makes sense.

jffs2 is writeable and is able to hold necesary customization to switch to hdd root. we dont need to swith to a new root twice (openwrt swithces from squashfs to jffs2 and uses mini_fo).

usage of squashfs is too complicated!

MoD
22-01-2007, 10:18
I think that in flash wl700ge should use jffs2 root filesystem not squashfs. we are switching to hdd root, so squashfs failsafe does not makes sense.

jffs2 is writeable and is able to hold necesary customization to switch to hdd root. we dont need to swith to a new root twice (openwrt swithces from squashfs to jffs2 and uses mini_fo).

usage of squashfs is too complicated!

I tested this. jffs with 128k is too big:

Write kernel and filesystem binary to FLASH (0xbfc40000)
flash device 'flash1.trx'
Programming...
ERROR!! copysize is 1839104, amtcopy is 1802240
Failed.: Unknown error

DaNawq
23-01-2007, 03:10
#After following the great work of MoD do the following:

mkdir -p /opt/etc
echo "src optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable" > /opt/etc/ipkg.conf
echo "lists_dir ext /opt/var/lib/ipkg" >> /opt/etc/ipkg.conf
echo "dest /opt/ /" >> /opt/etc/ipkg.conf

export IPKG_CONF_DIR=/opt/etc
ipkg -V 2 update

ipkg install mt-daapd

#edit your /opt/etc/mt-daapd/mt-daapd.conf // runas root
/opt/etc/init.d/S60mt-daapd

#enjoy your mt-openwrt Server ;)
#Proceed with all other ~600 packages :-P

#TODO - WLan-support

MoD
23-01-2007, 09:28
#After following the great work of MoD do the following:
......

#TODO - WLan-support

I do not understand why wlan does not work fork. I created image that does not have ide, but has wlan drivers. it works.

anyway, today there will be a much better way how to mount HDD.

johu
23-01-2007, 12:16
anyway, today there will be a much better way how to mount HDD.
Are you going to replace JFFS root completely? What I did was editing mount_root and firstboot to duplicate JFFS init but use HDD+EXT3 instead. Also added couple if's to fall-back to flash+jffs if HDD is not present.

MoD
23-01-2007, 14:56
As always, USE ON YOUR OWN RISK!

I took the idea from here: http://openwrt.pbwiki.com/WGT634U_USB_root

I. The concept

I really like Oleg's firmware concept to use NVAM variable boot_dev. As we have not much space, HDD root fs can be only ext3.

II. What has been changed and how

(if you dont want to build an image, skip this section. Read the section III. How to use all this and use already created image (http://files.wl500g.info/asus/custom/mod/1.0.4.2-1/openwrt-brcm-2.4-squashfs.rar))

I changed the mount_root script (the script is here (http://files.wl500g.info/asus/custom/mod/1.0.4.2-1/mount_root)).

What the modified mount_root does:

1. it looks for NVRAM variable boot_dev
2. it tries to mount that partition at mount point /mnt
3. it checks if there are directories /sbin and /rom and file /sbin/hotplug.failsafe on mounted partition. If everything looks ok, it does pivot_root. The old root fs is in /rom.
4. if something fails (partition is not mounted or it does not have directories /sbin and /rom and file /sbin/hotplug.failsafe ), customized mount_root acts as the original OpenWRT mount_root and mounts jffs2 filesystem.

To avoid mounting jffs2 fs, mount_root has to be on squashfs. So we have to compile it into trx image. Do the following:

1. Build the firmware with:

cd trunk
make

this will create trunk/build_mipsel directory.

2. replace mount_root script in trunk/build_mipsel/target/sbin

3. rebuild the firmware with new mount_root :

cd trunk
make target/install


III. How to use all this

1. Create and format an ext3 partition on the HDD drive using:

# play with fdisk if you need to repartition drive
fdisk fdisk /dev/discs/disc0/disc
# "format" partition
mke2fs -j /dev/discs/disc0/part1
2. Download my root2hdd.sh (http://files.wl500g.info/asus/custom/mod/1.0.4.2-1/root2hdd.sh) script and copy it to the router /tmp directory. You may want to customize boot_partition variable in the script acoording your HDD boot partition.

3. execute the /tmp/root2hdd.sh script to create root fs on HDD. It will also set NVRAM variable boot_dev.


# /tmp/root2hdd.sh

4. reboot the router. If you want to boot jffs2 filesystem, simply:

nvram unset boot_dev
nvram commit

MoD
23-01-2007, 16:07
I would like to see two things working on this OpenWRT box:

1. WIFI
2. posibility to use VFAT filesystem

it seems that power button and copy button are useless right now. But I dont care about that:)

MoD
23-01-2007, 19:24
OpwneWRT WL-700gE by default there is no bridge included, so logread shows an error:

Jan 1 00:00:15 (none) user.info : /sbin/hotplug: /etc/hotplug.d/net/10-net: 1: brctl: not found

johu
23-01-2007, 20:21
When you build custom firmware just put "<M>" instead of "<*>" or "< >" to Wifi, bridge, iptables etc. and install resulting ipkgs after HDD is mounted as root.

Power and Copy button both work. You need to create hotplug script to handle events they generate.

MoD
23-01-2007, 21:36
When you build custom firmware just put "<M>" instead of "<*>" or "< >" to Wifi, bridge, iptables etc. and install resulting ipkgs after HDD is mounted as root.

Power and Copy button both work. You need to create hotplug script to handle events they generate.

1) do you have wi-fi running?
2) could you give an example for hotplug scripts?

MoD
24-01-2007, 08:35
when drivers are installed, wifi is found on device, but is not configured:


root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:17:31:BA:E4:B0
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 00:17:31:BA:E4:B0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:27471 (26.8 KiB)
Interrupt:4

eth0.0 Link encap:Ethernet HWaddr 00:17:31:BA:E4:B0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0.1 Link encap:Ethernet HWaddr 00:17:31:BA:E4:B1
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:21964 (21.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@OpenWrt:/# /sbin/wifi detect
config wifi-device wl0
option type broadcom
option channel 5

config wifi-iface
option device wl0
option mode ap
option ssid OpenWrt
option hidden 0
option encryption none

root@OpenWrt:/# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

eth0.0 no wireless extensions.

eth0.1 no wireless extensions.

br-lan no wireless extensions.

wl0 IEEE 802.11-DS ESSID:""
Mode:Managed Frequency:2.412 GHz Tx-Power:off

To initialize WI-FI, simply run:

# /sbin/wifi detect > /etc/config/wireless
# reboot

MoD
24-01-2007, 10:42
ipkg shows that it depends on nls_base. However you can extract the source and install modules and script manually.

not sure about nls_base, but iso nls modules can be used from WhiteRussian. Can be downloaded here:

http://downloads.openwrt.org/people/nbd/diagtest/packages

MoD
24-01-2007, 11:33
You can do whatever you want with buttons and leds. Even switch wi-fi on/off by copy button.

Examples are here:
http://forum.openwrt.org/viewtopic.php?pid=37413 and
http://forum.openwrt.org/viewtopic.php?pid=37453

in short:

mkdir /etc/hotplug.d
mkdir /etc/hotplug.d/button

touch /etc/hotplug.d/button/script
echo '#!/bin/sh

echo \"action: $ACTION, button: $BUTTON, seen: $SEEN\" >> /tmp/diagVars.log

' > /etc/hotplug.d/button/script

chmod a+x /etc/hotplug.d/button/script

and watch output in /tmp/diagVars.log

mrtropicguy
26-01-2007, 20:50
I tried the changes listed by MoD they work great except I can't write to nvram when I boot from the Hard Drive. I unset the boot_dev variable and I do an nvram commit and see that is has disappeared from the list of nvram vairables, but when I reboot I boot from the hard drive and that value is set to its previous setting. Anybody else have this problem?

d3viant
27-01-2007, 00:34
Right, finally gotten round to installing this!

Does anyone have bridge working correctly so that local-side router ports get their IP's off the wl-700Ge and then connections from them are forwarded to the eth0.1 interface (ie the WAN)?

MoD
27-01-2007, 09:30
Right, finally gotten round to installing this!

Does anyone have bridge working correctly so that local-side router ports get their IP's off the wl-700Ge and then connections from them are forwarded to the eth0.1 interface (ie the WAN)?

haven't tried to use it as router. i got wifi card running, but it seems that it also does not respond to IP address 192.168.1.1

d3viant
27-01-2007, 11:57
I have gotten dnsmasq going on the br-lan bridge, this seems to work fine (in that it assigns IP addresses) If I add eth0.1 to that bridge, packets get forwarded straight across to my adsl modem, as if the wl-700ge were invisible (I can no longer ping 192.168.1.1 in that situation)

It may be a case of using iptables to forward packets, although I am not sure - I don't think the original asus firmware did this...

d3viant
27-01-2007, 13:51
haven't tried to use it as router. i got wifi card running, but it seems that it also does not respond to IP address 192.168.1.1

Just got that bit working - you have to add wl0 to your br-lan bridge,


brctl addif br-lan wl0

If you have dnsmasq running on the br-lan interface (put interface=br-lan in dnsmasq.conf) then wireless devices start getting IP addresses too.

The only thing left to get this router working properly for me is to have it actually route packets to it's eth0.1 device from br-lan (without making the router invisible!)

MoD
27-01-2007, 14:41
The only thing left to get this router working properly for me is to have it actually route packets to it's eth0.1 device from br-lan (without making the router invisible!)

I guess you have to set up iptables properly?! just a quick search:
http://forum.openwrt.org/viewtopic.php?pid=1991#p1991
http://forum.openwrt.org/viewtopic.php?pid=3301#p3301
http://forum.openwrt.org/viewtopic.php?id=57
http://forum.openwrt.org/viewtopic.php?id=20
http://forum.openwrt.org/viewtopic.php?id=6541
http://forum.openwrt.org/viewtopic.php?id=6247
http://forum.openwrt.org/viewtopic.php?id=6387
http://forum.openwrt.org/viewtopic.php?id=2299

hmantsao
27-01-2007, 16:11
I have gotten dnsmasq going on the br-lan bridge, this seems to work fine (in that it assigns IP addresses) If I add eth0.1 to that bridge, packets get forwarded straight across to my adsl modem, as if the wl-700ge were invisible (I can no longer ping 192.168.1.1 in that situation)

It may be a case of using iptables to forward packets, although I am not sure - I don't think the original asus firmware did this...

Could you please let me know how to connect ADSL modem? That show me don't have pppoe interface and i can't go back asus original firmware . It is very bad :mad:

MoD
27-01-2007, 20:12
does anybody have an idea? at some point I cant mount HDD anymore. I reflashed the router, recreated partition. even changed the HDD to another one. nothing helps. the error is:


root@OpenWrt:/# mount -t ext3 /dev/discs/disc0/part1 /mnt
mount: mounting /dev/discs/disc0/part1 on /mnt failed

system is the following:

root@OpenWrt:/# lsmod
Module Size Used by Not tainted
ide-disk 16708 0
ext3 72804 0
jbd 54840 0 [ext3]
aec62xx 6940 1
ide-core 123936 0 [ide-disk aec62xx]
switch-robo 4620 0 (unused)
switch-core 4864 0 [switch-robo]
diag 21920 0 (unused)

root@OpenWrt:/# fdisk -l

Disk /dev/ide/host0/bus0/target0/lun0/disc: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks
Id System
/dev/ide/host0/bus0/target0/lun0/part1 1 100 803218+ 83 Linux

root@OpenWrt:/# df
Filesystem 1k-blocks Used Available Use% Mounted on
none 31464 8 31456 0% /tmp
/dev/mtdblock/4 384 324 60 84% /jffs
/jffs 896 896 0 100% /

root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/jffs on / type mini_fo (rw)
none on /dev/pts type devpts (rw)

root@OpenWrt:/# ls -l
drwxr-xr-x 2 root root 483 Jan 23 2007 bin
drwxr-xr-x 1 root root 0 Jan 1 1970 dev
drwxr-xr-x 1 root root 0 Jan 1 00:00 etc
drwxr-xr-x 1 root root 0 Jan 1 00:01 jffs
drwxr-xr-x 5 root root 409 Jan 23 2007 lib
drwxr-xr-x 1 root root 0 Jan 1 00:02 mnt
dr-xr-xr-x 29 root root 0 Jan 1 00:00 proc
drwxr-xr-x 15 root root 136 Jan 23 2007 rom
drwxr-xr-x 2 root root 319 Jan 23 2007 sbin
drwxr-xr-x 2 root root 3 Jan 23 2007 sys
drwxrwxrwt 6 root root 140 Jan 1 00:00 tmp
drwxr-xr-x 6 root root 56 Jan 23 2007 usr
lrwxrwxrwx 1 root root 4 Jan 23 2007 var -> /tmp
drwxr-xr-x 2 root root 3 Jan 23 2007 www

back2basic
27-01-2007, 21:02
does anybody have an idea? at some point I cant mount HDD anymore. I reflashed the router, recreated partition. even changed the HDD to another one. nothing helps. the error is:



system is the following:

you're mount path isn't right it must be set to /dev/ide/host0/bus0/target0/lun0/disc

MoD
27-01-2007, 22:26
you're mount path isn't right it must be set to /dev/ide/host0/bus0/target0/lun0/disc

the same error:( also, fdisk works with /dev/discs/disc0/disc

d3viant
28-01-2007, 01:34
Could you please let me know how to connect ADSL modem? That show me don't have pppoe interface and i can't go back asus original firmware . It is very bad :mad:

It depends on how your router works I guess - mine hands out dhcp addresses, and there is a dhcp client that runs on the WAN port by default with openWRT. If that isnt the case for your router, then you can assign a static IP to eth0.1 in the /etc/config filesystem (around there somewhere I think)

d3viant
28-01-2007, 01:36
the same error:( also, fdisk works with /dev/discs/disc0/disc

My mount command is


mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part1 /mnt

this should definitely work for you looking at your fdisk output (unless the /mnt directory doesn't exist or the filesystem on the drive is corrupted - do an fsck on the drive device if that mount command doesn't work...)

MoD
28-01-2007, 09:02
My mount command is


mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part1 /mnt

this should definitely work for you looking at your fdisk output (unless the /mnt directory doesn't exist or the filesystem on the drive is corrupted - do an fsck on the drive device if that mount command doesn't work...)

strange situation:

root@OpenWrt:/# mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part1 /mnt
mount: mounting /dev/ide/host0/bus0/target0/lun0/part1 on /mnt failed
root@OpenWrt:/# mkdir /mnt/test
mini_fo: create_sto_dir: ERROR creating sto dir.
mkdir: cannot create directory '/mnt/test': No space left on device
root@OpenWrt:/# df
Filesystem 1k-blocks Used Available Use% Mounted on
none 31464 8 31456 0% /tmp
/dev/mtdblock/4 384 324 60 84% /jffs
/jffs 896 896 0 100% /

d3viant
28-01-2007, 13:41
Hmm, odd - it's booted off jffs and somehow filled up that small partition (ie no room left to create a /mnt directory)

Is there anything you can delete off jffs to create some more room?

MoD
28-01-2007, 13:50
Hmm, odd - it's booted off jffs and somehow filled up that small partition (ie no room left to create a /mnt directory)

Is there anything you can delete off jffs to create some more room?

trying to go back to the original asus firmare shows:

pivot_rc starting...
pivot_rc proceeding to boocramfs: wrong magic
t from disk...
ERROR(a):mount_pivot_point failed to mount location : /dev/ide/host2/bus0/target0/lun0/part1...
ERROR(b):mount_pivot_point error : Invalid argument...
pivot_rc boot loop error for location 0...
pivot_rc complete -> calling /sbin/init...


or

pivot_rc starting...
pivot_rc pcramfs: wrong magic
roceeding to boot from disk...
ERROR(a):mount_pivot_point failed to mount location : /dev/ide/host2/bus0/target
0/lun0/part1...
ERROR(b):mount_pivot_point error : Invalid argument...
pivot_rc boot loop error for location 0...
pivot_rc complete -> calling /sbin/init...


could it be that the flash ir physicallly broken?

d3viant
28-01-2007, 13:57
It seems to be very confused about where the hard drive actually is - you said you have tried openWRT on a different hard drive from the original one. Does the original still contain the ASUS formatted reiserfs partition - if so, try plugging that back in and see what the ASUS firmware says...

MoD
28-01-2007, 14:08
It seems to be very confused about where the hard drive actually is - you said you have tried openWRT on a different hard drive from the original one. Does the original still contain the ASUS formatted reiserfs partition - if so, try plugging that back in and see what the ASUS firmware says...

my previous post is about asus firmware with original HDD.

d3viant
28-01-2007, 14:10
That doesn't look so good then! - try plugging your had drive into a pc and formatting it to reiserfs (or the openWRT one to ext3) then try to use the appropriate firmware again.

I hope this'll solve it - otherwise it looks like you may have screwed up your flash ROM...

MoD
28-01-2007, 14:20
That doesn't look so good then! - try plugging your had drive into a pc and formatting it to reiserfs (or the openWRT one to ext3) then try to use the appropriate firmware again.

I hope this'll solve it - otherwise it looks like you may have screwed up your flash ROM...

i have tried 3 HDD:
1. original asus
2. Openwrt HDD that was inside the router when everything went wrong
3. another HDD with Openwrt

I have recreated ext3 partition several times. even created fat32 on pc and then back to ext3. nothing helps. so it seems that it is flash, not hdd related problem.

d3viant
28-01-2007, 15:35
Well, that isn't so good for you then - the only other thing I can think of is to do a few firmware flashes to see if you can clear out the flash memory - you can do openWRT over serial port too I believe(as opposed to just tftp)

On a seperate note, I got the openWRT to work properly as a router - it seems that turning on the firewall just enables this feature - no extra config required!

Any extra configuration you need to do will be for individual ports that need to get to the router I guess...

MoD
28-01-2007, 15:51
Well, that isn't so good for you then - the only other thing I can think of is to do a few firmware flashes to see if you can clear out the flash memory - you can do openWRT over serial port too I believe(as opposed to just tftp)

I have serial port. do you have any idea how to use serial to reinicialize flash or aother stuff that could help. is there any tool that could test the flash?

d3viant
28-01-2007, 16:05
The instructions to flash openWRT to the router over the serial port are here (http://wiki.openwrt.org/OpenWrtDocs/Customizing/Firmware/CFE), but I'm not sure if this will help - it looks like you need pre-existing files on your router (ie a working firmware in the 1st place)

There may be some programs around to see what is coming out of a serial port, but unless you find one specific to the wl-700ge format, it won't actually be of much use...

d3viant
28-01-2007, 16:10
#After following the great work of MoD do the following:

mkdir -p /opt/etc
echo "src optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable" > /opt/etc/ipkg.conf
echo "lists_dir ext /opt/var/lib/ipkg" >> /opt/etc/ipkg.conf
echo "dest /opt/ /" >> /opt/etc/ipkg.conf

export IPKG_CONF_DIR=/opt/etc
ipkg -V 2 update

ipkg install mt-daapd

#edit your /opt/etc/mt-daapd/mt-daapd.conf // runas root
/opt/etc/init.d/S60mt-daapd

#enjoy your mt-openwrt Server ;)
#Proceed with all other ~600 packages :-P

I seem to be having trouble with this step - I get an md5 checksum mismatch on any package I try to install from the optware repositories - any ideas anyone?

DaNawq
28-01-2007, 16:24
oh I've forgotten a step :(

mkdir -p /opt/etc
echo "src optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable" > /opt/etc/ipkg.conf
echo "lists_dir ext /opt/var/lib/ipkg" >> /opt/etc/ipkg.conf
echo "dest /opt/ /" >> /opt/etc/ipkg.conf

export IPKG_CONF_DIR=/opt/etc
ipkg -V 2 update

after that, the first you have to install is:

ipkg install ipkg-opt

from now on use ipkg-opt to install mt-daapd.

Just edit /etc/profiles and add /opt/bin:/opt/sbin to your path

MoD
28-01-2007, 16:25
I seem to be having trouble with this step - I get an md5 checksum mismatch on any package I try to install from the optware repositories - any ideas anyone?

i have no idea and cant even test it because I cant mount IDE.

d3viant
28-01-2007, 16:51
oh I've forgotten a step :(

ipkg install ipkg-opt

from now on use ipkg-opt to install mt-daapd.

Just edit /etc/profiles and add /opt/bin:/opt/sbin to your path

Yup, that ipkg-opt package is linked directly to the /opt/etc/ipkg.conf config file - I get md5 checksum error on that package too though...

I think my md5sum program (part of busybox) is corrupt - will try reinstalling busybox and see if it helps..

EDIT: Well, it's definitely md5sums that are the problem - an md5sum on an ipkg on the router gives a completely different result than an md5sum on my main pc... not sure how to solve it though - maybe theres an option to make ipkg ignore md5sums?

MoD
28-01-2007, 18:02
I tried to follow http://back2basic.shacknet.nu/WL700Ge/forum/showthread.php?t=3 tutorial, but cant upload the second part:

again wait 10/20 sec press the ezflash button(keep pressed again) and put in the power
NOW if the readylight 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.

Asus Firmware Restoration tool doesnt upload firmware. tftp par goes well. any ideas?

d3viant
28-01-2007, 18:11
The ASUS trx file is meant to put the flash into such a state that you can then upload the usual .nas images to it - if even that image isn't working, then it looks like there probably is something wrong with the flash memory in your router.

MoD
28-01-2007, 18:32
The ASUS trx file is meant to put the flash into such a state that you can then upload the usual .nas images to it - if even that image isn't working, then it looks like there probably is something wrong with the flash memory in your router.

huh, got it working. asus firmware works, but serial console shows the same error (see boot log in attachement):

pivot_rc starting...
pivot_rc proceeding to boocramfs: wrong magic
t from disk...
ERROR(a):mount_pivot_point failed to mount location : /dev/ide/host2/bus0/target0/lun0/part1...
ERROR(b):mount_pivot_point error : Invalid argument...
pivot_rc boot loop error for location 0...
pivot_rc complete -> calling /sbin/init...

MoD
28-01-2007, 18:55
could someone give me list of nvram variables for fresh device?

d3viant
28-01-2007, 20:18
huh, got it working. asus firmware works, but serial console shows the same error (see boot log in attachement):

Hmm very odd, can you get the hard drive to mount at all now you have firmware back on the router?

If not, it could be a cable problem -not plugged in correctly, wire break etc (clutching at straws here)

MoD
28-01-2007, 20:25
Hmm very odd, can you get the hard drive to mount at all now you have firmware back on the router?

If not, it could be a cable problem -not plugged in correctly, wire break etc (clutching at straws here)

the original ASUS firmware mounts internal HDD. there is only that error. but i guess if i'll reflash openwrt, nothing will change. i'll be not able to mount hdd.

hmantsao
28-01-2007, 20:36
Could someone help get me a file which is "/tmp/filter_rules" in ASUS originl firewall?
I need to study the firewall rule becase the openwrt can do many thing for me. I think my wl700ge will work well if i can get firewall rules on that.

Here is my status.
1. wifi can work still need modify some
2. dns can work
3. wan work on ADSL(with pppoe)
4. Xwrt work on route (beta version but can do something)
5. ipkg work well
6. root on hdd
7. can not go back to ASUS firmware becase i clean many set on NVRM. :mad:

d3viant
28-01-2007, 21:48
What firewall rules do you need?

I found it very easy to do using the /etc/config/firewall file (once you run iptables once, this file is created with comments on how to add rules)

MoD
28-01-2007, 21:48
I can get ASUS firmware running with error, but cant Openwrt :( The worst thing is that I even dont know how this problem arised.

MoD
28-01-2007, 21:55
it is definitely something flash related. googling with "cramfs wrong magic" shows that.

For example: http://www.mail-archive.com/linuxppc-embedded@ozlabs.org/msg01386.html

d3viant
28-01-2007, 22:00
I can get ASUS firmware running with error, but cant Openwrt :( The worst thing is that I even dont know how this problem arised.

I can only guess it's some weird hard drive issue (obviously not the flash as you got the ASUS firmware going again)

Not sure if you've already tried it yet - a complete hard drive wipe?

Also find my complete nvram dump below (definitely not default settings, but it may help you diagnose your existing problems):



vts_port_x1=6881:6889
wl_radius_port=1812
vts_port_x2=22461
usb_webremote6_x=
vts_port_x3=9064
wl_mode_x=0
filter_lw_dstport_x=
default_primary_pool_name=MYVOLUME
wlan_proto=disabled
prev_gid=
os_ram_addr=80001000
domadmins_gid=42002
vts_port_x4=22463
vts_port_x5=1600
wl0_frameburst=0
vts_port_x6=1599
http_share_delete_enable=enabled
qos_enable_x=1
misc_ping_x=0
wan_pppoe_keepalive=0
vts_port_x7=1601
wan0_ipaddr=192.168.0.2
apps_dl_seed=0
log_ipaddr=255.255.255.255
filter_wl_default_x=ACCEPT
wan0_proto=dhcp
boardrev=0x10
ntp_interval=3
wl_gmode_protection_x=0
wl_wdsapply_x=0
usb_webremote2_x=
web_browsing_port=
rescue_gpio=4
et0macaddr=00:17:31:BA:E2:CD
dev_mfr_url=http://www.asus.com/
pivot_root_current=2
wl0_akm=
wan_pppoe_passwd=
model_name=ASUS WL700g
wl_maxassoc=128
boot_wait=off
watchdog=5000
http_share_master_enable=enabled
error_pop_up_on_all=enabled
wl_phytypes=
wan_mode_x=2
wl0_infra=1
startup_script=/shares/MYVOLUME1/MYSHARE1/rcinit
wl0_country_code=DE
et0mdcport=0
fw_disable=1
usb_webmserver_x=
dhcp_dns1_x=
filter_lw_dstip_x=
wan_nat_x=1
wl_infra=1
ses_event=2
pivot_partition_size=65536
reset_gpio=7
wl_radio_t=1
qos_port_x0=49872
wl_maclist_x=
filter_wl_time_x=00002359
qos_port_x1=49872
pmon_ver=CFE 3.91.23.0
http_start_page=/setup/initial_setup.asp
uid_range=35000-40000
restore_defaults=0
wlan_hwaddr=00:17:31:BA:E2:CD
network_restart=11
wan0_ifname=eth0
wl_radio_x=1
vts_proto_x=
vts_ipaddr_x=
x_WANType=0
wl0_wme_sta_be=15 1023 3 0 0 off
filter_lw_time_x=00002359
wan_pppoe_service=
dev_mfr=ASUS
wan_lease=86400
pivot_root_1=/dev/ide/host2/bus0/target0/lun0/part1
machine_name=WL700gE
wl_radius_ipaddr=
ddns_status_t=
pivot_root_2=/dev/ide/host2/bus0/target0/lun0/part2
http_wanport=
usb_websecurity_time_x=00002359
lan_gateway=
wan_pppoe_txonly_x=0
wl0_ifname=eth1
qos_uminbw_x0=0
lan_domain=
wl0_wme_sta_bk=15 1023 7 0 0 off
timer_interval=3600
apps_dl=1
wl_wdsnum_x=0
usb_ftpusername_x=
usb_webactivex_x=7777
wl_net_reauth=36000
forward_port0=17602-17602>192.168.1.2:17602-17602,udp,on,Azureus UPnP 17602 UDP
pdc_enable=enabled
forward_port1=17602-17602>192.168.1.2:17602-17602,tcp,on,Azureus UPnP 17602 TCP
forward_port2=49872-49872>192.168.1.2:49872-49872,udp,on,Azureus UPnP 49872 UDP
dr_staticnum_x=0
vts_lport_x=
ses_enable=0
vlan0ports=1 2 3 4 5*
qos_umaxbw_x0=5
lan_ipaddr_t=
wan_pppoe_mru=1492
gpio6=robo_reset
forward_port3=49872-49872>192.168.1.2:49872-49872,tcp,on,Azureus UPnP 49872 TCP
apps_dms=0
vts_desc_x=
wl0_mrate=0
wl0_mode=ap
wan_gateway=192.168.0.1
http_passwd1=h49173110sb
usb_webrectime_x=0
dhcp_staticmac_x=
time_interval=20
dhcp_start=192.168.1.2
wan_vport=0
vts_lport_x0=49872
usb_websecurity_x=0
url_keyword_x=
wan_etherspeed_x=auto
vts_lport_x1=6881:6889
wl0_ap_isolate=0
dr_staticgateway_x=
vts_port_x=
vts_lport_x2=22461
usb_webfresh_x=1
dhcp_end=192.168.1.254
wl_mrate=0
vts_lport_x3=9064
wl_akm=
filter_wl_date_x=1111111
os_flash_addr=bfc40000
wins_server_enable=disabled
wl0_wme_no_ack=off
wl0_gmode=1
dhcp_lease=86400
vts_lport_x4=22463
usb_audio_device=
broadnas_unique_id=00:17:31:BA:E2:CD
vts_lport_x5=1600
usb_ftpnum_x=0
filter_wl_icmp_x=
vts_lport_x6=1599
default_lan_proto=dhcp_server
boardtype=0x042f
vts_lport_x7=1601
filter_lw_proto_x=
usb_ftprights_x=
usb_ftpport_x=21
wl_gmode=1
url_num_x=0
filter_lw_date_x=1111111
et1macaddr=40:10:18:00:00:2c
wan_gateway_t=
stats_server=
users_gid=42000
apps_rerun=
ntp_server0=
static_route=
modified=1
usb_websecurity_date_x=1111111
ntp_server1=
filter_lw_icmp_x=
lan_netmask=255.255.255.0
smb_server_string=
guest_uid=35000
wl0_dtim=1
wl0_ssid=openWRT
filter_wl_dstport_x=
http_username=
wl_wme_sta_vi=7 15 2 6016 3008 off
usb_ftpbanip_x=
usb_ftpenable_x=1
fw_wl_enable_x=0
et1mdcport=1
pivot_root_current_backup=2
domain_memberships=
wl_wme_ap_be=15 63 3 0 0 off
os_date=Jun 4 2006
usb_webremote5_x=
http_remote_access_type=configuration
wl_plcphdr=long
wl_wme_sta_vo=3 7 2 3264 1504 off
wl_macmode=disabled
default_start_page=start_system.asp
wl_wme_ap_bk=15 1023 7 0 0 off
wan_domain=
wl0_key1=1234567890
wan_netmask=255.255.255.0
lan_lease=86400
wl_phytype=b
wan0_hostname=
wl0_key2=15AD1DD294
wl_lazywds=0
wl0_key3=DDC4761939
macfilter_num_x=0
wl0_key4=31F1ADB558
cifs_master_enable=enabled
workgroup=MSHOME
filter_client0=
cifs_write_enable=enabled
ddns_username_x=
wan_hwaddr_x=
filter_maclist=
wl_auth_mode=open
cfe_wait_led_gpio=1
usb_webremote1_x=
usb_webhttpcheck_x=0
usb_websense_x=1
autofw_outport_x=
apps_installing=
misc_lpr_x=0
wlan_ipaddr=192.168.1.1
custom_shutdown_command=stoprcasus
usb_ftpstaytimeout_x=240
wl_wpa_psk=
filter_lw_num_x=0
filter_wl_num_x=0
sp_battle_ips=1
http_passwd=
lan_ifnames_t=vlan0 eth1
qos_ipaddr_x=
lan_stp=1
wan_pppoe_demand=0
wl0_wme_ap_vi=7 15 1 6016 3008 off
fw_lw_enable_x=0
primary_pool_name=MYVOLUME
wl_mode=ap
ip_autoconfig_timeout=120
wl0_closed=0
wl0_plcphdr=long
wl0_rate=0
error_pop_up_machine_names=
wl0_macmode=disabled
wl_wpa_gtk_rekey=0
wl0_wme_ap_vo=3 7 1 3264 1504 off
wlan_ip_autoconfig=enabled
prev_uid=35001
wl0_radioids=BCM2050
wl0_phytype=g
vts_protono_x0=
wl0_lazywds=0
dr_default_x=1
vts_protono_x1=
vts_protono_x2=
filter_wl_dstip_x=
autofw_inport_x=
vts_protono_x3=
qos_minbw_x0=0
wan_route_x=IP_Routed
qos_minbw_x1=0
usb_web_flag=
cfe_wait_on_restore=0
vts_protono_x4=
wl0_afterburner=off
apps_photo_port=8081
dr_staticnetmask_x=0
logon_script=
vts_protono_x5=
lan_hwaddr=00:17:31:BA:E2:CD
wl_wds_timeout=0
wl0_antdiv=-1
vts_protono_x6=
pivot_wait=0
wan_dns=192.168.0.1
domain_active_pools=
vts_protono_x7=
http_share_create_enable=enabled
filter_lw_srcip_x=
wlan_ifname=eth1
qos_maxbw_x0=5
wl_mode_ex=ap
wl_dtim=1
wl_ssid=openWRT
wan_dns2_x=
nobody_gid=42001
qos_maxbw_x1=5
wl0_wpa_psk=
dhcp_staticnum_x=3
wan_pppoe_mtu=1492
x_Setting=1
swap_mode=auto
wait_time=1
usb_webcaption_x=Web Camera Live Demo!!!
qos_umaxbw_x=
wan_netmask_t=
mdns_http_enable=0
qos_ipaddr_x0=192.168.1.1
wlan_gateway=0.0.0.0
new_time=
qos_ipaddr_x1=192.168.1.1
apps_dms_itunes=1
wl_macapply_x=Both
os_server=
wl_key1=1234567890
dr_static_matric_x=1
wan_proto=dhcp
wl_key2=15AD1DD294
sr_num_x=0
default_physical_authentication_enable=disabled
wl_key3=DDC4761939
wan_ipaddr_t=
usb_web_device=
wl0_unit=0
time_zone_x=GMT0BST_1
wl_key4=31F1ADB558
wl_country_code=DE
startup_command=rcasus
wl_hwaddr=
qos_level2_file_extensions=
wl0_net_reauth=36000
ddns_enable_x=0
sr_if_x=
cifs_msdfs_enable=disabled
apps_dl_other=0
usb_websendto_x=
wan_pppoe_idletime=1800
new_disk_action=one_per_disk
gpio_0_name=soft_power_switch
apps_share=MYSHARE1
gid_range=42000-43000
ntp_servers=
productid=WL700gE
usb_ftp_device=
default_router_disable=0
wl0_wds=
filter_wl_proto_x=
usb_ftpmax_x=12
wl_rate=0
sr_rip_x=0
apps_ver=1.02
wan0_gateway=192.168.0.1
ftp_delete_enable=disabled
log_level=0
ubsa_enable=enabled
ntp_server=192.5.41.40 192.5.41.41 133.100.9.2
wan_hwaddr=00:17:31:BA:E2:CD
vts_desc_x0=BT
usb_webremote4_x=
sr_enable_x=0
misc_http_x=0
vts_desc_x1=BTTrack
lan_dns=192.168.1.1
wl_phrase_x=
lan_ifnames=vlan0 eth1
wlan_netmask=255.255.255.0
vts_desc_x2=SSHLocal
vts_desc_x3=WOL
wl0_radius_port=1812
wl0_wme=off
wl0_auth=0
vts_desc_x4=laptopssh
wl0_radius_ipaddr=
default_wl_ssid=default
ddns_wildcard_x=0
lan_hostname=
web_configuration_port=80
vts_desc_x5=knock
qos_uminbw_x=
vts_desc_x6=killknock1
vlan_enable=1
wl0_wme_sta_vi=7 15 2 6016 3008 off
wl_country=Europe
model_desc=ASUS Wireless Storage Router
vts_desc_x7=killknock2
wl_wep_x=1
filter_lw_srcport_x=
usb_webhttpport_x=7776
ftp_master_enable=enabled
wan_pppoe_username=
wan_ifnames=eth0
wl0_wme_sta_vo=3 7 2 3264 1504 off
wl_rateset=default
wl_crypto=tkip
usb_webremote_x=LAN Only
lan_gateway_t=
pdc_pool=MYVOLUME1
apps_action=
qos_maxbw_x=
autofw_num_x=0
lan_proto=dhcp_server
wl_radius_key=
os_name=linux
lan_ipaddr=192.168.1.1
clkfreq=264
url_enable_x=0
vlan1hwname=et0
wl0_maxassoc=128
wan_dns_t=
default_primary_share_name=MYSHARE
wl_unit=0
model_no=WL700g
wl0_phytypes=g
wl0_frag=2346
wl0_wep=enabled
router_disable=0
usb_device=
lan_ip_autoconfig=enabled
physical_authentication_enable=disabled
misc_conntrack_x=4096
sdram_config=0x0062
wl_wdslist_x=
dhcp_gateway_x=
vlan1ports=0
wlan_wins=
dmz_ipaddr=
user_share_permission_default=no
boot_dev=/dev/ide/host0/bus0/target0/lun0/part1
sdram_refresh=0x0000
sdram_ncdl=0x00000607
sdram_init=0x0009
size: 8302 bytes (24466 left)

d3viant
28-01-2007, 22:01
4. Xwrt work on route (beta version but can do something)


Quick question - how did you get this going? Did you just unzip the ipkg and install manually? - I get all sorts of dependency issues if I try to install with ipkg

hmantsao
28-01-2007, 22:16
Quick question - how did you get this going? Did you just unzip the ipkg and install manually? - I get all sorts of dependency issues if I try to install with ipkg

Just install a web server on your computer and copy all ipkg to you computer. edit ipkg.conf to point out where is the server. you can install all . till now, my wan work well so i can install ipkg from any.:)

And i open the firewall base on "/etc/init.d/firewall", it is good. i think you can do something basically if you want.

d3viant
28-01-2007, 22:30
Just install a web server on your computer and copy all ipkg to you computer. edit ipkg.conf to point out where is the server. you can install all . till now, my wan work well so i can install ipkg from any.:)

And i open the firewall base on "/etc/init.d/firewall", it is good. i think you can do something basically if you want.

For example, one of the problems I am currently having with X-wrt is that there is no haserl package for the ASUS wl-700ge firmware. So if I go to the routers hosted webpage, it comes up with an error message about /usr/bin/haserl not being there. Have you overcome this problem?

hmantsao
28-01-2007, 22:50
For example, one of the problems I am currently having with X-wrt is that there is no haserl package for the ASUS wl-700ge firmware. So if I go to the routers hosted webpage, it comes up with an error message about /usr/bin/haserl not being there. Have you overcome this problem?

just install haserl ipkg : ipkg install haserl :D

hmantsao
28-01-2007, 22:56
oh I've forgotten a step :(

mkdir -p /opt/etc
echo "src optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable" > /opt/etc/ipkg.conf
echo "lists_dir ext /opt/var/lib/ipkg" >> /opt/etc/ipkg.conf
echo "dest /opt/ /" >> /opt/etc/ipkg.conf

export IPKG_CONF_DIR=/opt/etc
ipkg -V 2 update

after that, the first you have to install is:

ipkg install ipkg-opt

from now on use ipkg-opt to install mt-daapd.

Just edit /etc/profiles and add /opt/bin:/opt/sbin to your path

I have a question about the ipkg.
What kinds of different between "ddwrt" and "oleg" ?:confused:becase i am studing the ipkg used from "openwrt" and "optware"

d3viant
28-01-2007, 23:13
just install haserl ipkg : ipkg install haserl :D

Aha, sorry - I thought you meant you had gotten the webif^2 frontend going - not just the X-wrt repository!

Ok, thanks, that clears that up a bit.

The different package groups (X-WRT, optware, oleg, ddwrt) are designed to run on various different routers. Because of open-wrt being new to the asus wl-700ge, not all packages are available for it, hence why we're using the optware packages too. It is best to use ipkg-opt for this though so that there aren't mixups if you install something from optware, then the same thing from x-wrt for example.

DaNawq
29-01-2007, 09:55
Aha, sorry - I thought you meant you had gotten the webif^2 frontend going - not just the X-wrt repository!

Ok, thanks, that clears that up a bit.

The different package groups (X-WRT, optware, oleg, ddwrt) are designed to run on various different routers. Because of open-wrt being new to the asus wl-700ge, not all packages are available for it, hence why we're using the optware packages too. It is best to use ipkg-opt for this though so that there aren't mixups if you install something from optware, then the same thing from x-wrt for example.

WebIf^2 also "works" on kamikaze after you compile the haserl package and ifpkg install it after linking to your compiled packages folder.

But it's still extremly broken. Almost none of the webtools works as of now.

Note: on the x-wrt forums there's a tut on how to compile kamikaze with webif^2

MoD
29-01-2007, 10:06
Stupid me!!!!! The HDD ext3 partition was broken and I recreated it. All the time I was formating it:


mke2fs /dev/discs/disc0/part1

and not:


mke2fs -j /dev/discs/disc0/part1

johu
29-01-2007, 10:13
I think my md5sum program (part of busybox) is corrupt - will try reinstalling busybox and see if it helps..
This is known problem with busybox 1.4. It's fixed in latest SVN versions. It actually calculates proper md5sum, but outputs it incorrectly. If you compare result from broken busybox and working one all numbers match, but letters aren't even hex as they should.

d3viant
29-01-2007, 18:16
Stupid me!!!!! The HDD ext3 partition was broken and I recreated it.

Good - glad you found the problem :)

d3viant
29-01-2007, 19:41
hmm, the x-wrt ipkg package appears to stop ipkg from working - does anyone know if I can get back to the original ipkg from open-wrt without reflashing?

hmantsao
01-02-2007, 17:51
hmm, the x-wrt ipkg package appears to stop ipkg from working - does anyone know if I can get back to the original ipkg from open-wrt without reflashing?

ipkg-opt install -force-reinstall ??

hmantsao
01-02-2007, 17:57
Do anyone can setup and working well for wireless?
I had found out the hardware but it can't been connected when i test by my wifi client.This is my big target.

and i have question , why i lose my hdd basedon the same hdd? i can install openwrt before and worked well but i can't "fdisk" & "mount" anymore yesterday. but the hdd work well on windows system (can been format and used). do anyone have idea?

hmantsao
02-02-2007, 16:11
Do anyone can setup and working well for wireless?
I had found out the hardware but it can't been connected when i test by my wifi client.This is my big target.

and i have question , why i lose my hdd basedon the same hdd? i can install openwrt before and worked well but i can't "fdisk" & "mount" anymore yesterday. but the hdd work well on windows system (can been format and used). do anyone have idea?

fix done...i add wifi to bridge (#brctl addif br-lan wl0) and work well. it seem almost have the function as origianl firmware just have hdd problem >"<.