Page 87 of 99 FirstFirst ... 3777858687888997 ... LastLast
Results 861 to 870 of 981

Thread: How To: Manual Network Configuration without the need for Network Manager

  1. #861
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Manual Network Configuration without the need for Network Manager

    Quote Originally Posted by kevdog View Post
    Run this command in one terminal:

    sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd

    And this in another:

    sudo dhclient wlan0

    And just for testing purposes, try a simple password like fred or something. I want to make sure you are not having any transposition errors. Later on you can increase the numbers.

    I have the same router as you -- and I can confirm this router should work with what you are trying to do!
    This time I set it as fredfred as the router doesn't allow me to enter less than 8 characters.
    Code:
    cat /etc/wpa_supplicant.conf
    ap_scan=1
    ctrl_interface=/var/run/wpa_supplicant 
    
    network={
            ssid="dlink"
            scan_ssid=0
            proto=WPA
            key_mgmt=WPA-PSK
            psk="fredfred"
            pairwise=TKIP
            group=TKIP
    }
    Code:
    coppen@coppen-laptop:~$ sudo dhclient -r wlan0
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:22:43:74:7b:05
    Sending on   LPF/wlan0/00:22:43:74:7b:05
    Sending on   Socket/fallback
    DHCPRELEASE on wlan0 to 192.168.123.1 port 67
    send_packet: Network is unreachable
    send_packet: please consult README file regarding broadcast address.
    coppen@coppen-laptop:~$

    this time
    sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
    is longer than before and some old lines disappear.
    Code:
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 29 43 05 75 51 ed 21 dd 5a e6 e5 3f 4e 96 32 dc 80 21 e6 08 a2 39 a1 f5 0e 67 d9 3a 7e ea 34 43 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Setting authentication timeout: 10 sec 0 usec
    IEEE 802.1X RX: version=1 type=3 length=95
      EAPOL-Key type=254
      key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
      key_length=32 key_data_length=0
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 29
      key_nonce - hexdump(len=32): 43 05 75 51 ed 21 dd 5a e6 e5 3f 4e 96 32 dc 80 21 e6 08 a2 39 a1 f5 0e 67 d9 3a 7e ea 34 43 41
      key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 29 43 05 75 51 ed 21 dd 5a e6 e5 3f 4e 96 32 dc 80 21 e6 08 a2 39 a1 f5 0e 67 d9 3a 7e ea 34 43 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    State: ASSOCIATED -> 4WAY_HANDSHAKE
    WPA: RX message 1 of 4-Way Handshake from 00:19:5b:df:63:da (ver=1)
    WPA: Renewed SNonce - hexdump(len=32): 0b d9 61 4e 5f bf 7d 3b 1a 01 86 32 2e 40 e0 87 d8 8f e7 25 98 93 a8 a9 aa ad 81 21 d2 47 47 19
    WPA: PTK derivation - A1=00:22:43:74:7b:05 A2=00:19:5b:df:63:da
    WPA: PMK - hexdump(len=32): [REMOVED]
    WPA: PTK - hexdump(len=64): [REMOVED]
    WPA: WPA IE for msg 2/4 - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: Sending EAPOL-Key 2/4
    WPA: TX EAPOL-Key - hexdump(len=125): 01 03 00 79 fe 01 09 00 20 00 00 00 00 00 00 00 29 0b d9 61 4e 5f bf 7d 3b 1a 01 86 32 2e 40 e0 87 d8 8f e7 25 98 93 a8 a9 aa ad 81 21 d2 47 47 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 84 4a 25 32 d8 39 9c e3 a1 f4 38 f6 7f a0 43 db 00 1a dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 2a 43 05 75 51 ed 21 dd 5a e6 e5 3f 4e 96 32 dc 80 21 e6 08 a2 39 a1 f5 0e 67 d9 3a 7e ea 34 43 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5 e0 aa 1f 1c 93 5f f4 42 09 cb 83 49 a9 3b ae 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    IEEE 802.1X RX: version=1 type=3 length=119
      EAPOL-Key type=254
      key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
      key_length=32 key_data_length=24
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2a
      key_nonce - hexdump(len=32): 43 05 75 51 ed 21 dd 5a e6 e5 3f 4e 96 32 dc 80 21 e6 08 a2 39 a1 f5 0e 67 d9 3a 7e ea 34 43 41
      key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): f5 e0 aa 1f 1c 93 5f f4 42 09 cb 83 49 a9 3b ae
    WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 2a 43 05 75 51 ed 21 dd 5a e6 e5 3f 4e 96 32 dc 80 21 e6 08 a2 39 a1 f5 0e 67 d9 3a 7e ea 34 43 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5 e0 aa 1f 1c 93 5f f4 42 09 cb 83 49 a9 3b ae 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
    WPA: RX message 3 of 4-Way Handshake from 00:19:5b:df:63:da (ver=1)
    WPA: IE KeyData - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    WPA: Sending EAPOL-Key 4/4
    WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 2a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4a a0 77 aa fe de fa 91 ab 7b 00 58 1e da 9c 84 00 00
    WPA: Installing PTK to the driver.
    WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
    wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
    State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
    EAPOL: startWhen --> 0
    EAPOL: disable timer tick
    EAPOL: SUPP_PAE entering state CONNECTING
    EAPOL: enable timer tick
    EAPOL: txStart
    WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    Added BSSID 00:19:5b:df:63:da into blacklist
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    State: GROUP_HANDSHAKE -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    EAPOL: External notification - EAP success=0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    State: DISCONNECTED -> SCANNING
    Starting AP scan (broadcast SSID)
    Scan requested (ret=0) - scan timeout 5 seconds
    Scan timeout - try to get results
    Received 254 bytes of scan results (1 BSSes)
    CTRL-EVENT-SCAN-RESULTS 
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: 00:19:5b:df:63:da ssid='dlink' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
       selected based on WPA IE
       selected WPA AP 00:19:5b:df:63:da ssid='dlink'
    Try to find non-WPA AP
    Trying to associate with 00:19:5b:df:63:da (SSID='dlink' freq=2452 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    WPA: using IEEE 802.11i/D3.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
    WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    WPA: clearing AP RSN IE
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: not using MGMT group cipher
    WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    No keys have been configured - skip key clearing
    wpa_driver_wext_set_drop_unencrypted
    State: SCANNING -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8c07 len=55
    AssocReq IE wireless event - hexdump(len=47): 00 05 64 6c 69 6e 6b 01 0c 82 84 8b 96 8c 12 98 24 b0 48 60 6c dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:19:5b:df:63:da
    Association info event
    req_ies - hexdump(len=47): 00 05 64 6c 69 6e 6b 01 0c 82 84 8b 96 8c 12 98 24 b0 48 60 6c dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: set own WPA/RSN IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    Associated to a new BSS: BSSID=00:19:5b:df:63:da
    No keys have been configured - skip key clearing
    Associated with 00:19:5b:df:63:da
    WPA: Association event - clear replay counter
    WPA: Clear old PTK
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state CONNECTING
    EAPOL: SUPP_BE entering state IDLE
    Setting authentication timeout: 10 sec 0 usec
    Cancelling scan request
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 2b 75 db d1 7f 4c 17 54 40 93 14 48 bf aa 46 2a ea 89 81 3f b1 35 b2 9f 08 d4 97 77 bd 8e f6 de 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Setting authentication timeout: 10 sec 0 usec
    IEEE 802.1X RX: version=1 type=3 length=95
      EAPOL-Key type=254
      key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
      key_length=32 key_data_length=0
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2b
      key_nonce - hexdump(len=32): 75 db d1 7f 4c 17 54 40 93 14 48 bf aa 46 2a ea 89 81 3f b1 35 b2 9f 08 d4 97 77 bd 8e f6 de 19
      key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 2b 75 db d1 7f 4c 17 54 40 93 14 48 bf aa 46 2a ea 89 81 3f b1 35 b2 9f 08 d4 97 77 bd 8e f6 de 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    State: ASSOCIATED -> 4WAY_HANDSHAKE
    WPA: RX message 1 of 4-Way Handshake from 00:19:5b:df:63:da (ver=1)
    WPA: Renewed SNonce - hexdump(len=32): 24 00 39 aa f3 ea 62 c6 e6 7d af 67 31 84 0a e0 8f a0 a3 f2 c3 8f 4f e8 07 c7 03 61 59 42 b0 cb
    WPA: PTK derivation - A1=00:22:43:74:7b:05 A2=00:19:5b:df:63:da
    WPA: PMK - hexdump(len=32): [REMOVED]
    WPA: PTK - hexdump(len=64): [REMOVED]
    WPA: WPA IE for msg 2/4 - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: Sending EAPOL-Key 2/4
    WPA: TX EAPOL-Key - hexdump(len=125): 01 03 00 79 fe 01 09 00 20 00 00 00 00 00 00 00 2b 24 00 39 aa f3 ea 62 c6 e6 7d af 67 31 84 0a e0 8f a0 a3 f2 c3 8f 4f e8 07 c7 03 61 59 42 b0 cb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 a5 08 4d 72 a3 33 61 5a c3 4d 68 c3 cf 77 59 00 1a dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 2c 75 db d1 7f 4c 17 54 40 93 14 48 bf aa 46 2a ea 89 81 3f b1 35 b2 9f 08 d4 97 77 bd 8e f6 de 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 af 93 c5 54 72 54 70 5a f5 6e 6f 6e 29 12 a5 e0 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    IEEE 802.1X RX: version=1 type=3 length=119
      EAPOL-Key type=254
      key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
      key_length=32 key_data_length=24
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2c
      key_nonce - hexdump(len=32): 75 db d1 7f 4c 17 54 40 93 14 48 bf aa 46 2a ea 89 81 3f b1 35 b2 9f 08 d4 97 77 bd 8e f6 de 19
      key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): af 93 c5 54 72 54 70 5a f5 6e 6f 6e 29 12 a5 e0
    WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 2c 75 db d1 7f 4c 17 54 40 93 14 48 bf aa 46 2a ea 89 81 3f b1 35 b2 9f 08 d4 97 77 bd 8e f6 de 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 af 93 c5 54 72 54 70 5a f5 6e 6f 6e 29 12 a5 e0 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
    WPA: RX message 3 of 4-Way Handshake from 00:19:5b:df:63:da (ver=1)
    WPA: IE KeyData - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    WPA: Sending EAPOL-Key 4/4
    WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7a 16 83 e7 ee f3 76 e6 5f 11 18 41 6b b3 08 f2 00 00
    WPA: Installing PTK to the driver.
    WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
    wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
    State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
    EAPOL: startWhen --> 0
    EAPOL: disable timer tick
    EAPOL: SUPP_PAE entering state CONNECTING
    EAPOL: enable timer tick
    EAPOL: txStart
    WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    BSSID 00:19:5b:df:63:da blacklist count incremented to 2
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    State: GROUP_HANDSHAKE -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    EAPOL: External notification - EAP success=0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    State: DISCONNECTED -> SCANNING
    Starting AP scan (broadcast SSID)
    Scan requested (ret=0) - scan timeout 5 seconds
    Scan timeout - try to get results
    Received 254 bytes of scan results (1 BSSes)
    CTRL-EVENT-SCAN-RESULTS 
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: 00:19:5b:df:63:da ssid='dlink' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
       skip - blacklisted
    Try to find non-WPA AP
    0: 00:19:5b:df:63:da ssid='dlink' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
       skip - blacklisted
    No APs found - clear blacklist and try again
    Removed BSSID 00:19:5b:df:63:da from blacklist (clear)
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: 00:19:5b:df:63:da ssid='dlink' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
       selected based on WPA IE
       selected WPA AP 00:19:5b:df:63:da ssid='dlink'
    Try to find non-WPA AP
    Trying to associate with 00:19:5b:df:63:da (SSID='dlink' freq=2452 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    WPA: using IEEE 802.11i/D3.0
    WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
    WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    WPA: clearing AP RSN IE
    WPA: using GTK TKIP
    WPA: using PTK TKIP
    WPA: using KEY_MGMT WPA-PSK
    WPA: not using MGMT group cipher
    WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    No keys have been configured - skip key clearing
    wpa_driver_wext_set_drop_unencrypted
    State: SCANNING -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=Auto
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8c07 len=55
    AssocReq IE wireless event - hexdump(len=47): 00 05 64 6c 69 6e 6b 01 0c 82 84 8b 96 8c 12 98 24 b0 48 60 6c dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:19:5b:df:63:da
    Association info event
    req_ies - hexdump(len=47): 00 05 64 6c 69 6e 6b 01 0c 82 84 8b 96 8c 12 98 24 b0 48 60 6c dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: set own WPA/RSN IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    Associated to a new BSS: BSSID=00:19:5b:df:63:da
    No keys have been configured - skip key clearing
    Associated with 00:19:5b:df:63:da
    WPA: Association event - clear replay counter
    WPA: Clear old PTK
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state CONNECTING
    EAPOL: SUPP_BE entering state IDLE
    Setting authentication timeout: 10 sec 0 usec
    Cancelling scan request
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 2d 52 ad 00 7f 32 d3 9a aa 8f 81 15 30 e5 54 7b 2f e2 d0 95 ab 16 c9 46 7f 2f 2c 0a a5 39 a3 5e 2b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Setting authentication timeout: 10 sec 0 usec
    IEEE 802.1X RX: version=1 type=3 length=95
      EAPOL-Key type=254
      key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
      key_length=32 key_data_length=0
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2d
      key_nonce - hexdump(len=32): 52 ad 00 7f 32 d3 9a aa 8f 81 15 30 e5 54 7b 2f e2 d0 95 ab 16 c9 46 7f 2f 2c 0a a5 39 a3 5e 2b
      key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 2d 52 ad 00 7f 32 d3 9a aa 8f 81 15 30 e5 54 7b 2f e2 d0 95 ab 16 c9 46 7f 2f 2c 0a a5 39 a3 5e 2b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    State: ASSOCIATED -> 4WAY_HANDSHAKE
    WPA: RX message 1 of 4-Way Handshake from 00:19:5b:df:63:da (ver=1)
    WPA: Renewed SNonce - hexdump(len=32): f5 5a 07 24 64 aa fb b5 5d 63 23 09 c9 45 3c de 4d 9b 88 03 ee 81 af e7 10 ee a7 58 4d cd 9c 59
    WPA: PTK derivation - A1=00:22:43:74:7b:05 A2=00:19:5b:df:63:da
    WPA: PMK - hexdump(len=32): [REMOVED]
    WPA: PTK - hexdump(len=64): [REMOVED]
    WPA: WPA IE for msg 2/4 - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    WPA: Sending EAPOL-Key 2/4
    WPA: TX EAPOL-Key - hexdump(len=125): 01 03 00 79 fe 01 09 00 20 00 00 00 00 00 00 00 2d f5 5a 07 24 64 aa fb b5 5d 63 23 09 c9 45 3c de 4d 9b 88 03 ee 81 af e7 10 ee a7 58 4d cd 9c 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 0c c7 a5 96 12 6f ac f6 d6 9f c6 cb eb 20 f5 00 1a dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 2e 52 ad 00 7f 32 d3 9a aa 8f 81 15 30 e5 54 7b 2f e2 d0 95 ab 16 c9 46 7f 2f 2c 0a a5 39 a3 5e 2b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63 54 e3 d3 dd d1 99 79 b3 e0 f0 ae fb ea 44 30 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    IEEE 802.1X RX: version=1 type=3 length=119
      EAPOL-Key type=254
      key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
      key_length=32 key_data_length=24
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2e
      key_nonce - hexdump(len=32): 52 ad 00 7f 32 d3 9a aa 8f 81 15 30 e5 54 7b 2f e2 d0 95 ab 16 c9 46 7f 2f 2c 0a a5 39 a3 5e 2b
      key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): 63 54 e3 d3 dd d1 99 79 b3 e0 f0 ae fb ea 44 30
    WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 2e 52 ad 00 7f 32 d3 9a aa 8f 81 15 30 e5 54 7b 2f e2 d0 95 ab 16 c9 46 7f 2f 2c 0a a5 39 a3 5e 2b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63 54 e3 d3 dd d1 99 79 b3 e0 f0 ae fb ea 44 30 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
    WPA: RX message 3 of 4-Way Handshake from 00:19:5b:df:63:da (ver=1)
    WPA: IE KeyData - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
    WPA: Sending EAPOL-Key 4/4
    WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 e3 29 19 23 bb e3 09 c4 9c 77 84 f0 0a f0 09 00 00
    WPA: Installing PTK to the driver.
    WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
    wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
    State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 2f a4 76 f1 d1 2f 35 55 8b 4c 37 ac 8d 83 0e bd 7c 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 59 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 5b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 89 11 10 fe 7a 0c f0 36 d1 f0 d6 e5 2b af ec 00 20 a1 2a 90 9c 9f 5b 3c 37 56 24 e7 fe f9 05 4a 63 21 3c 21 0c 92 3e 1c c3 aa 3a 33 4c c7 02 30 b4
    IEEE 802.1X RX: version=1 type=3 length=127
      EAPOL-Key type=254
      key_info 0x391 (ver=1 keyidx=1 rsvd=0 Group Ack MIC Secure)
      key_length=32 key_data_length=32
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2f
      key_nonce - hexdump(len=32): a4 76 f1 d1 2f 35 55 8b 4c 37 ac 8d 83 0e bd 7c 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 59
      key_iv - hexdump(len=16): 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 5b
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): 1c 89 11 10 fe 7a 0c f0 36 d1 f0 d6 e5 2b af ec
    WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 2f a4 76 f1 d1 2f 35 55 8b 4c 37 ac 8d 83 0e bd 7c 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 59 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 5b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 89 11 10 fe 7a 0c f0 36 d1 f0 d6 e5 2b af ec 00 20 a1 2a 90 9c 9f 5b 3c 37 56 24 e7 fe f9 05 4a 63 21 3c 21 0c 92 3e 1c c3 aa 3a 33 4c c7 02 30 b4
    WPA: RX message 1 of Group Key Handshake from 00:19:5b:df:63:da (ver=1)
    State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
    WPA: Group Key - hexdump(len=32): [REMOVED]
    WPA: Installing GTK to the driver (keyidx=1 tx=0 len=32).
    WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
    wpa_driver_wext_set_key: alg=2 key_idx=1 set_tx=0 seq_len=6 key_len=32
    WPA: Sending EAPOL-Key 2/2
    WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 11 00 20 00 00 00 00 00 00 00 2f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ae bc 0d 67 91 be 47 4c 24 55 94 40 c6 53 6a f8 00 00
    WPA: Key negotiation completed with 00:19:5b:df:63:da [PTK=TKIP GTK=TKIP]
    Cancelling authentication timeout
    State: GROUP_HANDSHAKE -> COMPLETED
    CTRL-EVENT-CONNECTED - Connection to 00:19:5b:df:63:da completed (auth) [id=0 id_str=]
    wpa_driver_wext_set_operstate: operstate 0->1 (UP)
    WEXT: Operstate: linkmode=-1, operstate=6
    EAPOL: External notification - portValid=1
    EAPOL: External notification - EAP success=1
    EAPOL: SUPP_PAE entering state AUTHENTICATING
    EAPOL: SUPP_BE entering state SUCCESS
    EAP: EAP entering state DISABLED
    EAPOL: SUPP_PAE entering state AUTHENTICATED
    EAPOL: SUPP_BE entering state IDLE
    EAPOL authentication completed successfully
    RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RX EAPOL from 00:19:5b:df:63:da
    RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 2f a4 76 f1 d1 2f 35 55 8b 4c 37 ac 8d 83 0e bd 7c 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 59 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 5b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 89 11 10 fe 7a 0c f0 36 d1 f0 d6 e5 2b af ec 00 20 a1 2a 90 9c 9f 5b 3c 37 56 24 e7 fe f9 05 4a 63 21 3c 21 0c 92 3e 1c c3 aa 3a 33 4c c7 02 30 b4
    IEEE 802.1X RX: version=1 type=3 length=127
      EAPOL-Key type=254
      key_info 0x391 (ver=1 keyidx=1 rsvd=0 Group Ack MIC Secure)
      key_length=32 key_data_length=32
      replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 2f
      key_nonce - hexdump(len=32): a4 76 f1 d1 2f 35 55 8b 4c 37 ac 8d 83 0e bd 7c 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 59
      key_iv - hexdump(len=16): 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 5b
      key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
      key_mic - hexdump(len=16): 1c 89 11 10 fe 7a 0c f0 36 d1 f0 d6 e5 2b af ec
    WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 2f a4 76 f1 d1 2f 35 55 8b 4c 37 ac 8d 83 0e bd 7c 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 59 83 a5 d8 f1 96 7f b9 4a 3e 28 1e 24 c9 08 1d 5b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 89 11 10 fe 7a 0c f0 36 d1 f0 d6 e5 2b af ec 00 20 a1 2a 90 9c 9f 5b 3c 37 56 24 e7 fe f9 05 4a 63 21 3c 21 0c 92 3e 1c c3 aa 3a 33 4c c7 02 30 b4
    WPA: EAPOL-Key Replay Counter did not increase - dropping packet
    EAPOL: startWhen --> 0
    EAPOL: disable timer tick
    
    it seems stop here again so i press ctrl+c
    
    ^CCTRL-EVENT-TERMINATING - signal 2 received
    Removing interface wlan0
    State: COMPLETED -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_deauthenticate
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    wpa_driver_wext_set_wpa
    wpa_driver_wext_set_drop_unencrypted
    wpa_driver_wext_set_countermeasures
    No keys have been configured - skip key clearing
    Cancelling scan request
    Cancelling authentication timeout
    WEXT: Operstate: linkmode=0, operstate=6
    coppen@coppen-laptop:~$
    Code:
    coppen@coppen-laptop:~$ sudo dhclient wlan0
    [sudo] password for coppen: 
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:22:43:74:7b:05
    Sending on   LPF/wlan0/00:22:43:74:7b:05
    Sending on   Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    p.s. thanks a lot for your patient!
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  2. #862
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Manual Network Configuration without the need for Network Manager

    Now I have a doubt if my driver is working correctly. A few hours ago I booted into win xp and the wireless connection broken randomly. I search in website of the producer of my notebook and find out a new driver (the name is still realtek 8187 so I really don't know what version it is. But very likely it should be 8187B or 8187L). I reinstall it and it works great.

    I compared the speed of copying big files in ubuntu and win xp by samba. I find out the speed in xp is around 2.6MB/s steady but in ubuntu it flutuates from 600KB to 2.2MB/s. That's a bit odd it keeps dropping to around 600KB/s for half a second and than goes up again. The signal strength in both OS is around 70%. And in both OS I notice no random disconnection. And WPA works well in xp too.

    So should I reinstall the ndiswrapper driver? (The current driver in ubuntu is the windows 98 version as I mention in my previous post). Arrr... I am a noob and I forget the way how to get ndiswrapper work.. I need to search the forum again?

    p.s. sorry for my bad english too
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  3. #863
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,520
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    it seems stop here again so i press ctrl+c

    Why do you do this? Again, in one window do the wpa_supplicant thing, (do not stop it when it stops), and then in the other window do the dhclient command. You have to have wpa_supplicant running at all times (either in the foreground) or in the background (which can be done with use of the -B flag). However if you run it in the background you get no debugging output.

    As far as the windows driver and things --- I don't know.

    Lets try without ndiswrapper for now -- its the preferrable solution if it works!

  4. #864
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Manual Network Configuration without the need for Network Manager

    Sorry for my bad mistake. Now it works. Thanks a lot!
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  5. #865
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,520
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    Ok not to confuse you farther, however since you know it is working, you know longer need the -dd flag (this is a flag for double debugging output). I would now add the -B flag to send the process to the background. It would be something similar to this:

    sudo wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

    Because the process is being run in the background, you can type the command and the dhclient command in the same terminal window.

  6. #866
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Manual Network Configuration without the need for Network Manager

    Hi, it's me again. since by notebook freeze randomly at boot up [actually I started another thread about this issue:http://ubuntuforums.org/showthread.php?t=1085758 ], I want to reinstall ndiswrapper again. I follow another guide by you about installing ndiswrapper http://ubuntuforums.org/showthread.p...Kevdog&page=31
    and I have problem while running this command:
    sudo ndiswrapper -m
    Code:
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    
    module configuration already contains alias directive
    what should I do? thanks !
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  7. #867
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,520
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    Ignore the warning. ndiswrapper is probably listed in /etc/modules

  8. #868
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Manual Network Configuration without the need for Network Manager

    I want falling back to the native driver of realtek 8187 driver provided by Ubuntu by default because I doubt the ndiswrapper driver of win 98 version is the cause of freezing at "Loading manual drivers..." during bootup.

    I clicked complete removal of ndisgtk, ndiswrapper-utils-1.9 and ndiswrapper-common in Synaptic. Then I run the following command according to your ndiswrapper howto http://ubuntuforums.org/showthread.p...ghlight=Kevdog in order to ensure a clean uninstallation:
    Code:
    sudo aptitude purge ndiswrapper
    sudo rm /etc/modprobe.d/ndiswrapper
    sudo sh -c "sed '/^ndiswrapper$/d' /etc/modules > /etc/modules.temp.rm; mv /etc/modules.temp.rm /etc/modules"
    sudo rmmod ndiswrapper
    sudo /lib/modules/`uname -r`/kernel/ubuntu/misc/ndiswrapper/ndiswrapper.ko
    sudo rm -rf /etc/ndiswrapper
    sudo rm /usr/sbin/ndiswrapper
    sudo rm /sbin/loadndisdriver
    sudo rm /lib/modules/`uname -r`/misc/ndiswrapper.ko
    Then I check my /etc/modprobe.d/blacklist to ensure blacklist 818x and blacklisk 8187 are commented out. The extract of my /etc/modprobe.d/blacklist
    Code:
    # low-quality, just noise when being used for sound playback, causes
    # hangs at desktop session start (Ubuntu: #246969)
    blacklist snd_pcsp
    
    #blacklist r818x
    #blacklist r8187
    then I run lshw -C network and the default driver seems not coming back. There is no driver installed for wlan realtek 8187?
    Code:
     lshw -C network 
      *-network
           description: Wireless interface
           physical id: 2
           logical name: wlan0
           serial: 00:22:43:74:7b:05
           capabilities: ethernet physical wireless
           configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg
    Here's the result of lsmod|grep 818
    Code:
     lsmod|grep 818
    rtl8187                53248  0 
    mac80211              216820  1 rtl8187
    eeprom_93cx6           10240  1 rtl8187
    cfg80211               32392  2 rtl8187,mac80211
    usbcore               149360  7 rtl8187,usb_storage,libusual,usbhid,ehci_hcd,ohci_hcd
    Thanks!

    edit: and when I run modprobe r818x and modprobe r8187
    Code:
    coppen@coppen-laptop:/etc/modprobe.d$ cd
    coppen@coppen-laptop:~$ sudo modprobe r818x
    [sudo] password for coppen: 
    FATAL: Module r818x not found.
    coppen@coppen-laptop:~$ sudo modprobe r8187
    FATAL: Module r8187 not found.
    Last edited by afeasfaerw23231233; March 4th, 2009 at 07:12 AM.
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  9. #869
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,520
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To: Manual Network Configuration without the need for Network Manager

    I haven't kept abreast of the latest realtek drivers within the newer kernels since writing this guide. I am no longer certain they are called r8187 or r818x. They could possibly be called something else. You are going to have to look keeping your kernel version as a reference. This can be found with uname -r. Google might be your best fried here!

  10. #870
    Join Date
    Oct 2007
    Location
    hk
    Beans
    707
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Manual Network Configuration without the need for Network Manager

    Oh mine... I google around and cannot find any useful information. I think I have to go back to ndiswrapper.
    I feel dizzy now......
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

Page 87 of 99 FirstFirst ... 3777858687888997 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •