Fresh install of OpenWRT on WDmybooklive : SyntaxError illegal character U+0000 opkg.js?v=git-23.093.57104-ce20b4a:1


I've just installed OpenWRT on a "WD mybooklive", a form of cloud based e-waste create by western digital.

So, took apart the case,

then it pulls out

broken many pins

Don't lose the light guide !

These two pull up

You have to pull out this block

Then the whole assembly comes out

Remove the four screws to the drive, last one is where the light guide goes

And it's out

Hooked hard drive to usb-to-sata on linux computer

Downloaded the openwrt install firmware, uncompressed and DD'd to the disk

It's test time

It's setup as DHCP client by default,

excellent !

I'm in !

Give it a hostname

Overview page

Couldn't create partition the drive from LuCI

formatted with mke2fs -j

Time to update software

Uh oh what is this !


illegal character U+0000
  at require/compileClass/< (

This might be a unique bug to this firmware ?!

Maybe a manual update ?

So, something appears to be wrong with the catalog file maybe ?!

Something about these urls

Hmm, 23.093.57104-ce20b4a, that doesn't look like the version I'm running

Could something be wrong with the openwrt online catalogs ?

Just downloaded the catalog from my router.lan

No problem there apparently

Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.

1 Like


I actually meant "time to install samba"

But never made it

opkg can't download the new catalog

In fact there's something very wrong !?

I don't understand, it seems the opkg executable itself is broken !?

The only thing I've done that I haven't documented here was create a mount point for the HDD's storage partition but it's not even mounted yet.

Something is certainly wrong.

What happens if you reset to defaults?

I reboot the system, it did not come up again

Put the hdd back in my usb-to-sata and just errors came out.
I might have fried it during the procedure .... Or the seller sent me a defective unit ....

Fortunately I have a 8TB drive that I actually wanted to put in this thing. So I'm formatting it right now.

And it's back up

Yes, that was the problem, the original drive was just super flake

Oh wow, I didn't realize samba was such a chunky boy ! 12 megs !

installing installing and oh no

Ok, well, at least some of it installed without error

Installed samba4, enable synchroneous I/O and "extra tuning"


Not the 100MB/s reads promised on the box but a good start !