WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
TCB Bugs / Re: enhance parsing dhcp supplied ntp-servers option
« Last post by Juanito on May 03, 2024, 03:23:33 AM »
Where can I find the source code of the tcl scripts as git so that I can provide a merge request with an enhanced script?

https://github.com/tinycorelinux
42
TCB Bugs / Re: enhance parsing dhcp supplied ntp-servers option
« Last post by miesi on May 03, 2024, 02:26:46 AM »
Changing /usr/bin/getTime.sh to someting like this should do the trick
Code: [Select]
#!/bin/busybox ash
# bmarkus - 26/02/2014
# miesi - 03/05/2024

if [ -f /etc/sysconfig/ntpserver ]; then
        set $(cat /etc/sysconfig/ntpserver)
        while [ "$1" != "" ]; do
                NTPOPTS="$NTPOPTS -p $1"
                shift
        done
else
        NTPOPTS=""
fi
/usr/sbin/ntpd -q $NTPOPTS

I have no practical experience with busybox ash so this might not work
43
TCB Bugs / enhance parsing dhcp supplied ntp-servers option
« Last post by miesi on May 03, 2024, 02:03:09 AM »
When I log into piCorePlayer (based on tcl) I'm greeted with

The system date (Thu Jan  1 01:16:30 CET 1970) appears to be incorrect.
The current ntp server is being set to 10.2.215.5 10.2.215.10, by kernel commandline or dhcp.

Execute the command: 'sudo ntpd -dd -n -q -p 10.2.215.5 10.2.215.10' to debug.

my dhcpd.conf reads

option ntp-servers 10.2.215.5, 10.2.215.10;

sudo ntpd -dd -n -q -p 10.2.215.5 -p 10.2.215.10

would work.

Where can I find the source code of the tcl scripts as git so that I can provide a merge request with an enhanced script?
44
dCore X86 / tce-setdrive won't let me write
« Last post by DruWood on May 02, 2024, 02:54:18 PM »
Hello everybody!

Today I was taking my first steps in dCore with the installation, I asked a question here and now I have a problem. I am installing dCore and in the process I use "tce-setdrive" because TinyCore needs to know where it should partition and save configuration changes. Now the problem is that when I type "tce-setdrive" without GUI it opens a part where it asks me for a disk for the TCE directory, it says there is only sda1. Then I have to type 1 to select it; however when I type 1 and hit enter nothing happens I tried several keystrokes but nothing happens.

Thanks for your help!

PS: This appears when I write "tce-setdrive":
Code: [Select]
tce-setdrive - Choose Drive for TCE directory
                                                       1. /mnt/sda1/ 
                                                            Enter selection (1
 - 1) or (q)uit:_
45
Raspberry Pi / Re: hdmi output
« Last post by patrikg on May 02, 2024, 12:58:56 PM »
https://libcec.pulse-eight.com/

https://github.com/Pulse-Eight/libcec

Also found this text on there site:

Quote
If your TV cannot detect the Raspberry Pi's CEC, or if the the Pi can't detect the TV, try adding the following line in /boot/config.txt and reboot the Pi: hdmi_force_hotplug=1
46
TCB Q&A Forum / Re: Trouble editing extlinux.conf
« Last post by DruWood on May 02, 2024, 12:56:44 PM »
Thank you!!! You helped me a lot. The problem was that I was writing ":" as having Latin American keyboard, but in the VM I had American keyboard. Thank you very much!
47
TCB Q&A Forum / Re: Trouble editing extlinux.conf
« Last post by Rich on May 02, 2024, 12:46:07 PM »
Hi DruWood
Welcome to the forum.

When you are done making your changes:
Hit  Esc  to place you back into command mode
Enter  :wq  to save and quit
48
TCB Q&A Forum / Trouble editing extlinux.conf
« Last post by DruWood on May 02, 2024, 12:24:20 PM »
Hi guys! I'm new in this Tiny Core world and I don't remember how to do this.
I was editing the extlinux.conf file in the terminal without GUI (in dCore) when I realized that it didn't save the file. I put "sudo vi extlinux.conf" and typed:

"default dCore
label dCore
kernel /boot/vmlinuzxenial
append initrd=/boot/dCorexenial.gz tce=sda1" (on each line)
But now I don't know how to save and exit the file, because every time I exit it doesn't save. Thanks!

PS: I'm in a Virtualbox VM
49
Raspberry Pi / Re: hdmi output
« Last post by jbbum on May 02, 2024, 11:07:24 AM »
Found this "cec-client which is part of cec utils package on raspbian.  Checking to see if it can be loaded on piCore, and achiece desired result.
50
TCE Bugs / Re: mc.tcz.dep update for TC14 x86_64 (and x86?)
« Last post by Juanito on May 02, 2024, 06:27:37 AM »
updated mc posted in tc-15.x x86 repo.
Pages: 1 ... 3 4 [5] 6 7 ... 10