LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Netgear MA111 USB Wireless Adapter (https://www.linuxquestions.org/questions/linux-wireless-networking-41/netgear-ma111-usb-wireless-adapter-280060/)

subaruwrx 01-20-2005 06:53 AM

Netgear MA111 USB Wireless Adapter
 
Hi I'm using the above USB adapter on Debian Sarge on Kernel 2.6.10.

Downloaded Linux-wlan-ng driver, compiled and installed. And also apt-get install wireless-tools.

However I could not get an IP after doing a /etc/init.d/networking restart.

My /etc/wlan/wlan.conf

Quote:

WLAN_DEVICES="wlan0"
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
ChannelMinTime=200
ChannelMaxTime=250
WLAN_SCAN=n
SSID_wlan0="pDa4sp"
ENABLE_wlan0=y
My /etc/wlan/wlancfg-pDa4sp

Quote:

#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
# of your choosing to this variable, separated by
# whitespace. The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
# the way you want them.

#USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed"

#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=false # true|false
lnxreq_hostWEPDecrypt=false # true|false
dot11PrivacyInvoked=false # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is required.

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
# add-ons/ in the tarball contains other key generators.
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=false # keylength to generate
PRIV_GENSTR=""

# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0= # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
#=======SELECT STATION MODE===================
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure

#======= INFRASTRUCTURE STATION ===================
# What kind of authentication?
AuthType="opensystem" # opensystem | sharedkey (requires WEP)

#======= ADHOC STATION ============================
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
Doing a iwconfig

Quote:

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11-DS ESSID:""
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 00:00:00:00:00:00
Bit Rate:2 Mb/s Tx-Power:2346 dBm
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/92 Signal level=-69 dBm Noise level=-90 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
As you can see, I figured the station mode to be infrastructure but it appear as ad-hoc. So I tried changing it to infrastructure mode using the iwconfig tool.

Quote:

debian:/etc/wlan# iwconfig wlan0 mode managed
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not supported.
Any idea?
:confused:

btw, I just realised that my ssid should be "pDa4SP" instead of "pDa4sp". But I suppose that doesn't cause the problem of the "Operation not supported" error?

subaruwrx 01-20-2005 11:15 PM

bump

tormented_one 01-20-2005 11:20 PM

dhcpcd wlan0
dhclient wlan0

try those


All times are GMT -5. The time now is 08:17 PM.