Mythweb broken in Ubuntu 12.10 [solved]

HTTP 500s when trying to visit mythweb after upgrade to 12.10. Cause, removal of allow-call-time-pass-reference option in PHP 5.4 adam@brimstone$ tail -f /var/log/apache2/error.log [Sun Dec 02 16:59:29 2012] [error] [client 10.5.1.63] PHP Fatal error: Call-time pass-by-reference has been removed in /usr/share/mythtv/bindings/php/MythBase.php on line 50 [Sun Dec 02 17:03:53 2012] [error] [client 10.5.1.63] PHP Fatal error:… Continue reading Mythweb broken in Ubuntu 12.10 [solved]

Brasero cannot find DVD [solved]

Needed to use my DVD burner under Linux for the first time in 5 years, it’s still painful. The latest and greatest GUI is brasero which is default in Ubuntu 12.10. Still didn’t work “out of the box” though as it can’t find my DVDR drive. brasero –brasero-media-debug BraseroMedia: (at brasero-media.c:533) Initializing Brasero-media 3.4.1 BraseroMedia:… Continue reading Brasero cannot find DVD [solved]

Command line WPA connect

There may be circumstances where you need wireless connectivity but you’ve not got network manager running – perhaps you corrupted your installation :(… wpa_passphrase networkname password > foo.conf killall -9 wpa_supplicant sudo wpa_supplicant -Dwext -i wlan0 -c foo.conf

Disabling services in ubuntu 12.04

There are still a mix of upstart and old-school services. To disable the oldschool services just chmod a-x the service. chmod a-x /etc/init.d/apache2 Upstart services are just links to upstart-job with config provided in the /etc/init directory… ls -l /etc/init.d/cups lrwxrwxrwx 1 root root 21 Apr 10 06:25 cups -> /lib/init/upstart-job To disable, just add… Continue reading Disabling services in ubuntu 12.04

Published
Categorized as geek Tagged

Ubuntu 12.04 – minor updates

Slight change in syntax to mythfilldatabase, not really ubuntu 12.04 related, but that’s when the version changed. # before ubuntu 11.10 /usr/bin/mythfilldatabase –file 1 grab.xml # after ubuntu 12.04 /usr/bin/mythfilldatabase –file –sourceid 1 –xmlfile grab.xml

Static IP addresses with Ubuntu 11.10 regression

Static IP addresses. Things have changed slightly, before (11.04 and earlier) you could have a static IP address AND the DNS entry from your DHCP. Now if you have a static interface in /etc/network/interfaces the /etc/resolve.conf file get clobbered by NetworkManager with no content (apart from comment). # Generated by NetworkManager This can be solved… Continue reading Static IP addresses with Ubuntu 11.10 regression

Ubuntu 11.10 update – assorted fixes

Waiting for network configuration hang at startup. Caused by directories not being created in setup. sudo mkdir /run sudo mkdir /run/lock sudo mv /var/run/* /run sudo mv /var/lock/* /run/lock sudo rm -rf /var/run sudo rm -rf /var/lock sudo ln -s /run /var/run sudo ln -s /run/lock /var/lock Flashing backlight on Samsung NC10 netbook… More details… Continue reading Ubuntu 11.10 update – assorted fixes

Ubuntu VPN server setup

Want to use VPN to circumvent geo-IP detection on channel 4OD, BBC iPlayer etc whilst abroad? Here’s a quick checklist. Make sure your UK home network isn’t using a standard IP subnet (192.168.0.*, 192.168.1.* or 10.0.0.*). This is important as these addresses tend to allocated for hotel/airport wireless networks and home routers and you can’t… Continue reading Ubuntu VPN server setup