Author Topic: Buster, Xenial and Bionic - updated 6.7.2019  (Read 733214 times)

Offline pattinik

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.3.2014
« Reply #345 on: March 30, 2014, 10:43:03 pm »
Hi guys, I'm running the version 1.7 on the nand. Now I want to upgrade to the 1.8. Should I just write the image on the sd card and restart the nand-install script? I will loose my actual configuration doing this?

Tnxxxx

Ciauz

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.3.2014
« Reply #346 on: March 31, 2014, 02:17:30 am »
Hi guys, I'm running the version 1.7 on the nand. Now I want to upgrade to the 1.8. Should I just write the image on the sd card and restart the nand-install script? I will loose my actual configuration doing this?

Tnxxxx

Ciauz

Yes, the install script nuke and overwrite NAND. You will need upgrade.zip which is not ready yet ... this file contain only changed files and it should be safe to unzip it on / ... backup is recommended.

Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.3.2014
« Reply #347 on: March 31, 2014, 07:17:46 am »
Is there a easy way to uninstall "USB redirector", I can't find the uninstall script?

It's usefull for Linux Clients but a Registration Fee of $70 for Windows Clients is a joke.

In latest images is not enabled by default. If you use 1.7 or older just do:

disable
Code: [Select]
update-rc.d rc.usbsrvd remove
enable it back
Code: [Select]
update-rc.d rc.usbsrvd defaults
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline Sloop

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +2/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.3.2014
« Reply #348 on: March 31, 2014, 10:13:32 am »
Hi all. I was away for some days/weeks and now I am reading all the time about 1.8 version.

1) What exactly are the differences between version 1.7 and 1.8 and is there a Step-By-Step Manual for 1.7 users which will explain the upgrade procedure?

2) I'd like also know what the USB redirector stuff is good for.

3) what are the proa/cons in your opinion between booting from NAND or microSD card? in general the microSD has better disk i/o access speed, but I have also red about some benchmark results where booting from NAND was quite faster than from booting of microSD card. Maybe this is due to loading small files while boot process? what do you guys think about?

-sent from my Smartberry Piphone-


Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.3.2014
« Reply #349 on: March 31, 2014, 03:02:54 pm »
Quote
1) What exactly are the differences between version 1.7 and 1.8 and is there a Step-By-Step Manual for 1.7 users which will explain the upgrade procedure?

There is a detailed change history on my Github repository and a changes summary on the project blog post. Today I also made a changed files update package - read first post.

Quote
I'd like also know what the USB redirector stuff is good for.

"Various scenarios" ? One example: you can attach some (also from linux unsupported) USB device which needs to be at the location where your Cubie is but needs to be attached to another device. Anyway I removed service from start-up in latest image - but I left it inside and you can enable it if needed.

Quote
what are the proa/cons in your opinion between booting from NAND or microSD card? in general the microSD has better disk i/o access speed, but I have also red about some benchmark results where booting from NAND was quite faster than from booting of microSD card. Maybe this is due to loading small files while boot process? what do you guys think about?

I am using some solid class 10. I ran some quick benchmarks and it looks like it's 3x faster than NAND. In real-world this might not be that important since I/O operations were significantly brought down. I think booting from SD should be faster unless you find some old and scrappy card.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Astrofreak85

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #350 on: April 01, 2014, 06:56:51 am »
Hi,

great image so far !!

Two things to ask:

1. in the MOTD I get a strange reading for HDD-Temp: the HDD-Type?!
2. Also "Free-RAM" seem to be very low?! Or am I misinterpreting something?

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #351 on: April 01, 2014, 07:20:49 am »
Hi,

great image so far !!

Two things to ask:

1. in the MOTD I get a strange reading for HDD-Temp: the HDD-Type?!
2. Also "Free-RAM" seem to be very low?! Or am I misinterpreting something?

1.) What do you get if you do:
Code: [Select]
hddtemp /dev/sda
/dev/sda: ST3000DM001-1CH166: drive is sleeping

after wake:

hddtemp /dev/sda
/dev/sda: ST3000DM001-1CH166: 24°C

2.) What do you consider under very low?
I have "Free memory: 1444 kb" with bunch of services running ... you should have around 1900 kb.

What shows:
Code: [Select]
free -m
My readings:
Code: [Select]
free -m
             total       used       free     shared    buffers     cached
Mem:          2000        899       1100          0         10        334
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Astrofreak85

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #352 on: April 01, 2014, 07:33:58 am »
1)

Code: [Select]
root@cubie:~# hddtemp /dev/sda
/dev/sda: WDC WD3200BEKT-60F3T1: 38°C

2)
Code: [Select]
root@cubie:~# free -m
             total       used       free     shared    buffers     cached
Mem:          2000        231       1768          0         16        146
-/+ buffers/cache:         68       1931
Swap:            0          0          0

So I assume it's not "kb" but "Mb"... ;)

This is what my MOTD says:

Code: [Select]
Load: 0,56, 0,25, 0,18 - Board temp: 31.4°C - Hard temp: WD3200BEKT-60F3T1: - Free memory: 1935 kb

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #353 on: April 01, 2014, 08:02:36 am »
@Astrofreak85

 :-[  :'( :P

Thanks! I will correct this ASAP.

fixed bashrc

@ua3prq

Corrected. Tnx!
« Last Edit: April 01, 2014, 08:18:33 am by slovenia »
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline MrDialUp

  • Newbie
  • *
  • Posts: 23
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #354 on: April 04, 2014, 07:34:59 am »
For those of you with Logitech Squeezebox devices, I was able to successfully load Logitech Media Server on CT with Igor's 1.8 image by following the directions outlined for the Raspberry Pi here:  http://allthingspi.webspace.virginmedia.com/lms.php.

I have this working alongside Igor's Micro-Home server you can get here:  https://github.com/igorpecovnik/Debian-micro-home-server.

Also, if you want a Squeezebox compatible player for your Windows, Mac or Linux desktop, you can download "softsqueeze" here:  http://softsqueeze.sourceforge.net/
« Last Edit: April 04, 2014, 06:59:12 pm by MrDialUp »

Offline suchende

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #355 on: April 04, 2014, 01:00:48 pm »
Is it possible to get an tar archive for the update? So it is possible to preserve the permissions.

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #356 on: April 04, 2014, 01:18:36 pm »
Is it possible to get an tar archive for the update? So it is possible to preserve the permissions.

http://cubie.nobrainz.de/downloads/1.7-1.8.tgz

VGA version. Edit /boot/uEnv ... and change if you have HDMI out.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline david88

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #357 on: April 06, 2014, 06:59:46 am »
I've installed the update to 1.8, but have one question about the new kernel. I can see that the new files are in /lib/modules, but it seems my CT is still using the old one (I restarted several times):

uname -r
3.4.75-sun7i+

Do I have to do anything particular to enable the 3.4.79 kernel?

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #358 on: April 06, 2014, 09:25:06 am »
I've installed the update to 1.8, but have one question about the new kernel. I can see that the new files are in /lib/modules, but it seems my CT is still using the old one (I restarted several times):

uname -r
3.4.75-sun7i+

Do I have to do anything particular to enable the 3.4.79 kernel?

If you already transferred the system to NAND than you need to copy kernel to the root of /dev/nand1

Maybe this is the case?
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline david88

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 31.3.2014
« Reply #359 on: April 07, 2014, 05:45:57 am »
I've installed the update to 1.8, but have one question about the new kernel. I can see that the new files are in /lib/modules, but it seems my CT is still using the old one (I restarted several times):

uname -r
3.4.75-sun7i+

Do I have to do anything particular to enable the 3.4.79 kernel?

If you already transferred the system to NAND than you need to copy kernel to the root of /dev/nand1

Maybe this is the case?

No, it is installed on SD. But that's ok, no worries, I thought I might have missed something obvious. I will just do some Google research to find out how to switch Kernels (or leave the old one running).