Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon firmware - update script

Post by mAiden »

stijnpeeters wrote:I think i made the mistake of updating from 3.9 to 5.0.2 in 1 step.
script stopped somehow and toon is not booting.
Is there a way to "unbrick" it?
Toon shows only Toon logo with aan loading bar? If yes, try to connect to Toons IP via SSH. Version is not 5.0.2 but 5.0.4, you can force it, with update-rooted.sh - v 5.0.4
Otherwise connect Toon to a serial connection, so you can see what happens.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

stijnpeeters wrote:I think i made the mistake of updating from 3.9 to 5.0.2 in 1 step.
script stopped somehow and toon is not booting.
Is there a way to "unbrick" it?
We need more information than this. What did the script say? It just doesn't stop 'somehow'. And what is the toon doing? Not booting at all (no screen, no serial output)?
Member of the Toon Software Collective
maikelvds
Starting Member
Starting Member
Posts: 18
Joined: Tue Jan 16, 2018 8:54 pm

Re: Toon firmware - update script

Post by maikelvds »

Script works over here, thanks!
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware - update script

Post by michel30 »

Hello,


now that the weather is a bit better I have upgraded my toon to version 5.04 everything works fine.
No problem with the scrip and upgrade.

Thanks to all.

Regards,
Michel
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon firmware - update script

Post by wirdo02 »

Hi Hog,

I've been trying to use your script to update my toon but I cannot get it to work.
Currently running at 3.2.18 and tried using the toonstore on that but everything is scrambled (icons on top of eachother ect) so I guess i need to update first.
Tried different versions since I'm not sure if I can update to 5.0.4 in one step.

The log file (upgrade-qb2.sh.log doesn't exist.


You are currently running version 3.2.18 on a qb2 with flavour ene

Available versions: 1.0.9 1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.7 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.8.27 2.9.15 2.9.26 2.10.15 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.2.21 3.3.8 3.4.2 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.9.124 4.10.6 4.11.6 4.12.0 4.13.6 4.13.7 4.15.2 4.15.6 4.16.8 4.18.8 4.19.10 4.20.7 4.22.7 5.0.4

Which version do you want to upgrade to?
3.2.21
Alright, I will try to upgrade to 3.2.21
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Tunnel is alive and configured.
Warning: upgrade script from Eneco server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
yes
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: line 58: syntax error: unexpected "|"

Prepare failed. Please check the logs at /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

wirdo02 wrote: Warning: upgrade script from Eneco server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
yes
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: line 58: syntax error: unexpected "|"

Prepare failed. Please check the logs at /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
As you can read eneco changed their script, .. so you should have said NO to the first question (because you are not sure :-) ).

I need to change something, hold on.
Member of the Toon Software Collective
wirdo02
Starting Member
Starting Member
Posts: 17
Joined: Mon Mar 04, 2019 11:07 pm

Re: Toon firmware - update script

Post by wirdo02 »

TheHogNL wrote:
wirdo02 wrote: Warning: upgrade script from Eneco server is changed. Do you want to continue downloading the files (if not sure, type no and report in the forums)?
yes
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: line 58: syntax error: unexpected "|"

Prepare failed. Please check the logs at /HCBv2/tmp/opkg-cache/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
As you can read eneco changed their script, .. so you should have said NO to the first question (because you are not sure :-) ).

I need to change something, hold on.
Sorry about that :) reading trough this thread I saw so many answering that with yes so I went for it.
Will it be safe to update to the latest version straight away once your script works again?

Thanks for the effort!
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

wirdo02 wrote:
Sorry about that :) reading trough this thread I saw so many answering that with yes so I went for it.
Will it be safe to update to the latest version straight away once your script works again?

Thanks for the effort!
Script has just been updated (version 3.71). So go ahead. Yes, you can go directly to 5.0.4
Member of the Toon Software Collective
stijnpeeters
Starting Member
Starting Member
Posts: 5
Joined: Fri Mar 01, 2019 8:37 pm

Re: Toon firmware - update script

Post by stijnpeeters »

TheHogNL wrote:
stijnpeeters wrote:I think i made the mistake of updating from 3.9 to 5.0.2 in 1 step.
script stopped somehow and toon is not booting.
Is there a way to "unbrick" it?
We need more information than this. What did the script say? It just doesn't stop 'somehow'. And what is the toon doing? Not booting at all (no screen, no serial output)?
I'll connect serial tonight and get some output. There is a screen with a loading bar and a large T, but it halted. ;is there a tread for unbricking issue, I don;t want to pollute the update-script thread or anything.
stijnpeeters
Starting Member
Starting Member
Posts: 5
Joined: Fri Mar 01, 2019 8:37 pm

Re: Toon firmware - update script

Post by stijnpeeters »

TheHogNL wrote:
stijnpeeters wrote:I think i made the mistake of updating from 3.9 to 5.0.2 in 1 step.
script stopped somehow and toon is not booting.
Is there a way to "unbrick" it?
We need more information than this. What did the script say? It just doesn't stop 'somehow'. And what is the toon doing? Not booting at all (no screen, no serial output)?
I have some additional information:
so i started the script and chose to update to the latest 5.0.4 version.
The script started but froze, waited for 20 min. Broke off the script and restarted it; script told me that it was not able to select another version before finishing this one. But script halted again. Rebooted the Toon; no SSH anymore. So now i have JTAGed it again so i have serial access again; But replacing passwd backup and rebooting does not seem to work as it is empty after a reboot.
the screen put's out this:

Code: Select all

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-R10-h25 (jbraam@dvl) (gcc version 4.5.3 20110223 (prerelease) (GCC) ) #1 PREEMPT Tue May 24 11:41:01 CES6
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Prodrive B.V ED2.0
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs mtdparts=mxc_nand:512K@0x00100000(u-boot-env)ro,1536K(spl4
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125536k/125536k available, 5536k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
    vmalloc : 0xc8800000 - 0xf4000000   ( 696 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0024000   ( 112 kB)
      .text : 0xc0024000 - 0xc03ea000   (3864 kB)
      .data : 0xc0404000 - 0xc042a5a0   ( 154 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC IRQ initialized
MXC GPIO hardware
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 199.88 BogoMIPS (lpj=999424)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Configured for LCD: TM070RDH11
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 245
io scheduler noop registered (default)
imx-fb imx-fb.0: PreserveUBootFramebuffer(1): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: PreserveUBootFramebuffer(2): xres=800, yres=480 [skip _update_lcdc]
Console: switching to colour frame buffer device 100x30
imx-fb imx-fb.0: fb0: DISP0 BG fb device registered successfully.
imx-fb imx-fb.0: PreserveUBootFramebuffer(3): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
console [ttymxc0] enabled
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 596 at 0x000004a80000
Bad eraseblock 686 at 0x0000055c0000
Bad eraseblock 798 at 0x0000063c0000
RedBoot partition parsing not available
5 cmdlinepart partitions found on MTD device mxc_nand
Creating 5 MTD partitions on "mxc_nand":
0x000000100000-0x000000180000 : "u-boot-env"
0x000000180000-0x000000300000 : "splash-image"
0x000000300000-0x000000600000 : "kernel"
0x000000600000-0x000000900000 : "kernel-backup"
0x000000900000-0x000008000000 : "rootfs"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       330490
UBI: attached mtd4 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            119 MiB
UBI: number of good PEBs:        949
UBI: number of bad PEBs:         3
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 949
UBI: number of PEBs reserved for bad PEB handling: 9
UBI: max/mean erase counter: 956/347
UBI: image sequence number:  1525168762
UBI: background thread "ubi_bgt0d" started, PID 319
at25 spi0.0: 32 KByte at25640B eeprom, pagesize 64
spi_imx spi_imx.0: probed
FEC Ethernet Driver
fec_enet_mii_bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mxc-ehci mxc-ehci.0: initializing i.MX USB Controller
mxc-ehci mxc-ehci.0: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.0: Work around for USB enabled
ULPI transceiver vendor/product ID 0x0424/0x000d
mxc-ehci mxc-ehci.0: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.0: new USB bus registered, assigned bus number 1
mxc-ehci mxc-ehci.0: irq 56, io mem 0x10024000
mxc-ehci mxc-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36-R10-h25 ehci_hcd
usb usb1: SerialNumber: mxc-ehci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mxc-ehci mxc-ehci.2: initializing i.MX USB Controller
mxc-ehci mxc-ehci.2: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.2: Work around for USB enabled
mxc-ehci mxc-ehci.2: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.2: new USB bus registered, assigned bus number 2
mxc-ehci mxc-ehci.2: irq 55, io mem 0x10024400
mxc-ehci mxc-ehci.2: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Freescale On-Chip EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.36-R10-h25 ehci_hcd
usb usb2: SerialNumber: mxc-ehci.2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
input: TSC2007 Touchscreen as /devices/virtual/input/input0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
tmp431 0-004c: Could not read configuration register (-5)
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
adt7410 0-0048: adt7410 temperature sensor registered.
adt7410 0-0049: adt7410 temperature sensor registered.
nf_conntrack version 0.5.0 (1961 buckets, 7844 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
lib80211: common routines for IEEE802.11 drivers
rtc-isl1208 1-006f: setting system clock to 2019-03-11 20:15:49 UTC (1552335349)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   119347200 bytes (116550 KiB, 113 MiB, 925 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 112K
usb 2-1: new high speed USB device using mxc-ehci and address 2
usb 2-1: New USB device found, idVendor=148f, idProduct=5370
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: 802.11 n WLAN
usb 2-1: Manufacturer: Ralink
usb 2-1: SerialNumber: 1.0
INIT: version 2.86 booting
INIT: /etc/inittab[26]: id field too long (max 4 characters)
INIT: /etc/inittab[31]: id field too long (max 4 characters)
INIT: /etc/inittab[35]: id field too long (max 4 characters)
INIT: /etc/inittab[36]: duplicate ID field "qtqt"
INIT: /etc/inittab[37]: duplicate ID field "gett"
INIT: /etc/inittab[46]: id field too long (max 4 characters)
imx-fb imx-fb.0: PreserveUBootFramebuffer(4): xres=800, yres=480 [do _update_lcdc]
 (print_boot_msg)
Please wait: booting... (print_boot_msg)
* Kernel 2.6.36-R10-h25 (print_boot_msg)
* Firmware qb2/uni/5.0.4-1286-0 (print_boot_msg)
* Hostname eneco-001-064929 (print_boot_msg)
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
Loading iptables settings: iptables.
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: Aborted upgrade-execute for qb2/uni/5.0.4 detected,
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: executing /HCBv2/tmp/opkg-cache/upgrade-qb2.sh execute-resume
/etc/init.d/rcS: /etc/rcS.d/S40upgrade-execute-resume.sh: line 4: /HCBv2/tmp/opkg-cache/upgrade-qb2.sh: Permission denied
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: done.
 (print_boot_msg)
Configuring network interfaces...  (print_boot_msg)
Configuring network interfaces... 
Running 'ifup -a' in the foreground (ifup-fg)
ifup: interface lo already configured
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:10, irq=-1)
ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.27.2
udhcpc: sending discover
PHY: 1:10 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc: sending discover
udhcpc: sending select for 192.168.1.120
udhcpc: lease of 192.168.1.120 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 208.67.222.222
/etc/udhcpc.d/50default: Adding DNS 208.67.220.220
/etc/udhcpc.d/70prepend-google-pub-dns: Prepending DNS 8.8.8.8 (skip with /mnt/persist/udhcpc-skip-prepend-google-pub-dns)
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
ifconfig: SIOCGIFFLAGS: No such device
* Wired (eth0) 00:0f:11:03:46:68  192.168.1.120 (print_boot_msg)
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
Starting Vixie-cron.
HCBv2 apps started via runlevels, performing 'addstartables && reload && init 5 or 5'.
HCBv2 adding: comm eventmgr kpi pwrusage scsync smartplug thermstat usermsg weather bxtproxy config log rrd upnp watchdog hue.
HCBv2 startables unchanged, not writing /etc/inittab.
INIT: /etc/inittab[26]: id field too long (max 4 characters)
INIT: /etc/inittab[31]: id field too long (max 4 characters)
INIT: /etc/inittab[35]: id field too long (max 4 characters)
INIT: /etc/inittab[36]: duplicate ID field "qtqt"
INIT: /etc/inittab[37]: duplicate ID field "gett"
INIT: /etc/inittab[46]: id field too long (max 4 characters)
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
INIT: Id "gett" respawning too fast: disabled for 5 minutes
Mon Mar 11 20:16:09 2019 DEPRECATED OPTION: --tls-remote, please update your configuration
INIT: Id "comm" respawning too fast: disabled for 5 minutes
INIT: Id "smar" respawning too fast: disabled for 5 minutes
INIT: Id "even" respawning too fast: disabled for 5 minutes
INIT: Id "netc" respawning too fast: disabled for 5 minutes
INIT: Id "watc" respawning too fast: disabled for 5 minutes
INIT: Id "logl" respawning too fast: disabled for 5 minutes
INIT: Id "p1p1" respawning too fast: disabled for 5 minutes
INIT: Id "scsy" respawning too fast: disabled for 5 minutes
INIT: Id "kpik" respawning too fast: disabled for 5 minutes
INIT: Id "pwru" respawning too fast: disabled for 5 minutes
INIT: Id "ther" respawning too fast: disabled for 5 minutes
INIT: Id "rrdr" respawning too fast: disabled for 5 minutes
INIT: Id "upnp" respawning too fast: disabled for 5 minutes
INIT: Id "user" respawning too fast: disabled for 5 minutes
INIT: Id "zwav" respawning too fast: disabled for 5 minutes
INIT: Id "conf" respawning too fast: disabled for 5 minutes
INIT: Id "bxtp" respawning too fast: disabled for 5 minutes
INIT: Id "hueh" respawning too fast: disabled for 5 minutes
INIT: Id "weat" respawning too fast: disabled for 5 minutes
INIT: Id "qtqt" respawning too fast: disabled for 5 minutes
INIT: Id "ligh" respawning too fast: disabled for 5 minutes
after some fiddeling i managed to get ssh working again.
But still not toon on screen, just a loading screen.

updated the script to 3.71 and tried a forced install to 4.10.6

Code: Select all

eneco-001-064929:~# sh /root/update-rooted.sh -v 4.10.6

===

Forcing version: 4.10.6
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Could not enable VPN in a normal reasonable time!
DEBUG information:
192.168.1.0/24 dev eth0 scope link  src 192.168.1.120 
172.28.48.0/20 via 172.28.48.1 dev tap0 
172.28.48.0/20 dev tap0 scope link  src 172.28.52.10 
default via 192.168.1.254 dev eth0  metric 10 
# <persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 ping.quby.nl
# </persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1		localhost.localdomain		localhost		eneco-001-064929
172.23.16.1		feed.hae.orig		feed
127.0.0.1  feed.hae.int  feed
END DEBUG information
Quitting the upgrade. It was a nice try tho...

so how do i get back to the "before upgrade attempt" ?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware - update script

Post by marcelr »

stijnpeeters wrote: ... There is a screen with a loading bar and a large T, but it halted. ;is there a tread for unbricking issue, I don;t want to pollute the update-script thread or anything.
Not sure, but you're welcome to start one.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

stijnpeeters wrote: so how do i get back to the "before upgrade attempt" ?
I think your problem started when you canceled the script while thinking it was stuck. There is a timer on the script itself which will stop the script itself when it takes to long.

Never mind,.. You could try to enable the VPN, then run 'opkg update' (check if that indeed fetched the correct opkg repo) and then run 'opkg install base-qb2-uni'. This hopefully installs all missing depending packages.

Don't reboot after that, first fix your /etc/default/iptables.conf before reboot or else you will be missing ssh access again.
Member of the Toon Software Collective
stijnpeeters
Starting Member
Starting Member
Posts: 5
Joined: Fri Mar 01, 2019 8:37 pm

Re: Toon firmware - update script

Post by stijnpeeters »

How do i get the vpn to work again?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

remove the # in front of the openvpn line in /etc/inittab and then reboot is the easiest way
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Owh wait.. that won't work because your toon is missing crucial files.

Start the openvpn manually: /usr/sbin/openvpn --config /etc/openvpn/vpn.conf

Then open a second SSH and run this

Code: Select all

echo `/sbin/ip route | /bin/grep ^172.*via.*tap0 | /usr/bin/awk '{print $1}'| /usr/bin/awk 'BEGIN {FS="."}; {print $1"."$2"."$3}'`.1
This will print the IP adres of the Eneco server. Put this IP adres in /etc/hosts where 'feed.hae.int' (overwrite any other IP adres it is pointing to now).

The go ahead with the opkg stuff mentioned earlier.
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”