Tag Archives: command line

Disable IPv6 On Ubuntu/Debian

The more formal way of doing this, which fits in with the don’t-change-a-core-system-file-otherwise-it-could-be-replaced-when-you-upgrade-packages-and-your-changes-could-be-lost methodology, and such that it continues across a reboot, is as follows: # create the long-life config file echo “net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1” | sudo tee /etc/sysctl.d/99-my-disable-ipv6.conf # ask the system to use it sudo service procps

Read More

Launch VLC as a background recorder and streamer

We have found an elegant solution starting vlc with the following command: start /min “VLCStreamer” c:\”Program Files”\VideoLAN\vlc\vlc -vvv -Ihttp dshow:// :dshow-vdev=”Sony Visual Communication Camera VGP-VCC7″ :sout=#transcode{fps=10,vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=file{dst=VlcStream.mp4},dst=http{dst=:8080/stream.flv}} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep vlc://quit To stop streaming and properly close VLC and the mp4 file we do a command: wget “http://localhost:8080/requests/status.xml?command=pl_next”

Bad Behavior has blocked 98 access attempts in the last 7 days.