|
Реклама:
| |
Внимание! Читая пророчества на этом сайте помните что достоверность трудно проверить и все может во времени изменяться - самое главное думать своей головой и не верить легкомысленно всему что говорят, особенно советское телевидение "О дне же том, или часе, никто не знает, ни Ангелы небесные, ни Сын, но только Отец (Мк. 13, 32)"
FreeBSD: ???????????????? ???????????
| ???????? ??????? | ?????? ?? ???????? ???????????? FreeBSD www.freebsd.org.ua
??? ??????? ftp-only ????? ? chroot'?? ? ??? ???????? ????????
????????? ??? ???? '/bin/date' ??? '/usr/bin/true' ? ??????? ??? ?
'/etc/shells'
- ??????? ??? ? '/etc/ftpchroot'
????? ???????? ????????? ????? ?????? ?????
(? ???????? ????????? ??? ???????? ??????).
man sysinstall
man newfs
??? ????? rc-??????? ????????? ????????
/etc/rc.* - ??? ?????????, ?? - ?? ???????!
/usr/local/etc/rc.d/*.sh - ??? ???? ????? ???????? ????.
??? ??? ?????? /etc/hosts.allow
tcp_wrapper ??????? ? inetd
man inetd
man 5 hosts_access
man 5 hosts_options
??????????? ????? /etc/hosts.allow
?????????????? ??????? ?????. vi /etc/passwd ?? ????????
vipw
vi /etc/rc.conf
# hostname new_hostname
?????????????????
hostname="new_hostname"
man ndc
ndc reload
???????????? ????? ??? BSD-????
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html>
http://freebsd.org.ru/how-to/kernelconfig.html>
cd /usr/src/sys/i386/config/
cp GENERIC YOURKERNEL
/usr/sbin/config YOURKERNEL
cd ../../compile/YOURKERNEL
make depend && make
# ?????? ?????????, ????????, ?...
make install
???????? ethernet Intel82562 Express Pro 100 ?? 865 ???????
http://www.freebsd.org/cgi/query-pr.cgi?pr=53228
Intel D865GBFL motherboard (AA Revision C25843-401)
Integrated LAN with Intel 82562EZ PLC
2.4C GHz Pentium 4 processor (800MHz, HT)
FreeBSD 4.8-RELEASE -- GENERIC kernel
(although, would presumably happen with any kernel with the current
fxp driver)
Version info from if_fxp.c:
* $FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.110.2.28 2003/01/28 11:17:33 sanpei Ex
p $
Relevant output from 'pciconf -lv':
none4@pci1:8:0: class=0x020000 card=0x302f8086 chip=0x10508086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
class = network
subclass = ethernet
Description
The fxp driver fails to recognize the integrated Intel 82562EZ LAN on the
Intel D865GBFL motherboard. If my diagnosis is correct, this is the result
of this version of the 82562 chip reporting a new PCI "chip id", as has
happened before (see kern/39974).
How-To-Repeat
Install 4.8-RELEASE on a system with an Intel D865GBFL motherboard (the AA
Revision on the board in question was C25843-401). During and after
installation, the kernel (specifically the fxp driver) fails to detect the
on-board Intel 82562 LAN.
Fix
Add an entry to the fxp_ident_table array in sys/dev/fxp/if_fxp.c for the
new PCI chip id and re-build the kernel. Here's a patch:
--- if_fxp.c Wed Jun 11 16:36:59 2003
+++ if_fxp.c-patched Wed Jun 11 16:36:30 2003
@@ -165,6 +165,7 @@
{ 0x103C, "Intel Pro/100 Ethernet" },
{ 0x103D, "Intel Pro/100 Ethernet" },
{ 0x103E, "Intel Pro/100 Ethernet" },
+ { 0x1050, "Intel Pro/100 Ethernet" },
{ 0x1059, "Intel Pro/100 M Mobile Connection" },
{ 0, NULL },
};
IDE-?????:
/dev/ad0 (????????? ? 0)
/dev/ad1 ...
SCSI-?????:
/dev/da0 (????????? ? 0)
/dev/da1 ...
??????? ?? ????? (??? ?? - ??????)
??? ???????? ???????????? fdisk ? ?????? ???????
/dev/ad0s1 (????????? ? 1-??)
/dev/ad0s2 ...
BSD-subsections ?????? ???????
??? ???????? ???????????? disklabel ? ?????? ???????
/dev/ae0s2? (????????? ?? ? ?? h, abcd - ????????? ?????????)
/dev/ae0s2? ...
???????, ??????? ??? ??????? ?????????? ?????????????, ?????? ???
???????????? ???????????????? ???????? /stand/sysinstall
USB-??????-????? (????????????? SCSI-???????)
/dev/de0
IDE-DVD/CDROM
/dev/acd0c
???? ???????? ??????
ufs
ufs2 (??????? ? 5.1 RELEASE)
iso9660
msdos
????????????
/stand/sysinstall
?????? ????????
/etc/rc.conf
??????????
sysctl -a|grep ip
?????? ? ???????
sysctl net.inet.icmp.icmplim=400
??? ?????????? ????????? ???????? ? /etc/sysctl.conf
??????????=????????
????? ?????????? ???????? ? /usr/src/sys/i386/config/LINT
? ????? ???????? ?? ? YOURKERNEL
???????? ?????? ??????? ?????????
maxusers 512
options NMBUFS=16384
options NMBCLUSTERS=32768
|
|
|
|
|
Внимание! Читая пророчества на этом сайте помните что достоверность трудно проверить и все может во времени изменяться "О дне же том, или часе, никто не знает, ни Ангелы небесные, ни Сын, но только Отец (Мк. 13, 32)"
|
|