Go to advanced search

by mutley
Thu Jul 21, 2016 6:17 pm
Forum: General discussion
Topic: Unexpected shutdowns protection - different filesystem?
Replies: 10
Views: 2320

Re: Unexpected shutdowns protection - different filesystem?

For the OS, make the OS a read only file system, and use a ramdisk for any files that need to be written but you don;t care about. Logs / File & App Locks, etc. Also get off the SD card and boot from USB as soon as possible as SD cards have terrible fault tolerance on the PI. So, put the first stage...
by mutley
Thu Jun 09, 2016 2:25 pm
Forum: General discussion
Topic: Possibilities?
Replies: 5
Views: 1594

Re: Possibilities?

With something like the below, yes. https://www.adafruit.com/products/2327 It easily has the power to controlling everything and run PID algorithm, but like everything else it will completely depend on how well it's written. There is a lot of "junk overhead" on the Pi compared to an Arduino for this...
by mutley
Thu Jun 09, 2016 2:04 pm
Forum: General discussion
Topic: connecting multiple sensors to a single raspberryy pi
Replies: 3
Views: 886

Re: connecting multiple sensors to a single raspberryy pi

That completely depends on the sensor interface. I *think* these are the limits to a few ways to interface, but you should check. 1 wire can do 100 devices per bus per the spec, in reality on the Pi it seems to be around 10. I2C can do 128 7bit addressed devices per bus. (Each device address is conf...
by mutley
Thu May 26, 2016 6:45 pm
Forum: General discussion
Topic: wlan won't set time
Replies: 8
Views: 2263

Re: wlan won't set time

Nave a look in the contents of the /etc/ntp.conf and look for the servers. Then check you can actually reach those servers on the wlan connection. I can only assume there is some form of network config problem, or your wireless router it blocking UDP 123 (I think that's the ntp port). The other thin...
by mutley
Fri May 20, 2016 1:51 pm
Forum: General discussion
Topic: unipi
Replies: 3
Views: 1595

Re: unipi

Absolutely it's possible, you just may have to write a lot your self as it doesn't look like there is a published API that's not websockets. Have you seen this page? There are a lot of unsupported ways to interface to the board. http://unipi.technology/wiki/Main_Page Just a quick look at the page an...
by mutley
Wed May 18, 2016 9:06 pm
Forum: General discussion
Topic: Rpi on a Windows Network
Replies: 33
Views: 17886

Re: Rpi on a Windows Network

I do not know of a good file browser that will do what you want on the PI, not without installing a lot of other junk you probably don't want. But I actually don't think it's necessary. Your windows shares will probably not change frequently if at all, if so you don't need a dynamic network browser ...
by mutley
Fri May 13, 2016 2:59 pm
Forum: Networking and servers
Topic: View all Windows event logs in real-time?
Replies: 2
Views: 931

Re: View all Windows event logs in real-time?

tail will list one file at a time and is on your system already, you can run multiple tails at the same time and pipe them all to the same stdout. multitail can be installed and will list multiple files at the same time, and may be a better option. You could also used screen or tmux, create a proces...
by mutley
Wed May 11, 2016 8:52 pm
Forum: General discussion
Topic: Get IP of the access point
Replies: 3
Views: 883

Re: Get IP of the access point

Depending on what you have installed, this can be a pain with the current Jessie distribution. Linux usually has either sysvinit jobs or upstart jobs that do this. Jessie has a mix of both depending on what else you may have installed. I don't have access to anything to check at the moment, but belo...
by mutley
Wed May 11, 2016 8:41 pm
Forum: General discussion
Topic: Static ip configuration GUI
Replies: 15
Views: 23799

Re: Static ip configuration GUI

I think what rurwin was trying to say was you don't actually need to know the IP address if you use some form of name resolution service, so the fact that it changes is not important, you only need to know what you called the actual machine name. Is this actually true? If the ip changes and you've ...
by mutley
Wed May 11, 2016 5:20 pm
Forum: General discussion
Topic: Get IP of the access point
Replies: 3
Views: 883

Re: Get IP of the access point

If your phone is the WiFi hotspot and the RPI the WiFi client, then the default gateway on the PI should be the IP of the phone. This command will give you the IP (Listed under gateway) route -n --or-- netstat -r -n This will just print the IP if the above works route -n | awk 'match($2,/[0-9]+\.[0-...
by mutley
Wed May 11, 2016 4:51 pm
Forum: General discussion
Topic: Static ip configuration GUI
Replies: 15
Views: 23799

Re: Static ip configuration GUI

I actually didnt understand a word you said. the problem with dhcp is that the ip changes when the network / client boots. thats why my dhcp scope is set to 192.168.1.150 - 200 and i have 25 network cameras that need a static ip outside that scope. There is no mac to ip binding in my router. Huawei...
by mutley
Fri Apr 29, 2016 1:48 pm
Forum: General discussion
Topic: DHCP race causing postfix failures?
Replies: 4
Views: 1342

Re: DHCP race causing postfix failures?

Debain Jessie init script load order is all messed up on the pi on a vanilla install. It comes from 1/2 being the old style script (RC) and 1/2 being the newer style, usually see some form of dependency order error in the system logs. Some script you get with apt-get that have dependency will be ord...
by mutley
Thu Apr 14, 2016 9:37 pm
Forum: General discussion
Topic: More OS Options?
Replies: 15
Views: 2521

Re: More OS Options?

mutley, Playing devils advocate, if that's the criteria then they shouldn't list any of the OS's that currently run on the PI. Would you like to elaborate on that statement? As far as I can tell Raspbian is both stable and educational. Seems you have a different idea. Let's hear it. Raspbian as an ...
by mutley
Thu Apr 14, 2016 4:59 pm
Forum: C/C++
Topic: I2C - What is what...?
Replies: 4
Views: 1454

Re: I2C - What is what...?

218 in this case is the decimal output of the 16-bit unsigned “word” returned. You need the datasheet for the device to decipher what that means. But you'll probably need to split the 16-bit into two 8-bit with big-endian though. Something like this. (Again, could be wrong need to see the data sheet...
by mutley
Thu Apr 14, 2016 4:34 pm
Forum: General discussion
Topic: More OS Options?
Replies: 15
Views: 2521

Re: More OS Options?

mathboy4life wrote: They don't put up unstable or non-educational operating systems.
Playing devils advocate, if that's the criteria then they shouldn't list any of the OS's that currently run on the PI.
by mutley
Thu Apr 14, 2016 2:04 pm
Forum: General discussion
Topic: what's the simplest OS a Pi can have to make Http call?
Replies: 11
Views: 2941

Re: what's the simplest OS a Pi can have to make Http call?

Ignoring other factors and just answering the question you asked. uIP and IwIP are the smallest OS's that I know of that will give you a TCPIP stack. TCPIP is the minimum OS requirements you'll need to make a HTTP call. But if either will run / compile for a PI is a different story. Personally, I'd ...
by mutley
Thu Apr 14, 2016 1:20 pm
Forum: General programming discussion
Topic: Crontab, Screen and Java
Replies: 8
Views: 2474

Re: Crontab, Screen and Java

As long as you are using root's crontab, you won't need the sudo command. As an FYI, using sudo in a script is not the best approach, you should use sudo to run the actual script if it needs elevated privileges. It looks like the path may be you problem. put the full path to the screen / java comman...
by mutley
Thu Apr 07, 2016 1:39 pm
Forum: General discussion
Topic: Mount 2 USB drives at boot & power saving.
Replies: 2
Views: 584

Re: Mount 2 USB drives at boot & power saving.

Above answered the mount problem. look at hdparm and smartctl to control the spindown, but most USB controllers do not support these commands / will not pass them to the native IDE / ATA / SATA disk. So even if the disk itself does support the functionality you may not be able to pass it the command.
by mutley
Wed Apr 06, 2016 8:55 pm
Forum: General discussion
Topic: WOL via Wifi?
Replies: 7
Views: 7282

Re: WOL via Wifi?

Why not just use the appropriate linux tool, etherwake, it's part of just about every linux including raspbian?

Install
sudo apt-get install etherwake

To run replace 00 with mac address
etherwake 00:00:00:00:00:00
by mutley
Mon Apr 04, 2016 4:47 pm
Forum: General discussion
Topic: ARRGGH Power cuts.
Replies: 28
Views: 8137

Re: ARRGGH Power cuts.

Use RO root on the CF card, that will solve all your corruption problems. You will probably also need a USB flash drive mounded in RW mode for your data depending on your system. But this way you should not see any OS corruption on a power problem, and if you do see any corruption it should be isola...
by mutley
Fri Apr 01, 2016 3:41 pm
Forum: General discussion
Topic: plexbmc mkv conversion help
Replies: 2
Views: 652

Re: plexbmc mkv conversion help

You will probably get better answers posting in one of the XBMC spin-off forums. If you have Handbrake on a Mac or Linux box, then install the CLI version (Command Line Interface), and use this script, it will re-encode the files as the same resolution but using a format that's better for decoding b...
by mutley
Fri Apr 01, 2016 3:08 pm
Forum: General discussion
Topic: Two Pi 2Bs, one is slower than the other
Replies: 14
Views: 2644

Re: Two Pi 2Bs, one is slower than the other

Have you tried swapping the SD cards between the PI's and seeing if the problem moves with the SD card, or stays with the hardware?
by mutley
Tue Mar 29, 2016 5:59 pm
Forum: General discussion
Topic: PSU or Wifi problems ? Check your USB cables
Replies: 4
Views: 880

Re: PSU or Wifi problems ? Check your USB cables

This was on kickstarter, seems like a great little gadget for testing USB Power Supplys & Cables
http://www.qoopow.com/

I've been using this
http://www.amazon.com/PowerJive-Voltage ... B013FANC9W

Go to advanced search