Telnet patch on 1.05.301 fw
Telnet patch on 1.05.301 fw
I'd like to try and patch the latest BW FW. (1.05.301 I think).
I've managed to unpack the FW, and unzippd linux.bin using the Wztools GUI.
What's the best way to edit this file? I've found a few hex editors, i'ts really hard to read the code in that format. What editor do people normally use?
From what I've read, I need to search thru the file until I find a mention of rc.sysinit then scan forward in the file till I find a [line feed] # [Comment] and replace this with [linefeed] [telnetd command], making sure only to insert the code where there were comments previously.
Is this what I'm supposed to do?
Has anyone patched the latest BW FW successfully.
Thanks in advance.
I've managed to unpack the FW, and unzippd linux.bin using the Wztools GUI.
What's the best way to edit this file? I've found a few hex editors, i'ts really hard to read the code in that format. What editor do people normally use?
From what I've read, I need to search thru the file until I find a mention of rc.sysinit then scan forward in the file till I find a [line feed] # [Comment] and replace this with [linefeed] [telnetd command], making sure only to insert the code where there were comments previously.
Is this what I'm supposed to do?
Has anyone patched the latest BW FW successfully.
Thanks in advance.
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Telnet patch on 1.05.301 fw
You can do it that way, and that's how it was originally done. But there are easier ways.Neilius wrote:I'd like to try and patch the latest BW FW. (1.05.301 I think).
I've managed to unpack the FW, and unzippd linux.bin using the Wztools GUI.
What's the best way to edit this file? I've found a few hex editors, i'ts really hard to read the code in that format. What editor do people normally use?
From what I've read, I need to search thru the file until I find a mention of rc.sysinit then scan forward in the file till I find a [line feed] # [Comment] and replace this with [linefeed] [telnetd command], making sure only to insert the code where there were comments previously.
Is this what I'm supposed to do?
Has anyone patched the latest BW FW successfully.
Thanks in advance.
Unpack the application and root file systems using unpack_wrp.pl in BWFWTools. Edit, then repack them with pack_wrp.pl. bw_patcher.pl in BWFWTools can apply a number of pre-packaged hacks.
You can apply the telnet patch just by running:
Code: Select all
bw_patcher.pl original-firmware.wrp patched-firmware.wrp Beyonwiz::Hack::Telnet
If you want to edit rc.sysinit, you have to edit with an editor that preserves Unix line endings (or know how to use IFS).
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Nellius was talking about editing linux.bin to edit rc.sysinit in place in the ROMFS. I wouldn't trust a text editor to do what he was proposingtonymy01 wrote:'programmers notepad' for windows or vi for everything else.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
The BWFWTools README.txt has instructions about where to get a free version of Perl for Windows that's known to work with BWFWTools.Neilius wrote:Thanks for the replies.
Perhaps I should bite the bullet, install perl and try it with BWFWTools
BWFWTools also works with Cygwin on Windows, which comes with Perl in the base install.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV