Note: Not tested mga ka phc, for experimentation only. Try at your own risk
Yung nakikita sa ssh, Pwede pala I switch yung Boot1
(Linux) and Boot2(Linux2). Yung Linux(1st partition 0) and Linux2(2nd boot Partition 1) yun pala ang mga firmwares. Yung Linux yan yung naka boot na firmwares tapos yung Linux 2 yan yung Old firmwares(If im Correct) , pwede pala yan I switch as primary boot yung partition1, Magiging tambay na partition 0(boot1)
Note: Try at your own risk(wala sisihan kung.ma bricked d2k nyo) Goodluck kung old firmware 21xx yung nasa partition 1
The main boot partition is 'linux' and the Linksys CFE will also have 'linux2'
Telnet/ssh: root Pass: root123
To check the boot partitions, run this from telnet or ssh:
cat /proc/mtd
The main boot partition is 'linux' and the Linksys CFE will also have 'linux2'.
To force switching to the other partition from current, unplug the router after ~10 seconds into boot. After the third try, it will switch the 'bootpartition' which is stored in nvram. It can also be manually altered:
nvram get bootpartition
This returns the current boot partition (0 for linux, or 1 for linux2). To change the boot e.g. to 1:
nvram set bootpartition=1
The number of partial boots to switch linux partitions is controlled by maxpartialboots (default is 3):
nvram get maxpartialboots
And can be changed with 'set' as well. The current number of incomplete boots is tracked with 'partialboots':
nvram get partialboots
The partitions can be directly written to 'linux' (or use 'linux2' for that partition) from command prompt:
wget {firmware path}
Or enable SSH and then WinSCP (or similar) can be used to copy the file.
mtd unlock linux
mtd write {firmware file} linux
reboot
Note: if an error returns from the mtd commands, instead try 'write {firmware file} linux' (no mtd command)
telnet 192.168.1.1
login
mtd unlock /dev/mtd0
cd /tmp/root
mtd –f write <filename.bin> mtd0
Enter the "mtd-e linux-r write rf.bin
Source:
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.
Yung nakikita sa ssh, Pwede pala I switch yung Boot1
(Linux) and Boot2(Linux2). Yung Linux(1st partition 0) and Linux2(2nd boot Partition 1) yun pala ang mga firmwares. Yung Linux yan yung naka boot na firmwares tapos yung Linux 2 yan yung Old firmwares(If im Correct) , pwede pala yan I switch as primary boot yung partition1, Magiging tambay na partition 0(boot1)
Note: Try at your own risk(wala sisihan kung.ma bricked d2k nyo) Goodluck kung old firmware 21xx yung nasa partition 1
The main boot partition is 'linux' and the Linksys CFE will also have 'linux2'
Telnet/ssh: root Pass: root123
To check the boot partitions, run this from telnet or ssh:
cat /proc/mtd
The main boot partition is 'linux' and the Linksys CFE will also have 'linux2'.
To force switching to the other partition from current, unplug the router after ~10 seconds into boot. After the third try, it will switch the 'bootpartition' which is stored in nvram. It can also be manually altered:
nvram get bootpartition
This returns the current boot partition (0 for linux, or 1 for linux2). To change the boot e.g. to 1:
nvram set bootpartition=1
The number of partial boots to switch linux partitions is controlled by maxpartialboots (default is 3):
nvram get maxpartialboots
And can be changed with 'set' as well. The current number of incomplete boots is tracked with 'partialboots':
nvram get partialboots
The partitions can be directly written to 'linux' (or use 'linux2' for that partition) from command prompt:
wget {firmware path}
Or enable SSH and then WinSCP (or similar) can be used to copy the file.
mtd unlock linux
mtd write {firmware file} linux
reboot
Note: if an error returns from the mtd commands, instead try 'write {firmware file} linux' (no mtd command)
telnet 192.168.1.1
login
mtd unlock /dev/mtd0
cd /tmp/root
mtd –f write <filename.bin> mtd0
Enter the "mtd-e linux-r write rf.bin
Source:
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
Last edited: