hype-o-thetic?com

my notes

Archive for the ‘network’ Category

Ping Ubuntu hostname from Windows (winbind+samba)

leave a comment

Here’s a procedure I found on taesch.com to ping a Ubuntu machine by the hostname from a Windows PC:

  1. sudo vi /etc/nsswitch.conf
    hosts: files wins dns
  2. sudo aptitude install winbind
  3. sudo aptitude install samba

SOURCE: http://taesch.com/my-digital-life/cant-ping-ubuntu-hostname-from-windows-xp-setup-winbind

Fork me on GitHub

Written by gimpe

February 19th, 2010 at 8:17 pm

Posted in linux,network,tips

Tagged with , ,

Diskless HTPC using DD-WRT (PXE), Ubuntu/XBMC and FreeNAS (TFTP, NFS)

6 comments

Given that I spent time and money on my FeeNAS node, I want to maximize its usage, so when a friend told me that I can use PXE and NFS to boot a diskless computer from the network, I thought it was the perfect opportunity to try somehing new and activate some more services under FreeNAS!

Read the rest of this entry »

Written by gimpe

September 20th, 2009 at 2:46 pm

Posted in FreeNAS,htpc,hype,linux,network

Tagged with , , ,

Ubuntu: ethtool permanent 1000baseTX full-duplex

leave a comment

vi /etc/init.d/1000Mbs
#!/bin/sh

ETHTOOL="/usr/sbin/ethtool"
DEV="eth0"

case "$1" in
    start)
        echo -n "Setting eth0 speed 1000 full-duplex...";
        $ETHTOOL -s $DEV speed 1000 duplex full autoneg on;
        echo " done."
        ;;
    stop)
        ;;
esac

exit 0
update-rc.d 1000Mbs defaults

SOURCE: http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html

Written by gimpe

August 1st, 2009 at 1:15 pm

Posted in bash,linux,network

Tagged with , ,

Performance Optimization WordPress Plugins by W3 EDGE