Connecting my WiPy to my WiFi

By default the WiPy 2.0 advertises it self as a wireless access point with a default SSID, IP address, username and password. This makes sense as the factory default since unless you use the USB serial console the only way to update the scripts in the first place is to connect wirelessly, though you really ought to change the username and password otherwise it isn’t very secure.
Continue reading

Posted in Hardware, PyCom | Tagged , , | Leave a comment

Python and the Internet of things with a WiPy 2.0

While browsing the RS catalog the other evening (I lead an exciting life) I came across the WiPy 2.0. It is most certainly NOT the same sort of beast as a Raspberry Pi but it isn’t meant to be! It is even smaller and uses a lot less power but still has many of the same hardware interfaces (I2C, SPI, GPIO) as well as Bluetooth and Wireless.
Continue reading

Posted in Hardware, PyCom | Tagged , | Leave a comment

Installing updates from behind a firewall

If you are behind a web-proxy then installing packages or updating your system requires that the environment variable http_proxy is defined first – this then tells the system to use a web-proxy. The only problem is that you need to remember how to define the environment variable and if your proxy server requires authentication you also need to include your user name and password making it easy for anyone nearby to see your credentials as you enter them on the command line.
Continue reading

Posted in CentOS, Debian, Linux, Programming, Raspbian, RedHat, Ubuntu | Tagged , , | Leave a comment

Setting the screen resolution and refersh rate on Tru64 UNIX

Another rather obscure post as I have finally figured out how to set the screen resolution and more importantly the refresh rate on Tru64 UNIX 5.1B.

In common with some other modern screens my new LED monitor only supports a refresh rate of 60Hz, so I had to limit the refresh rate to 60 Hz to avoid getting the message ‘input out of range’. The key was finally finding the guide to adjusting your screen settings on Tru64 UNIX, which was very useful.
Continue reading

Posted in Tru64 UNIX, UNIX | Tagged , , | Leave a comment

Compairing version numbers

There are differences between versions of some of the relatively common utilities that occasionally make it necessary to check which version is installed in a script, but comparing version numbers in a script is quite hard – fortunately if you use Debian there is are a couple of commands that let you do this.
Continue reading

Posted in Debian, Raspbian, Ubuntu | Tagged , | Leave a comment