my previous post is about asus firmware with original HDD.
Printable View
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.
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...
The instructions to flash openWRT to the router over the serial port are here, 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...
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
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?
I tried to follow http://back2basic.shacknet.nu/WL700G...thread.php?t=3 tutorial, but cant upload the second part:
Asus Firmware Restoration tool doesnt upload firmware. tftp par goes well. any ideas?Quote:
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.
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):
Quote:
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...
could someone give me list of nvram variables for fresh device?
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:
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)
I can get ASUS firmware running with error, but cant Openwrt :( The worst thing is that I even dont know how this problem arised.
it is definitely something flash related. googling with "cramfs wrong magic" shows that.
For example: http://www.mail-archive.com/linuxppc.../msg01386.html
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):
Code: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)
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?
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
Stupid me!!!!! The HDD ext3 partition was broken and I recreated it. All the time I was formating it:
and not:Quote:
mke2fs /dev/discs/disc0/part1
Quote:
mke2fs -j /dev/discs/disc0/part1
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?
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?