Установил udevd, но вот в автозагрузку он что-то не добавляется... Может я что-то не так делаю?
[console]rc-update add udevd default[/console]
Пробовал и
[console]rc-update add /etc/init.d/udevd default[/console]
Настройка WI-FI
Установил udevd, но вот в автозагрузку он что-то не добавляется... Может я что-то не так делаю?
[console]rc-update add udevd default[/console]
Пробовал и
[console]rc-update add /etc/init.d/udevd default[/console]
Он у вас уже должен находиться в уровне /etc/runlevels/sysinit.
Проверьте
[console]gentoo-laptop ~ # /etc/init.d/udevd status
* status: started[/console]
Нет, все нормально. Я просто скопировал отсюда
-regent-, возможно, следует удалить (переместить куда-либо) файл /etc/udev/rules.d/70-persistent-net.rules.
Кстати, сервис /etc/init.d/udevd у вас добавлен в загрузку?
а здесь, видимо опечатка... Лишняя буква d... Сейчас посмотрю - помогло ли..
Так это не опечатка?..
[console]/etc/init.d/udevd status
bash: /etc/init.d/udevd: Нет такого файла или каталога
[/console]
.......
Но сама программа нормально собралась и установилась...
Показать
*
* Updating persistent-net rules file
*
* If after the udev update removable devices or CD/DVD drives
* stop working, try re-emerging HAL before filling a bug report
*
* persistent-net does assigning fixed names to network devices.
* If you have problems with the persistent-net rules,
* just delete the rules file
* rm /etc/udev/rules.d/70-persistent-net.rules
* and then reboot.
*
* This may however number your devices in a different way than they are now.
*
* If you build an initramfs including udev, then please
* make sure that the /sbin/udevadm binary gets included,
* and your scripts changed to use it,as it replaces the
* old helper apps udevinfo, udevtrigger, ...
*
* mount options for directory /dev are no longer
* set in /etc/udev/udev.conf, but in /etc/fstab
* as for other directories.
*
* If you use /dev/md/*, /dev/loop/* or /dev/rd/*,
* then please migrate over to using the device names
* /dev/md*, /dev/loop* and /dev/ram*.
* The devfs-compat rules have been removed.
* For reference see Bug #269359.
*
* Rules for /dev/hd* devices have been removed
* Please migrate to libata.
*
* For more information on udev on Gentoo, writing udev rules, and
* fixing known issues visit:
* http://www.gentoo.org/doc/en/udev-guide.xml
>>> Recording sys-fs/udev in "world" favorites file...
* Messages for package sys-fs/udev-164-r2:
*
* udev-164 does not support Linux kernel before version 2.6.25!
* For a reliable udev, use at least kernel 2.6.27
*
* Updating persistent-net rules file
*
* If after the udev update removable devices or CD/DVD drives
* stop working, try re-emerging HAL before filling a bug report
*
* persistent-net does assigning fixed names to network devices.
* If you have problems with the persistent-net rules,
* just delete the rules file
* rm /etc/udev/rules.d/70-persistent-net.rules
* and then reboot.
*
* This may however number your devices in a different way than they are now.
*
* If you build an initramfs including udev, then please
* make sure that the /sbin/udevadm binary gets included,
* and your scripts changed to use it,as it replaces the
* old helper apps udevinfo, udevtrigger, ...
*
* mount options for directory /dev are no longer
* set in /etc/udev/udev.conf, but in /etc/fstab
* as for other directories.
*
* If you use /dev/md/*, /dev/loop/* or /dev/rd/*,
* then please migrate over to using the device names
* /dev/md*, /dev/loop* and /dev/ram*.
* The devfs-compat rules have been removed.
* For reference see Bug #269359.
*
* Rules for /dev/hd* devices have been removed
* Please migrate to libata.
*
* For more information on udev on Gentoo, writing udev rules, and
* fixing known issues visit:
* http://www.gentoo.org/doc/en/udev-guide.xml
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
[/console]
Извините за дублирование некоторых постов - сеть лагает...
Автодополнением по <Tab> пользуйся, ошибок меньше будет или ls сначала. В zsh сила в этом плане.
И с сервисами так поступаю - допустим consolefont:
[console]$ cd /etc/init.d
$ rc-update -v show | grep -i consolefont # Посмотреть
consolefont | boot
$ rc-update add consolefont boot # Добавить
$ rc-update del consolefont boot # Удалить
[/console]
Но сама программа нормально собралась и установилась...
Выполните
[console]rc-update add udevd sysinit[/console]
Все тот же результат:
[console]
rc-update add udevd sysinit
* rc-update: service `udevd' does not exist
[/console]
У меня в init.d такой набор:
[console]coder13-LaptopN130 / # cd /etc/init.d
coder13-LaptopN130 init.d # ls
alsasound dmeventd mdev pydoc-3.1 syslog-ng
bluetooth fsck modules reboot.sh termencoding
bootmisc functions.sh mount-ro root udev
consolefont git-daemon mtab rsyncd udev-dev-tarball
consolekit gpm net.lo saslauthd udev-mount
consoletrans hostname netmount savecache udev-postmount
crypto-loop hwclock network shutdown.sh urandom
cupsd keymaps nscd sshd wicd
dbus killprocs numlock staticroute wpa_supplicant
devfs local pciparm swap xdm
device-mapper localmount procfs swclock xdm-setup
dhcpcd lvm pwcheck sysctl
dmesg lvm-monitoring pydoc-2.7 sysfs
[/console]
-regent-, вы правы — я сейчас на машине с Funtoo и там это udevd, подключился к Gentoo — там это udev oO
Ясно) Ну тогда все добавил в автозапуск... Сейчас проверю, помогло ли... )
Нет... 0 реакции... Как не видел сетей, так и не видит...
Залез под капот ноута, убедился. что Wi-Fi карточка подключена через miniPCI-E, а не встроена.. Может проблема как-то с этим связана?..
Может проблема как-то с этим связана?..
Возможно. Включите и опцию CONFIG_ATH9K_PCI
Покажите вывод команд
[console]lspci -k | grep Wireless -A 3[/console]
[console]egrep ATH9 /usr/src/linux/.config[/console]
[console]find /lib/modules/`uname -r` -name 'ath9*'[/console]
Пересобрал ядро, включив поддержку PCI, теперь карточка видна в системе, но сети всеравно не находятся... Повторяю все отчеты с новым ядром:
lspci -k:
Показать
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Samsung Electronics Co Ltd Device c05d
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c05d
Kernel driver in use: i801_smbus
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e025
Kernel driver in use: ath9k
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c04d
Kernel driver in use: r8169
iwconfig:
Показать
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
sit0 no wireless extensions.
ifconfig:
Показать
inet addr:192.168.0.101 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:7508 errors:0 dropped:0 overruns:0 frame:0
TX packets:6950 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2177518 (2.0 MiB) TX bytes:539085 (526.4 KiB)
Interrupt:42
lo Link encap:Local 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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1872 (1.8 KiB) TX bytes:1872 (1.8 KiB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lspci -k | grep Wireless -A 3:
Показать
Subsystem: Foxconn International, Inc. Device e025
Kernel driver in use: ath9k
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
egrep ATH9 /usr/src/linux/.config:
Показать
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
# CONFIG_ATH9K_AHB is not set
CONFIG_ATH9K_DEBUGFS=y
CONFIG_ATH9K_RATE_CONTROL=y
# CONFIG_ATH9K_HTC is not set
А вот на
[console]find /lib/modules/`uname -r` -name 'ath9*'[/console]
ноль реакции...
Нет, ошибся, в системе она так и не видна... Захожу в WPA SUPLICANT ADMINISTRATION GUI - в раскрывающемся меню Adapter не видно ни одного устройства... Что же делать, друзья?