openLuup: Turn-key Images & Linux (Aptitude) Guide

I assume the blue flashing led indicates it’s booting… I’m thinking about just taking the latest Odrobian image, load it on my XU4 then image that off and host it to see if you have problems with that one. Let me know if this sounds ok to you…

[quote=“bucko, post:100, topic:191587”]@CudaNet
So far I reformatted emmc to exFat and reimaged. Then booted with ethernet unplugged. Even took off my XU battery. NO joy

IF I unplug the kybd and wireless mouse, plug it back in, the XU responds with a few more lines reconizing the devices are plugged in ok. So it’s alive to some extent. The reset button on the XU is dead. And I have the XU blue LED blinking 2 rapid flashes every 1 sec.

So far that’s where I’m at.

The line about Volume was not properly unmounted is curious to me. Have any ideas why that is?

EDIT: I just reimaged the emmc again, this time I used WinDisk manager 0.9.5 which also has a verify button. I verified the image write which is ok. Now on XU reboot the " Volume was not properly unmounted" is gone, but it still stops at the last line “Received request to flush runtime journal from PID 1”[/quote]

[quote=“CudaNet, post:101, topic:191587”]I assume the blue flashing led indicates it’s booting… I’m thinking about just taking the latest Odrobian image, load it on my XU4 then image that off and host it to see if you have problems with that one. Let me know if this sounds ok to you…

[quote=“bucko, post:100, topic:191587”]@CudaNet
So far I reformatted emmc to exFat and reimaged. Then booted with ethernet unplugged. Even took off my XU battery. NO joy

IF I unplug the kybd and wireless mouse, plug it back in, the XU responds with a few more lines reconizing the devices are plugged in ok. So it’s alive to some extent. The reset button on the XU is dead. And I have the XU blue LED blinking 2 rapid flashes every 1 sec.

So far that’s where I’m at.

The line about Volume was not properly unmounted is curious to me. Have any ideas why that is?

EDIT: I just reimaged the emmc again, this time I used WinDisk manager 0.9.5 which also has a verify button. I verified the image write which is ok. Now on XU reboot the " Volume was not properly unmounted" is gone, but it still stops at the last line “Received request to flush runtime journal from PID 1”[/quote][/quote]

At this point, I’ll try anything. I reimaged my XU back to Ubuntu 15.10. It is working normal, so I know my hardware is all working fine at this point.
Thanks

Well I’ve got good news and bad news… Bad news first, both of the latest Odrobian distros failed to boot on my XU4. The good news is I’ll load Ubuntu LTS for Odroid and install openLuup on that and release it.

[quote=“bucko, post:102, topic:191587”][quote=“CudaNet, post:101, topic:191587”]I assume the blue flashing led indicates it’s booting… I’m thinking about just taking the latest Odrobian image, load it on my XU4 then image that off and host it to see if you have problems with that one. Let me know if this sounds ok to you…

[quote=“bucko, post:100, topic:191587”]@CudaNet
So far I reformatted emmc to exFat and reimaged. Then booted with ethernet unplugged. Even took off my XU battery. NO joy

IF I unplug the kybd and wireless mouse, plug it back in, the XU responds with a few more lines reconizing the devices are plugged in ok. So it’s alive to some extent. The reset button on the XU is dead. And I have the XU blue LED blinking 2 rapid flashes every 1 sec.

So far that’s where I’m at.

The line about Volume was not properly unmounted is curious to me. Have any ideas why that is?

EDIT: I just reimaged the emmc again, this time I used WinDisk manager 0.9.5 which also has a verify button. I verified the image write which is ok. Now on XU reboot the " Volume was not properly unmounted" is gone, but it still stops at the last line “Received request to flush runtime journal from PID 1”[/quote][/quote]

At this point, I’ll try anything. I reimaged my XU back to Ubuntu 15.10. It is working normal, so I know my hardware is all working fine at this point.
Thanks[/quote]

Hey that works for me. I only want to use the XU for openluup. I also need to install openVPN on it for AltUi to work. But other than that, I just want to end up with it doing the heavy lifting for my Vera 3. It will be nice to get DataYours back up and logging on the XU.

Then after this is all stable, in the end I would have plenty of storage left to run SPMC and the XU would be able to serve my whole house AV data. You think that is doable with Openluup running as well?

Thanks again

I see no reason why you couldn’t - these are powerful units. Sending you a PM with a link to a file i’d like you to test. It doesn’t have openLuup loaded yet, this is a litmus test to see if your Odroid will acccept the image.
Once you confirm it loads and boots I’ll move forward with configuring it.

[quote=“CudaNet, post:105, topic:191587”]I see no reason why you couldn’t - these are powerful units. Sending you a PM with a link to a file i’d like you to test. It doesn’t have openLuup loaded yet, this is a litmus test to see if your Odroid will acccept the image.
Once you confirm it loads and boots I’ll move forward with configuring it.

@CudaNet
Ok , I got it imaged and my XU sucessfully booted! I ran ip addr command , then disk directory. You can see the results.

So, I need to first extend the disk partition to have all 29gb available? Then how do I log into root?

In any case it appears to be up and running, however no lan connection as it looks like you set it up as a loopback.

Let me know what else I can do to verify things for you.

Jack

Well that’s good news… You log into root by typing su (press enter) at the command line. It’ll then prompt for the root password (odroid). What I find odd is you mentioned loopback, I leave all the net settings default (DHCP), the only change was to the hostname file. Can you type in ifconfig at the command line and let me know what it says…

Thanks

says:
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/120 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1848 (1.8 KB) TX bytes:1848 (1.8 KB)

Interesting, so I have to ask… Are you running a DHCP server somewhere or do you have to statically assign addresses on your network ? THe loopback is normal and totally expected but I don’t see an IP on eth0…

[quote=“bucko, post:108, topic:191587”]says:
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/120 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1848 (1.8 KB) TX bytes:1848 (1.8 KB)[/quote]

All my devices are DHCP. But only my router is runs a DHCP server, assigning my devices via their MAC address as they come online. The only device in my network that is assigned a static address is my Vera 3.
My XU is not on my network with this image. So that would suggest the nic on the XU is not set up with this image. During boot, I try to watch for line errors, but it moves too fast to catch very much.

Cudanet, cannot download any of the img files any more needed to rebuild my raspi turnkey setup

Give this a go and let’s see what happens… Make sure you are root though…

ifdown eth0 && ifup eth0

The CLI response will be interesting…

[quote=“bucko, post:110, topic:191587”]All my devices are DHCP. But only my router is runs a DHCP server, assigning my devices via their MAC address as they come online. The only device in my network that is assigned a static address is my Vera 3.
My XU is not on my network with this image. So that would suggest the nic on the XU is not set up with this image. During boot, I try to watch for line errors, but it moves too fast to catch very much.[/quote]

I was able to download the Debian Jessie for rPi2/3 so OneDrive is up and I can also confirm all the files are intact and being hosted.

Still no success, I keep getting “this Item is missing or Broken” on all except the vbox download. tried using both chrome and safari on my MACs, and on explorer on a virtual windows machine

Let’s try bypassing bitly then… I’ll PM you a direct link for Debian Jessie.

Bitly may be having issues for whatever reason but I’m hoping it will clear itself up. If it doesn’t and you need help acquiring a specific image, just drop me a PM. Ultimately if it doesn’t clear up then I’m going to have to drop bitly and just regenerate links using One Drive…

[quote=“CudaNet, post:112, topic:191587”]Give this a go and let’s see what happens… Make sure you are root though…

ifdown eth0 && ifup eth0

The CLI response will be interesting…

[quote=“bucko, post:110, topic:191587”]All my devices are DHCP. But only my router is runs a DHCP server, assigning my devices via their MAC address as they come online. The only device in my network that is assigned a static address is my Vera 3.
My XU is not on my network with this image. So that would suggest the nic on the XU is not set up with this image. During boot, I try to watch for line errors, but it moves too fast to catch very much.[/quote][/quote]

I get…

I get eth0 interface not configured
DHCP client 4.2.4
Cannot find device “eth0”
Error getting hardware address for eth0:no such device
Failed to bring up eth0

On XU boot, the net seems to be about the last bit that gets activated. The boot process pauses at “Waiting for network configuration” Then after about 30 sec it “Waiting up to 60 seconds more for network config” . So network config is failing. About 10 more lines flash by, screen clears and I am at the openluup log-in prompt.

This thing is so close to working, seems it is just the network bit not getting configured.

@CudaNet

I think whats happening is that your openluup bit sets up a virtual network during boot. However this may be happening before my XU eth0 has been configured, so eth0 fails to config which leaves me with only an local loopback. Does that make sense to you?

Is there a way at the CLI to go in and config an eth0 (DHCP)?

EDIT: btw, if I try a command for network restart I get “unable to resolve host odroid-openluup” error

As a last ditch effort here, we need to see if the system can even see the hardware (eth0) all together. Use this command:

su -c "/sbin/ifconfig"

Consequently, you can adjust (as root) the hostname file from odroid-openluup back to ubuntu-server (default) within the /etc/hostname file.
Your network config can also be adjusted (as root) the interface via the /etc/network/interfaces. You’re looking for everything defined just below the primary network interface.

The ethernet adjustments you’re observing on boot are those performed by the distro shell script for network.

[quote=“bucko, post:118, topic:191587”]@CudaNet

I think whats happening is that your openluup bit sets up a virtual network during boot. However this may be happening before my XU eth0 has been configured, so eth0 fails to config which leaves me with only an local loopback. Does that make sense to you?

Is there a way at the CLI to go in and config an eth0 (DHCP)?

EDIT: btw, if I try a command for network restart I get “unable to resolve host odroid-openluup” error[/quote]

@CudaNet

I ran the command and eth0 does not show up. Same readout as I sent to you before, only loopback and inet6.

So I used vi and edited the hostname back to ubuntu-server. When I open interfaces in vi I see 1 line…"source-directory /etc/network/interfaces.d
Now I go to this dir where the only file there is “eth0”.
This may be where my problem lies. Shouldn’t the eth0 file be in the network/interfaces dir AND the interfaces.d dir deleted? Why do I have another directory called interfaces.d? Does this look right to you?

The eth0 file is correct looking at it in vi.