Can't connect with WEP, using wlassistant

Wulong
2006-10-24
2013-04-17
  • Wulong
    Wulong
    2006-10-24

    wulong@stealth:~$ sudo wlassistant 
    Password:
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    DCOPClient::attachInternal. Attach failed Could not open network socket
    Link points to "/tmp/ksocket-root"
    Link points to "/tmp/kde-root"
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-ba sed authentication failed
    kbuildsycoca running...
    Loaded application options.
    DHCP Client: dhclient
    All executables found.
    iwconfig_status: /sbin/iwconfig
    ==>stderr: lo no wireless extensions.

    eth0 no wireless extensions.

    sit0 no wireless extensions.

    Wireless interface(s): eth1
    Permissions checked.
    ifconfig_status: /sbin/ifconfig eth1
    scan: /sbin/iwlist eth1 scan
    Networks found: 1
    Checking for active connection.
    Trying to get gateway address...
    ...from /var/lib/dhcp3/dhclient.leases
    Gateway address: 192.168.0.1
    Network settings updated.
    ACTION: CONNECT.
    kill_dhcp: /sbin/dhclient -r eth1
    ==>stderr: Internet Systems Consortium DHCP Client V3.0.3
    Copyright 2004-2005 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/products/DHCP

    Listening on LPF/eth1/00:02:2d:43:d9:78
    Sending on LPF/eth1/00:02:2d:43:d9:78
    Sending on Socket/fallback
    DHCPRELEASE on eth1 to 192.168.0.1 port 67
    send_packet: Network is unreachable
    send_packet: please consult README file regarding broadcast address.
    ifup: /sbin/ifconfig eth1 up
    iwconfig_set: /sbin/iwconfig eth1 mode managed channel 6 key open 0101010101 essid WIFIID
    ==>stderr: Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth1 ; Device or resource busy.
    iwconfig_ap: /sbin/iwconfig eth1 ap 00:12:BF:0E:40:30
    ==>stderr: Error for wireless request "Set AP Address" (8B14) :
    SET failed on device eth1 ; Operation not supported.
    ifconfig_dhcp: /sbin/dhclient -q eth1
    kill_dhcp: /sbin/dhclient -r eth1
    ==>stderr: Internet Systems Consortium DHCP Client V3.0.3
    Copyright 2004-2005 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/products/DHCP

    Listening on LPF/eth1/00:02:2d:43:d9:78
    Sending on LPF/eth1/00:02:2d:43:d9:78
    Sending on Socket/fallback
    DHCPRELEASE on eth1 to 192.168.0.1 port 67
    send_packet: Network is unreachable
    send_packet: please consult README file regarding broadcast address.
    CONNECTION FAILED.
    Application options saved.
    Kernel socket closed.
    wulong@stealth:~$ wlassistant --version
    Qt: 3.3.6
    KDE: 3.5.2
    Wireless Assistant: 0.5.5
    wulong@stealth:~$ iwconfig --version
    iwconfig Wireless-Tools version 28
    Compatible with Wireless Extension v11 to v19.

    Kernel Currently compiled with Wireless Extension v19.

    eth1 Recommend Wireless Extension v14 or later,
    Currently compiled with Wireless Extension v19.

    wulong@stealth:~$

    /* WORKING WAY USING CLI */

    wulong@stealth:~$ su -
    Password: 
    root@stealth:~# iwconfig eth1 key 0101010101
    root@stealth:~# iwconfig eth1 essid WIFIID
    root@stealth:~# iwconfig eth1 mode managed
    root@stealth:~# dhclient eth1
    Internet Systems Consortium DHCP Client V3.0.3
    Copyright 2004-2005 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/products/DHCP

    Listening on LPF/eth1/00:02:2d:43:d9:78
    Sending on LPF/eth1/00:02:2d:43:d9:78
    Sending on Socket/fallback
    DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
    DHCPOFFER from 192.168.0.1
    DHCPREQUEST on eth1 to 255.255.255.255 port 67
    DHCPACK from 192.168.0.1
    bound to 192.168.0.42 -- renewal in 229 seconds.
    root@stealth:~#