Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
livebox:commandlineaccess [2012/04/27 13:41] – [Livebox Command line Access] brett | livebox:commandlineaccess [2013/06/20 11:07] – [via the Serial Port] brett | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Livebox Command line Access ====== | ====== Livebox Command line Access ====== | ||
- | <box ground green>At this point you have downgraded your livebox | + | <box ground green>At this point you have downgraded your Livebox |
- | + | ||
- | If this IP address may collides with existing pieces of equipment on your network its advisable to cable from your development computer directly to the livebox, otherwise you are going to have all sort of problem with this phase. | + | |
+ | <note warning> | ||
+ | </ | ||
The Inventel Livebox box has a root password that isn't known, so how can you get to a shell prompt? | The Inventel Livebox box has a root password that isn't known, so how can you get to a shell prompt? | ||
There are two methods to breaking into your livebox | There are two methods to breaking into your livebox | ||
- | * [[# | + | * [[# |
* [[# | * [[# | ||
Line 35: | Line 35: | ||
- an MMJ to RJ11 cable | - an MMJ to RJ11 cable | ||
- | - a PCB that holds the Max3232 | + | - a PCB that holds the Max3232cpe |
- an original Cisco console cable (worth £5 alone) RJ45 to DB9 | - an original Cisco console cable (worth £5 alone) RJ45 to DB9 | ||
+ | - 5x 1uf 50v caps | ||
+ | - 2x 1n4004 diodes | ||
We don't provide a case for the PCB - this is left as an exercise for the reader (some, less fussy, readers simply wrap the entire PCB with insulating tape). | We don't provide a case for the PCB - this is left as an exercise for the reader (some, less fussy, readers simply wrap the entire PCB with insulating tape). | ||
Be sure not to allow the PCB to touch metal objects - 5VDC is present on the PCB. | Be sure not to allow the PCB to touch metal objects - 5VDC is present on the PCB. | ||
- | {{:livebox:livebox_console_pcb.jpg|Livebox Console Board }} {{: | + | |
+ | {{:livebox:p1000649.jpg?200}} {{: | ||
===== via the Serial Port ===== | ===== via the Serial Port ===== | ||
Line 53: | Line 57: | ||
On the PCB, there are solder pads for an RJ11 style socket - but no socket is populated on the board. It was hoped that this might expose a second serial port, but this is not the case. | On the PCB, there are solder pads for an RJ11 style socket - but no socket is populated on the board. It was hoped that this might expose a second serial port, but this is not the case. | ||
- | * http://www.agp.dsl.pipex.com/schematic.html | + | * http://andyp.dyndns.info/ |
When connected at 115200 Baud, No Parity , 8 Data Bits , 1 Stop Bit we are presented with a Login prompt. | When connected at 115200 Baud, No Parity , 8 Data Bits , 1 Stop Bit we are presented with a Login prompt. | ||
So now getting in is going to be so much easier. | So now getting in is going to be so much easier. | ||
+ | |||
+ | First change the livebox hostname to what is below and Save. | ||
< | < | ||
;echo root:: | ;echo root:: | ||
+ | </ | ||
+ | Then change the livebox hostname to what is below and Save. | ||
+ | < | ||
;cp /tmp/x /etc/passwd | ;cp /tmp/x /etc/passwd | ||
</ | </ | ||
Line 87: | Line 96: | ||
port: 23; login program: /bin/sh | port: 23; login program: /bin/sh | ||
# | # | ||
+ | </ | ||
+ | |||
+ | Of course once I'm in via the serial port I don't need to even bother with setting up a TELNETD server I could just cut straight to the chase and fetch the new RedBoot loader and flash it. | ||
+ | < | ||
+ | # cd /tmp | ||
+ | # wget ftp:// | ||
+ | # fcp -v redboot_blueg5.6-patched /dev/mtd0 | ||
</ | </ | ||
Line 107: | Line 123: | ||
{{: | {{: | ||
- | 4. Download {{: | + | 4. Download {{: |
For info, here is what the tarfile contains: | For info, here is what the tarfile contains: | ||
Line 167: | Line 183: | ||
# | # | ||
</ | </ | ||
+ | |||
+ | If you find that you cannot access the Livebox via telnet, try unplugging/ | ||
**At this point, if you are working towards loading the HAH firmware, just skip to [[http:// | **At this point, if you are working towards loading the HAH firmware, just skip to [[http:// |