timjordan wrote:here is my unfruitful attempt to try to make sure boot wait is on, and how do i get this firmware flashed on there.
BusyBox v1.4.2 (2007-09-29 09:36:14 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (7.09) -----------------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/# tmp
/bin/ash: tmp: not found
The command is "cd /tmp"
timjordan wrote:root@OpenWrt:/# /cd tmp
/bin/ash: /cd: not found
Getting closer...
timjordan wrote:root@OpenWrt:/# cd /tmp
Aha!
timjordan wrote:root@OpenWrt:~# wget http://192.168.1.7/files/open.bin
Connecting to 192.168.1.7 [192.168.1.7:80]
open.bin 100% |*****************************| 1941 KB 00:00:00 ETA
OK, except as I said, you want a trx file, not the bin file.
timjordan wrote:root@OpenWrt:~# %mtd -e linux -r write open.bin linux
/bin/ash: %mtd: not found
Almost. The command is "mtd", not "%mtd". Also, you need the trx file, not the bin file.
timjordan wrote:root@OpenWrt:~# tmp
/bin/ash: tmp: not found
root@OpenWrt:~# %mtd -e linux -r write open.bin linux
/bin/ash: %mtd: not found
See comments above.
timjordan wrote:root@OpenWrt:~# nvram set boot_wait=on
/bin/ash: nvram: not found
Kamikaze does not have to nvram command installed by default. If the router can access the internet (if you don't know, just try it) you can install it as follows:
ipkg update
ipkg install nvram
Then you can run the "nvram set boot_wait=on" command followed by the "nvram commit" command.
timjordan wrote:root@OpenWrt:~# nvram set boot_wait=on nvram commit reboot
/bin/ash: nvram: not found
Again, the nvram command is not installed. Also, you would need to put the "nvram commit" and "reboot" commands on separate lines. i.e. press enter after "on" and after "commit".
timjordan wrote:root@OpenWrt:~# nvram set boot_wait=on
/bin/ash: nvram: not found
See comment above.
timjordan wrote:root@OpenWrt:~# #nvram set boot_wait=on
The # character, when you enter it at the shell prompt, means "ignore the rest of this line", so your command above is completely ignored. Some instructions you see on the 'Net might have the command written with the #, but that's just to indicate the shell prompt, which might look different on different systems. e.g. on yours it looks like "root@OpenWrt:~#", but it could look like "root@myrouter:~#" or "myrouter#" or almost anything else. (I hope I haven't confused you.)
timjordan wrote:root@OpenWrt:~# #nvram get boot_wait
root@OpenWrt:~# #nvram commit
root@OpenWrt:~# #nvram get boot_wait
root@OpenWrt:~# #nvram get boot_wait
These are all ignored because you started the command with a #. (as per my comment above.)
timjordan wrote:root@OpenWrt:~# set boot_wait on
root@OpenWrt:~# set nvram boot_wait
The set command does not do what you want
timjordan wrote:root@OpenWrt:~# commands
/bin/ash: commands: not found
There is no command called "commands".
This is a bit like a text adventure game, isn't it?
timjordan wrote:root@OpenWrt:~# Connecting to 192.168.1.7 [192.168.1.7:80]
/bin/ash: Connecting: not found
OK, now you're just cutting and pasting random stuff. Probably not what you want to do.
timjordan wrote:root@OpenWrt:~# open.bin 100% |*****************************| 1941 KB 00:00:00 ETA
/bin/ash: open.bin: not found
/bin/ash: dhcp.leases: not found
/bin/ash: 1941: not found
The dhcp.leases etc. show up because of the asterisks you pasted in there, but I'm not going to get into why that is now.
timjordan wrote:root@OpenWrt:~# root@OpenWrt:~# %mtd -e linux -r write open.bin linux
/bin/ash: root@OpenWrt:~#: not found
Still pasting random stuff. "root@OpenWrt:~#" is the shell prompt. It's not a command, so if you paste that in it won't work.
timjordan wrote:root@OpenWrt:~# /bin/ash: %mtd: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~# tmp
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /bin/ash: tmp: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~# %mtd -e linux -r write open.bin linux
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /bin/ash: %mtd: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~# nvram set boot_wait=on
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /bin/ash: nvram: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~# nvram set boot_wait=on nvram commit reboot
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /bin/ash: nvram: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~# nvram set boot_wait=on
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /bin/ash: nvram: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~# #nvram set boot_wait=on
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# #nvram get boot_wait
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# #nvram commit
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# #nvram get boot_wait
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# #nvram get boot_wait
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# set boot_wait on
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# set nvram boot_wait
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# root@OpenWrt:~# commands
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /bin/ash: commands: not found
/bin/ash: /bin/ash:: not found
root@OpenWrt:~# root@OpenWrt:~#
/bin/ash: root@OpenWrt:~#: not found
root@OpenWrt:~#
Ouch! See comments above about pasting random stuff.
I hope my comments shed some light on what went wrong above.