| Summary: | iwconfig tool is not found when starting wireless wlan0 interface | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nick <gentuu> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
# /etc/init.d/net.wlan0 restart first - /lib/rcscripts/net.modules.d/iwconfig script adviced me to install wireless-tools (but I had one), and when I changed (see below..) it - I had this: * Starting wlan0 * Loading networking modules for wlan0 * modules: iwconfig essidnet iptunnel ifconfig dhclient apipa * iwconfig provides wireless * ifconfig provides interface * dhclient provides dhcp /lib/rcscripts/net.modules.d/iwconfig: line 12: /usr/sbin/iwconfig: No such file or directory /lib/rcscripts/net.modules.d/iwconfig: line 12: /usr/sbin/iwconfig: No such file or directory * Wireless extensions not found for wlan0 /lib/rcscripts/net.modules.d/iwconfig: line 12: /usr/sbin/iwconfig: No such file or directory * Bringing up wlan0 * 10.0.0.1/24 [ ok ] These versions I have installed baselayout-1.11.12-r4 wireless-tools-28_pre9 all the problem is in: /lib/rcscripts/net.modules.d/iwconfig file - IT HAS HARDCODED PATH TO iwconfig utility! (/usr/sbin/iwconfig), but I have /sbin/iwconfig - so that iwconfig module should be fixed somehow to correctly detect iwconfig place. Reproducible: Always Steps to Reproduce: