Archive

Archive for June, 2011

RLSLOG.net is down (temporarily – hopefully!)

As of Jun 29 14:36:45 requests to http://www.rlslog.net are returning:

Hold on!
There are too many RLSLOG readers connected to our server. Wait a minute or two and try again!
http://www.RLSLOG.net

So not down as in wiped off the net but RLSLOG.net is down for any useful purpose..

I guess we’ll have to use the RLSLOG twitter feed. Actually… doesn’t look like it’s been updated since November 2009.

Categories: News, P2P

Realtek RTL-8110SC is a pile of shit but here’s some links to drivers

Sourced from here:
http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true

Realtek Driver – for Gigabit Ethernet chip – RTL8110SC(L)

NOTE: This driver below causes kernel panic on Ubuntu 11.04 with kernel 2.6.38-8-generic and 2.6.38-8-generic-pae when installed on a Jetway mini-itx 7F4K1G5-PB rev:3.1 motherboard. It compiles fine but when loaded into kernel with modprobe cause kernel panic after a few seconds – probably during the auto negiotiation stage.

Realtek RTL-8110SC Gigabit Ethernet Rev 10
Subsystem: Jetway Device: 10ec

I could only get the driver “r8169 Gigabit Ethernet 2.3LK-NAPI” that comes with Ubuntu 11.04 to work with this chip in 10Mb Full Duplex mode. All other modes resulted in 40-60% packet loss or total failure.

I used mii-tool --force=10BaseT-FD eth0 to force 10Mb Full Duplex. The Left light is out on NIC when in 10Mb mode and the right LED flashes on activity.

LINUX driver for kernel 2.6.x and 2.4.X (support x86 and x64) – “support” is obviously a loose word here
Version: 6.014.00
Date: 2010/9/10
ftp://WebUser:K4d5wHY@152.104.238.19/cn/nic/r8169-6.014.00.tar.bz2
ftp://WebUser:K4d5wHY@208.70.202.219/cn/nic/r8169-6.014.00.tar.bz2
ftp://WebUser:K4d5wHY@209.222.7.36/cn/nic/r8169-6.013.00.tar.bz2

My next attempt is to install Windows XP on the box and run Linux in VirtualBox. Hopefully the drivers for Windows are less shit. I don’t expect that these chips support “Large Send Offload” so will be disabling that in Advanced Settings.

WinXP and WinServer 2003 Driver
Version: 5.719
Date: 2011/5/20
ftp://WebUser:K4d5wHY@209.222.7.36/cn/nic/PCI_Driver_XP_5719_05202011.zip
ftp://WebUser:K4d5wHY@208.70.202.219/cn/nic/PCI_Driver_XP_5719_05202011.zip
ftp://WebUser:K4d5wHY@152.104.238.19/cn/nic/PCI_Driver_XP_5719_05202011.zip

Win7 Driver
Version: 7.043
Date: 2011/5/20
ftp://WebUser:K4d5wHY@209.222.7.36/cn/nic/Driver_Win7_7043_05202011.zip
ftp://WebUser:K4d5wHY@208.70.202.219/cn/nic/Driver_Win7_7043_05202011.zip
ftp://WebUser:K4d5wHY@152.104.238.19/cn/nic/Driver_Win7_7043_05202011.zip

Vista and WinServer 2008 Driver
Version: 6.247
Date: 2011/3/21
ftp://WebUser:K4d5wHY@209.222.7.36/cn/nic/Driver_Vista_6247_03212011.zip
ftp://WebUser:K4d5wHY@208.70.202.219/cn/nic/Driver_Vista_6247_03212011.zip
ftp://WebUser:K4d5wHY@152.104.238.19/cn/nic/Driver_Vista_6247_03212011.zip

Auto-negotiate 1000Mbps

Found this over here in the comments so thought I’d share this tip here:

There is way to “fix” the speed on a gig-ethernet NIC while complying with the standard, based on the last paragraph of the article mentioned above by Shawn (http://standards.ieee.org/reading/ieee/interp/IEEE802.3af-2003interp-6.pdf):

# ethtool -s eth0 speed 1000 duplex full autoneg on

The NIC keeps the auto-negotiation but only advertises 1000mbps. It works fine.

Categories: Linux

Suspend a machine and shutdown VMware ESX 4.1 in a hurry

Tired of waiting for VMware vSphere Client to connect to your ESX host, perform an inventory just so you can suspend your VM and shutdown your ESX server?

If you haven’t already enabled sshd on your ESX host do so now.

Thomas Maurer has an easy to follow guide with screen shots – Activate SSHd on ESX 4.1.

If you have an older version you’ll need to switch to ALT-F1 and type unsupported then vi /etc/inetd.conf, uncomment sshd, followed by /sbin/services.sh restart (or a reboot).

For more info on how to enable sshd in older versions of ESX check out ESXi (ESX 3i) Enable SSH



ssh into your ESX 4.1 and login as root…

Using the ESX CLI or ESX Command Line Interface or ESX Console to issue the following commands:


# Get a list of all VMS currently on the ESX host
vim-cmd vmsvc/getallvms

# Suspend Virtual Machine 32 (From output of previous command)
vim-cmd vmsvc/power.suspend 32

# Flush disks
sync
sync

# Power off
poweroff


If you are doing this nightly replace 32 in the second command above with the VM id of your machine and copy and paste this all into the ssh window and walk away.

Console Hack MacOS X 10.6 – Snow Leopard

Command-S on boot to get into single user mode

# All commands in Unix are CASE Sensitive

# Run a disk check to make sure the filesystem is in a good state
fsck -fy

# mount the root filesystem read/write as it’s readonly at this point
mount -uw /

# Start Apple Directory Services – as they don’t use normal Unix password files
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist

# Reset your password to CoolPassword … or what ever your usual password is (keep it the same as your previous one so your KeyChain continues to work)
dscl . -passwd /Users/Daniel CoolPassword

# Flush disks to make sure changes are written
sync
sync
sync

# reboot
reboot

You can also try Apple’s solution to Mac OS X 10.5: Unable to log in after an upgrade install

Categories: MacOSX Tags: