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 135 of 184 FirstFirst ... 3585125133134135136137145 ... LastLast
Results 1,341 to 1,350 of 1832

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

  1. #1341
    Join Date
    Apr 2008
    Beans
    26

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

    Great Success.
    For those who are using the M2N32 SLI Deluxe WiFi Editition or the RTL8187 native drivers:
    follow this link, download the file

    use ndiswrapper:
    sudo ndiswrapper -i
    on the .inf file found inside
    and at least for my wireless network settings, it works just fine, without tinkering in the /etc/network/interface file (i completely removed all of the stuff from that file except for the
    auto lo
    iface lo inet loopback
    lines.)
    For the record, presently my network is a:
    WPA(1)
    PEAP
    TKIP
    MSCHAPV2

    Thanks for the assistance.
    PS: Don't forget to blacklist the native RTL8187 driver. This could cause no end of headache if you do.

    EDIT: A minor inconvenience, I have to modprobe ndiswrapper at startup. But its only minor, I made a script to take care of it for me.
    Is there anyway around that? (Besides what I did).
    Last edited by Terratoch; April 6th, 2008 at 10:59 AM.

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

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

    Well done, Terratoch!

    Try this to load "ndiswrapper" at boot:
    sudo depmod -a
    sudo modprobe ndiswrapper
    echo 'ndiswrapper' | sudo tee -a /etc/modules

  3. #1343
    Join Date
    Apr 2008
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    Very nice - I was looking for a WEP guide too.

  4. #1344
    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 derekge View Post
    Very nice - I was looking for a WEP guide too.
    Don't user WEP, it's insecure. But if you really have to, check this out:

    http://ubuntuforums.org/showthread.php?t=684495

  5. #1345
    Join Date
    Jan 2008
    Beans
    16

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

    I am using a d link DWL-G510 rev. A and I can't figure out what is wrong.


    # route

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    link-local * 255.255.0.0 U 0 0 0 wlan0
    default * 0.0.0.0 U 1000 0 0 wlan0


    # iwconfig

    lo no wireless extensions.

    eth0 no wireless extensions.

    wlan0 IEEE 802.11b ESSIDff/any
    Mode:Managed Channel:0 Access Point: Not-Associated
    Bit Rate:54 Mb/s Sensitivity=-200 dBm
    RTS thr=2346 B Fragment thr=2346 B
    Power Managementff
    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


    # sudo iwlist scan

    lo Interface doesn't support scanning.

    eth0 Interface doesn't support scanning.

    wlan0 Failed to read scan data : Resource temporarily unavailable


    But if I run sudo /etc/init.d/networking stop


    lo Interface doesn't support scanning.

    eth0 Interface doesn't support scanning.

    wlan0 Scan completed :
    Cell 01 - Address: 00:03:7F:FE:00:02
    ESSID:"anthony"
    Protocol:IEEE 802.11b
    Mode:Managed
    Frequency:2.437 GHz (Channel 6)
    Quality:68/100 Signal level:-52 dBm Noise level:-96 dBm
    Encryption keyn
    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
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : TKIP
    Authentication Suites (1) : PSK


    # sudo lshw -C network

    *-network
    description: Wireless interface
    product: Marvell W8300 802.11 Adapter
    vendor: Marvell Technology Group Ltd.
    physical id: 6
    bus info: pci@0000:03:06.0
    logical name: wlan0
    version: 07
    serial: 00:0f:3d:4e:2f:a6
    width: 32 bits
    clock: 66MHz
    capabilities: pm bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=ndiswrapper+mrv8k51 driverversion=1.52+D-Link,1/09/2004,2.3.0.1 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11b


    # sudo cat /etc/network/interfaces

    auto lo
    iface lo inet loopback

    auto wlan0
    iface wlan0 inet dhcp
    wpa-driver wext
    wpa-ssid anthony
    wpa-ap-scan 1
    wpa-proto WPA
    wpa-pairwise TKIP
    wpa-group TKIP
    wpa-key-mgmt WPA-PSK
    wpa-psk f30669bdd0818043258e4e74da71397c430402d66378394d21 66159801b6cf12


    # sudo ifdown -v <your_interface>

    Configuring interface wlan0=wlan0 (inet)
    run-parts --verbose /etc/network/if-down.d
    run-parts: executing /etc/network/if-down.d/avahi-autoipd
    run-parts: executing /etc/network/if-down.d/wpasupplicant
    dhclient3 -r -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
    There is already a pid file /var/run/dhclient.wlan0.pid with pid 16161
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.5
    Copyright 2004-2006 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/wlan0/00:0f:3d:4e:2f:a6
    Sending on LPF/wlan0/00:0f:3d:4e:2f:a6
    Sending on Socket/fallback
    DHCPRELEASE on wlan0 to 192.168.1.1 port 67
    ifconfig wlan0 down
    run-parts --verbose /etc/network/if-post-down.d
    run-parts: executing /etc/network/if-post-down.d/avahi-daemon
    run-parts: executing /etc/network/if-post-down.d/wireless-tools
    run-parts: executing /etc/network/if-post-down.d/wpasupplicant
    wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid
    Stopped /sbin/wpa_supplicant (pid 16130).

    # sudo ifup -v <your_interface>

    ioctl[SIOCSIWPMKSA]: Invalid argument
    There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519120
    Internet Systems Consortium DHCP Client V3.0.5
    Copyright 2004-2006 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/wlan0/00:0f:3d:4e:2f:a6
    Sending on LPF/wlan0/00:0f:3d:4e:2f:a6
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.

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

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

    Did you do?
    sudo ifup -v wlan0
    What could this relate to?
    ioctl[SIOCSIWPMKSA]: Invalid argument

  7. #1347
    Join Date
    Jan 2008
    Beans
    16

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

    edit: it's working now. I didn't change any ubuntu settings (did change my router from aes to tkip though)

    thanks anyway

    Code:
    sudo ifup -v wlan0
    gives

    Code:
    ioctl[SIOCSIWPMKSA]: Invalid argument
    There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519120
    Internet Systems Consortium DHCP Client V3.0.5
    Copyright 2004-2006 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:0f:3d:4e:2f:a6
    Sending on LPF/wlan0/00:0f:3d:4e:2f:a6
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    Last edited by anthony.canucks; April 10th, 2008 at 07:47 PM.

  8. #1348
    Join Date
    Apr 2008
    Beans
    10

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

    First of all, thanks a million for this great HOWTO, wieman01!

    I just wanted to post some notes from my installation, for anyone else who has a Zyxel G-210H (USB) wireless adapter.

    When I first got the G-210H, I was still using Kubuntu Gutsy, and had all kinds of trouble... never did get it working reliably. Then, a week or so later, Ubuntu Hardy (8.04) came out, and everything "just worked"... including WPA and ESSID. (Note: Be sure to use ndiswrapper with the Win2k driver. The WinXP driver didn't work for me.)

    Then, a couple of days ago, it "just stopped" working... Suddenly I wasn't getting a DHCP lease. I had no IPv4 address for wlan0, but I had a new "wlan0:avahi" showing up in ifconfig.

    Googling for answers, I found several threads about how to disable avahi-daemon, none of which worked. (There seems to be no way to disable avahi without removing it, and that requires removing ubuntu-desktop too.)

    I also tried wicd, and that ended up wasting a bunch of my time too... because it "seemed" like it ought to work, but didn't.

    Anyway, I'm glad I finally found this HOWTO...

    Cheers,

    --jrd

    PS: Here's my /etc/network/interfaces, for reference:

    Code:
    auto lo
    iface lo inet loopback
    
    auto wlan0
    iface wlan0 inet dhcp
    wpa-driver wext
    wpa-ssid ########
    wpa-ap-scan 2
    wpa-proto WPA
    wpa-pairwise TKIP
    wpa-group TKIP
    wpa-key-mgmt WPA-PSK
    wpa-psk ########

  9. #1349
    Join Date
    Apr 2008
    Beans
    26

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

    Thanks for the tip it worked like a charm. Would you know how to set it up so that it automatically logs me into the wireless network without my having to go through the annoyance of doing it manually every time i reset my computer?

  10. #1350
    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 Terratoch View Post
    Thanks for the tip it worked like a charm. Would you know how to set it up so that it automatically logs me into the wireless network without my having to go through the annoyance of doing it manually every time i reset my computer?
    You mean you need to start the network manuallly? If that is the case, please take a look at post #2 of this thread. If not, let me know.

Page 135 of 184 FirstFirst ... 3585125133134135136137145 ... 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
  •