My trusty network switch died yesterday. I was unable to unlock my screen from my terminal, xscreensaver was just hanging. I know this symptom quite well. I run a Windows domain on my main server and I use LDAP authentication to sync passwords with my Linux and Windows machines. When the network craps out, anything user related also craps out – such as xscreensaver having me unlock my screen.
So the first step is to see if I can ssh into my server. No dice, can’t connect. I try pinging to no avail. This means I have to drag the monitor from upstairs and connect it to my headless server. I saw the hard drive lights flashing on the server so the first thing that went into my mind was ‘uh oh, I hope a hacker’s not in there.’ Fortunately I have my system locked down quite well. I logged into the root account and did a quite check of the system. Everything seemed normal. dmesg revealed that eth0 went down. Ok, so I performed a quick /etc/init.d/net.eth0 restart. Everything looked like it worked, so I tried to ping my other machine. Nothing. Hm weird.
So finally I opened the network cabinet and lo and behold, the switch has no LED indicators. So I tried unplugging it and and replugging it in, no such luck. It’s dead Jim.
I setup a crappy 100 Mbps 5 port switch in the meantime and did some research for new switches. Of course it needs to have at least 8 ports, be gigabit capable and support jumbo frames. Found a nice Netgear GS108 at Fry’s Electronics today. Working well so far!
Be warned however, there are two different boxes for the GS108. If you look at the date on the bottom of the box, it shows 2006 or 2007. Naturally I picked up the 2007. Let’s see how this switch handles being shoved in my mini-network-closet-embedded-in-my-wall at 86 degrees ambient T outside the cabinet. I can only imagine the heat inside.