WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Running as server - need static ip and cron  (Read 6345 times)

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: Running as server - need static ip and cron
« Reply #15 on: April 04, 2016, 04:31:52 PM »
Hi jgrulich,

  Can I point out that the command line you posted is missing a d at the beginning it should read
Code: [Select]
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/ram0 elevator=deadline rootwait quiet nortc loglevel=3 noembed nodhcp tz=CET-1CEST,M3.5.0,M10.5.0/3
see http://elinux.org/RPI_BCM2708_Parameters#module:_dwc_otg

Jon
« Last Edit: April 04, 2016, 04:42:18 PM by jncl »

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Running as server - need static ip and cron
« Reply #16 on: April 04, 2016, 07:38:42 PM »
I think I remember trying the timezone setting in cmdline.txt and did not get it working
http://forum.tinycorelinux.net/index.php/topic,17325.msg105369.html#msg105369

Ended up adding a timezone file to /etc/sysconfig

Needed to fix it in crontab too
http://forum.tinycorelinux.net/index.php/topic,17638.msg106134.html#msg106134

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Running as server - need static ip and cron
« Reply #17 on: April 05, 2016, 06:19:03 AM »
I don't know if the boot codes are different for piCore.
You may try editing  /etc/sysconfig/timezone  (using upper case TC=...) as gavinmc42 suggested.

The file is gone after reboot. [...]

Remember to add edited files to your backup.
Download a copy and keep it handy: Core book ;)

Offline aug

  • Jr. Member
  • **
  • Posts: 74
Re: Running as server - need static ip and cron
« Reply #18 on: April 05, 2016, 01:27:44 PM »
tz=CET-1CEST in commandline.txt is the solution!
thanks to everyone for your support