LINUX.ORG.RU
ФорумAdmin

HostAP в Ubuntu 9.10 проблема


0

0

Всем доброго времени суток! Знатоки, помогите разобраться. Настраиваю раздачу инета в локалку через wifi c использованием HostAP. За основу взята эта публикация http://help.ubuntu.ru/wiki/wifi_ap. Диагностика показывает, что вроди все завелось, но точка доступа в сети не видна. Может кто подскажет в чем ошибся?

:~$ lspci | grep -i wireless

03:06.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

:~$ dmesg | grep Atheros

[ 10.279278] ath5k phy0: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45)

:~$ sudo lsmod | grep -i ath5k

ath5k 137352 0 mac80211 210040 1 ath5k led_class 5256 1 ath5k ath 10304 1 ath5k cfg80211 109144 3 ath5k,mac80211,ath

:~$ iwconfig

lo no wireless extensions. eth0 no wireless extensions. eth1 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bg Mode:Master Frequency:2.412 GHz Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 br0 no wireless extensions. vboxnet0 no wireless extensions.

:~$ ifconfig

br0 Link encap:Ethernet HWaddr 00:1b:11:b7:dc:78 inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::21b:11ff:feb7:dc78/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:4288 (4.2 KB)

eth0 Link encap:Ethernet HWaddr 90:e6:ba:22:a7:7b inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::92e6:baff:fe22:a77b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:422 errors:0 dropped:0 overruns:0 frame:0 TX packets:486 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:209168 (209.1 KB) TX bytes:88771 (88.7 KB) Interrupt:27 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:1b:11:b7:dc:78 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:20 Base address:0xac00

lo Link encap:Локальная петля (Loopback) inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:100 errors:0 dropped:0 overruns:0 frame:0 TX packets:100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11258 (11.2 KB) TX bytes:11258 (11.2 KB)

wlan0 Link encap:Ethernet HWaddr 00:22:b0:05:bb:a0 inet6 addr: fe80::222:b0ff:fe05:bba0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:4792 (4.7 KB)

wmaster0 Link encap:UNSPEC HWaddr 00-22-B0-05-BB-A0-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

:~$ sudo cat /etc/hostapd/hostapd.conf

interface=wlan0 bridge=br0 driver=hostap hw_mode=g channel=7 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 debug=0 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=0 ssid=Ubuntu ignore_broadcast_ssid=1 auth_algs=3 eapol_key_index_workaround=0 eap_server=0 wpa=3 wpa_psk=e0addadafc577b0365bd209cfee63dfa5b600c73c97e6892acc10f4ca7f76907 wpa_psk_file=/etc/hostapd/wpa_psk wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP rsn_pairwise=CCMP


Ответ на: комментарий от anton_jugatsu

Что то у меня в системе похоже сломалось. В низу указал ругательства которые появляются при открытии консоли. Может снести 9.10 и попробывать настроить то же на 10.04 ?

~$ ip a s

ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000

link/ether 90:e6:ba:22:a7:7b brd ff:ff:ff:ff:ff:ff

inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0

inet6 fe80::92e6:baff:fe22:a77b/64 scope link

valid_lft forever preferred_lft forever

3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000

link/ether 00:1b:11:b7:dc:78 brd ff:ff:ff:ff:ff:ff 4: wmaster0: <UP,LOWER_UP> mtu 0 qdisc pfifo_fast state UNKNOWN qlen 1000

link/ieee802.11 00:22:b0:05:bb:a0 brd 00:00:00:00:00:00

6: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000

link/ether 00:22:b0:05:bb:a0 brd ff:ff:ff:ff:ff:ff

inet6 fe80::222:b0ff:fe05:bba0/64 scope link

valid_lft forever preferred_lft forever

7: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN

link/ether 00:1b:11:b7:dc:78 brd ff:ff:ff:ff:ff:ff

inet 192.168.2.1/24 brd 192.168.2.255 scope global br0

inet6 fe80::21b:11ff:feb7:dc78/64 scope link

valid_lft forever preferred_lft forever

8: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff

~$ cat /etc/network/interfaces

ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored.

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet static

address 192.168.1.2

netmask 255.255.255.0

network 192.168.1.0

broadcast 192.168.1.255

gateway 192.168.1.1

auto wlan0 br0

iface wlan0 inet manual

pre-up iw dev wlan0 del

pre-up iw phy phy0 interface add wlan0 type __ap

iface br0 inet static

address 192.168.2.1

network 192.168.2.0

netmask 255.255.255.0

broadcast 192.168.2.255

bridge_ports eth1 wlan0

ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded: ignored.

egv67 ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.