WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
TCE Q&A Forum / Re: MC 9 Screen blank / screen saver
« Last post by Rich on May 24, 2018, 06:44:35 PM »
Hi remus
You can find  setterm  in  util-linux.tcz.
22
Off-Topic - Tiny Tux's Corner / gdrive error when executed as cron job
« Last post by remus on May 24, 2018, 06:43:11 PM »
Hi all,

I use gdrive + cron to automate backups from a server to a google drive account.
https://github.com/prasmussen/gdrive

When running drive manually from the command line it works fine every time.

When running drive as part of a shell script I get frequent failures to upload.

The error
Quote
Failed to upload file: googleapi: Error 403: Rate Limit Excee
ded, rateLimitExceeded

There's a patch I can work into the source and recomile as soon as I get some time.

A discussion about the error here seems to make more sense to me though.
https://productforums.google.com/forum/#!topic/drive/4eg1FFWS3Qg

Does anyone know how I introduce a slight delay in the cron to level out the API workload ?

Thanks for any comments and suggestions :)


23
TCE Q&A Forum / Re: MC 9 Screen blank / screen saver
« Last post by remus on May 24, 2018, 06:35:53 PM »
See man setterm

Feed back much appreciated curaga.

My results with setterm experiments from the command line

Code: [Select]
$ setterm
-sh: setterm: not found

Perhaps its a part of a tcz package.

I'll have to learn how to use appbrowser to search the tcz's for it.
24
Raspberry Pi / Bluetooth PAN on rpi0W and piCore 9.0.3
« Last post by gjm on May 24, 2018, 11:54:53 AM »
Hi all,

I've been trying to setup Bluetooth on a rpi0W following various posts on here, but all seem to relate either to piCore 8.x.x and/or rpi3 so I'm really struggling to get it all working as I can't. 

Ultimately I'd like to be able to set up the rpi0W as a PAN (either GN or NAP) so that clients can access HTML files from an HTTPD running on the rpi0W but would be happy just to get the Bluetooth working in any capacity.

Device: rpi0W
OS: piCore 9.0.3

Other forum threads talk about tce firmware-rpi3-bt and bluez but I can't find anything in the TCZ's other than bluetooth-4.9.22-piCore.

Any help gratefully received.
25
Raspberry Pi / Re: Configure wifi without wifi.sh?
« Last post by MagicMatt on May 24, 2018, 11:51:18 AM »
I'm getting a /etc/wpa_supplicant.conf created, but the key in it is half a mile lone! The original key is also there, commented out with a #. It doesn't connect to the network.

26
Raspberry Pi / Re: Configure wifi without wifi.sh?
« Last post by Rich on May 24, 2018, 11:14:15 AM »
Hi MagicMatt
Yes, that looks like the correct format.
27
Raspberry Pi / Re: Configure wifi without wifi.sh?
« Last post by MagicMatt on May 24, 2018, 10:59:07 AM »
I've obviously misunderstood somewhere along the line, as I thought "tce-load -i" added them to boot, but it doesn't.
I've added the following to my /mnt/mmvblk0p2/tce/onboot.lst
Code: [Select]
mc.tcz
openssh.tcz
firmware-rtlwifi.tcz
wifi.tcz

I have a Realtek RTL8188CU dongle, so hopefully that's the right tcz for it.

Making ~/wifi.db manually didn't work, but I think maybe I have the formatting wrong.

Assuming my network router shows as "TellMyWiFiLoveHer" and the password is "KissyKissy", is it...
TellMyWiFiLoveHer <TAB> KissyKissy <TAB> WPA"  ?
28
Raspberry Pi / Re: Setting up WiFi
« Last post by reachparagm on May 24, 2018, 10:52:05 AM »
I have RPI 2 with a usb-wifi dongle. I tried commands mentioned, but it seem to blurt below messages -

tc@box:~$ tce-load -wi firmware-brcmfmac43430.tcz
Downloading: firmware-brcmfmac43430.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found <------------
md5sum: firmware-brcmfmac43430.tcz.md5.txt: No such file or directory
Error on firmware-brcmfmac43430.tcz

tc@box:~$ tce-load -wi wifi.tcz
wifi.tcz.dep OK
wireless_tools.tcz.dep OK
Downloading: wireless-4.9.22-piCore.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: write error: No space left on device <-------- how big is size the remote files ?
wireless-4.9.22-piCore.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on wireless-4.9.22-piCore.tcz

the MCSD has below space -

Command (m for help): p
Disk /dev/mmcblk0: 7386 MB, 7744782336 bytes, 15126528 sectors
7386 cylinders, 64 heads, 32 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1    4,0,1       37,63,32          8192      77823      69632 34.0M  c Win95 FAT32 (LBA)
/dev/mmcblk0p2    38,0,1      1023,63,32       77824   15126527   15048704 7348M 83 Linux

29
Raspberry Pi / Re: Configure wifi without wifi.sh?
« Last post by Rich on May 24, 2018, 06:39:46 AM »
Hi MagicMatt
You might also need one of the firmware extensions for your WiFi dongle. If you post the make and model of your dongle
someone on this forum might be able to offer some further advice.
30
Raspberry Pi / Re: Configure wifi without wifi.sh?
« Last post by Misalf on May 24, 2018, 06:28:25 AM »
You could try creating  ~/wifi.db  manually ...
Code: [Select]
echo "*YOUR_WIFI_ACCESS_POINT*    *YOUR_SSID*    WPA" > ~/wifi.db
then add the following to  /opt/bootlocal.sh ...
Code: [Select]
wifi.sh -a &
then do a backup
Code: [Select]
filetool.sh -b
and finally reboot with your wifi dongle attached.
Pages: 1 2 [3] 4 5 ... 10