FreeBSD (Frenzy) LiveCD No Internet Connection. (No Route To Host.)

July 22, 2008 – 5:24 pm

Let me give you a little history.  I’m building a NAS unit for my cousin.  Like the good system builder I am I want to make sure the hardware is tip top before I send the finished product to him.  Obviously, I need to do some burn in testing.  In my search for a good burn in utility I came across Frenzy (http://frenzy.org.ua/eng/), a LiveCD based off of FreeBSD (http://www.freebsd.org/).  Frenzy is described as a “portable system administrator toolkit” and has many utilities.  I’m not really a regular BSD person myself but I have to say I am pleased with Frenzy.  It was exactly what I was looking for.

Anyway, back to the point, I popped the LiveCD in and booted up the system.  Everything starts up fine.  I start Stress Test, and while it’s running I think: Hey I should check to see if I can access the web, that would be helpful.  I launch Opera and oh no page not found and all that.  I do some quick pinging and figure out there doesn’t seem to be a default route to my gateway/router.  I could ping the router and other computers connected to the router but couldn’t get out past the router.

To fix the situation I executed something similiar to this (as root of course):

# route add default 192.168.0.1

I’m thinking if this wasn’t a LiveCD then it would probably help to add a defaultrouter entry to /etc/rc.conf, like such:

defaultrouter="192.168.0.1"

Well that is that.  As always feel free to point out any screwups or erroneous dribble I may have inadvertently spilled forth.

Post a Comment