Find the answer to your Linux question:
Results 1 to 7 of 7
does anyone have a walkthrough for configuring WPA-TKIP on wireless? I have the card installed with madwifi, its working because I can see the network and I can ping the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14

    Wireless with WPA-TKIP

    does anyone have a walkthrough for configuring WPA-TKIP on wireless? I have the card installed with madwifi, its working because I can see the network and I can ping the host computer and the router. I can't however access the internet because I have no idea how to configure w/ TKIP. I have wpa_supplicant installed also, but I dont know what to do with it. Here's my output from ifconfig

    ath0 Link encap:ethernet HWaddr 00:18:E7:0b:XX:XX
    inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80:218:e7ff:fe0b:bd17/64 Scope:Link
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    Rx packets:1 errors:0 dropped:0 overruns:0 frame:0
    Tx packets:0 errors:0 dropped:0 overruns:0 carriers:0
    collisions:0 txqueuelen:0
    Rx bytes:288 (288.0 b) TX bytes:0 (0.0 b)

    eth0 Link encap:ethernet HWaddr 00:13:8F:46:XX:XX
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    Rx packets:1 errors:0 dropped:0 overruns:0 frame:0
    Tx packets:0 errors:0 dropped:0 overruns:0 carriers:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:185 Base address:0xd400

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    Rx packets:1 errors:0 dropped:0 overruns:0 frame:0
    Tx packets:0 errors:0 dropped:0 overruns:0 carriers:0
    collisions:0 txqueuelen:1000
    RX bytes:209589 (204.6 Kib) TX bytes:209589 (204.06 Kib)

    sit0 Link encap:IPv6-in-IPv4
    inet addr:192.168.2.105 Mask:255.255.255.0
    inet6 adr: ::192.168.2.105/96 Scope:Compat
    inet6 addr: ::127.0.0.1/96 Scope:Unknown
    UP RUNNING NOARP MTU:1480 Metric:1
    Rx packets:1 errors:0 dropped:0 overruns:0 frame:0
    Tx packets:0 errors:0 dropped:0 overruns:0 carriers:0
    collisions:0 txqueuelen:0

    wifi0 Link encap UNSPEC HWaddr 00-18-E7-0B-BD-17-30-3A-00-00-00-00-00-00
    -00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Rx packets:29292 errors:0 dropped:0 overruns:0 frame:142342
    TX packets:63644 erorrs:6 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:3176802 (3.0 Mib)
    Interrupt:201 Memory:dcb40000-dcb50000

    and here is from my /etc/network/interfaces

    # This file describes the network interfaces available on your system
    # and how to activate them. For mor information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    allow hotplug ath0
    iface ath0 inet static
    address 192.168.2.101
    wireless-essid (my routers name)
    netmask 255.255.255.0

    auto eth0
    iface eth0 inet dhcp
    wireless-essid idiot

    and here is wpa_supplicant.


    #
    # File: wpa_supplicant
    #
    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=root
    network={
    ssid="(my ssid)"
    key=mgmt=WPA-PSK
    psk=(my wpa key)
    }

    I dont know if im trying to use to many configurations because I dont know if they link to eachother. Or if I'm missing somethign somewhere. Has anyone modified their system to work with TKIP? All help is GREATLY appreciated. Thanks.

    Er0newbie

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I'm a firm believer in the NetworkManager route. It will do all the leg work for you. The only trick is I haven't installed it within Debian as the last few distros I tried used it by default.

    For the record I use madwifi on both my wifi cards and they've worked with TKIP on SUSE 10.1-10.3 and Ubuntu 6.06-7.10

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14

    tried that

    i tried that, didnt work. i dont know whats going on with this i think theres a configuration error somewhere. im not sure if im supposed to use iwconfig, ifconfig, wlanconfig, or something else. I also have no idea what to do in terms of modifying the wpa_supplicant file. Im relatively new to linux and all terms used as well. Wish there was a program that was specific to WPA-TKIP. i dont know what the EAS is or the TLS or any of that stuff. is there something im doing wrong based on the output messages? thanks.

  4. #4
    Linux Newbie
    Join Date
    Feb 2007
    Location
    N. Ireland
    Posts
    198
    I have an atheros card as well and I read every single tutorial on the net about setting it up. Never, in 2 weeks of beating it to death did I get it to work.

    BTW, it was ubuntu 7-10
    Finished building PC using PC Pro's A-List! Will add specs soon =)

  5. #5
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14

    TKIP is annoying

    I managed to get the card to scan and see the wireless network, however it still wont connect. does anyone know anything about the proto line in the wpa_supplicant file? I'll give that a try and and post the results after a few hours of p.i.t.a. configuring. If i get it to work I will post a tutorial, minus the temper tantrums of course.

  6. #6
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5
    I think for Internet you have to define gateway which carries your n/w data. It can be done either by

    route add default gw X.X.X.X

    or by defining

    gateway X.X.X.X

    in your /etc/network/intefaces file.

    As far as TKIP is concerns did you

    Code:
    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=0
    eapol_version=1
    ap_scan=1
    fast_reauth=1
    
    network={
            ssid="Your SSID"
            proto=WPA
            key_mgmt=WPA-PSK
            pairwise=TKIP
            group=TKIP
            psk="your_key"
            
    }

  7. #7
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14
    FINALLY got it working. The passphrase was the problem. That was a LONG grueling process. Now all I have to do is figure out how to make it permanent. Thanks for all the help guys.

Posting Permissions

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