Код: Выделить всё
ls -aFG /dev
./ ad6p1@ ada1p1 cuau0.init io mem pf ttyu0.lock ttyv8 ugen1.1@
../ ad6p2@ ada1p2 cuau0.lock iso9660/ midistat ppi0 ttyu1 ttyv9 ugen2.1@
acpi ad6p3@ ada1p3 cuau1 kbd0@ mixer0 ptmx ttyu1.init ttyva ugen3.1@
ad5@ ada0 atkbd0 cuau1.init kbd1@ mixer1 pts/ ttyu1.lock ttyvb ugen4.1@
ad5s1@ ada0s1 audit cuau1.lock kbd2@ mixer2 random ttyv0 ttyvc uhid0
ad5s1a@ ada0s1a bpf devctl kbdmux0 nfslock sndstat ttyv1 ttyvd ukbd0
ad5s1b@ ada0s1b bpf0@ devstat klog ntfs/ stderr@ ttyv2 ttyve ums0
ad5s1d@ ada0s1d cd0 fd/ kmem null stdin@ ttyv3 ttyvf urandom@
ad5s1e@ ada0s1e console fido log@ pass0 stdout@ ttyv4 ufssuspend usb/
ad5s1f@ ada0s1f consolectl geom.ctl lpt0 pass1 sysmouse ttyv5 ugen0.1@ usbctl
ad5s3@ ada0s3 ctty gpt/ lpt0.ctl pass2 ttyu0 ttyv6 ugen0.2@ xpt0
ad6@ ada1 cuau0 gptid/ mdctl pci ttyu0.init ttyv7 ugen0.3@ zero
Код: Выделить всё
root@homesrv:/home/vks # ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 70:71:bc:f1:9e:b5
inet 192.168.1.1 netmask 0xffffff00 broadcast 255.255.255.0
inet6 fe80::7271:bcff:fef1:9eb5%re0 prefixlen 64 scopeid 0x1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2008<VLAN_MTU,WOL_MAGIC>
ether 00:80:48:28:72:54
inet 86.110.188.110 netmask 0xfffffffc broadcast 86.110.188.111
inet6 fe80::280:48ff:fe28:7254%rl0 prefixlen 64 scopeid 0x7
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82008<VLAN_MTU,WOL_MAGIC,LINKSTATE>
ether 00:24:8c:e3:98:6b
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33152
nd6 options=9<PERFORMNUD,IFDISABLED>
root@homesrv:/home/vks # Connection to 192.168.1.1 closed by remote host.
Модули сетевух в ядро подгружаются, и сама сеть работает.
Код: Выделить всё
uname -a
FreeBSD homesrv 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265156: Tue May 20 22:06:03 UTC 2014 root@homesrv:/usr/obj/usr/src/sys/kern200514 amd64
В devfs.conf и devd.conf настройки по умолчанию, в devfs.rules добавлено
Код: Выделить всё
[devfsrules_websrv=5]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
#add path ste0 unhide
#Unhide all devices
[devfsrules_jail=6]
add unhide