It looks like you don't have a default gateway specified. Add the following directive to /etc/rc.conf:
Code:
defaultrouter="192.168.0.1"
(assuming the internal interface IP address for your gateway/router is 192.168.0.1; if it isn't, use the correct IP.)
Now, run:
That'll restart your network service. Finally, try the
netstat -rn command again and make sure the default gateway is there.
If all goes well, try to ping to something out on the web. Any luck?
--------------------------------
Quote:
|
Kinda off topic - did you learn all this mostly through use or reading or what?
|
Both. Lots of reading. Lots of use (trial and error).
Make some time to read through the entire
handbook (seriously). There are also a couple good books you can buy on FreeBSD. My favorite is
FreeBSD 6 Unleashed.
The first things you should try to learn well to make your life easy in the long run are:
- How to update your ports tree.
- How to install and upgrade ports (and you can choose a ports management tool).
- How to rebuild world.
All three are described in detail in the handbook.