Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01) Subsystem: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at c0300000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [90] MSI-X: Enable- Count=1 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel <?> Kernel driver in use: ath5k Kernel modules: ath5k |
Quellcode |
|
1 2 3 4 5 6 7 |
/etc/init.d/net.wlan0 stop * Stopping wlan0 * Bringing down wlan0 * Shutting down wlan0 ... [ ok ] * Stopping wpa_cli on wlan0 ... [ ok ] * Stopping wpa_supplicant on wlan0 ... [ ok ] No resolv.conf for interface wlan0 |
Quellcode |
|
1 2 3 4 5 |
/etc/init.d/net.wlan0 start * Starting wlan0 * Starting wpa_supplicant on wlan0 ... [ ok ] * Starting wpa_cli on wlan0 ... [ ok ] * Backgrounding ... |
Quellcode |
|
1 |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »andreasullrich« (29.11.2010, 20:30)
Quellcode |
|
1 |
lspci -nnv |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01) Subsystem: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) [168c:3067] Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at c0300000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [90] MSI-X: Enable- Count=1 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel <?> Kernel driver in use: ath5k Kernel modules: ath5k |
Quellcode |
|
1 2 |
iwconfig iwlist scan |
Quellcode |
|
1 |
dmesg |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
Laptop-Andreas andreas # /etc/init.d/net.wlan0 start * Starting wlan0 * Running preup function /etc/conf.d/net: Zeile 76: ifplugstatus: Kommando nicht gefunden. [ ok ] RTNETLINK answers: Unknown error 132 RTNETLINK answers: Unknown error 132 * Starting wpa_supplicant on wlan0 ... [ ok ] * Starting wpa_cli on wlan0 ... [ ok ] * Backgrounding ... |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Die folgende Zeile nicht ändern, sonst wird nichts funktionieren ctrl_interface=/var/run/wpa_supplicant # Sicherstellen, dass nur root die WPA Konfiguration lesen kann ctrl_interface_group=0 # wpa_supplicant soll sich um scannen und AP Auswahl kümmern ap_scan=1 # Verbindung mit gemeinsamen WEP Schlüssel # (kein WPA, kein IEEE 802.1X) network={ ssid="xxxxxxxxxxxxx" scan_ssid=1 key_mgmt=NONE wep_key0=f6b0a5e3c1 wep_tx_keyidx=0 priority=5 } |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). #config_eth0=( "dhcp" ) #config_wlan0=( "dhcp" ) config_eth0=( "192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255" ) routes_eth0=( "default via 192.168.0.1" ) ################################################################################ ############################## wireless ######################################## ################################################################################ modules=( "iwconfig" ) #config_wlan0=( "192.168.0.12/24 brd 192.168.0.255" ) #routes_wlan0=( "default via 192.168.0.1" ) #key_xxxxxxxxxxxxxxxxx="f6b0-a5e3-c1 enc open" ########################################### ########################################### ########################################### #essid_wlan0="xxxxxxxxxxx" #iwpriv_wlan0="" #iwpriv_ESSID=( # "set AuthMode=WPAPSK" # "set EncrypType=TKIP" # "set WPAPSK=1935657531295566" # ) ########################################### ########################################### #preferred_aps=( "ESSID1" "ESSID2" ) #preferred_aps=( "00:1B:11:70:D0:6F" ) #associate_order_wlan0="forcepreferred" #associate_order_wlan0="forcepreferredonly" ##config_wlan0=( "dhcp" ) ##dhcpcd_wlan0="-t 30" #channel_wlan0="6" #mtu_wlan0="1492" #rate_wlan0=( "11.0M auto" ) ################################################################################ ######################## wpa_supplicant ######################################## ################################################################################ modules=( "wpa_supplicant" ) wpa_supplicant_wlan0="-Dwext /etc/wpa_supplicant/wpa_supplicant.conf" iwconfig_wlan0="mode managed" routes_wlan0=( "default via 192.168.0.1" ) config_wlan0=( "192.168.0.21 netmask 255.255.255.0 broadcast 192.168.0.255" ) #config_wlan0=( "dhcp" ) #dhcpcd_wlan0="-t 30" #rate_wlan0=( "54.0M auto" ) ################################################################################ preup() { if [[ ${IFACE} == "wlan0" ]]; then if ifplugstatus | grep -q 'eth0: link beat detected'; then ewarn "Wired connection on eth0 detected, aborting configuration on ${IFACE}" return 1 fi fi return 0 } |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »andreasullrich« (27.11.2010, 13:44)
Siehe zb auch hierZitat von »"andreasullrich"«
Quellcode
1 RTNETLINK answers: Unknown error 132
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Laptop-Andreas andreas # iwconfig lo no wireless extensions. eth0 no wireless extensions. sit0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bg ESSID:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
Laptop-Andreas andreas # iwlist wlan0 scan wlan0 Interface doesn't support scanning : Network is down Laptop-Andreas andreas # /etc/init.d/net.wlan0 start * Starting wlan0 * Configuring wireless network for wlan0 * wlan0 connected to ESSID "WLAN25021970ANDI1" at 00:1B:11:70:D0:6F * in managed mode on channel 6 (WEP enabled) * Bringing up wlan0 * 192.168.0.21 [ ok ] Laptop-Andreas andreas # iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: 00:1B:11:70:D0:6F Channel:6 Frequency:2.437 GHz (Channel 6) Quality=19/70 Signal level=-91 dBm Encryption key:on ESSID:"WLAN25021970ANDI1" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=00000000021ee632 Extra: Last beacon: 428ms ago IE: Unknown: 0011574C414E3235303231393730414E444931 IE: Unknown: 010482848B96 IE: Unknown: 030106 IE: Unknown: 0406000200000000 IE: Unknown: 2A0100 IE: Unknown: 32080C1218243048606C |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
Laptop-Andreas andreas # ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. From 192.168.0.12 icmp_seq=10 Destination Host Unreachable From 192.168.0.12 icmp_seq=11 Destination Host Unreachable From 192.168.0.12 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.0.1 ping statistics --- 15 packets transmitted, 0 received, +3 errors, 100% packet loss, time 14039ms pipe 3 |
Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »andreasullrich« (28.11.2010, 12:52)
Quellcode |
|
1 |
modules_wlan0=( "wpa_supplicant" ) |
Quellcode |
|
1 2 3 4 |
network={ ssid="Deine-SSID" psk="Dein WPA-Key" } |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). modules=( "iwconfig" ) config_eth0=( "dhcp" ) config_wlan0=( "dhcp" ) #config_eth0=( "192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255" ) #routes_eth0=( "default via 192.168.0.1" ) ################################################################################ ######################## wpa_supplicant ######################################## ################################################################################ modules=( "wpa_supplicant" ) wpa_supplicant_wlan0="-Dwext /etc/wpa_supplicant/wpa_supplicant.conf" iwconfig_wlan0="mode managed" #routes_wlan0=( "default via 192.168.0.1" ) #config_wlan0=( "192.168.0.21 netmask 255.255.255.0 broadcast 192.168.0.255" ) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Die folgende Zeile nicht ändern, sonst wird nichts funktionieren ctrl_interface=/var/run/wpa_supplicant # Sicherstellen, dass nur root die WPA Konfiguration lesen kann ctrl_interface_group=0 # wpa_supplicant soll sich um scannen und AP Auswahl kümmern ap_scan=1 # Verbindung mit gemeinsamen WEP Schlüssel # (kein WPA, kein IEEE 802.1X) network={ ssid="xxxxxxxxxxxx" scan_ssid=1 key_mgmt=NONE wep_key0=f6b0a5e3c1 wep_tx_keyidx=0 priority=5 } |