Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73607 - unable to disable essidnet AND iwconfig using baselayout-1.11.7-r2
Summary: unable to disable essidnet AND iwconfig using baselayout-1.11.7-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
: 77263 (view as bug list)
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-12-06 17:06 UTC by Jos Delbar
Modified: 2005-01-09 17:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jos Delbar 2004-12-06 17:06:48 UTC
For my WPA setup, I need to disable both the iwconfig and the essidnet helpers for my wlan net script. However, the line:

modules=( "!essidnet" "!iwconfig" )

in my conf file does not seem to work as intended. The essidnet script is disabled, but iwconfig is not. The line:

modules=( "!iwconfig" )

does succesfully disable iwconfig, but essidnet depends on it and the net script fails to execute. My current solution is to use the above line and comment out portions of the essidnet script.

Reproducible: Always
Steps to Reproduce:
1. add to /etc/conf.d/net: modules=( "!essidnet" "!iwconfig" )
2. run the net init script for the wireless connection

Actual Results:  
iwconfig is not disabled 

Expected Results:  
disable iwconfig
Comment 1 Brian Toovey 2004-12-06 22:18:00 UTC
I have the same problem
Comment 2 Roy Marples (RETIRED) gentoo-dev 2004-12-07 03:36:20 UTC
You don't need to disable essidnet for WPA - just iwconfig

essidnet simply maps network settings per ESSID or the MAC address of the AP.
Comment 3 Jos Delbar 2004-12-07 04:10:21 UTC
But the essidnet script depends on iwconfig, for example in this function:

essidnet_check_depends() {
        local f

        for f in interface_variable wireless_check_extensions wireless_get_ap_mac_address; do
                [[ $( type -t ${f} ) == function ]] && continue
                eerror "essidnet: missing required function ${f}\n"
                return 1
        done

        return 0
}

When I use the line:

        modules=( "!iwconfig" )

I get the following error message from essidnet:

        essidnet: missing required function wireless_check_extensions
Comment 4 Roy Marples (RETIRED) gentoo-dev 2004-12-07 04:38:04 UTC
For the time being, you can delete the essid module from /lib/rcscripts/net.modules.d - that will solve the problem right now.

This should be fixed in baselayout-1.11.8
Comment 5 Roy Marples (RETIRED) gentoo-dev 2004-12-16 02:38:31 UTC
baselayout-1.11.8 is out
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-09 17:03:50 UTC
*** Bug 77263 has been marked as a duplicate of this bug. ***