WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
TCB Q&A Forum / Re: x won't load
« Last post by Misalf on Today at 09:48:40 AM »
I might be wrong but I think, dependant on the system, TC may fail to find the tcedir on its own. Not just due to a slow device. At least the described symptom is what I've seen in the past and is the same behavior. No extensions loaded and left at the prompt.
Just yesterday, I've installed a copy of TinyCore with ntfs-3g built-in along with Windows 7 on the same NTFS partition. It failed to create the tcedir symlink.

It worked with UUID. I didn't try LABEL but might work as well.
Code: [Select]

UUID and LABEL can be displayed via blkid:
Code: [Select]
blkid /dev/sdxY
TCE Tips & Tricks / Wmfs2
« Last post by steppeno on Today at 06:28:14 AM »
Hi to every tiny lovers, i hope it's a stupid question.....so, i have a problem setting up wmfs2 on my fresh tiny 5.4 portable workstation. Created a wmfsrc file under /home/tc/.config/wmfs/wmfsrc as readed on wmfs's wiki but on boot wmfs load default conf (i believe in /usr/local/etc/xdg/wmfs/wmfsrc). How to?

Thanks to all!
Raspberry Pi / Re: Sending emails
« Last post by bmarkus on Today at 01:00:29 AM »
msmtp.tcz added to repo
No, you shouldn't do such a symlink. Something is wrong on your system, are you mixing extensions from different repos?
TCB Talk / Re: systemd plans
« Last post by jls_legalize on October 20, 2014, 10:55:00 PM »
Raspberry Pi / Re: Sending emails
« Last post by bmarkus on October 20, 2014, 09:45:26 PM »
At the moment no MTP in the repo. I will add one, msmtp and/or nullmailer in the next days.
Raspberry Pi / Re: Sending emails
« Last post by Lee on October 20, 2014, 09:41:29 PM »
Anyone know know how to send emails in TC?

On the x86 platform, I wrote a little console mail utility script ('mx", the "mail experiment") that uses something like the following:
Code: [Select]
mailx -n -v -r <senderemail@domain.com> -s "<mail subject>" -S smtp-auth-user=<senderemail@domain.com> -S <senderssmtppassword> -S smtp=<smtp.domain.com:587> <recipient@domain.net>
It requires mailx.tcz and, I think, msmtp.tcz

Sending was an afterthought as my script was mainly for reading mail from a pop3 server, so the sending capability isn't all that polished.  It takes the message body from stdin, so you'd have to use redirection to use it in a script... or read up on the mailx command line options - I'm sure there's one to take the message body from a file.  At some point I'll look into it further as sending mail from a script is on my todo list, but it won't be this week, and probably not any time really soon.
TCB Talk / Re: how to start mysql service via command in startup
« Last post by manit123 on October 20, 2014, 09:18:17 PM »
got it
tc@box:~$ cd /etc/init.d/services/
tc@box:/etc/init.d/services$ ls
crond  dhcp   mysql  tftpd
tc@box:/etc/init.d/services$ cat mysql

case "${1}" in
        su -c "cd /usr/local/mysql/bin;./mysqld_multi --log=/var/log/mysql/mysql.log start 1" - tc

        pkill mysqld

        pidof mysqld

        exit 1
General TC Talk / Re: What Language and Compiler Does Tiny Core Use
« Last post by Lee on October 20, 2014, 09:09:44 PM »
A lot of what makes Tinycore what it is is done through scripts written in Ash. That is interpreted, not compiled.
There are no manuals documenting code. You have to be able to read and understand the code, and if you are lucky, there will be the occasional comment mixed in with the code.

The meat of the boot process of Tinycore seems to be in /etc/init.d/tc-config which, in addition to getting the system up and running, is a treasure trove of interesting scripting techniques - I've borrowed the command line parsing bit for other projects several times over the years - though I'm -still- a little hazy about some of the finer points of the syntax in that section.

However, even though I have a certain comfort level with -what- the script does, I've found that the details of -how- are sometimes obscure and I've often thought it would be really nice to have a thoroughly annotated (commented) copy of it for reference - not necessarily in the initrd, but perhaps in the wiki.
Raspberry Pi / Sending emails
« Last post by gavinmc42 on October 20, 2014, 08:43:31 PM »
Hi Guys,

Anyone know know how to send emails in TC?
Normally Busybox has sendmail built-in, but not in the 1.22.1 RPi version!

Been using Python but that means I need to install it and all it's dependencies.
There is Claws-mail and Fetchmail but these are clients?

It is for an embedded application and I want to send emails twice a day and also if an alarm condition occurs.
Was thinking it could be a simple cron job calling bash scripts.
Pages: [1] 2 3 ... 10