Skip to content

Commit

Permalink
Merge pull request #160 from dbalatero/download_and_run_netcat_album_…
Browse files Browse the repository at this point in the history
…kernel_module

Add script to download and run netcat album kernel module
  • Loading branch information
CptnBrittish committed Apr 9, 2015
2 parents ac2cf7c + dc57db0 commit 6d5ef83
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Empty file added :w
Empty file.
1 change: 1 addition & 0 deletions do/you/guys/like/music/README.md
@@ -0,0 +1 @@
### LINUX ONLY ALL OTHERS STAY OUT
23 changes: 23 additions & 0 deletions do/you/guys/like/music/listen_to_netcat.sh
@@ -0,0 +1,23 @@
#!/bin/bash
# Install and load the netcat kernel module for your listening pleasure.

set -e

if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi

sudo apt-get install build-essential vorbis-tools linux-headers-$(uname -r)

cd /tmp && git clone https://github.com/usrbinnc/netcat-cpi-kernel-module.git
cd /tmp/netcat-cpi-kernel-module

make
sudo insmod netcat.ko

dmesg | tail -n 10

echo "// Starting album playback..."

ogg123 - < /dev/netcat

0 comments on commit 6d5ef83

Please sign in to comment.