[Prism54-users] Access Point Mode and Client Mode: any working config?

Niccolo Rigacci niccolo@texnet.it
Wed, 29 Oct 2003 10:26:53 +0100


> I am guessing that you are using IWCONFIG to change the mode to master
> (AP). This does not work for me either. (I am using same cards).

I'm using the module islpci.o from ISL3890-0.1.0.tar.gz, not prism54.o which 
seems to me too much kernel patching...

To configure the cards I used a mix of "setoid" and "iwconfig" commands. It 
was entirely empiric to guess what is supported by iwconfig, and I'm still 
not sure if I guessed it correctly.

This is the script for the Master (AP) box, for the client box I changed only 
the MODE to 1.

#!/bin/sh
ifconfig eth2 down
rmmod islpci
sleep 1
insmod ../../wireless/intersil/islpci.o
SETOID=./setoid
DEVICE=eth2
SSID='pippo'
#  2 = Master   AP
MODE="2"
# profile for the driver:
# 3 = 802.11g only
PROFILE="3"
# INL_BANDENABLE_2400MHZ  0x00000001
# Only 2.4GHz mode.
$SETOID $DEVICE FF02000A long 1
$SETOID $DEVICE FF02000A long 1
# Set mode
$SETOID $DEVICE FF020008 long 0x01      # INL_CONFIG_MANUALRUN
$SETOID $DEVICE FF020003 long $MODE
$SETOID $DEVICE FF020003 long $MODE
# Set profile
$SETOID $DEVICE 17000019 long $PROFILE
$SETOID $DEVICE 17000019 long $PROFILE
sleep 1
iwconfig $DEVICE channel 6
iwconfig $DEVICE channel 6
# Set SSID
$SETOID $DEVICE 10000002 ssid $SSID
$SETOID $DEVICE 10000002 ssid $SSID



> A temporary work-around:
>
> Set the CARD_DEFAULT_MODE and CARD_DEFAULT_BSSTYPE values (isl_mgt.h) to
> INL_MODE_CLIENT and DOT11_BSSTYPE_IBSS.

As far I know IBSS (Independent BSS Mode) is the same as Ad-hoc, we want 
instead an infrastructure mode?

-- 
Niccolo Rigacci
http://www.texnet.it/