I've been working on this for days trying to make a brand new PC run on Windows as well as Suse-Linux 12.1. Getting the WLAN stick to act right in Linux has been impossible.
I've got ndiswrapper and the fwlan.inf file from the AVM Fritz CD. I did this :
>ndiswrapper -i fwlan.inf
>modprobe ndiswrapper
> now started the Yast GUI Tool and filled out the blanks as best possible
this gives me this kind of
/etc/sysconfig/network/ifcfg-wlan0
Code:
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_AP=''
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE='TTLS'
WIRELESS_ESSID='MyHomeNet'
WIRELESS_FREQUENCY=''
WIRELESS_KEY='0123456789012'
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='no'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK=''
is anything important missing? Where do I put the long 10 or 20
digit number to secure my home network?
I ran a shell script called collectNWData.sh and it spilled out this :
Code:
xnet.sh V0.6.5.4.12 (Rev: 1.312C, Build: 2012-02-21 19:37:04 UTC)
--- Which type of your network connection should be tested?
--- (2) Wireless connection (WLAN)
--- What's the type of networktopology?
--- (2) WLAN HW router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
--- WLAN SSID to connect to: §§§§§§§§1
--- NWEliza is analyzing the system for common network configuration errors ...
!!! CND0550W: Unable to detect USB network card for the selected connection type
!!! CND0280E: Incompatible windows driver architecture of fwlan and Linux architecture (32 bit and 64 bit architecture
mixed)
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with networkmanager is much easier
--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions
--- about the error/warning messages and how to fix the problems on your own.
--- If you are unsuccessful then place the contents of file xnet.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links)
--- and then paste the nopaste link on your favorite Linux forum.
==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
/etc/os-release
openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus
NAME=openSUSE
VERSION = 12.1 (Asparagus)
VERSION_ID="12.1"
PRETTY_NAME="openSUSE 12.1 (Asparagus) (x86_64)"
ID=opensuse
===== uname -a ===================================================================================================
Linux linux-vtt2 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
===== lspci ======================================================================================================
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
[10ec:8168] (rev 06)
Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard [1458:e000]
Kernel driver in use: r8169
===== lsusb | grep -v "root hub" =================================================================================
Bus 001 Device 002: ID 050d:0307 Belkin Components
Bus 002 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 003 Device 002: ID 046d:089d Logitech, Inc. QuickCam E2500 series
Bus 001 Device 004: ID 067b:2571 Prolific Technology, Inc.
Bus 001 Device 005: ID 04fc:0c25 Sunplus Technology Co., Ltd SATALink SPIF225A
Bus 001 Device 006: ID 057c:6201 AVM GmbH AVM Fritz!WLAN v1.1 [Texas Instruments TNETW1450]
Bus 001 Device 007: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
Bus 001 Device 008: ID 046d:c31b Logitech, Inc. Compact Keyboard K300
===== hwinfo (filtered) ==========================================================================================
31: PCI 200.0: 0200 Ethernet controller
Model: "Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller"
Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller"
SubVendor: pci 0x1458 "Giga-byte Technology"
SubDevice: pci 0xe000 "GA-EP45-DS5 Motherboard"
Driver: "r8169"
Driver Modules: "r8169"
Device File: eth0
Link detected: no
Driver Status: r8169 is active
Driver Activation Cmd: "modprobe r8169"
===== lsmod (filtered) ===========================================================================================
| af_packet | drm | drm_kms_helper | edac_core | edac_mce_amd |
| fam15h_power | gspca_main | gspca_zc3xx | i2c_algo_bit | i2c_piix4 |
| k10temp | microcode | mperf | ndiswrapper | pci_hotplug |
| powernow_k8 | r8169 | radeon | serio_raw | sg |
| shpchp | sp5100_tco | sr_mod | ttm | v4l2_compat_ioctl32 |
| wmi |
===== ls /lib/firmware/* =========================================================================================
| 3.1.0-1.2-desktop | 3com | GPL-3 | LICENCE.Marvell |
| LICENCE.OLPC | LICENCE.agere | LICENCE.atheros_firmware| LICENCE.broadcom_bcm43xx |
| LICENCE.chelsio_firmware| LICENCE.ene_firmware | LICENCE.i2400m | LICENCE.iwlwifi_firmware |
| LICENCE.mwl8335 | LICENCE.myri10ge_firmware| LICENCE.phanfw | LICENCE.qla2xxx |
| LICENCE.ralink-firmware.txt| LICENCE.rtlwifi_firmware.txt| LICENCE.tda7706-firmware.txt| LICENCE.ti-connectivity |
| LICENCE.ueagle-atm4-firmware| LICENCE.via_vt6656 | LICENCE.xc5000 | LICENSE.dib0700 |
| LICENSE.radeon_rlc | RTL8192E | TDA7706_OM_v2.5.1_boot.txt| TDA7706_OM_v3.0.2_boot.txt |
| acenic | adaptec | advansys | agere_ap_fw.bin |
| agere_sta_fw.bin | amd-ucode | ar3k | ar7010.fw |
| ar7010_1_1.fw | ar9170-1.fw | ar9170-2.fw | ar9271.fw |
| ath3k-1.fw | ath6k | av7110 | bnx2 |
| bnx2x | bnx2x-e1-4.8.53.0.fw | bnx2x-e1-5.2.13.0.fw | bnx2x-e1-5.2.7.0.fw |
| bnx2x-e1h-4.8.53.0.fw | bnx2x-e1h-5.2.13.0.fw | bnx2x-e1h-5.2.7.0.fw | brcm |
| cis | cpia2 | cxgb3 | cxgb4 |
| dabusb | dsp56k | dvb-fe-xc5000-1.6.114.fw| dvb-usb-dib0700-1.20.fw |
| dvb-usb-terratec-h5-drxk.fw| e100 | edgeport | emi26 |
| emi62 | ene-ub6250 | ess | f2255usb.bin |
| htc_7010.fw | htc_9271.fw | i2400m-fw-usb-1.4.sbcf | i2400m-fw-usb-1.5.sbcf |
| i6050-fw-usb-1.5.sbcf | intelliport2.bin | iwlwifi-100-5.ucode | iwlwifi-1000-3.ucode |
| iwlwifi-1000-5.ucode | iwlwifi-3945-2.ucode | iwlwifi-4965-1.ucode | iwlwifi-4965-2.ucode |
| iwlwifi-5000-1.ucode | iwlwifi-5000-2.ucode | iwlwifi-5000-5.ucode | iwlwifi-5150-2.ucode |
| iwlwifi-6000-4.ucode | iwlwifi-6000g2a-5.ucode | iwlwifi-6000g2b-5.ucode | iwlwifi-6050-4.ucode |
| iwlwifi-6050-5.ucode | kaweth | keyspan | keyspan_pda |
| korg | lgs8g75.fw | libertas | matrox |
| microcode.dat | mrvl | mts_mt9234mu.fw | mts_mt9234zba.fw |
| mwl8335_duplex.fw | mwl8k | myri10ge_eth_z8e.dat | myri10ge_ethp_z8e.dat |
| myri10ge_rss_eth_z8e.dat| myri10ge_rss_ethp_z8e.dat| myricom | ositech |
| phanfw.bin | ql2100_fw.bin | ql2200_fw.bin | ql2300_fw.bin |
| ql2322_fw.bin | ql2400_fw.bin | ql2500_fw.bin | qlogic |
| r128 | radeon | rt2561.bin | rt2561s.bin |
| rt2661.bin | rt2860.bin | rt2870.bin | rt3070.bin |
| rt3071.bin | rt3090.bin | rt73.bin | rtl_nic |
| rtlwifi | s2250.fw | s2250_loader.fw | sb16 |
| slicoss | sun | sxg | tehuti |
| ti-connectivity | tigon | tlg2300_firmware.bin | tr_smctr.bin |
| ttusb-budget | ueagle-atm | usbdux | usbdux_firmware.bin |
| usbduxfast_firmware.bin | v4l-cx231xx-avcore-01.fw| v4l-cx23418-apu.fw | v4l-cx23418-cpu.fw |
| v4l-cx23418-dig.fw | v4l-cx23885-avcore-01.fw| v4l-cx23885-enc.fw | v4l-cx25840.fw |
| vicam | vntwusb.fw | vxge | yam |
| yamaha |
===== ifconfig (filtered for eth|wlan|ra|ath|dsl) ================================================================
eth0 Link encap:Ethernet HWaddr ##:##:##:##:##:#1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:41 Base address:0xe000
===== iwconfig ===================================================================================================
lo no wireless extensions.
eth0 no wireless extensions.
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "=''" ==================================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='dhcp'
NAME='RTL8111/8168B PCI Express Gigabit Ethernet controller'
STARTMODE='auto'
USERCONTROL='no'
--- /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='dhcp'
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='54'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_MODE='TTLS'
WIRELESS_ESSID='§§§§§§§§1'
WIRELESS_KEY_LENGTH='@@@@@@'
WIRELESS_MODE='Managed'
WIRELESS_POWER='no'
WIRELESS_WPA_IDENTITY='@@@@@@'
--- /etc/sysconfig/network/ifcfg-wlan0~
BOOTPROTO='dhcp'
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_KEY='@@@@@@'
WIRELESS_KEY_LENGTH='@@@@@@'
WIRELESS_MODE='Managed'
WIRELESS_POWER='no'
===== iwlist scanning ============================================================================================
No WLANs found
===== ndiswrapper -l =============================================================================================
fwlan : driver installed
device (057C:6201) present
===== Active processes ===========================================================================================
wpa_supplicant:NO networkmanager:NO nm-applet:NO
===== ===== egrep -i "persistent|networkmanager" /etc/sysconfig/network/config | grep -v "^#|^$" =================
NETWORKMANAGER="no"
===== dhcpcd-test ================================================================================================
===== ping tests =================================================================================================
connect: Network is unreachable
Ping of 195.135.220.3 failed
ping: unknown host www.suse.de
Ping of www.suse.de failed
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
===== cat /etc/hosts =============================================================================================
127.0.0.1 localhost
===== route -n | egrep "(eth|ath|ra|wlan|dsl)" ===================================================================
===== Actual date for bias of following greps ====================================================================
15:51:16 2012-02-24
===== grep -i radio /var/log/messages* | tail -n 5 ===============================================================
===== dmesg | grep -i radio | tail -n 5 ==========================================================================
===== tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 10 ====================================
===== egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ==============
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
===== egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|egrep -v -i '#|blacklist' ===============
==================================================================================================================
*** NWElizaStates V0.6.5.4.12
IF:eth0 IM:1 DI:1 AP:0 FALON:2 NI:1 cNI:1 NDIS:1 CM:0 IP6:0 KM:0 WLW:0 RTDT:SuSE
I ran iwconfig and I get only :
lo no wireless extensions. // loopback
eth0 no wireless extensions. // the on board NIC
Nothing about wlan0??
I ran iw and it complains that nl80211 is missing?????
So what am I doing wrong? Many things perhaps. However, for starters, is my ipcfg-wlan0 filled out
with the correct values?