hype-o-thetic?com Rotating Header Image

Posts under ‘network’

Ping Ubuntu hostname from Windows (winbind+samba)

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

sudo vi /etc/nsswitch.conf
hosts: files wins dns

sudo aptitude install winbind
sudo aptitude install samba

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

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

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!

Ubuntu: ethtool permanent 1000baseTX full-duplex

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."
[...]

Creative Commons Attribution-ShareAlike 2.5 Canada
This work by gimpe is licensed under a Creative Commons Attribution-ShareAlike 2.5 Canada.