Go to advanced search

by DougieLawson
Mon Oct 28, 2013 12:57 am
Forum: Other projects
Topic: Raspberry Remote Control
Replies: 55
Views: 19409

Re: Raspberry Remote Control

Three bugs fixed. Invalid float if cputemp isn't available df = new DecimalFormat("0.0"); String cputemp_str = ExecuteCommand("cat /sys/class/thermal/thermal_zone0/temp"); Log.d(TAG, cputemp_str); if (!cputemp_str.isEmpty()) { String cputemp = df.format(Float .parseFloat(cputemp_str) / 1000) + "'C";...
by DougieLawson
Sun Oct 27, 2013 9:01 pm
Forum: General discussion
Topic: 1000 posts
Replies: 6
Views: 1081

Re: 1000 posts

Sadly I can't - that isn't an option in the Signature edit panel, and if I insert the markup manually it reports You cannot use certain BBCodes: [url]. Ah the board admin and moderators have tried to prevent some spammers. There's one forum I moderate where every spammer includes a URL in his/her s...
by DougieLawson
Sun Oct 27, 2013 8:56 pm
Forum: Raspberry Pi OS
Topic: Update Raspbian
Replies: 4
Views: 1478

Re: Update Raspbian

... Like any other linux distribution, can I just do a simple sudo apt-get update ; sudo apt-get dist-upgrade ; ?? ... Quick answer: Yes (In general it's always a good idea to "sudo apt-get update" before installing anything new. W.r.t. "sudo apt-get upgrade" [rather than "dist-upgrade"] I tend to ...
by DougieLawson
Sun Oct 27, 2013 8:30 pm
Forum: Troubleshooting
Topic: need help running root crontab
Replies: 5
Views: 5440

Re: need help running root crontab

If your python script includes any "print" statements when crontab runs it then that printed output is sent by email. Use `crontab -l` to list entries. Use `crontab -e` to edit your crontab (and refresh it when you save changes). Also don't forget to set the PATH or use full names for anything you'r...
by DougieLawson
Sun Oct 27, 2013 9:32 am
Forum: Troubleshooting
Topic: Compiling kernel modules
Replies: 6
Views: 2302

Re: Compiling kernel modules

What kernel version are you running?
Do you have the right linux-headers package installed to match you running kernel. Because when you do the process of finding module.h should be automatic.

Otherwise you'll need to change the include paths (-i flag) in your Makefile.
by DougieLawson
Sun Oct 27, 2013 9:17 am
Forum: General discussion
Topic: 1000 posts
Replies: 6
Views: 1081

Re: 1000 posts

I wish more folks would read those two links in your signature. That would remove some of the "Hello I have a problem with my RPi."







Followed by nothing else.


You could help by wrapping them in [URL][/URL] tags.
by DougieLawson
Sun Oct 27, 2013 9:09 am
Forum: Other
Topic: NOOBS Help
Replies: 3
Views: 1972

Re: NOOBS Help

During boot you have to press and hold the SHIFT key. That will bring up the NOOBS menu and get you going again.

As a beginner I'd recommend that you go with Raspbian and not any of the other distributions.
by DougieLawson
Sat Oct 26, 2013 5:39 pm
Forum: Beginners
Topic: Accessing a Raspberry Pi over a WiFi Connection.
Replies: 6
Views: 1282

Re: Accessing a Raspberry Pi over a WiFi Connection.

On your RPi install the SSH server with sudo apt-get install sshd (if you're using Raspbian it's already installed). Enable it using sudo raspi-config (option 8).

On your laptop download and install PuTTY from http://www.chiark.greenend.org.uk/~sgta ... nload.html
by DougieLawson
Sat Oct 26, 2013 5:24 pm
Forum: Other programming languages
Topic: gnu pascal
Replies: 4
Views: 1968

Re: gnu pascal

See if you can get the GNU Pascal source tarball, you maybe able to build that on your RPi.

I'm not a fan of Pascal at all, I'd have thought you be better spending your time learning C/C++.
by DougieLawson
Sat Oct 26, 2013 5:20 pm
Forum: Other projects
Topic: Raspberry Remote Control
Replies: 55
Views: 19409

Re: Raspberry Remote Control

I've got some code written to check that you're connecting to a RPi (and not some other random Linux machine). I'll see if I can find time to debug that and integrate with the new version.
by DougieLawson
Fri Oct 25, 2013 9:48 pm
Forum: Advanced users
Topic: .config for 3.10.y kernel please
Replies: 11
Views: 3942

Re: .config for 3.10.y kernel please

I installed Slackware-current on my RPi and I would like to update the kernel to 3.10.17 to get in-line with Slackware-current. I found some good documentation on how to compile the kernel and I am quite familiar with the process on x86 machines when the .config is available (normally copied from S...
by DougieLawson
Fri Oct 25, 2013 9:15 pm
Forum: Raspberry Pi OS
Topic: Is raspbian.org down?
Replies: 14
Views: 3643

Re: Is raspbian.org down?

Do you have any iptables firewall rules that could be blocking 5.153.225.206 (or parts of that 5.153.225.0/24 subnet)? It works for me using either IPv4 or IPv6 pi@pi ~ $ traceroute raspbian.org traceroute to raspbian.org (5.153.225.206), 30 hops max, 60 byte packets 1 darkside.darkside-internet.bog...
by DougieLawson
Fri Oct 25, 2013 9:07 pm
Forum: General discussion
Topic: poor quality electric supply
Replies: 8
Views: 1755

Re: poor quality electric supply

Well, unfortunately the Pi is not too tolerant about unexpected shutdowns. I think you should try using a UPS, if possible. I have no problems with unexpected shutdowns. My RPi system reboots and normally does an auto fsck of the journalled filesystem. I've had one failure where I had to to go to s...
by DougieLawson
Fri Oct 25, 2013 5:24 pm
Forum: Troubleshooting
Topic: Internet connection
Replies: 2
Views: 443

Re: Internet connection

Is your WiFi network open or secured? Have you got the right SSID and WPA key?

Have you read: http://thepihut.com/pages/how-to-setup- ... i-raspbian

Or if you're a command line masochist: http://www.howtogeek.com/167425/how-to- ... mand-line/
by DougieLawson
Fri Oct 25, 2013 12:35 pm
Forum: Other projects
Topic: Raspberry Remote Control
Replies: 55
Views: 19409

Re: Raspberry Remote Control

I've got the first code fix written. public String ExecuteCommand(String command) { try { Log.d(TAG, "ExecuteCommand.try"); // LogCat logging for debugging String username = prefs.getString("sshusername", null); if (!username.equals("root")) { command = "sudo " + command; } Log.d(TAG, command); That...
by DougieLawson
Wed Oct 23, 2013 1:59 pm
Forum: HATs and other add-ons
Topic: Arduino/UDB CDC devices not working
Replies: 3
Views: 3353

Re: Arduino/UDB CDC devices not working

When I plug in my Arduino Uno I get [315464.892211] usb 1-1.2.2: New USB device found, idVendor=2341, idProduct=0001 [315464.892245] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220 [315464.892263] usb 1-1.2.2: Product: Arduino Uno [315464.892278] usb 1-1.2.2: Manufacturer: Ar...
by DougieLawson
Sun Oct 20, 2013 7:16 pm
Forum: Other projects
Topic: Raspberry Remote Control
Replies: 55
Views: 19409

Re: Raspberry Remote Control

Its never occurred to me to try ssh-ing in and do a soft shutdown - I'm a GUI person :) Ah, the youth of today :lol: I'm a dinosaur and rarely, if ever, do this new graphics stuff. I even found an excellent SSH client (JuiceSSH) for my Hudl which gives me something that's just like PuTTY (which I u...
by DougieLawson
Sun Oct 20, 2013 7:03 pm
Forum: Troubleshooting
Topic: libproc-processtable-perl and Latest perl wont install?
Replies: 3
Views: 1512

Re: libproc-processtable-perl and Latest perl wont install?

I was going to suggest using `sudo cpan` to install it the old way. But by running

Code: Select all

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install  libproc-process* 
I got libproc-processtable-perl (0.45-6) installed with no problems.
by DougieLawson
Sun Oct 20, 2013 6:52 pm
Forum: Beginners
Topic: connect wifi unsecured
Replies: 2
Views: 743

Re: connect wifi unsecured

1. Why not add security, you're horribly exposed to the drive by hacker.

2. If you insist on using an unsecured network try this in wpa_supplicant.conf

Code: Select all

network={
        key_mgmt=NONE
        priority=-999
}
by DougieLawson
Sat Oct 19, 2013 11:53 pm
Forum: Other projects
Topic: Raspberry Remote Control
Replies: 55
Views: 19409

Re: Raspberry Remote Control

It was a good thing getting that false positive. I'd just upgraded from Win8 to Win8.1 and Avast (the free virus program I use) had been completely uninstalled by Microsoft's update. Fixed that now and there's no more trouble from your git clone. I've now imported your source into the Android ADK an...
by DougieLawson
Sat Oct 19, 2013 3:49 pm
Forum: Off topic discussion
Topic: Are microwave oven food healthy?
Replies: 57
Views: 10379

Re: Are microwave oven food healthy?

There's nothing wrong with microwave food but you should change your microwave ovens at least every 2 years Can you tell us why? Do I have to buy a new one, or can I change mine by swapping it with my neighbour? I have two neighbours, so I can do this over 4 years. Is it okay if I change it back ag...
by DougieLawson
Sat Oct 19, 2013 3:42 pm
Forum: Off topic discussion
Topic: Are microwave oven food healthy?
Replies: 57
Views: 10379

Re: Are microwave oven food healthy?

If you use a microwave to heat up a large block of chocolate, you can calculate the speed of light from the distance between the melted patches and the known frequency of 2.4GHz. Then you can pour the experiment over a bowl of ice-cream for a lovely desert akin to the long lost ice-magic sauce. My ...
by DougieLawson
Sat Oct 19, 2013 3:39 pm
Forum: Off topic discussion
Topic: Are microwave oven food healthy?
Replies: 57
Views: 10379

Re: Are microwave oven food healthy?

The microwave oven is a very convenient cooking tool. I have always been worried about whether microwave oven food is healthy. I would like to ask the engineers here, particularly those with microwave background, whether microwave oven food is healthy. https://www.amazon.co.uk/gp/product/B004JN0CJI...
by DougieLawson
Sat Oct 19, 2013 3:24 pm
Forum: Other projects
Topic: Raspberry Remote Control
Replies: 55
Views: 19409

Re: Raspberry Remote Control

Yes soon, this is only a initial release more features are coming soon When I import this into the Eclipse ADK it triggers Windows Defender (Trojan:AndroidOS/FakeLook.A detected in ..\bin\classes.dex) when I try to run it. Can you explain why that happens and why it appears there's a Trojan in your...

Go to advanced search