[nycbug-talk] FreeBSD Newbie
michael
lists
Thu Aug 19 15:20:00 EDT 2004
On Thu, 19 Aug 2004 14:40:09 -0400
"freebsd" <freebsd at slikstik.com> wrote:
> Right now I can't get the internet access
> working and have read through lots of material and I am pretty sure
> that rc.conf is right but I can't ping anything other that localhost.
To configure the network interface card, first, see what you have..
ifconfig -a
mine returned this:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
inet 172.16.240.10 netmask 0xffffff00 broadcast 172.16.240.255
inet6 fe80::20e:cff:fe58:32a8%em0 prefixlen 64 scopeid 0x1
ether 00:0e:0c:58:32:a8
media: Ethernet autoselect (100baseTX <half-duplex>)
status: active
So, this would be in my rc.conf:
defaultrouter="172.16.240.1"
hostname="machine.domain.com"
ifconfig_em0="inet 172.16.240.10 netmask 255.255.255.0"
What does your ifconfig -a return?
Michael
--
---
More information about the talk
mailing list