No Featured Image

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:

Run a capture:

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 … Read more »

No Featured Image

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” … Read more »

No Featured Image

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:

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