Categories
Hardware Misc Networking Software www

MRTG

As I often have people asking for the files I use to make my pretty MRTG graphs; I’ll publish them here.

Here are some examples:

ZeroOneFourvm1Sauron

The config files:

Sauron (including Squid stats),

Zero (including fan stats).

List of files included:

  • indexmaker; simple script (included with MRTG) to generate a simple index file with all the graphs
  • snmp-if.sh; will show you the IDs of the interfaces on the server/pc. These IDs have to be edited in the mrtg.cfg file; e.g.:

Target[eth0]: 2:[email protected]:

Make sure 2 is indeed the ID of eth0. Be aware that virtual interfaces, like the TUN/TAP interfaces (using by openVPN for example), can change ID each time they are restarted/rebooted.

  • mrtg.cfg; check the config file as an example.
  • mrtg-<xyz>.sh; bunch of files to generate some data. Not all of  those still work, but I haven’t deleted them yet in case. See the config to check those I’m using.
  • mrtg._1 and mrtg.ok can be deleted/ignores. Those files are generated by MRTG and I was to lazy to remove them. 🙁

  • Some day, I’ll write a decent howto, but for now, you’ll have to do with this.

    If there’s any question, just leave a comment.

    Categories
    Errors Hardware Software Windows

    HP ProtectTools and Windows 7

    If you’re having troubles using HP ProtectTools and Windows 7, you’ll probably using an outdated version of ProtectTools. Eventhough HP tells you this is the latest version for your notebook.

    A simple fix, is to download the latest version, which is model independent.

    Be sure to completely uninstall the previous version, reboot, and reinstall the latest version. I can now successfully login using the biometric fingerprint device.

    Categories
    Errors Hardware Networking Software

    Vodafone Mobile Connect – Incorrect Pin code

    As I usually use my SIM card in my iPhone, I booted my PC, plugged in the Vodafone USB Mobile Connect modem (HAUWEI 220 or something). I then inserted, with the USB device plugged in, my SIM card, and booted up the Mac (and later on Windows) Vodafone application, to connect my PC to the Proximus 3G network.

    This resulted in a constant error; “The pin code was not accepted by the mobile device“.

    I of course removed the SIM card each time, and inserted it back in my iPhone, and unlocked it by inserting my code. I didn’t want to lock my SIM card, and made sure I had at least 2 good tries left each time.

    As you can let the application remember the pin code, I was 100% sure it were wrong settings. The worst part, was that the application quits after prompting  that message. I reinstalled, searching in the config files, removed all *vodafone* files, tried in Windows, changed my pin code a couple of times (the default 0000 one too), updated the HAUWEI firmware, updated the Mobile Connect client software, rebooted, and when I was about to give up, it hit me like a truck. I’m from the bloody “hotswap generation”. And Vodafone sucks. Seriously. Wasted 2 hours on that. Such a waste of time, such a simple solution.

    When inserting the SIM card into the device. UNPLUG THE USB MODEM. INSERT SIM. THEN, NOT BEFORE, INSERT IT IN THE DAMN PC. Start the application. Enjoy. No more dodgy error messages, the application works, and you can connect to the bloody internet.

    GG Vodafone. GG hotswap.

    Categories
    Hardware Misc

    Skimming

    Good to know.

    Categories
    Hardware Networking

    Philips Network Hard Disk

    I’ve got myself a cheap 500GB network hard disk.

    Been testing it, and seems to be working fine! It’s rather fast (it has a SATA2 disk in it) and it was really easy to set up.

    Philips Network Disk

    But I’m missing a few things;

    • Impossible to format/check the disk for errors from the web interface
    • Impossible to create partitions from the web interface
    • Impossible to give anonymous FTP access (or use different username:password for FTP, as I don’t need any passwords on my disk)
    • Only FAT32 (read/write) support, and only NTFS (read) support
    • Deleting files seems very slow, but perhaps it’s my Mac/WiFi that’s giving troubles?

    I’m emptying my other (old) external disk (160GB), and will add that one to the network disk (you can extend the network disk by adding other USB disks).

    Guess it’s wait-and-see.

    Hope the disk won’t crash after 6 months…