Category Archives: Linux

Google Drive FUSE

Found this tool which exposes your Google Drive as a FUSE mount, allowing you to copy to and from your drive as if it was a directory on your desktop. It is slow, though.

https://github.com/astrada/google-drive-ocamlfuse

Installation instructions for Debian (Wheezy):

http://xmodulo.com/mount-google-drive-linux.html

Fedora

So, after finally fixing my environment, and manually having to use 3.17 kernel, I have a running environment, but Dungeon Defenders still hangs, and Dota 2 has graphic rendering issues — meaning I miss the opponents and they can creep up behind me, along with enemy grunts.

Guess I won’t be playing anything Steam-based for a while….

Linux

Tux, the Linux penguin

Official Ubuntu circle with wordmark. Replace ...

Deutsch: Logo von Fedora

I think I have figured out why my machine has been playing up.

In both cases, my machine was trying to run kernel 3.19, but after checking Kernel.org, I found that this kernel version has been marked EOL.

I installed Fedora 21, which came with kernel 3.17 and worked, but after updating, it stopped working, with kernel 3.19. Forcing it to run on 3.17 was okay, though.

Summary:

Good: Fedora, with Linux 3.17.4-301.fc21.x86_64

Bad: Fedora, with Linux 3.19.7-200.fc21.x86_64

Latest kernel release is 4.0.4, so I need to wait for Fedora to update.

Interestingly, it could also explain why I was also having trouble with Ubuntu, as it also ran 3.19. When trying to reinstall Ubuntu from the latest install image, it hung, presumably because it was trying to use the 3.19 Kernel. In theory, I could use an older installer (e.g. Utopic Unicorn) instead.

So now, I’m running Fedora with a 3.19 main kernel (which fails) and 3.17 secondary kernel. I was going to file a bug on Kernel.org, but found out about 3.19 being EOL, which means no bug fixes will be released, so there is no point in filing the bug.

On the plus side, my machine seems SO much more zippier running Fedora. Although trying to run Dota 2 seems a bit quirky. Dust: An Elysian Tail worked pretty well, as did Second Life (I was able to crank Singularity Viewer up to Ultra without major speed loss).

I still need to reinstall BOINC and any other missing apps I might have, and get used to using yum, yumex and dnf instead of apt-get, aptitude and synaptic all over again, but apart from that, it should be all good.

Linux

Well, something weird happened with my Ubuntu Studio installation and I was getting weird scheduling errors, so I tried Debian, but ran into the known issue with libc, so switched over to Linux Mint for now, even though that’s running on an older Ubuntu base (Trusty).

Hmm… well, whilst Linux Mint runs really well, and hibernate works perfectly, it doesn’t seem to play Steam games very well — severe graphics corruption, although Second Life seems to be fine.

I’ll try Debian again, then drop back to Ubuntu again if all else fails.

Docker Update

Build script now builds correctly under Utopic. Also modified the Jenkins job to include the commit version so you can see the commit active at the time of the build.

 

Docker: Lightweight Linux Containers for Consistent Development and Deployment | Linux Journal

An informative article form Linux Journal on Docker.

Docker: Lightweight Linux Containers for Consistent Development and Deployment | Linux Journal.

Tethering and Routing

As you may recall from an earlier post, I discovered my broadband connection at home was horrendously slow compared to my 4G/LTE connection on my phone. Now, I regularly tether my laptop to my phone and enjoy download speeds in excess of 1.2Mbps, compared to 300-400kbps over my home broadband. However, if you try to turn the phone into a WiFi hotspot, then my MNO (Three) doesn’t like it and asks me to pay £5 for a 2GB allowance. However, there doesn’t appear to be a restriction on physical tethering (and I’ve downloaded more than 2GB).

So, the question is, is it possible to tether my phone to my laptop and share that connection to other machines on the network? I suspect so, but it will involve me tinkering with my internet settings, and disabling settings in my broadband router, so it behaves more like a hub than a router.

My thoughts are (and this is subject to my tinkering):

  1. Configure my broadband router to not issue IP addresses — not necessary if you have static IPs on your network.
  2. Configure my laptop (which has the phone tethered) with a DHCP server so that it does issue IP addresses. Again not necessary if you have static IP addresses everywhere.
  3. If you have static IP addresses everwhere, change the default gateway to be the IP address to be the machine with the tethered phone (laptop in my case)
  4. Configure my laptop to route out packets via the gateway — notably, to switch on IP forwarding. From brief researching, this might require kernel recompiling, or at the least, module inserting via insmod or modprobe
  5. Make adjustments to the firewall (ipchains) to allow IP masquerading/NATting, preferably utilising security lock down, so not anyone can access the net via my phone.

If I can tear myself away from my newly found Final Fantasy XIV questing, I may try messing with my settings and see if I can get this to work.