Page 36 of 54

Re: Rooting Toon (or boxx)

Posted: Fri Aug 10, 2018 8:54 pm
by Gleno0hh
Could the raspberry 1 be used for r10, also?

I have tried it but i cant seem to get it connected properly.
Openocd either doesnt see my toon or it spits out 1000 messages telling me communication failed...

I have contacted quby but they want me to send my toon to them, and thats a no-go :-)

Thanks in advance.

Re: Rooting Toon (or boxx)

Posted: Fri Aug 10, 2018 10:51 pm
by mogwai
I just posted a message in the thread about ToonRooter. Yes this can be done with a RasPI 1 but you need to modify the "assets/raspberrypi.cfg" file (I did it myself a few days ago :)). Below the settings for different RasPI configurations:

Code: Select all

 # Raspi2 and Raspi3 peripheral_base address
 bcm2835gpio_peripheral_base 0x3F000000
 
 # Raspi1 peripheral_base address
 bcm2835gpio_peripheral_base 0x20000000
 
 # Raspi3 BCM2837 (1200Mhz): 
 bcm2835gpio_speed_coeffs 194938 48
 
 # Raspi2 BCM2836 (900Mhz):
 bcm2835gpio_speed_coeffs 146203 36
 
 # Raspi1 BCM2835: (700Mhz)
 bcm2835gpio_speed_coeffs 113714 28

Re: Rooting Toon (or boxx)

Posted: Fri Aug 10, 2018 10:58 pm
by mogwai
I recently rooted my Toon succesfully, but using ToonRooter on RasPI. After that I followed to manual for "hardening the Toon" and get it completely disconnected from Quby. All went well except for this part

Code: Select all

##### Disabling pinging quby.nl: #####

Toon pings the quby ping server every so many seconds. This is done in
/HCBv2/sbin/hcb_netcon. The ping server address is unfortunately
hard-coded in hcb_netcon, so to disable this, you will need to reroute
ping requests to another machine. You can't switch it off easily.

To reroute, edit or create the file /etc/hosts.template and add the line

127.0.0.1 ping.quby.nl

at the end of the file, and save it.

Test whether your rerouting works by pinging quby:

eneco-001-xxxxxx:/# ping ping.quby.nl
PING ping.quby.nl (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=1.108 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.738 ms
64 bytes from 127.0.0.1: seq=2 ttl=64 time=0.658 ms
If I to this modification the ping command is still pinging Quby ( 8.8.8.8 ). The only thing that does work is to add the line to the /etc/hosts file instead of the /etc/hosts.template file. Any clues?

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 8:34 am
by TheHogNL
Took me a while to understand your r10 abreviation :) (rooting..)

Not sure the raspberrypi 1 is fast enough. But do you really need openocd? If you are lucky you have the old boot versions and can go with the old skool rooting guide.

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 9:03 am
by mAiden
Look at serial number.. Begin number is the year when Toon comes out, everything without 16, is easy to root ;)

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 9:14 am
by marcelr
mAiden wrote:Look at serial number.. Begin number is the year when Toon comes out, everything without 16, is easy to root ;)
Small correction: 16 and higher. Toons type 1 have been built well into 2017.
The real check is the bootloader version: Toons with u-boot version 2010.09-R10 and later will not be rootable through bootloader environment editing.

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 10:10 am
by mAiden
marcelr wrote:
mAiden wrote:Look at serial number.. Begin number is the year when Toon comes out, everything without 16, is easy to root ;)
Small correction: 16 and higher. Toons type 1 have been built well into 2017.
The real check is the bootloader version: Toons with u-boot version 2010.09-R10 and later will not be rootable through bootloader environment editing.
You're right.. Thanks for the correction Marcel.

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 11:15 am
by Gleno0hh
mogwai wrote:I just posted a message in the thread about ToonRooter. Yes this can be done with a RasPI 1 but you need to modify the "assets/raspberrypi.cfg" file (I did it myself a few days ago :)). Below the settings for different RasPI configurations:

Code: Select all

 # Raspi2 and Raspi3 peripheral_base address
 bcm2835gpio_peripheral_base 0x3F000000
 
 # Raspi1 peripheral_base address
 bcm2835gpio_peripheral_base 0x20000000
 
 # Raspi3 BCM2837 (1200Mhz): 
 bcm2835gpio_speed_coeffs 194938 48
 
 # Raspi2 BCM2836 (900Mhz):
 bcm2835gpio_speed_coeffs 146203 36
 
 # Raspi1 BCM2835: (700Mhz)
 bcm2835gpio_speed_coeffs 113714 28
I found these too, they are the same as raspberrypi-native.cfg.

This is the output, which doesnt look good.

As root(!)

Code: Select all

Open On-Chip Debugger 0.10.0+dev-00512-gfd04460 (2018-08-10-12:09)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
BCM2835 GPIO config: tck = 11, tms = 25, tdi = 10, tdo = 9
BCM2835 GPIO config: trst = 8
BCM2835 GPIO config: srst = 24
adapter speed: 500 kHz
adapter_nsrst_delay: 400
none separate
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
dcc downloads are enabled
ed20_init
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : JTAG only mode enabled (specify swclk and swdio gpio to add SWD mode)
Info : clock speed 500 kHz
Info : JTAG tap: imx27.etb tap/device found: 0x1b900f0f (mfg: 0x787 (<unknown>), part: 0xb900, ver: 0x1)
Info : JTAG tap: imx27.cpu tap/device found: 0x07926121 (mfg: 0x090 (Chip Express), part: 0x7926, ver: 0x0)
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Info : Listening on port 3333 for gdb connections
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: Thread
cpsr: 0xffff1020 pc: 0xffff01f6
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0xa00000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0xa00000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: Thread
cpsr: 0xffff1020 pc: 0xffff02be
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xffff0b26
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffed
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: User
cpsr: 0xffff0270 pc: 0xffff0922
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffed
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf^CError: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled

It is wired correct. Checked it a million times!

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 12:51 pm
by Gleno0hh
Wow... My post got deleted?

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 1:00 pm
by marcelr
??
I think you keep editing the same post, right?
Wouldn't do that if I were you. Just add incremental info, or wait until you have a more or less complete post to fill.

Re: Rooting Toon (or boxx)

Posted: Sat Aug 11, 2018 1:41 pm
by Gleno0hh
marcelr wrote:??
I think you keep editing the same post, right?
Wouldn't do that if I were you. Just add incremental info, or wait until you have a more or less complete post to fill.
Editted once. I tought it was worth to mention that i wired it correctly, before it becomes a suggestion.

Re: Rooting Toon (or boxx)

Posted: Sun Aug 12, 2018 10:31 pm
by Gleno0hh
Managed to root with a other raspberry.
I do suggest that the tutorial gets an update...
There are missing commands in the English part which are in the Dutch part.

Thank though, time to customize it.

Re: Rooting Toon (or boxx)

Posted: Mon Aug 13, 2018 8:40 am
by TheHogNL
Did you use the Toon Rooter on https://github.com/martenjacobs/ToonRooter ?

Re: Rooting Toon (or boxx)

Posted: Mon Aug 13, 2018 6:45 pm
by Gleno0hh
TheHogNL wrote:Did you use the Toon Rooter on https://github.com/martenjacobs/ToonRooter ?
Tried, didnt work with raspberry 1a. Actually, nothing worked with the 1a, see my previous post. After using a model b, it was easy. I believe with the model b it gave me a import error on pyserial with toonrooter.

Re: Rooting Toon (or boxx)

Posted: Mon Aug 13, 2018 7:39 pm
by mogwai
mogwai wrote:I recently rooted my Toon succesfully, but using ToonRooter on RasPI. After that I followed to manual for "hardening the Toon" and get it completely disconnected from Quby. All went well except for this part

Code: Select all

##### Disabling pinging quby.nl: #####

Toon pings the quby ping server every so many seconds. This is done in
/HCBv2/sbin/hcb_netcon. The ping server address is unfortunately
hard-coded in hcb_netcon, so to disable this, you will need to reroute
ping requests to another machine. You can't switch it off easily.

To reroute, edit or create the file /etc/hosts.template and add the line

127.0.0.1 ping.quby.nl

at the end of the file, and save it.

Test whether your rerouting works by pinging quby:

eneco-001-xxxxxx:/# ping ping.quby.nl
PING ping.quby.nl (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=1.108 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.738 ms
64 bytes from 127.0.0.1: seq=2 ttl=64 time=0.658 ms
If I to this modification the ping command is still pinging Quby ( 8.8.8.8 ). The only thing that does work is to add the line to the /etc/hosts file instead of the /etc/hosts.template file. Any clues?
Seems like my post drowned in others. Still bugs me why the hosts.template is not working. Any hints?