Archive

Lost LILO

Recovery

You’re tired. Its been a long day and you turn off your computer, only to realise that when you turn it on next, LILO has decided for whatever reason that it won’t load your system. Eek. What to do? Well, here is a generic fix for that (You’ll need some kind of recovery CD or floppy such as Knoppix or tomsrtbt).

  • Boot off rescue CD.
  • Some rescue CDs won’t mount your hard drive, in which case you’ll need to mount it yourself. The partition is “/”, something like:
  • mount -o rw /dev/hda2 /mnt

    (Where [continued…]

    Scp Without Login

    Sometimes when setting up a machine to run services for not-very-well-trusted users (e.g. a web server), it may be advantageous to allow the users to copy files to the machine, but not to have any kind of shell access. Obviously, you can do this with FTP, but that’s old-hat and insecure. It would be better to have everyone scp the files over instead. Except… scp uses ssh, and so giving scp access also gives remote shell access to the users. Not what you really want in this situation.

    It is possible, however, to set up a system where [continued…]

    Installing Wifi Radar

    This page documents installing Wifi-Radar on Debian (Etch) and Ubuntu (Hoary).Wifi-Radar is a simple utility for managing wireless networks. It’s very useful if you connect to more than one wireless network, each of which has different settings.

    Although the .deb package used in this document is designed for Ubuntu, it has been shown to work on Debian Etch too.

  • Ensure you have the following packages installed: python, python-gtk2, wireless-tools. You probably have all of those packages installed already. They are installed as standard on Ubuntu and are likely to be installed on a Debian [continued…]

  • Voice Recognition

    This piece was originally put together for the BCS OSSG (British Computer Society, Open Source Specialist Group) website on the 15th March 2005. Some of the info may be a bit old by now (21st July 2006), but I decided it would be handy to post it on the HantsLUG Wiki too.

    A good number of people who were at the OOSG meeting yesterday (14th March 2005 for those reading this sometime after posting) will no doubt have discussed this in the break. It got me thinking a bit since the IBM ViaVoice has been [continued…]

    Regular Expression

    What is a regular expression?

    A regular expression (or regex or regexp) is used when searching for things. A regex tells the computer what to look for – it’s a pattern to match against.

    Why do I care about those then?

    Regular expressions are used all over the place in UNIX and Linux systems – usually but not always in command-line tools like grep and sed. There are regular expression search-and-replace engines available in most programming languages, including Perl, PHP, C and Java. Regex search and replace functions are available in emacs, sed and vi, amongst others. [continued…]

    Nvidia On Ubuntu

    Nvidia driver on Ubuntu

    At least a couple of people (me included) have had a struggle getting the Nvidia drivers working on the newest version of Ubuntu. Following are some links that may be of help to others struggling with the same problem.

    3rd June2006

    When: 10:30 – 16:30, Saturday 3rd June 2006

    Where: SeminarRoom1

    Gallery: http://www.hants.lug.org.uk/gallery/HantsLUG_06_2006

    [[TechTalks]]

    • Introduction to the Semantic Web – HugoMills

    • Introduction to Perl: The friendly programming language – AdamTrickett

    • Wireless Networking on Linux – TonyWhitmore

    You’ll find slides, video and other media from the talks on the TechTalks/3rdJune2006 page.

    Who was there

    Locking down /tmp to protect against automated and “script kiddie” exploits

    Introduction

    The most common way systems are compromised are through web applications. An excellent example of this is phpBB. Users install phpBB on your shared web server. It works, so they leave it. 6 months later, 3 exploits that allow code execution are found in phpBB but the user on your shared web server isn’t concerned with security. You get an email from the feds telling you your server has been taking part in a DDoS.

    If you’ve ever seen such an exploit, they usual create a botnet and search for other vulnerable applications on other servers and compromise [continued…]

    18th May2006

    When: 19:30 – 21:30, Thursday 18th May 2006

    Where: JamiesComputerClub

    Who was there

    What happened

    Ndiswrapper And Debian

    Ndiswrapper and Debian

    Introduction

    These notes describe setting up a Linksys Wireless network card on a Debian machine. Because it uses the ndiswrapper interface, the process should be generally applicable to many other cards too.

    Ndiswrapper is a module that uses Windows XP wireless card drivers and wraps them with a Linux-friendly interface. Clever. And it pretty much works too, although features such as link quality reporting are missing: not ndiswrapper’s fault apparently. Of course, the XP drivers are probably not Open Source or free or anything nice like that.

    Physical Installation

    Like any PCI [continued…]