# -- sysinstall generated deltas -- # Tue Oct 27 09:35:11 2009
# Created: Tue Oct 27 09:35:11 2009
# 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.
gateway_enable="YES"
hostname="pocket-peoples.hsd1.md.comcast.net."
ifconfig_dc0="DHCP"
inetd_enable="NO"
moused_enable="YES"
named_enable="YES"
hald_enable="YES"
dbus_enable="YES"
# -- sysinstall generated deltas -- # Thu Oct 29 15:26:43 2009
accounting_enable="YES"
gateway_enable="YES"
natd_enable="YES"
natd_interface="rl0"
dhcpd_enable="YES"
dhcpd_flags="-q"
dhcpd_conf="/usr/local/etc/dhcpd.conf"
dhcpd_ifaces="rl0"
dhcpd_withumask="022"
option domain-name-servers 192.168.1.1;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
host pocket-peoples {
hardware ethernet 00:15:f2:7a:dc:83;
server-name "pocket-peoples";
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name "pocket-peoples";
option domain-name-servers 192.168.1.1;
option time-offset -18000;
range 192.168.1.0 192.168.1.20;
}
%su
Password:
pocket-peoples# ifconfig
rl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:15:f2:7a:dc:83
media: Ethernet autoselect
status: no carrier
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:11:d8:85:04:0b
ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
lladdr 0.11.d8.0.0.85.4.b.a.2.ff.fe.0.0.0.0
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:04:5a:4f:ab:db
inet 98.192.215.118 netmask 0xfffffc00 broadcast 255.255.255.255
media: Ethernet autoselect (100baseTX <full-duplex>)
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 0x6
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
pocket-peoples# hostname
pocket-peoples.hsd1.md.comcast.net.
pocket-peoples# ifconfig rl0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
pocket-peoples# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:15:f2:7a:dc:83
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (none)
status: no carrier
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:11:d8:85:04:0b
ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
lladdr 0.11.d8.0.0.85.4.b.a.2.ff.fe.0.0.0.0
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:04:5a:4f:ab:db
inet 98.192.215.118 netmask 0xfffffc00 broadcast 255.255.255.255
media: Ethernet autoselect (100baseTX <full-duplex>)
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 0x6
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
pocket-peoples#
pocket-peoples# uname -a
FreeBSD pocket-peoples.hsd1.md.comcast.net. 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
pocket-peoples# ifconfig rl0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
pocket-peoples# ifconfig rl0 up
pocket-peoples# tcpdump -i rl0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
pocket-peoples# tcpdump -i rl0 -vv
tcpdump: listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
pocket-peoples#
status: no carrier
sossego said:How do I assign a carrier to the interface?