Go to advanced search

by oskars
Thu Apr 21, 2016 5:37 am
Forum: Advanced users
Topic: Make downloadable content
Replies: 2
Views: 525

Re: Make downloadable content

Okey, cool! I use github then. Thanks!
by oskars
Thu Apr 21, 2016 5:20 am
Forum: Advanced users
Topic: Make downloadable content
Replies: 2
Views: 525

Make downloadable content

Hi! I am developing a web interface (PHP/MySQL) that is made for Raspberry Pi users. Nothing super special. The files are located at /var/www/myfolder and I want the user to be able to download new versions like this for example: get www.dropbox.com/new_version.tar.gz install new_version What should...
by oskars
Sat Apr 16, 2016 5:22 am
Forum: Automation, sensing and robotics
Topic: Is this SSR RPi compatible
Replies: 5
Views: 1125

Re: Is this SSR RPi compatible

Will work!
by oskars
Wed Mar 30, 2016 6:51 am
Forum: Advanced users
Topic: crontab with or without sudo?
Replies: 2
Views: 3671

crontab with or without sudo?

Hi!

I have noticed that "sudo crontab" and "crontab" give two different crontab setups... Which one should I use for common use?

/ Oskar
by oskars
Fri Feb 26, 2016 7:02 am
Forum: Raspberry Pi OS
Topic: MySQL keeps clogging up?
Replies: 3
Views: 636

Re: MySQL keeps clogging up?

LOL! Much better now! :D Thanks!

Image
by oskars
Fri Feb 26, 2016 7:00 am
Forum: Raspberry Pi OS
Topic: MySQL keeps clogging up?
Replies: 3
Views: 636

Re: MySQL keeps clogging up?

Oh, I just expanded the partition. Going to reboot now. But does it seem right?

Image
by oskars
Fri Feb 26, 2016 6:40 am
Forum: Raspberry Pi OS
Topic: MySQL keeps clogging up?
Replies: 3
Views: 636

MySQL keeps clogging up?

Hi! I have a script that check the GPIO if a value is low or not. If it is; Save data to MySQL. It checks every second or so. After a couple of hour my MySQL server drops out and I can not restart it because; "[FAIL] /etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full! ... failed...
by oskars
Fri Apr 10, 2015 7:19 pm
Forum: Beginners
Topic: TP-Link TL-WN725N V2 works out of the box on Raspbian
Replies: 236
Views: 359573

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

This thread is so confusing :D

I'm running Raspbian 3.18.7-v7+ #755 and just bought the WN725N.

Where can I find the correct drivers for this?
by oskars
Tue Apr 07, 2015 6:06 pm
Forum: Advanced users
Topic: Will these relays stand a chance?
Replies: 4
Views: 1030

Will these relays stand a chance?

Good day!

I got a quick question!

Are these relays able to handle a 2000W heat plate (230V)?

Image

/ O
by oskars
Tue Mar 31, 2015 5:08 am
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

Is the problem specific to remote logins? I struggle to see how you would get that error locally. Sadly I don't really know if I get this locally. I think I manage to generate the error at home via SSH yesterday… But I don't know what I did. There is no evidence in this thread to suggest a memory s...
by oskars
Mon Mar 30, 2015 8:21 pm
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

They loop 5 times, then dies. And then repeats it self as a cronjob.

I did some research and consolekit manages console logins in graphical mode… Those threads is actually one process and does not have anything to do with my cronjobs (I've tried disabling the cronjobs and restart but no difference).
by oskars
Mon Mar 30, 2015 3:19 pm
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

Thank you very much for your time! About the "console-kit-daemon"… I have no idea what that is (doesn't recognize the name) but I do have a couple of scripts running in the background as cronjobs. They are just small bash scripts and I usually end them like this: sleep 5 done Is there a more correct...
by oskars
Mon Mar 30, 2015 1:50 pm
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

And this is how my htop looks like right after booting with the above config!

Image
by oskars
Mon Mar 30, 2015 1:40 pm
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

Okey. My my.cnf looks like this now… And added the line gpu_mem=16 to /boot/config.txt! I will try this out now… Anything else I should change? key_buffer = 16M max_allowed_packet = 16M thread_stack = 192K thread_cache_size = 8 # This replaces the startup script and checks MyISAM tables if needed # ...
by oskars
Mon Mar 30, 2015 12:26 pm
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

Hm... My server was set to this in my.cnf:
query_cache_limit = 1M
query_cache_size = 16M

From phpMyAdmin:
key buffer size 16,777,216
Max connections 151


Hm... Maybe I should increase that? And maybe run it at 100mb RAM?
by oskars
Mon Mar 30, 2015 12:02 pm
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Re: Slow login but everything else seems to be working

Oh no. I haven't (I think...)!

My database consists at this point of around 80.000 rows... The Raspi should be able to handle much more rows, correct? But I just have to configure the mysql config first!

I will try this and come back!


EDIT: How much RAM do you recommend to use for MySQL?
by oskars
Mon Mar 30, 2015 8:37 am
Forum: Troubleshooting
Topic: Slow login but everything else seems to be working
Replies: 14
Views: 1372

Slow login but everything else seems to be working

Hey! I'm using Raspbian and RasPi B+. The raspi is constantly logging temperature readings into a MySQL database and I'm trying to make the system as stable as possible because I wanna make +2weeks of continuesly readings. Today a wierd error suddenly occured. The web server and database works fine,...
by oskars
Tue Mar 24, 2015 7:50 am
Forum: Other programming languages
Topic: Math in bash
Replies: 2
Views: 687

Re: Math in bash

Oops, that was easy!

Thanks! :)
by oskars
Tue Mar 24, 2015 7:06 am
Forum: Other programming languages
Topic: Math in bash
Replies: 2
Views: 687

Math in bash

Hey!

I'm trying to understand math in bash and I wonder how to convert these calculations to bash:

variable1 = (en0 - en1) * SAMPLING_FREQUENCY
variable2 = KP * (en0 + derivative_term + integral_term)

Hope someone can help me :D I've tried my best.

/ Oskar
by oskars
Mon Mar 23, 2015 1:51 pm
Forum: Automation, sensing and robotics
Topic: Controlling a 2kW heat plate
Replies: 10
Views: 2989

Re: Controlling a 2kW heat plate

:) These are the guts of my heat plate: http://i.imgur.com/upWo0xe.png It consists of a mechanical thermostat + 1pcs of thermo fuse (I think it is SF214E). The thermo fuse is the overheating protection. At the time the thermostat acts so stupid that when the water is about to start boiling, it turns...
by oskars
Mon Mar 23, 2015 1:17 pm
Forum: Automation, sensing and robotics
Topic: Controlling a 2kW heat plate
Replies: 10
Views: 2989

Re: Controlling a 2kW heat plate

Yes, that is the problem. I can not get 25l water to an boil because the heat plates thermostat sucks… So I wanna replace it. I could just remove the thermostat and run without one… But I wanna minimize the risk of frying the heat plate!
by oskars
Mon Mar 23, 2015 12:34 pm
Forum: Automation, sensing and robotics
Topic: Controlling a 2kW heat plate
Replies: 10
Views: 2989

Re: Controlling a 2kW heat plate

Okey. Why not a RPi?
by oskars
Mon Mar 23, 2015 12:20 pm
Forum: Troubleshooting
Topic: Some bootup problem…
Replies: 14
Views: 1616

Re: Some bootup problem…

Hey guys!

I managed to backup my files through Parallel Desktop and Ubuntu and did a new installation on another SD-card.

That is how I solved it! Thanks for all your help!
by oskars
Mon Mar 23, 2015 12:19 pm
Forum: Automation, sensing and robotics
Topic: Controlling a 2kW heat plate
Replies: 10
Views: 2989

Re: Controlling a 2kW heat plate

Okey, good advice! :D But I will go with the mechanical ones for now because I already have one.
by oskars
Mon Mar 23, 2015 11:30 am
Forum: Automation, sensing and robotics
Topic: Controlling a 2kW heat plate
Replies: 10
Views: 2989

Controlling a 2kW heat plate

Hey! I have a cheap heat plate which internal thermostat sucks and I wanna replace it with a Raspberry Pi! I get how it is supposed to work and what parts I need: * RPi B+ * Relay board * Temperature sensors Also: * 30l pot * 2kW heat plate My heat plate has a thermo fuse that goes off at 214 degree...

Go to advanced search