Код: Выделить всё
toshiba:/etc/hostapd# lsusb
Bus 002 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless AdapterКод: Выделить всё
toshiba:/etc/hostapd# uname -a
Linux toshiba 2.6.38-2-686 #1 SMP Sun May 8 14:49:45 UTC 2011 i686 GNU/LinuxДелаю по руководству: http://habrahabr.ru/blogs/linux/67717/
Установил hostapd из репозитария.
Настройки в hostapd.conf такие:
Код: Выделить всё
toshiba:/etc/hostapd# cat /etc/hostapd/hostapd.conf
interface=wlan1
driver=nl80211
ssid=AP1
country_code=RU
hw_mode=g
channel=1
macaddr_acl=0
#wpa=3
#wpa_key_mgmt=WPA-PSK
#wpa_passphrase=55555555
#wpa_pairwise=TKIP CCMPКод: Выделить всё
toshiba:/etc/hostapd# cat /etc/default/hostapd
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
DAEMON_CONF="/etc/hostapd/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
DAEMON_OPTS="yes"Далее расскоментировал строку в /etc/sysctl.conf:
net.ipv4.ip_forward=1
и делал все по инструкции до настройки dhcp сервера.
У меня файл dhcpd.conf находится тут /etc/dhcp/dhcpd.conf
Код: Выделить всё
ddns-update-style none;
option domain-name "MySuperNet";
option domain-name-servers IPS_OF_DNS_SERVERS;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option routers 192.168.0.1;
}Далее указываю интерфейс для раздачи айпишников:
Код: Выделить всё
toshiba:/etc/default# cat isc-dhcp-server
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="wlan1"После перезагрузки у меня точка доступа вообще не видна.
В чем может быть проблемма, куда копать?