Categories
Computing Linux Moodle

Moodle LDAP setup for LDAP Auto Enrolment

Moodle- Administration- Plugins- Local plugins- LDAP synching scripts Moodle- Administration- Plugins- Authentication- LDAP server Moodle- Administration- Plugins- Enrolments- LDAP enrolments

Categories
Computing HowTo Linux Ubuntu Work

Network problems after a Ubuntu 10.04 Lucid Lynx install and what fixed them for me

After installing from a live CD where there was no problem with the network, I was supprised to boot a fresh install of Ubuntu 10.04 lucid lynx, with no network access. Fair enough, I thought probably just a one off, my PC. However after my work mate also had trouble with the network after a fresh install where the network was working on the live cd before hand I decided that something must be afoot.

Anyways this is how I fixed my network problem, hopefully it’ll help someone else!

  1. Edit /etc/network/interfaces and remove all traces of eth0 (remove both lines)
  2. My Network Manager had failed to start at all so to manage the network connections open up System > Preferences > Network Connections
  3. Add a new wired connection. I copied the mac address of my adapter in, although I’m not sure this actually matters. Click Apply and Save your new connection.
  4. Reboot

All being well you should have network-manager running, with a live network connection.

Categories
Computing Programming Projects Webpage Content Analyser Work

Webpage Content Analyser v0.1.1

I’ve just updated the webpage content analyser as the version I originally uploaded was a devlopment version and didn’t actually work!

Anyway the new version still needs tweaking but it gives you an idea of the kind of thing it can produce. Syntax of invocation is still the same as is the download link, both of which can be found on the web content analyser page on the right hand menu.

Categories
Computing Programming Webpage Content Analyser Work

Webpage Content Analyser

At work we use Dansguardian to provide content based filtering for our users. We found in a few instances Dansguardian’s default phraselists was blocking content that we wanted our users to have access to, so we needed to modify them.

We had a problem though, we didn’t know what words over a set of pages were common so that we could use to modify our current phraselists. So I wrote a tool, WPA, that would take a webpage strip all the formating and give a list of most common phrases and words.

To use WPA do the following:

java -jar WPA.jar site1 site2 site3 …

You can also use it to see what words you should be banning if you have a set of bad pages you don’t want your users to be viewing. Using your blocked domains list is good for this to prevent access to similar content:

cat /etc/dansguardian/lists/global-block/domains | java -jar WPA.jar

All you need to do then is decide what phrases to add to your weighted phrase lists!

Of course the beauty of this program is that it’s cross platform thanks to Java, so you’ll be able to run this on Linux, Windows or Mac. If you want the source code for this then it’s all bundled up in the jar.

To get hold of the jar Click Here.

Categories
CAP Work

CAP

I’m in the throws of writing a little two part application for work that allows users to see what computers are avaiable for work and allows us, the administrators to see who is and more importantly who was logged on when and where.

The technical details of proposed implementation can be found here.

The client will be written in Java and the server (display) in php.