

Well , i have the ipw220 and running the unstable baselayout (thi package includes the init scripts and configs for wireless/network cards ) , the only thing i set is the preferred_aps=("ESS1" "ESS2") and it runs ok, hope it helps , other than that i am clueless toomenschmeier wrote: the interface eth1 will be started correctly with the call /etc/init.d/net.eth1 start. I gets its IP address and so, I do not use DHCP but static IP.
...
Later I have to call my script to set iwconfig the right way. It seems that /etc/conf.d/wireless is never called ...
This config may be bettermenschmeier wrote: So tried then to configure the /etc/conf.d/wireless:
essid_eth1="MYESSID"
mode_eth1="managed"
iwconfig_eth1="essid MYESSID"
key_wireless="636F-5B65-346D-6561-6E64-3475-33"
Code: Select all
key_MYESSID="636F-5B65-346D-6561-6E64-3475-33"
preferred_aps=( "MYESSID" )
Code: Select all
key_wireless="636F-5B65-346D-6561-6E64-3475-33"
preferred_aps=( "wireless" )
Maybe if you posted the error of it not working we could help.But this didn't work. I tried a lot but now I am clueless.
Code: Select all
asterix ~ # /etc/init.d/net.wlan0 start
* Starting wlan0
* Configuring wireless network for wlan0
* wlan0 connected to "Abie Home Lan" at 00:12:17:C8:76:26
* in managed mode (WEP enabled - restricted)
* Bringing up wlan0
* 192.168.1.91 [ !! ]
Code: Select all
asterix ~ # ifconfig wlan0 up
asterix ~ # route add default gw 192.168.1.1
Code: Select all
asterix ~ # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"Abie Home Lan" Nickname:"Abie Home Lan"
Mode:Managed Frequency:2.462 GHz Access Point: 00:12:17:C8:76:26
Bit Rate=54 Mb/s Tx-Power:24 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:35AD-FB9C-08 Security mode:restricted
Power Management:off
Link Quality:100/100 Signal level:-63 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:35 Invalid misc:22821 Missed beacon:0
Code: Select all
dhcpcd_eth0="-t 5"
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 10"
Code: Select all
key_Abie_Home_Lan="35AD-FB9C-08 enc restricted"
preferred_aps=( "Abie Home Lan" )
channel_wlan0="11"
config_Abie_Home_Lan=( "192.168.1.91 netmask 255.255.255.0 broadcast 192.168.1.255" )
routes_Abie_Home_Lan=("default gw 192.168.1.1")
Code: Select all
ifconfig_add_address() {
local iface=${1} i=0
# Extract the config
local -a config=( "$@" )
config=( ${config[@]:1} )
if [[ ${config[0]} == *:* ]]; then
# Support IPv6 - nice and simple
config[0]="inet6 add ${config[0]}"
else
# IPv4 is tricky - ifconfig requires an aliased device
# for multiple addresses
# if ifconfig ${iface} | grep -v Scope | xargs | grep -Eq "\<addr:.*" ; then
# # Get the last alias made for the interface and add 1 to it
# i=$( ifconfig | tac | grep -m 1 -o "^${iface}:[0-9]*" | awk -F: '{ print $2 }' )
# i=${i:-0}
# (( i++ ))
# iface=${iface}:${i}
# fi
# Support iproute2 style config where possible
config=( "${config[@]//brd/broadcast}" )
config=( "${config[@]//peer/pointtopoint}" )
fi
ifconfig ${iface} ${config[@]} &>${devnull}
return $?
}

Code: Select all
key_mysystem="636F-6B65-346D-6561-6E64-3475-33"
preferred_aps=( "mysystem" )Code: Select all
* sys-apps/baselayout
Latest version available: 1.9.4-r6
Latest version installed: 1.9.4-r6Code: Select all
...
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 0.56
ipw2100: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 5 (level, low) -> IRQ 5
ipw2100: 0000:02:02.0: Detected at mem: 0xD0200000-0xD0200FFF -> e096e000, irq: 5
eth1: Using hotplug firmware load.
eth1: Bound to 0000:02:02.0
ieee80211_crypt: registered algorithm 'WEP'
...Code: Select all
eth1: Associated with 'mysystem' at 11Mbps, channel 6 BSSID=00:00:00:00:00:00)The problem is that baselayout-1.11.x is masked as UNSTABLEmenschmeier wrote:I also checked my baselayout version, it must be very new, but it is far away from 1.11.9 ...
To me it seems that /etc/conf.d/wireless is never used by the system.Code: Select all
* sys-apps/baselayout Latest version available: 1.9.4-r6 Latest version installed: 1.9.4-r6
Any further ideas? Thanx!
Code: Select all
sys-apps/baselayout ~x86
