linux

"Microsoft halts sales of XP"

As published by watoday.com.au here: "Microsoft halts sales of XP".

With XP gone in 2009, does this have the potential make 2009 the year of the Linux Desktop - as previously coined for every year since 2001? Let's hope so :)

Tags:

QStat with automake 1.4

Intended for those using Qstat - a command line game server query application for Linux:

Tags:

Accessing Vista shares from Samba

If you're having trouble accessing Vista machines, from Samba (Linux), the following fix, works a treat:

  1. On the Vista machine, edit the registry (Ctrl-R for Run, and then trype 'regedit' and enter).
  2. Find the Key: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
  3. Create a new DWORD Value (Edit->New->DWORD Value), and call it "LocalAccountTokenFilterPolicy". Set the Base to hexadecimal and the value data to '1'.

A restart on both machines is helpful incase previous failed attempts are cached, either in Linux or Vista.

If you're having trouble accessing Vista machines, from Samba (Linux), the following fix, works a treat:

  1. On the Vista machine, edit the registry (Ctrl-R for Run, and then trype 'regedit' and enter).
  2. Find the Key: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
  3. Create a new DWORD Value (Edit->New->DWORD Value), and call it "LocalAccountTokenFilterPolicy". Set the Base to hexadecimal and the value data to '1'.

A restart on both machines is helpful incase previous failed attempts are cached, either in Linux or Vista.

Tags:

Edgy to Fiesty - truecrypt, virginblue

Had some various stability issues with a few apps in Ubuntu Edgy recently, so took the lunge and proceeded with the Fiesty update via the very easy to use 'Update Manager'.

Anyway, it all went flawlessly, except for one thing - truecrypt. Whenever I attempted to mount my encrypted disks, I was getting an error:
failed to load truecrypt kernel module

Did a few google searches, and found a few solutions regarding recompiling truecrypt, etc, none of which seemed to be a quick fix, or those that were (i.e. modprobe -f) didn't seem to work.

I was using 4.2a prior to today, and there had been two updates since then ( now 4.3a). Anyway, the easy fix was just to uninstall the old version, and then install the new version.

  1. dpkg -r truecrypt
  2. dpkg -i truecrypt_4.3a-0_i386.deb

Who would of thought!

Also, another bit of news, Virgin Blue (a cheap airline for flying domestic through Australia, and to the pacific) started an airfare sale yesterday, so I was able to grab $137 tickets (each way) to Melbourne (from Perth), for the next Linux Conference. The only downside is, they're at abnormal times of the day, i.e. 6am and 7am takeoff's.. normally this wouldn't be that bad a think, but the day we leave is the 27th's - which for non-Australians, this is the day after Australia Day (our version of Independence Day).. so no getting trashed that night..

Had some various stability issues with a few apps in Ubuntu Edgy recently, so took the lunge and proceeded with the Fiesty update via the very easy to use 'Update Manager'.

Anyway, it all went flawlessly, except for one thing - truecrypt. Whenever I attempted to mount my encrypted disks, I was getting an error:
failed to load truecrypt kernel module

Did a few google searches, and found a few solutions regarding recompiling truecrypt, etc, none of which seemed to be a quick fix, or those that were (i.e. modprobe -f) didn't seem to work.

I was using 4.2a prior to today, and there had been two updates since then ( now 4.3a). Anyway, the easy fix was just to uninstall the old version, and then install the new version.

  1. dpkg -r truecrypt
  2. dpkg -i truecrypt_4.3a-0_i386.deb

Who would of thought!

Also, another bit of news, Virgin Blue (a cheap airline for flying domestic through Australia, and to the pacific) started an airfare sale yesterday, so I was able to grab $137 tickets (each way) to Melbourne (from Perth), for the next Linux Conference. The only downside is, they're at abnormal times of the day, i.e. 6am and 7am takeoff's.. normally this wouldn't be that bad a think, but the day we leave is the 27th's - which for non-Australians, this is the day after Australia Day (our version of Independence Day).. so no getting trashed that night..

Tags:

32bit apps in 64bit OS (debian)

Have used this many times in the past, but never remember it and always searching for it, so this is more of a note to self.

Installing the 32bit libraries on a 64bit OS (i.e. Debian etch amd64):

  1. apt-get install ia32-libs

Have used this many times in the past, but never remember it and always searching for it, so this is more of a note to self.

Installing the 32bit libraries on a 64bit OS (i.e. Debian etch amd64):

  1. apt-get install ia32-libs

Tags:

axel - what an awesome little app

Usually I use ncftp to transfer files around, as it has cool recursive put & get features. But recently, I needed a command line ftp client with some form of rate limiting. This is because, over 100mbit LAN, files can come across very fast (10MB/s), which will result in a disk getting slammed, and even in DMA mode, the CPU getting sucked away.

A quick search in google for "linux ftp client limit speed" revealed a little utility called 'axel' (A light download accelerator for Linux.).

$ axel -s 500000 <a href="http://example.com/somedisk.iso">http://example.com/somedisk.iso[/geshifilter-code]
Will download the somedisk.iso file at 500KB/s.

Axel has a few other features too, like max connections, etc.

The well know 'wget' also has a rate limiting feature "--limit-rate=RATE", but I forgot about that parameter until after I wrote this post.. and besides.. typing "-s 500000" is a lot quicker then "--limit-rate=500000".. :)

I guess this post is more of a note to myself, rather then being a informative/useful contribution to the Internet blogging world.. Oh well..

Usually I use ncftp to transfer files around, as it has cool recursive put & get features. But recently, I needed a command line ftp client with some form of rate limiting. This is because, over 100mbit LAN, files can come across very fast (10MB/s), which will result in a disk getting slammed, and even in DMA mode, the CPU getting sucked away.

A quick search in google for "linux ftp client limit speed" revealed a little utility called 'axel' (A light download accelerator for Linux.).

$ axel -s 500000 <a href="http://example.com/somedisk.iso">http://example.com/somedisk.iso[/geshifilter-code]
Will download the somedisk.iso file at 500KB/s.

Axel has a few other features too, like max connections, etc.

The well know 'wget' also has a rate limiting feature "--limit-rate=RATE", but I forgot about that parameter until after I wrote this post.. and besides.. typing "-s 500000" is a lot quicker then "--limit-rate=500000".. :)

I guess this post is more of a note to myself, rather then being a informative/useful contribution to the Internet blogging world.. Oh well..

Tags:

Max files open

Came across the ulimit setting in Linux for the first time, and thought it was worth noting!

Came across the ulimit setting in Linux for the first time, and thought it was worth noting!

Tags:

Canon Printers in Ubuntu (or Debian)

Setting up my Canon IP1000 printer in Ubuntu, was actually quicker and easier then in Windows i.e. no restarting your OS!

This guy generously worked on and packaged up various sets of drivers for Canon and Epson printers for use in Ubuntu and Debian. Check it out: http://mambo.kuhp.kyoto-u.ac.jp/~takushi/

Tags:

ubuntu, fglrx and external monitors

Ran into some issues getting my external monitor to work and to have the notebook's display not to. A solution can be found on the Unofficial Wiki for the ATI Linux Driver .

sudo aticonfig --enable-monitor=none,crt1 --effective=now

The wiki is actually a very good resource for running ATI proprietry drivers in all Linux flavors, so check it out if you are having problems!

Tags:

Random Linux Stuff, and HTML_QuickForm_CAPTCHA fun

Last weekend, I had a bit of time to relax and do some fun stuff. Fun stuff, as in play with Ubuntu!

Thanks to this article: 3D Desktop (Beryl and Xgl) on Ubuntu Edgy Eft with ATI card, I was able to get the 3D desktop stuff finally going. While it is really cool to use (and show off with), there is a slight performance hit to general use of your machine, which I'd rather not have - so for the time being I'll stick to the standard GNome session. The other downside to running an XGL desktop, is that (afaik) you can't run OpenGL games.

For those wanting to disable the touchpad on your notebook, as you may use a real notebook mouse (I know I did!, hec its annoying), check out: Disable Synaptics Touchpad.

Also over the weekend, I attempted to get Warcraft 3 running via wine (WC3 in Wine). After a few tweaks in the wine registry for res, and opengl mode (not to mention switching back to a Gnome desktop session), it was running pretty well. The only (but major) problem is, I can't get seem to be able to connect to private Battle.Net servers, because the checksum on the war3 binary seems to be different when run in windows - so still under investigation.

Also, earlier today, I spent the best part of a day trying to get the documentation bug to Pear, hopefully it will save someone else some time.

Last weekend, I had a bit of time to relax and do some fun stuff. Fun stuff, as in play with Ubuntu!

Thanks to this article: 3D Desktop (Beryl and Xgl) on Ubuntu Edgy Eft with ATI card, I was able to get the 3D desktop stuff finally going. While it is really cool to use (and show off with), there is a slight performance hit to general use of your machine, which I'd rather not have - so for the time being I'll stick to the standard GNome session. The other downside to running an XGL desktop, is that (afaik) you can't run OpenGL games.

For those wanting to disable the touchpad on your notebook, as you may use a real notebook mouse (I know I did!, hec its annoying), check out: Disable Synaptics Touchpad.

Also over the weekend, I attempted to get Warcraft 3 running via wine (WC3 in Wine). After a few tweaks in the wine registry for res, and opengl mode (not to mention switching back to a Gnome desktop session), it was running pretty well. The only (but major) problem is, I can't get seem to be able to connect to private Battle.Net servers, because the checksum on the war3 binary seems to be different when run in windows - so still under investigation.

Also, earlier today, I spent the best part of a day trying to get the documentation bug to Pear, hopefully it will save someone else some time.

Tags:

Pages

Subscribe to linux