Tiny Core Base > Raspberry Pi
Logitech Media Server (LMS) on TC.7
jgrulich:
Paul,
hit the "trivial" issue with the IP address. Until now I used dhcp for eth0, but it's not comfortable to search the server on the network. I've used the ip=192.168.1.100 in the cmdline.txt, but it doesn't work. It set the IP, but not the gateway. Than I tried ifconfig ... but nothing.
Was looking for something like /etc/networking/interfaces but nothing like that. I know that I need to disable the dhcp at boot first and that set the config somehow, but where?
Please help.
sbp:
--- 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.
Paul_123:
--- Quote from: jgrulich on January 26, 2016, 03:16:21 PM ---Paul,
hit the "trivial" issue with the IP address. Until now I used dhcp for eth0, but it's not comfortable to search the server on the network. I've used the ip=192.168.1.100 in the cmdline.txt, but it doesn't work. It set the IP, but not the gateway. Than I tried ifconfig ... but nothing.
Was looking for something like /etc/networking/interfaces but nothing like that. I know that I need to disable the dhcp at boot first and that set the config somehow, but where?
Please help.
--- End quote ---
Put "NODHCP" in command line
Then in bootlocal.sh put
--- Code: ---ifconfig eth0 down
ifconfig eth0 add 192.168.1.100
ifconfig eth0 up
--- End code ---
jgrulich:
Strange, the NODHCP is not running and doesn't display something like "disabling DHCP as requested..." and dhcp get the address as before.
Greg Erskine:
--- Quote from: Paul_123 on January 26, 2016, 03:57:53 PM ---
--- Quote from: jgrulich on January 26, 2016, 03:16:21 PM ---Paul,
hit the "trivial" issue with the IP address. Until now I used dhcp for eth0, but it's not comfortable to search the server on the network. I've used the ip=192.168.1.100 in the cmdline.txt, but it doesn't work. It set the IP, but not the gateway. Than I tried ifconfig ... but nothing.
Was looking for something like /etc/networking/interfaces but nothing like that. I know that I need to disable the dhcp at boot first and that set the config somehow, but where?
Please help.
--- End quote ---
Put "NODHCP" in command line
Then in bootlocal.sh put
--- Code: ---ifconfig eth0 down
ifconfig eth0 add 192.168.1.100
ifconfig eth0 up
--- End code ---
--- End quote ---
Another method, which I prefer, is to assign a IP address to a MAC address on your DHCP server (router).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version