From: Sergey Shilov <hsvhome@mail.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] wifi, подскажите куда копать
Date: Mon, 15 Dec 2008 19:00:20 +0200
Message-ID: <200812151900.20256.hsvhome@mail.ru> (raw)
In-Reply-To: <e5c12f090812141236r5bc26a82na4f7e9a76230bc41@mail.gmail.com>
On Sunday 14 December 2008 22:36:45 Евгений Строганов wrote:
> Все ясно, до <<Устанавливаем параметр autocreate=adhoc для ath_pci
> Как установить параметр?
Примерно так:
#echo -e "\noptions ath_pci autocreate=adhoc\n">>/etc/modprobe.d/options
> И что в конечном итоге долно вылезти? как я понимаю включенная и
> доступная для поиска сеть в режиме ad-hoc, которую может найти КПК.
Да.
А вот реально получится
> Или нет?
:-(
Раз уж начал отвечать то поставил эксперимент на своих Joybook R56 (с AR5007)
и FS Pocket Loox N520.
Сам для повседневной работы давно использую точку доступа DI-524 ~$40 (4 WF
устройства)
В результате выяснилось, что:
1. iwconfig ath0 MODE не работает при MODE отличном от указанного в autocreate
(sta по умолчанию) с диагностикой
Error for wireless request "Set Mode" (8B06) :
SET failed on device ath0 ; Invalid argument.
2. wpa_supplicant при -Dmadwifi и mode=1 (собственно ad-hoc или peer-to-peer)
в wpa_supplicant.conf выдает ошибку (видимо по причине п.1)
ioctl[SIOCSIWMODE]: Invalid argument
3. Из-за 1. и 2. интерфейс не настаивается ( ifup-wireless возвращает ошибку и
дальше по цепочке)
Таким образом задача подружить ПК и КПК в режиме точка-точка с wpa_supplicant
становится (из-за ioctl[SIOCSIWMODE]) не совсем тривиальной.
Можно конечно "некошерно", но тем не менее
в /etc/net/ifaces/ath0/options: NEVER_RMMOD=yes CONFIG_WIRELESS=no
+ создать исполняемый /etc/net/ifaces/ath0/ifup-post куда вписать команды
ручного конфигурирования типа
iwconfig ath0 essid "MY-HOME-NET"
iwconfig ath0 key "s:qqqqqqqqqq"
Попробовать лучше сперва без последнего (key...).
После рестарта сети ББ должен сканироваться и подключаться с КПК.
--
С уважением
Сергей Шилов.
next prev parent reply other threads:[~2008-12-15 17:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-13 11:04 Евгений Строганов
2008-12-13 11:08 ` Michail Yakushin
2008-12-13 12:57 ` Евгений Строганов
2008-12-13 20:45 ` Евгений Строганов
2008-12-13 21:39 ` Sergey Shilov
2008-12-13 22:24 ` Евгений Строганов
2008-12-14 16:48 ` Sergey Shilov
2008-12-14 20:36 ` Евгений Строганов
2008-12-15 17:00 ` Sergey Shilov [this message]
2008-12-15 20:11 ` Евгений Строганов
2008-12-15 20:31 ` Sergey Shilov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812151900.20256.hsvhome@mail.ru \
--to=hsvhome@mail.ru \
--cc=hardware@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux hardware support
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
public-inbox-index hardware
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.hardware
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git