Archive for Operating Systems

Install and run Wireshark on the command line (CentOS 5.2)

Using CentOS 5.2 or Red Hat Enterprise Linux 5, install and run Wireshark (formerly Ethereal) over the command line.

Install Wireshark:

yum install wireshark

Run a capture:

tethereal -i eth1 -w ~/mycapture.pcap

This command will run Wireshark/Ethereal, capture on the eth1 interface and output the data to /yourhomedir/mycapture.pcap

Why would you want to do this? If you want to capture packets from a headless or remote Linux PC and analyse the data elsewhere.

Right now I’m at home, but I have a headless CentOS box at work that’s running ntop from a mirrored port, in order to look at network traffic flowing over the router. To increase the capability of the CentOS box, I want to use it to capture packets using Wireshark, then download the .pcap file over WinSCP and look at the data on my laptop using Wireshark for Windows.

Comments (4)

A TV that can play from USB Mass Storage devices

The more I play video content from a USB stick on the Xbox 360, the more I want a TV that can play content directly from a USB Mass Storage Device.

Surely it can’t be that hard? I’m thinking possibly something like a tiny Linux distribution embedded into the TV, something akin to the “Instant Play” feature on many laptops.

Comments

$100 laptop is to get a revamp

Seems the OLPC project is going to be revamping their XO laptop. Looks pretty good, and cheaper too!

Comments

Windows XP SP3 available from Microsoft Technet

If you have a Technet subscription, you can get early access to Windows XP Service Pack 3 from the Technet Subscriptions page. Scroll down the page and look for the grey “Top Downloads” section.

I’ve been running it for a few days now and haven’t had any problems :)

If you don’t have a Microsoft Technet subscription – which I highly recommend – you can probably find a direct download link around somewhere.

Comments (3)

Control user access to SSH

Got a shiny new Linux box on your network but don’t want all your users connecting to it via SSH? Control access by editing the SSH configuration file and using the AllowUsers directive like so:

AllowUsers joeuser

To add multiple entries, either separate users with a space, or write an entirely new line:

AllowUsers joeuser philwiffen
AllowUsers joeuser
AllowUsers philwiffen

Comments