Tiny Core Base > Raspberry Pi

Logitech Media Server (LMS) on TC.7

<< < (19/31) > >>

Greg Erskine:

--- Quote from: sbp on January 26, 2016, 03:52:22 PM ---
--- Quote from: Paul_123 on January 26, 2016, 12:42:57 PM ---
The only piece that worries me is folks having a big enough partition to do the rebuilding (plus the need for more packages like squashfs-tools.tcz     

--- End quote ---
I was more thinking like having this process automated at one computer and uploading the nightly_LMS.tcz to piCore repro. So that this process is done by a single computer (person) and not on the users individual RPi's.
I don't know if Bela would allow the daily upload of the nightly builds.
Then we would have a structure like the LMS, with stable releases and nightly builds.

--- End quote ---

Another option is, if we work out the scripting, is to get Michael at Logitech to generate a nightly tcz.

Rich:
Hi jgrulich
Try  nodhcp , I'm pretty sure it's case sensitive.

jgrulich:
Got it, need to be nodhcp, not NODHCP in the cmdline.txt.
Than need to be set the default route and dns in the bootlocal.sh:

--- Code: (bash) ---route add default gw 192.168.1.1
echo nameserver 192.168.1.1 >> /etc/resolv.conf

--- End code ---

The nameserver may be the one given by the your local ISP and depends on the network structure if it is translated by your WAN router, or not. You may use several lines if needed.

Greg, yes, if there is DHCP server on the network than it's better, but I have this LMS on the subnet and there are only switches and static addressing.

yeme:
Got Paul_123's LMS running with his help.  I cannot get my Apps to populate, anyone using APPs successfully on this setup?  I like to stream a classical internet radio via LMS and PiCore player.

Greg Erskine:

--- Quote from: jgrulich on January 26, 2016, 04:38:05 PM ---Got it, need to be nodhcp, not NODHCP in the cmdline.txt.
Than need to be set the default route and dns in the bootlocal.sh:

--- Code: (bash) ---route add default gw 192.168.1.1
echo nameserver 192.168.1.1 >> /etc/resolv.conf

--- End code ---

The nameserver may be the one given by the your local ISP and depends on the network structure if it is translated by your WAN router, or not. You may use several lines if needed.

Greg, yes, if there is DHCP server on the network than it's better, but I have this LMS on the subnet and there are only switches and static addressing.

--- End quote ---

Hi jgrulich,

Here is a bit of code that we use in piCorePlayer for setting static IP. Not saying it is better or worse, just it is tested by numerous people.

Note: The last line runs '/etc/init.d/settime.sh'. Looks like we overwrite /etc/resolv.conf rather than append??


--- Code: --- echo '#!/bin/sh' >$STATICIP
echo '# Generated by piCorePlayer' >>$STATICIP
echo 'echo "[ INFO ] Running $0..."' >>$STATICIP
echo 'ifconfig eth0 '$IP' netmask '$NETMASK' broadcast '$BROADCAST' up' >>$STATICIP
echo 'route add default gw '$GATEWAY >>$STATICIP
# echo 'echo search '$GATEWAY' > /etc/resolv.conf' >>$STATICIP
echo 'echo nameserver '$GATEWAY' > /etc/resolv.conf' >>$STATICIP
echo '/etc/init.d/settime.sh' >>$STATICIP
--- End code ---

regards
Greg

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version