View Poll Results: Has this thread been helpful?

Voters
811. You may not vote on this poll
  • Yes

    550 67.82%
  • No

    104 12.82%
  • Somewhat

    157 19.36%
Page 11 of 184 FirstFirst ... 9101112132161111 ... LastLast
Results 101 to 110 of 1832

Thread: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

  1. #101
    Join Date
    Oct 2006
    Location
    Nanaimo BC
    Beans
    Hidden!
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    Quote Originally Posted by bleearg View Post
    Thanks for the response, weiman01, but that didn't work. At first, I thought it had something to do with whether or not 'eth0' was enabled in the /etc/network/interfaces file. However, last night, it stopped working altogether. When my 'iwlist scan' is run, it never sees my SSID.
    ...... Extra: Last beacon: 268ms ago

    This beacon interval should probably read 100 or 50 if modified because your are having connectivity problems. Not that your beacon interval is set at 268....it is just odd you lost your connection for a while..Let me ask this...

    Is it you dont wish to mess with the router your ISP gave you or is it a shared router that a neighbor manages?
    Last edited by squibT; January 12th, 2007 at 04:02 AM.

  2. #102
    Join Date
    Jan 2007
    Beans
    22

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    I proceeded the way described in "Sample configuration mixed mode (WPA1, WPA2) & DHCP, ESSID broadcast" with this result:

    giosetti@ubuntu:~$ sudo /etc/init.d/networking restart
    * Reconfiguring network interfaces... 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/eth0/00:80:5a:24:c1:35
    Sending on LPF/eth0/00:80:5a:24:c1:35
    Sending on Socket/fallback
    DHCPRELEASE on eth0 to 192.168.2.1 port 67
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 5 value 0x1 - 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/rausb0/00:13:d4:09:29:9c
    Sending on LPF/rausb0/00:13:d4:09:29:9c
    Sending on Socket/fallback
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 21
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 12
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    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/eth0/00:80:5a:24:c1:35
    Sending on LPF/eth0/00:80:5a:24:c1:35
    Sending on Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
    DHCPOFFER from 192.168.2.1
    DHCPREQUEST on eth0 to 255.255.255.255 port 67
    DHCPACK from 192.168.2.1
    bound to 192.168.2.102 -- renewal in 133651 seconds.
    [ ok ]
    giosetti@ubuntu:~$

    Complementary data:

    giosetti@ubuntu:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    sit0 no wireless extensions.

    rausb0 RT2500USB WLAN ESSID:""
    Mode:Managed Frequency=2.412 GHz Bit Rate=11 Mb/s
    RTS thrff Fragment thrff
    Link Quality=0/70 Signal level:-120 dBm Noise level:-216 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    giosetti@ubuntu:~$

    giosetti@ubuntu:~$ iwlist scan
    lo Interface doesn't support scanning.

    eth0 Interface doesn't support scanning.

    sit0 Interface doesn't support scanning.

    rausb0 Scan completed :
    Cell 01 - Address: 00:12:BF:9B:B1:A7
    Mode:Managed
    ESSID:"mywlanessid"
    Encryption keyn
    Channel:1





    Any idea what my problem might be? Thanx.
    Last edited by giosetti; January 15th, 2007 at 01:20 AM. Reason: added complementary data

  3. #103
    Join Date
    Oct 2006
    Beans
    27
    Distro
    Kubuntu 6.10 Edgy

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    Quote Originally Posted by squibT View Post
    ...... Extra: Last beacon: 268ms ago
    Is it you dont wish to mess with the router your ISP gave you or is it a shared router that a neighbor manages?
    I have no qualms about editing the AP config myself, as it is mine. If you are saying I should edit the beacon interval, I'll go ahead and try that.

    EDIT: I just realized that I think you are confusing my issue with another user, who didn't want to mess with his router's settings. However, I will check the beacon interval in the AP and see what it's set to.

  4. #104
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 17.10 Artful Aardvark

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    That's no good sign. I suspect that you are using the Linux driver for your Linksys card (Ralink), is that correct? I don't think Serialmonkey's driver for Ralink chipsets support WPA like other cards do. At least that's what the error message is about. You either try to install "ndiswrapper" and get your card working by using the native Windows driver, or you check on their website for support:

    http://rt2x00.serialmonkey.com/wiki/...itle=Main_Page

    I have a Linksys card myself (WUSB54G) and never got it to work with WPA, only after removing the Linux driver and installing "ndiswrapper"...

    EDIT:
    What wireless adapter are you using? Besides please try WPA1 (only) first and let me know if the error message keeps occurring...
    Last edited by wieman01; January 15th, 2007 at 07:30 AM.

  5. #105
    Join Date
    Jan 2007
    Beans
    11

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    Code:
    gladier@gladier-desktop:~$ uname -a
    Linux gladier-desktop 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux
    gladier@gladier-desktop:~$ ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:16:17:E8:70:4D  
              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)
              Base address:0xbf00 Memory:fd8e0000-fd900000 
    
    eth1      Link encap:Ethernet  HWaddr 00:16:17:E8:70:4E  
              inet addr:192.168.15.135  Bcast:192.168.15.255  Mask:255.255.255.0
              inet6 addr: fe80::216:17ff:fee8:704e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1735 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1670 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              RX bytes:1300445 (1.2 MiB)  TX bytes:260569 (254.4 KiB)
              Base address:0xaf00 Memory:fdee0000-fdf00000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)
    
    sit0      Link encap:IPv6-in-IPv4  
              NOARP  MTU:1480  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:0 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    wlan0     Link encap:Ethernet  HWaddr 00:16:E3:21:D0:CF  
              inet6 addr: fe80::216:e3ff:fe21:d0cf/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:5082 (4.9 KiB)
    
    gladier@gladier-desktop:~$ route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.15.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
    0.0.0.0         192.168.15.1    0.0.0.0         UG    0      0        0 eth1
    gladier@gladier-desktop:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    eth1      no wireless extensions.
    
    wlan0     IEEE 802.11g  ESSID:off/any  
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
              Bit Rate:54 Mb/s   Tx-Power:25 dBm   
              RTS thr:2347 B   Fragment thr:2346 B   
              Power Management:off
              Link Quality:100/100  Signal level:-10 dBm  Noise level:-96 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    sit0      no wireless extensions.
    
    gladier@gladier-desktop:~$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:16:17:E8:70:4D  
              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)
              Base address:0xbf00 Memory:fd8e0000-fd900000 
    
    eth1      Link encap:Ethernet  HWaddr 00:16:17:E8:70:4E  
              inet addr:192.168.15.135  Bcast:192.168.15.255  Mask:255.255.255.0
              inet6 addr: fe80::216:17ff:fee8:704e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1747 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1670 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              RX bytes:1301924 (1.2 MiB)  TX bytes:260569 (254.4 KiB)
              Base address:0xaf00 Memory:fdee0000-fdf00000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)
    
    wlan0     Link encap:Ethernet  HWaddr 00:16:E3:21:D0:CF  
              inet6 addr: fe80::216:e3ff:fe21:d0cf/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:5766 (5.6 KiB)
    
    gladier@gladier-desktop:~$ iwlist scan
    lo        Interface doesn't support scanning.
    
    eth0      Interface doesn't support scanning.
    
    eth1      Interface doesn't support scanning.
    
    wlan0     Scan completed :
              Cell 01 - Address: 00:0F:B5:3E:46:4A
                        ESSID:"VANHOUTEN"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.462 GHz (Channel 11)
                        Quality:35/100  Signal level:-73 dBm  Noise level:-96 dBm
                        Encryption key:off
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                                  12 Mb/s; 48 Mb/s
                        Extra:bcn_int=100
                        Extra:atim=0
              Cell 02 - Address: 00:14:BF:EC:D0:E0
                        ESSID:"MuWaPa"
                        Protocol:IEEE 802.11g
                        Mode:Managed
                        Frequency:2.457 GHz (Channel 10)
                        Quality:46/100  Signal level:-66 dBm  Noise level:-96 dBm
                        Encryption key:on
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                                  48 Mb/s; 54 Mb/s
                        Extra:bcn_int=100
                        Extra:atim=0
                        IE: WPA Version 1
                            Group Cipher : TKIP 
                            Pairwise Ciphers (1) : TKIP 
                            Authentication Suites (1) : PSK  
    
    sit0      Interface doesn't support scanning.
    
    gladier@gladier-desktop:~$ cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    
    
    iface eth0 inet dhcp
    
    auto eth1
    iface eth1 inet dhcp
    
    auto eth2
    iface eth2 inet dhcp
    
    auto ath0
    iface ath0 inet dhcp
    
    auto wlan0
    iface wlan0 inet dhcp
    wpa-driver wext
    wpa-conf managed
    wpa-ssid MuWaPa
    wpa-ap-scan 2
    wpa-proto RSN
    wpa-pairwise CCMP
    wpa-group CCMP
    wpa-key-mgmt WPA-PSK
    wpa-psk 8271c094cb6412345asfg97bfb0d45054asdfa231175d8 [changed for posting]
    
    auto eth0
    gladier@gladier-desktop:~$ cat /etc/modprobe.d/ndiswrapper
    install usb:v0B05p1717d*dc*dsc*dp*ic*isc*ip* /sbin/modprobe ndiswrapper
    gladier@gladier-desktop:~$ cat /etc/resolv.conf
    search ctrl-esc.local
    nameserver 192.168.15.254
    nameserver 192.168.15.1
    hopefully thats enough...

    i can see my network(MuWaPa) - however i cant connect to it. running hidden SSID WPA no mac filtering etc.

    and i know my local connection is still plugged in - but that shouldnt make a difference.

    Regards,
    Gladier

  6. #106
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 17.10 Artful Aardvark

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    If your Ethernet cable is plugged in, you won't be able to connect to your wireless network. It does make a difference.

    Second, "iwlist scan" says that your network is using TKIP which happens to be WPA1 (ESSID:"MuWaPa"):
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : TKIP
    Authentication Suites (1) : PSK
    Either change to WPA2 or use the sample script for WPA1 instead:
    auto wlan0
    iface wlan0 inet dhcp
    wpa-driver wext
    wpa-conf managed
    wpa-ssid MuWaPa
    wpa-ap-scan 2
    wpa-proto WPA
    wpa-pairwise TKIP
    wpa-group TKIP
    wpa-key-mgmt WPA-PSK
    wpa-psk 8271c094cb6412345asfg97bfb0d45054asdfa231175d8 [changed for posting]

  7. #107
    Join Date
    Jan 2007
    Location
    Chennai, India
    Beans
    96
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    I've followed the HOW-TO exactly.
    I've got a Netgear WG111v2 USB dongle that I have installed using NDISWRAPPER.

    'iwlist scan' shows me the available network:

    Code:
    anjan@supernal:~$ iwlist wlan0 scan
    wlan0     Scan completed :
              Cell 01 - Address: 00:14:6C:F0:03:06
                        ESSID:"AnjanWireless"
                        Protocol:IEEE 802.11bg
                        Mode:Master
                        Channel:11
                        Encryption key:on
                        Bit Rates:54 Mb/s
                        Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 22 24 36 48 54 
                        Quality:17  Signal level:0  Noise level:2
                        Extra: Last beacon: 0ms ago
    Output of 'iwconfig'
    Code:
    anjan@supernal:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan0     802.11b/g link..  ESSID:"AnjanWireless"  
              Mode:Managed  Channel=11  Access Point: Not-Associated   
              Bit Rate=11 Mb/s   
              Retry:on   Fragment thr: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
    
    sit0      no wireless extensions.
    Contents of my 'interfaces' file:

    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp
    
    auto eth1
    iface eth1 inet dhcp
    
    auto eth2
    iface eth2 inet dhcp
    
    auto ath0
    iface ath0 inet dhcp
    
    auto wlan0
    iface wlan0 inet dhcp
    wireless-essid AnjanWireless
    wpa-driver wext
    wpa-conf master
    wpa-ssid AnjanWireless
    wpa-ap-scan 1
    wpa-proto WPA
    wpa-pairwise TKIP
    wpa-group TKIP
    wpa-key-mgmt WPA-PSK
    wpa-psk <hidden>

    First, before reading this How-To, I had my 'interfaces' file without all the wpa config commands. Instead I had these two lines:

    Code:
    pre-up wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
    Contents of my 'wpa_supplicant.conf' file:

    Code:
    # Minimal /etc/wpa_supplicant.conf to associate with open
    #  access points. Please see 
    #  /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
    #  configuration parameters.
    
    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=0
    
    eapol_version=1
    ap_scan=2
    fast_reauth=1
    
    network={
            ssid="AnjanWireless"
    	scan_ssid=1
           	key_mgmt=WPA-PSK
    	proto=WPA
           	#pairwise=CCMP TKIP
           	#group=CCMP TKIP
            #psk="<hidden>"
            psk=<hidden>
    }
    Everything seems OK to me. But I just cannot hook up to my wireless router, even after disabling my wired connection (eth0) and disconnecting my ethernet cable.

    Please, I've spent three days on this now and Ubuntu is really starting to frustrate me. Someone help!
    Last edited by t_anjan; January 15th, 2007 at 01:34 PM.

  8. #108
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 17.10 Artful Aardvark

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    t_anjan:

    What are your router's security settings? It looks to me as if it is set to WEP. Could you check? If it is set to WPA, is it WPA with TKIP (WPA1) or AES (WPA2)? Is broadcasting of ESSID enabled or hidden?

  9. #109
    Join Date
    Jan 2007
    Location
    Chennai, India
    Beans
    96
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    Quote Originally Posted by wieman01 View Post
    t_anjan:

    What are your router's security settings? It looks to me as if it is set to WEP. Could you check? If it is set to WPA, is it WPA with TKIP (WPA1) or AES (WPA2)? Is broadcasting of ESSID enabled or hidden?
    No, my router is set to WPA-PSK, with TKIP. I know this is correct, because I connect to the same router from my windows laptop. SSID broadcasting is ON.

  10. #110
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 17.10 Artful Aardvark

    Re: HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.

    Quote Originally Posted by t_anjan View Post
    No, my router is set to WPA-PSK, with TKIP. I know this is correct, because I connect to the same router from my windows laptop. SSID broadcasting is ON.
    Have you got Firestarter, NetworkManager, or Wifi-Radar running? If so, uninstall them for the time being... Please also post the output when you restart the network:

    sudo ifdown -v wlan0
    sudo ifup -v wlan0

Page 11 of 184 FirstFirst ... 9101112132161111 ... LastLast

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
  •