Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55653 - support for wireless extensions in /etc/conf.d/net
Summary: support for wireless extensions in /etc/conf.d/net
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-06-30 04:07 UTC by Philippe Amarenco
Modified: 2004-10-24 21:42 UTC (History)
1 user (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 Philippe Amarenco 2004-06-30 04:07:50 UTC
there is no way (or did I miss it?) for setting up the wireless extension of a wifi card.

i patched /etc/init.d/net.eth0 so that i could add to /etc/conf.d/net
iwconfig_eth0="mode Ad-Hoc essid my_network"

the line numbers refer to that version of the script :
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.41 2004/05/10 14:16:35 agriffis Exp $

line 52
#       iwconfig_IFACE                  (for seting up wireless extensions)

line 64
        eval iwconfig_IFACE=( \"\$\{iwconfig_$iface\[@\]\}\" )

line 148
        if [[ -n ${iwconfig_IFACE} ]]; then
                einfo "  setting up wireless extensions"
                for((i = 0; i < ${#iwconfig_IFACE[@]}; i = i + 1)); do
                        ebegin "    ${iwconfig_IFACE[0]}"
                        iwconfig ${IFACE}:${1} ${iwconfig_IFACE[0]}
                        eend $?
                done
        fi
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-10-24 21:42:06 UTC
wireless config is now in baselayout-1.11.x

see /etc/conf.d/wireless.example