Fastest DNS

Ran some tests and found these DNS entries for my router are faster:

  • 24.93.41.125
  • 209.18.47.62
  • However, they are managed by TimeWarner, and are not very reliable.
    So, maybe I go back to OpenDNS

  • 208.67.222.222
  • 208.67.220.220
  • or
    Google DNS

  • 8.8.8.8
  • 8.8.4.4
  • BeagleBone Black setup - lapdock

    Setup the BeagleBone Black with Motorola Atrix Lapdock
    Make a backup first; edit /boot/uboot/uEnv.txt
    Comment out optargs, then add a line:

    ## Graphics for Altrix
    optargs=quiet drm.debug=7 capemgr.disable_partno=BB-BONELT-HDMI video=HDMI-A-1:1360x768M@60

    Edit /etc/X11/xorg.conf (make a backup first)

    Section "Module"
    Load "extmod"
    Load "dbe"
    Load "glx"
    Load "freetype"
    Load "type1"
    Load "record"

    BeagleBone Black setup - wireless

    Run lsusb and make sure the dongle is registered.

    Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    Create /etc/wpa_supplicant/wpa_supplicant.conf

    ctrl_interface=/var/run/wpa_supplicant
    # WPA network
    network={
    ssid="fishred"
    psk="thepassphrase"
    priority=1
    }
    # WPA network
    network={
    ssid="fishblue"
    psk="thepassphrase"
    priority=1
    }

    Edit /etc/network/interfaces

    New webcam server

    Zoneminder was running, and it does the job fine. But the server kept crashing. So I'm installing something simpler, after replacing the OS.
    CentOS 6.5
    Get epel, rpmforge repos
    Install Apache, php
    yum install ffmpeg
    Run ffserver

    GNOME 3 Nautilus sorting order

    I can't find the preferences menu for Nautilus in GNOME 3. But gsettings works.
    To set the default sort order:

    gsettings set org.gnome.nautilus.preferences default-sort-order name

    To show the directories first, before the files:

    gsettings set org.gnome.nautilus.preferences sort-directories-first true

    It works :-)

    DD-WRT customizations

    insmod ipt_mark
    This is what I have:

    insmod xt_mark
    iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
    iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE

    This was recommended...
    In all builds newer than 17000 this script needs to be in your firewall if you have 2 WLAN's:

    iptables -t nat -I POSTROUTING -o `get_wanface` -j SNAT --to `nvram get wan_ipaddr`
    iptables -I FORWARD -i br1 -m state --state NEW -j ACCEPT
    iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

    wally wallpaper changer on Fedora 18

    How I got wally working on Fedora 18
    Install prerequisites:
    sudo yum -y install qt-devel libX11 libX11-devel cmake gcc-c++
    Get source from SourceForge
    Extract the tarball: tar -zxvf wally-2.4.4.tar.gz
    Enter the directory: cd wally-2.4.4/
    Go into the build directory: cd build
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-lX11" ..
    make
    sudo make install

    Arduino 1.0.x on Fedora 17

    After installing Arduino 1.0.1 (from the source on arduino.cc) I get these errors running the IDE:

    Experimental: JNI_OnLoad called.
    Stable Library
    =========================================
    Native lib Version = RXTX-2.1-7
    Java lib Version = RXTX-2.1-7
    check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
    please see: How can I use Lock Files with rxtx? in INSTALL