Go to advanced search

by benhewitt97
Sun Nov 10, 2013 3:12 pm
Forum: Networking and servers
Topic: Pi Cannot Resolve Hostname, Can still SSH
Replies: 2
Views: 1993

Re: Pi Cannot Resolve Hostname, Can still SSH

Fixed it! Your reply got me thinking, so i checked my /etc/network/interfaces file, and the gateway was still set as 192.168.1.1, whereas it's now 192.168.0.1!
Thanks for the help!
by benhewitt97
Sun Nov 10, 2013 2:27 pm
Forum: Networking and servers
Topic: Pi Cannot Resolve Hostname, Can still SSH
Replies: 2
Views: 1993

Pi Cannot Resolve Hostname, Can still SSH

Hi all, I've been running my Pi as an FTP server recently, and wanted to install some new packages and update it. I'm running it headless, so connected to it via SSH as normal, and used 'sudo apt-get update' However, it came straight back with Temporary failure resolving 'archive.raspberrypi.org' Th...
by benhewitt97
Sat Aug 03, 2013 2:28 pm
Forum: Networking and servers
Topic: Raspberry Pi With Xively Tutorial
Replies: 3
Views: 1980

Raspberry Pi With Xively Tutorial

Hi all, Ive spent a while learning how to link my Raspberry Pi to Xively, a graphing website, to log and graph things like CPU temp or Disk Space, as you can see here: https://xively.com/feeds/1579958259 . Recently, someone requested make a tutorial, and I have, and have decided to post here to help...
by benhewitt97
Sun Jul 28, 2013 1:36 am
Forum: Raspberry Pi OS
Topic: Xively bug
Replies: 5
Views: 1157

Re: Xively bug

I have this issue too, wish someone had a fix for it!
by benhewitt97
Fri Jun 14, 2013 9:55 pm
Forum: General programming discussion
Topic: Email Temperature Alerts Help
Replies: 1
Views: 985

Email Temperature Alerts Help

Hi,
I aim to get my Pi to send me alerts when the onboard temperature exceeds 60 degrees.
I have SSMTP setup, and it sends emails out perfectly, but have no idea about how to make the temperature trigger a message being sent containing the Time, Date and temp.
Help would be appreciated!
Ben
by benhewitt97
Fri Jun 14, 2013 5:38 pm
Forum: Networking and servers
Topic: SMTP Mail Server Help
Replies: 26
Views: 51795

Re: SMTP Mail Server Help

Hi all!
I just had a go at changing my password, and fixed the problem! Thanks so much! Now to find a way of reguarly compiling and sending a system stats file....
by benhewitt97
Fri Jun 14, 2013 4:34 pm
Forum: Other projects
Topic: PSU Case
Replies: 4
Views: 2838

PSU Case

Hi all, I'm working on a small project involving making a case for my pi, including a fan and LEDS, out of an old PSU case. I'd like for the fan to come on when the Pi goes over 45 degrees c, but if i plug it straight into GPIO, it's very slow due to the 3.3v GPIO outputs. Is there any way i can boo...
by benhewitt97
Fri Jun 14, 2013 4:22 pm
Forum: Other projects
Topic: Sewing A Pi
Replies: 2
Views: 2052

Re: Sew A Pi

Hi Boris! It sounds great that you're so enthusiastic about the Pi, that's exactly the goal of it - to get young people like you interested in it. I'd love to see some photos of the projects you do, and of the case if you ever make it! (just be careful you don't overheat your Pi, ask your dad about ...
by benhewitt97
Thu Jun 06, 2013 4:55 pm
Forum: Networking and servers
Topic: SMTP Mail Server Help
Replies: 26
Views: 51795

Re: SMTP Mail Server Help

Yeah, i can login to webmail just fine... Could this have anything to with my port choice or ISP? I can't find anyone else with the same error. Are there any alternatives to SSMTP? I've tried Exmi4, but couldn't end my messages for some reason.
by benhewitt97
Thu Jun 06, 2013 4:12 pm
Forum: Networking and servers
Topic: SMTP Mail Server Help
Replies: 26
Views: 51795

Re: SMTP Mail Server Help

Sure, here you go:

Code: Select all

root=mymail@gmail.com
mailhub=smtp.gmail.com:587
hostname=raspberrypi
FromLineOverride=YES
AuthUser=mymail@gmail.com
AuthPass=mypass
UseSTARTTLS=YES
I'm probably missing something stupid!
by benhewitt97
Wed Jun 05, 2013 9:28 pm
Forum: General programming discussion
Topic: Status file creation with CRON
Replies: 1
Views: 709

Status file creation with CRON

Hi,
I'm aiming to get my pi to create a file with system information like temperature, uptime, memory use etc every hour, then send it to me via email. How would I go about coding this? Can it be done in python? And can I make it display an average, as well and max and min temps?
Thanks,
Ben
by benhewitt97
Wed Jun 05, 2013 8:29 pm
Forum: Networking and servers
Topic: SMTP Mail Server Help
Replies: 26
Views: 51795

Re: SMTP Mail Server Help

Just tried that, seems to be no debug option in the mail module... Odd. I tried the command after rephrasing, and removing the 'echo' as i'm not sure what purpose it plays, so my code is now: mail -s "Test" sensei441@hotmail.co.uk which, on a new line, prints 'Cc:' which i can type into bu...
by benhewitt97
Wed Jun 05, 2013 3:01 pm
Forum: Networking and servers
Topic: SMTP Mail Server Help
Replies: 26
Views: 51795

SMTP Mail Server Help

Hi all, I've recently been trying to set up my Pi (Model B, 512 Ram) to sent me emails when the temperature gets too high. However, after downloading SSMTP and configuring it, when i go to test it using: echo "Test" | mail -s "Test" myemail@mydomain.co.uk I get the error: mail: c...
by benhewitt97
Fri Apr 19, 2013 2:45 pm
Forum: General discussion
Topic: RasPi with Arduino
Replies: 5
Views: 916

Re: RasPi with Arduino

Im after a RasPi GPIO extender more than a complete seperate board, like that Launchpad, so I think I'll go with the Gertboard, thanks!
by benhewitt97
Fri Apr 19, 2013 2:32 pm
Forum: General discussion
Topic: RasPi with Arduino
Replies: 5
Views: 916

Re: RasPi with Arduino

That looks great, is it easy to control from the Pi? As in, as though you were controlling the GPIO?
by benhewitt97
Thu Apr 18, 2013 5:31 pm
Forum: General discussion
Topic: RasPi with Arduino
Replies: 5
Views: 916

RasPi with Arduino

Hi! I'm looking for ways to interface my Rasberry Pi, Model B, with more sensors and expand my available inputs and outputs. I was thinking of buying a Arduino Uno, but is this the most economical, easy and effective way? Could I control the Arduino as easily as the GPIO on the Pi? or are there othe...

Go to advanced search