From: "Ivan A. Melnikov" <iv@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] un-def 3.6, etcnet, /sys/class/net/$iface/wireless: сломался wlan0
Date: Wed, 3 Oct 2012 16:45:40 +0400
Message-ID: <20121003164540.5684b507@deimos.localdomain> (raw)
Здравствуйте.
На свежем 3.6.0-un-def-alt1 получил проблему. Оказалось, что в
/etc/net/scripts/functions-eth функция is_wireless ориентируется на
наличие каталога /sys/class/net/$iface/wireless, которого в свежем ядре
нет.
Это косяк ядра, или теперь всегда так будет? Если это надолго, надо
что-то вешать на etcnet. И чем теперь заменить получение статуса связи
из /sys/class/net/$iface/wireless/link?
== Сиптомы проблемы ==
Система: боевой ноутбук, свежий Сизиф, SysVInit, никакого
NetworkManager, wifi настроен через etcnet. При загрузке запуск сервиса
network продолжается больше минуты. Затем загрузка продолжается
нормально, но сети по wifi нет. Если запустить в консоли service network
restart, то, в частности, выводится следующее:
Starting wlan0: ...dhcpcd[6677]: version 5.5.6 starting
dhcpcd[6677]: wlan0: using hwaddr 00:1f:3c:68:e2:d8
dhcpcd[6677]: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[6677]: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER
dhcpcd[6677]: wlan0: waiting for carrier
Затем минуту где-то ждём, потом:
dhcpcd[6677]: timed out
!.OK
В /var/log/messages аналогично.
Если во время ожидания запустить рядом
# wpa_supplicant -iwlan0 -c /etc/net/ifaces/wlan0/wpa_supplicant.conf
то dhcpcd получает carrier, нормально получает ip, и сеть есть.
--
WBR,
Ivan A. Melnikov
next reply other threads:[~2012-10-03 12:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-03 12:45 Ivan A. Melnikov [this message]
2012-10-03 13:01 ` Sergey Bolshakov
2012-10-03 13:18 ` Aleksey Novodvorsky
2012-10-04 3:56 ` Ivan A. Melnikov
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=20121003164540.5684b507@deimos.localdomain \
--to=iv@altlinux.org \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git