worldpossible / rachelplus

RACHEL Configuration on Intel CAP
18 stars 8 forks source link

Updating KA-Lite #34

Closed j-schwartz closed 8 years ago

j-schwartz commented 8 years ago

Currently, running the master script to update KA-Lite:

wget https://raw.githubusercontent.com/rachelproject/rachelplus/master/cap-rachel-configure.sh \
-O /root/cap-rachel-configure.sh; bash /root/cap-rachel-configure.sh
1 - online
2 - install KA-Lite

will result in the CAP attempting to redownload all videos from rachelfriends.org without the option to skip this step if the CAP already has them.

j-schwartz commented 8 years ago

On the bright side, I can 'stage' an update now through weaved and it'll blast all our units with a fix to the 10.10.10.10 whenever they come online.

spatiald commented 8 years ago

Updated to fix the 10.10.10.10 issue…I also tested and then removed the sleep timers (they were from historical builds). The new boot times are just over 1 minute to operational (except for KA Lite) and 3 minutes to boot with KA Lite operational. That was with a spinning disk (NOT SSD).

Run the Repair Bugs option in the utility menu.

j-schwartz commented 8 years ago

fantastic! thank you

spatiald commented 8 years ago

Tested a bunch more...I can't get KA Lite to start reliably without a delay during boot. Trying to figure out the sweet spot...will report back today.

edresor commented 8 years ago

Let me know if I can help with any diagnostics or other information.

If the information below is not helpful. Ignore it for now. When I am stuck I will ask for help.

I am learning the wireless hardware detection, driver instalion, and configuration commands. I am working on configuring an Access Point on an old laptop on which I just installed Ubuntu Server 12.04.5 LTS.

Many wireless adapters, particularly Broadcom, have trouble with the power saving feature in Ubuntu. A lot of people just use the following command to turn off power management. It does not turn off power to the adapter.

sudo iwconfig wlan0 power off

I may have reintroduced some problems with the wired Ethernet jack with a recent usb-recovery when used it to set up my SSD Drive on one CAP.

USB CAP Multitool - Version 6 - Started Thu Jan 21 09:13:53 PST 2016

BASH version: 4.2.25(1)-release Multitool configured to run method: 3 .......

The jack is slow to wake up after going the full sequence of green blinks, but it is not nearly as slow as my previous units. However, there is now a stability problem. The link has been going down soon after it starts while I am running some checks logged in with ssh. KA-Lite did start without a problem.

This is the CAP that Jeremy sent me empty about a month ago. I had it working pretty well with the usb-recovery from last fall. It now has 4 GBtyes of RAM with only 2 GBytes recognized by the O/S, but 4 GBytes recognized by lshw.

Ed

On Sat, Jan 30, 2016 at 3:40 PM, Sam Kinch notifications@github.com wrote:

Tested a bunch more...I can't get KA Lite to start reliably without a delay during boot. Trying to figure out the sweet spot...will report back today.

— Reply to this email directly or view it on GitHub https://github.com/rachelproject/rachelplus/issues/34#issuecomment-177295738 .

j-schwartz commented 8 years ago

Sam, is the delay your sleep function in rachel-scripts.sh? I'm just harkening back to memory here but I thought I needed a sleep 20 in some pi models of rachel, which preceded a ka-lite start in /etc/rc.local

On Sat, Jan 30, 2016 at 1:49 PM Edmund Resor notifications@github.com wrote:

Let me know if I can help with any diagnostics or other information.

If the information below is not helpful. Ignore it for now. When I am stuck I will ask for help.

I am learning the wireless hardware detection, driver instalion, and configuration commands. I am working on configuring an Access Point on an old laptop on which I just installed Ubuntu Server 12.04.5 LTS.

Many wireless adapters, particularly Broadcom, have trouble with the power saving feature in Ubuntu. A lot of people just use the following command to turn off power management. It does not turn off power to the adapter.

sudo iwconfig wlan0 power off

I may have reintroduced some problems with the wired Ethernet jack with a recent usb-recovery when used it to set up my SSD Drive on one CAP.

USB CAP Multitool - Version 6 - Started Thu Jan 21 09:13:53 PST 2016

BASH version: 4.2.25(1)-release Multitool configured to run method: 3 .......

The jack is slow to wake up after going the full sequence of green blinks, but it is not nearly as slow as my previous units. However, there is now a stability problem. The link has been going down soon after it starts while I am running some checks logged in with ssh. KA-Lite did start without a problem.

This is the CAP that Jeremy sent me empty about a month ago. I had it working pretty well with the usb-recovery from last fall. It now has 4 GBtyes of RAM with only 2 GBytes recognized by the O/S, but 4 GBytes recognized by lshw.

Ed

On Sat, Jan 30, 2016 at 3:40 PM, Sam Kinch notifications@github.com wrote:

Tested a bunch more...I can't get KA Lite to start reliably without a delay during boot. Trying to figure out the sweet spot...will report back today.

— Reply to this email directly or view it on GitHub < https://github.com/rachelproject/rachelplus/issues/34#issuecomment-177295738

.

— Reply to this email directly or view it on GitHub https://github.com/rachelproject/rachelplus/issues/34#issuecomment-177314443 .

hackersforcharity commented 8 years ago

sleep 5

That appears to be enough. I'll push an updated configure script with this today and it also has some other nice features like self-update by running "./cap-rachel-configure.sh -u" and repairs by just running "./cap-rachel-configure.sh -r"

Final testing, maybe one hour.

spatiald commented 8 years ago

Just pushed a big interface update.

Usage: cap-rachel-configure.sh [-h] [-i] [-r] [-u]

Examples: ./setips.sh -h Displays this help menu.

./setips.sh -i Interactive mode (the original menu items)

./setips.sh -r Repair issues found in the RACHEL-Plus.

./setips -u Update this script with the latest RELEASE version from GitHub.

spatiald commented 8 years ago

KA Lite installer is not part of the initial install. Install after you run the new install script. Original video download should be fixed. Reopen, if necessary.

bnordha commented 8 years ago

A small issue when I try to install the 0.16.1 of Ka-lite. The hash for that file is missing. See below the output including the error message.

[*] Setting up KA Lite. [+] KA Lite installed under user: root [+] Current KA Lite Version Installed: 0.15.1 [+] Lastest KA Lite Version Available: 0.16.1

[?] Do you want to upgrade or re-install KA Lite? Enter (y/N) y

[*] Downloading KA Lite Version 0.16.1 receiving incremental file list ka-lite-bundle-0.16.1.deb 306.18M 100% 835.40kB/s 0:05:57 (xfer#1, to-check=0/1)

sent 42 bytes received 306.30M bytes 842.65K bytes/sec total size is 306.18M speedup is 1.00

[*] Checking MD5 of: [-] Sorry, we do not have a hash for that file in our database.

spatiald commented 8 years ago

Nice catch...forgot to add them. Should be fixed; please test.

spatiald commented 8 years ago

Run an update on the configure script and then re-run the install.