Hallo,
ich bin noch ziemlich neu im LINUX Umfeld. Ich habe das neue Ubuntu auf meinem Notebook installiert, nur habe ich momentan ein Problem. Ich habe ein USB-Gerät um in mein WLAN zu kommen. Nun versuche ich das ganze unter Ubuntu zum Laufen zu bringen.
Was ich bisher versucht habe (nicht alles sondern nur grob, da sind schon viele Stunden draufgegangen).
Es wurde www.linux-wlan.org Treiber mittels apt-get installiert.
Ich habe mich mit den config Dateien lt. Beschreibung gespielt:
#! /bin/sh
# Wireless LAN adapter configuration
#
# etc/wlan/wlan.conf
#
# Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
# --------------------------------------------------------------------
#
# linux-wlan
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU Public License version 2 (the "GPL"), in which
# case the provisions of the GPL are applicable instead of the
# above. If you wish to allow the use of your version of this file
# only under the terms of the GPL and not to allow others to use
# your version of this file under the MPL, indicate your decision
# by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL. If you do not delete
# the provisions above, a recipient may use your version of this
# file under either the MPL or the GPL.
#
# --------------------------------------------------------------------
#
# Inquiries regarding the linux-wlan Open Source project can be
# made directly to:
#
# AbsoluteValue Systems Inc.
# [email protected]
# http://www.linux-wlan.com
#
# --------------------------------------------------------------------
#
# Portions of the development of this software were funded by
# Intersil Corporation as part of PRISM(R) chipset product development.
#
# --------------------------------------------------------------------
# This file is sourced by all configuration scripts.
#
# The WLAN\_DEVICES variable identifies the device names of each WLAN device.
# If you have more than one, make sure each one is identified in a whitespace
# separated list that's assigned to WLAN\_DEVICES.
WLAN\_DEVICES="USR1120 802.11b Adapter"
#WLAN\_DEVICES="wlan0"
# Below is the list of channels to scan, when we scan.
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
# Below is the min and max time we linger on a channel during a scan.
ChannelMinTime=200
ChannelMaxTime=250
# And here we have the master scan toggle.
WLAN\_SCAN=n
##########
# Note: To bind to a specific network, change the SSID to something different
# and create the file /etc/wlan/wlancfg- with your network-
# specific settings. If this file is not present, the settings in
# /etc/wlancfg/wlancfg-DEFAULT are used.
#
# for example:
# SSID\_wlan0="linux-wlan"
# This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be present.
#
# Use a SSID of "" to associate with any network in range.
#########
SSID\_wlan0="OLD-NET"
ENABLE\_wlan0=y
#SSID\_wlan1=""
#ENABLE\_wlan1=n
#SSID\_wlan2=""
#ENABLE\_wlan2=n
und
#=======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)
dann bin ich folgend vorgegangen:
A) Make sure your kernel usb support is running
B) Plug in the Prism2.x USB device
C) Run ‚modprobe prism2_usb prism2_doreset=1‘ to load the driver into memory.
D) Run ‚wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable‘ to initialize the
driver+MAC functions.
E) Run ‚wlanctl-ng wlan0 lnxreq_autojoin ssid= authtype=opensystem‘
to enable the MAC in Infrastructure Station mode.
F) Run 'ifconfig wlan0 ’
Bei E steht dann alles.
Ich glaub ich habe noch nicht alles fertig konfiguriert, aber irgendwie stehe ich momentan total an. Das Gerät wird lt. Gerätemanager erkannt! Nur das Gerät ist nicht aktiv (die Lämpchen leuchten nicht).
Ich bin für jede Hilfe dankbar.