- 论坛徽章:
- 0
|
局域网网关:192.168.0.1
昨天上网还是正常的,ports安装了cvsup之后 ,重新启动之后不能上网了.
BSDS# cat /etc/resolv.conf
nameserver 202.103.24.68
nameserver 192.168.0.1
[quote]BSDS#cat /etc/rc.conf
# Created: Sat May 3 14:17:25 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
# -- sysinstall generated deltas -- # Sun May 4 22:42:49 2008
ifconfig_de0="inet 192.168.0.250 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="BSDS"
BSDS# ifconfig -a
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:03:ff:fe:ff:ff
inet 192.168.0.250 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000 [/quote]
操作了 /etc/netstart:
BSDS# /etc/netstart
devd already running? (pid=440).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:03:ff:fe:ff:ff
inet 192.168.0.250 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX)
status: active
add net default: gateway 192.168.0.1
Additional routing options:.
FREEBSD是最小安装的 , 还是没办法上网, 怎么解决, 谢谢 ! |
|