вторник, 31 мая 2011 г.

FREEBSD: rtl8187se

удалось заставить работать wi-fi(мож кому-то пригодится) через ndis
мой чипсет RTL8187SE
1. берем драйвера от windows(windows XP 32bit, тк ОС у мя тоже FreeBSD8.0 i386)
2. делаем
ndisgen net8187Se.inf rtl8187Se.sys
на выходе получаем rtl8187Se_ses.ko

правда не скажу что всё работает отлично ;(

Link1

воскресенье, 29 мая 2011 г.

exim + ldap

http://www.lissyara.su/articles/freebsd/mail/exim+ldap/

SAMBA + LDAP

ORIGINAL

Samba PDC with LDAP backend

General Information

Build a Samba PDC on FreeBSD with a ldap backend. This will not let you authenticate ssh users just a plain samba server for your windows clients.
This Howto uses FreeBSD 8.1 AMD 64 with the ports tree dating 2010-10-12
Requirements

Shell access is assumed. You should perform the following as root.
Installation

First we going to install all the required ports so make sure your ports tree is up to date.
Server info

The name of the server in this HOW TO is smb-server01
The domain name is testdomain.com
So the FQDN is smb-server01.testdomain.com

суббота, 28 мая 2011 г.

GPT

Если на диск записана GPT таблица разделов, и fdsik ругается на

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

не смотря на то что была записана новая таблица, делаем следующее:

Немного теории

Первичный раздел GPT записывается в LBA 1, а вторичный в LBA -1, поэтому даже если создается новая таблица (только в начало диска), данные в LBA -1 всё равно остаются и софт может сетовать на наличие GPT.

Лечится так:

ldap

http://www.net-admins.org/forum/showthread.php?t=634