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 182 of 184 FirstFirst ... 82132172180181182183184 LastLast
Results 1,811 to 1,820 of 1832

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

  1. #1811
    Join Date
    Feb 2012
    Beans
    5

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

    All right, this is driving me batty.

    I have a dual-boot Ubuntu, 11.10 desktop and 11.10 server. The desktop connects to my WAP with no trouble, but I can't get the server to connect.

    I'm broadcasting my essid and using wpa2 personal with psk

    interfaces looks like this:
    auto wlan0
    iface wlan0 inet static
    address 192.168.1.6
    netmask 255.255.255.0
    gateway 192.168.1.1
    network 192.168.1.0
    broadcast 192.168.1.255
    wpa-driver wext
    wpa-ssid NETWORKNAME
    wpa-ap-scan 1
    wpa-proto RSN
    wpa-pairwise CCMP
    wpa-group CCMP
    wpa-key-mgmt WPA-PSK
    wpa-psk *64 bit hex number*


    iwconfig returns this:
    wlan0 802.11b/g link ESSID: "NETWORKNAME"
    Mode: managed frequency 2.463 GHz Access Point: (it's the right MAC address)
    Bit Rate=54 Mb/s
    Retry: on RTS thr: off Fragment thr: off
    Encryption key: off
    Power Management: off
    Link Quality = 73/100 Signal level= -44 dBm Noise level= -102 dBm
    Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
    Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0


    So....I'm seeing the WAP from the server, I'm just not connecting. I've triple-checked the PSK.

    I'm sure the solution is posted somewhere within the 182 pages of this thread, but I can't find it.

    I have noticed something odd, though. ifup/ifdown wlan0 don't work, but ifconfig wlan0 up/down do work.

    Thanks in advance
    Last edited by sgtzim; February 27th, 2012 at 03:40 PM.

  2. #1812
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 16.04 Xenial Xerus

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

    Quote Originally Posted by sgtzim View Post
    iwconfig returns this:
    wlan0 802.11b/g link ESSID: "NETWORKNAME"
    Mode: managed frequency 2.463 GHz Access Point: (it's the right MAC address)
    Bit Rate=54 Mb/s
    Retry: on RTS thr: off Fragment thr: off
    Encryption key: off
    Power Management: off
    Link Quality = 73/100 Signal level= -44 dBm Noise level= -102 dBm
    Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
    Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0
    Silly question... Have you turned on WPA at all? This says security is off. So this script isn't really useful under those circumstances.

    What does "sudo iwlist scan" return?

  3. #1813
    Join Date
    Feb 2012
    Beans
    5

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

    Quote Originally Posted by wieman01 View Post
    Silly question... Have you turned on WPA at all? This says security is off. So this script isn't really useful under those circumstances.

    What does "sudo iwlist scan" return?
    Not such a silly question. I didn't know you had to. I'm a MS net admin and Linux is brand-spanking new to me. The thing that's really frying my bacon is that wlan0 works on the desktop side, but not on server side. The only thing I'm doing differently on the desktop side is using bootp instead of static.

    It returns every WAP in the neighborhood, including mine.

    Cell 01 - Address: MAC is correct
    essid: NETWORKNAME
    Protocol: 802.11bg
    Mode: Master
    Channel: 11
    Encryption Key: on
    Bit Rates: 54mbps
    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher: CCMP
    Pairwise Ciphers (1): CCMP
    Authentication Suites (1): PSK


    ***************
    edit:
    now it's only finding my WAP on iwlist scan. I was getting returns on about 7 or 8 different WAPs yesterday

    something else that's kind of strange to me. iwconfig under my normal account doesn't give any indication as to the Encryption, but when I run iwconfig as root, it shows encryption as off
    Last edited by sgtzim; February 29th, 2012 at 12:38 AM.

  4. #1814
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 16.04 Xenial Xerus

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

    Perhaps you can post some more stuff, you find the relevant commands under section "Post this if you are stumped". Not entirely sure what is going on at this point.

  5. #1815
    Join Date
    Feb 2012
    Beans
    5

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

    Quote Originally Posted by wieman01 View Post
    Perhaps you can post some more stuff, you find the relevant commands under section "Post this if you are stumped". Not entirely sure what is going on at this point.
    Is there something I need to do with wpa_supplicant? I've left it and all of its shell scripts just as they were right out of the box.

    As I said, I'm a total noob with Linux. Knowing that, what other stuff would be helpful for me to post?
    Last edited by sgtzim; March 1st, 2012 at 01:58 AM.

  6. #1816
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,726
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

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

    Thought this thread was dead!!! What a revival!! I'm impressed!

  7. #1817
    Join Date
    Feb 2012
    Beans
    5

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

    I finally figured out the problem. I have an eth0 set in my interfaces file, and whenever I tried to ping my server or ping from my server, the attempted connections were always made through the eth0 NIC which, of course, wasn't connected to anything.

    I deleted the eth0 portion of interfaces, and now everything works.

  8. #1818
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,294
    Distro
    Kubuntu 16.04 Xenial Xerus

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

    Quote Originally Posted by kevdog View Post
    Thought this thread was dead!!! What a revival!! I'm impressed!
    Man, I could not believe it either. Lol.

  9. #1819
    Join Date
    Feb 2012
    Beans
    5

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

    Now the question becomes...

    How do I force the "first look" to be at wlan0 instead of eth0 when resolving IP/DNS names?

    This is a development server on a laptop, and I split time between my house and my fiance's house. When I'm at home, I'm running two subnets, but when I'm here, it's just too much of a PITA to use ethernet. So when I don't have ethernet cable hooked up, I only want responses through wlan0. Am I just going to have to have 2 copies of interfaces, or is there a config file someplace where I can force first look to wlan0, or "if eth0 fails then ask wlan0"?

    I'd think that there has to be because winblows does it automatically, and if winblows has it, surely Linux has it better. Not to mention the fact that Ubuntu desktop does it, too.

    Something else that is strange to me is that when I'm connected to my network via ethernet cable, I could ping both the eth0 and the wlan0.
    Last edited by sgtzim; March 1st, 2012 at 08:29 PM.

  10. #1820
    Join Date
    Mar 2012
    Beans
    1

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

    hello sir i followed ur settng for WPA2 DHCP and have done all the properly to my knowledge..
    The output of iwconfig is:
    wlan0 IEEE 802.11abgn ESSID:"dlink"
    Mode:Managed Frequency:2.437 GHz Access Point: 00:24:01:BA:57:0B
    Bit Rate=54 Mb/s Tx-Power=20 dBm
    Retry long limit:7 RTS thrff Fragment thrff
    Power Managementn
    Link Quality=50/70 Signal level=-60 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    my dmesg o/p is :
    ubuntu@omap:/etc/init.d$ dmesg | tail
    [ 3119.295043] wlan0: associated
    [ 3122.320373] wlan0: deauthenticated from 00:24:01:ba:57:0b (Reason: 2)
    [ 3122.448577] cfg80211: All devices are disconnected, going to restore regulatory settings
    [ 3122.448608] cfg80211: Restoring regulatory settings
    [ 3122.448638] cfg80211: Calling CRDA to update world regulatory domain
    [ 3124.344268] wlan0: authenticate with 00:24:01:ba:57:0b (try 1)
    [ 3124.347076] wlan0: authenticated
    [ 3124.376068] wlan0: associate with 00:24:01:ba:57:0b (try 1)
    [ 3124.379913] wlan0: RX AssocResp from 00:24:01:ba:57:0b (capab=0x431 status=0 aid=2)
    [ 3124.379943] wlan0: associated

    my interace file is
    auto lo
    iface lo inet loopback
    auto wlan0
    iface wlan0 inet dhcp
    wpa-driver wext
    wpa-ssid dlink
    wpa-ap-scan 2
    wpa-proto RSN
    wpa-pairwise CCMP
    wpa-group CCMP
    wpa-key-mgmt WPA-PSK
    wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxx

    i am putting these setting on my pandaboard es having ubuntu 11.10 .
    sometimes i get this error message automaticcaly :
    wl1271: ERROR invalid hlid. dropping skb
    (confused)
    please help!!!

Page 182 of 184 FirstFirst ... 82132172180181182183184 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
  •