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 175 of 184 FirstFirst ... 75125165173174175176177 ... LastLast
Results 1,741 to 1,750 of 1832

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

  1. #1741
    Join Date
    Jun 2009
    Beans
    7

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

    It worked for me. I used the configuratioon WPA1 -TKIP-DHCP-Broadcast.

    Linksys WRT54G
    Kubuntu 9.04.

    regards

  2. #1742
    Join Date
    Jul 2009
    Location
    Manchester
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    Hi! Great tutorial. I'm completely new to ubuntu and thanks to your post I've managed to connect to my router and access the internet using ndiswrapper and WPA2 AES. I can't get it to work on boot though and even manually, dhcp doesn't always find an ip address straight away - it takes a lot of tries.

    ndiswrapper starts up fine and there's a wpa_supplicant process running after boot but I'm not sure if it starts ok - I don't know how to find out.

    The odd thing is that if I run wpa_supplicant from terminal (without the -B), it seems to connect to the router and negotiate the keys fine because it says "WPA: Key negotiation completed with <router's MAC>". Though this runs ok, it takes a few attempts to get an ip address assigned by dhcp every time I start the computer. I seem to have to keep on doing:
    Code:
    sudo pkill wpa_supplicant
    sudo ifconfig wlan0 down
    sudo wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplciant.conf
    then in another terminal window:

    Code:
    sudo ifconfig wlan0 up
    sudo dhclient wlan0
    and if it still doesn't get an address, do it all over again until it does. Sometimes closing one terminal window and opening another, then running wpa_supplican't in the new window seems to do the trick (coincidence?). If I stop the process (Ctrl-C), it will again take a few goes to get an ip address again.

    wpa_supplicant can see the router because it says "WPA: Key negotiation completed with <router's MAC>". It then keeps renegotiating every once in a while, always saying completed. What's odd is that I can't ping the router's ip address (it either shows "Network is unreachable" or keeps pinging without finding it). I can only ping once dhclient has found an address.

    The set-up must be ok in some respect as eventually it will get an ip address and I can access the internet so this suggests that ndiswrapper, wpa_supplicant etc are configured ok (doesn't it?)... the problem is that it can take between 1 and a lot of tries to get an ip address... I just have to keep trying. My goal is to get it to work all the time on boot.

    If I do a
    Code:
    sudo /etc/init.d/networking restart
    I get "etc/network/if-pre-up.d/wpasupplicant exited with return code 1" but though lots of posts mention this error, I couldn't see an answer of what caused it. One post said ndiswrapper but ndiswrapper -l shows it's ok and the connection does occasionally work.

    I'd be really grateful if you could point me in the right direction - I've spent 10 days trying different things from different forums but as yet none have worked and, being new to linux, I don't know what to do next or even where to look! It feels like I've overcome the biggest hurdles so far in getting a connection that works with WPA2 some times and there's just something missing that's the final piece of the puzzle.

    I found something that said I need a route to the gateway so I tried a
    Code:
    sudo route add default gw 192.168.1.1 wlan0
    to add the gateway but it came up with "SIOCADDRT: No such process". I did try change /etc/network/interfaces to a static ip address but have never got that to connect.

    I posted a question on the forum but no one replied. Can anyone here offer any advice? Thanks in advance.

    For info, I'm using Ubuntu 9.04 (dual boot setup with XP) with a linksys WMP54GS pci card (shows as Broadcom Airforce One 54g in lspci), ndiswrapper and have blacklisted b43 drivers. I've also killed the network manager process as that seemed to interfere (one post said to kill it) and just said "no wireless" even though iwlist wlan0 scan sees the router/AP.

  3. #1743
    Join Date
    Jul 2008
    Beans
    14

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

    I have a question about this. I currently automatically reconnect to my WPA2 access point, but now from the UI it says for Wireless Networks "device not managed". How will I be able to access other wi-fi points in the future?

  4. #1744
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,482
    Distro
    Kubuntu 14.04 Trusty Tahr

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

    Quote Originally Posted by urban_ryoga View Post
    I have a question about this. I currently automatically reconnect to my WPA2 access point, but now from the UI it says for Wireless Networks "device not managed". How will I be able to access other wi-fi points in the future?
    If you own a mobile device, I don't encourage you to use this method. Network Manager or other networking tools will be an advantage.

  5. #1745
    Join Date
    Mar 2009
    Location
    Wisconsin, USA
    Beans
    1
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Question WPA access for DWL-122 and Dell Dimension

    I can scan and see my network from my Dell Dimension running Ubuntu 8.10, but I can't connect to it using WPA. Until recently, I connected this to my router directly via Ethernet cable, but now I have to use wireless because I had to move the modem and router to another room.

    My setup includes a DSL modem, a US Robotics Wireless MAXg Router (USR5461)hoerr, an Acer Windows Vista, a Dell laptop Windows XP, and a eeePC 701 Xandros/KDE, all of which connect using wireless WPA with no problem (but not using the D-Link).

    I followed your instructions, and the results were that I could no longer see my network when I ran sudo iwlist scan.

    Thanks for your help!

    Here's all my info before I went through your instructions.
    Code:
    Machine Brand and Model
    	Dell Dimension 8200 tower PC
    Wireless Brand, Model and Wireless Chipset
    	D-Link DWL-122 802.11b, prism2 chipset
    lspci
    	02:0a.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
    lsusb
    	Bus 002 Device 002: ID 2001:3700 D-Link Corp. [hex] DWL-122 802.11b
    ifconfig
    wlan0     Link encap:Ethernet  HWaddr 00:0d:88:66:e3:6f  
              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)
    
    wlan0:avahi Link encap:Ethernet  HWaddr 00:0d:88:66:e3:6f  
              inet addr:169.254.8.7  Bcast:169.254.255.255  Mask:255.255.0.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
    iwconfig
    wlan0     IEEE 802.11-DS  ESSID:off/any  
              Mode:Auto  Frequency:2.422 GHz  Access Point: Not-Associated   
              Bit Rate:2 Mb/s   Tx-Power:18 dBm   
              Retry short limit:8   RTS thr:off   Fragment thr:off
              Encryption key:off
              Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    lsmod
    	Module                  Size  Used by
    	======                  ====  =======
    	prism2_usb             80260  0 
    	p80211                 38536  1 prism2_usb
    	8139too                31616  0 
    	mii                    13440  1 8139too
    	uhci_hcd               30736  0 
    	libata                177312  3 ata_piix,ata_generic,pata_acpi
    	usbcore               148848  3 prism2_usb,uhci_hcd
    	scsi_mod              155212  4 sr_mod,sd_mod,sg,libata
    dmesg
    	[    2.428476]   Magic number: 5:594:350
    	[    4.111349] hub 1-0:1.0: USB hub found
    	[    4.111371] hub 1-0:1.0: 2 ports detected
    	[    4.121177] 8139too Fast Ethernet driver 0.9.28
    	[    4.213095] hub 2-0:1.0: USB hub found
    	[    4.213115] hub 2-0:1.0: 2 ports detected
    	[    4.420653] pata_acpi 0000:00:1f.1: setting latency timer to 64
    	[    4.420816] 8139too 0000:02:0a.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    	[    4.421756] eth0: RealTek RTL8139 at 0xe400, 00:0d:88:3d:86:22, IRQ 19
    	[    4.421761] eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
    	[    4.536111] usb 2-2: new full speed USB device using uhci_hcd and address 2
    	[    4.600608] ata1.00: ATA-5: ST340016A, 3.10, max UDMA/100
    	[    4.600615] ata1.00: 78165360 sectors, multi 8: LBA 
    	[    4.608517] ata1.00: configured for UDMA/100
    	[    4.700041] usb 2-2: configuration #1 chosen from 1 choice
    	[   18.519870] prism2usb_init: prism2_usb.o: 0.2.9 Loaded
    	[   18.519876] prism2usb_init: dev_info is: prism2_usb
    	[   20.829232] Prism2 card SN: 000000000000
    	[   20.833307] usbcore: registered new interface driver prism2_usb
    	[  102.419074] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
    	[  205.454646] ADDRCONF(NETDEV_UP): eth0: link is not ready
    	[  205.455182] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    
    sudo lshw -C network
      *-network               
           description: Ethernet interface
           produmary@mary-dell:~$ sudo /etc/init.d/networking restart
     * Reconfiguring network interfaces...                                                                                   There is already a pid file /var/run/dhclient.wlan0.pid with pid 3915
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   Socket/fallback
    grep: /etc/resolv.conf: No such file or directory
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    grep: /etc/resolv.conf: No such file or directory
    ct: RTL8139 Ethernet
           vendor: D-Link System Inc
           physical id: a
           bus info: pci@0000:02:0a.0
           logical name: eth0
           version: 10
           serial: 00:0d:88:3d:86:22
           size: 10MB/s
           capacity: 100MB/s
           width: 32 bits
           clock: 33MHz
           capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s
      *-network:0 DISABLED
           description: Ethernet interface
           physical id: 1
           logical name: pan0
           serial: 6e:d0:31:62:51:d8
           capabilities: ethernet physical
           configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
      *-network:1
           description: Wireless interface
           physical id: 2
           logical name: wlan0
           serial: 00:0d:88:66:e3:6f
           capabilities: ethernet physical wireless
           configuration: broadcast=yes multicast=yes wireless=IEEE 802.11-DS
    sudo iwlist scan
    	lo        Interface doesn't support scanning.
    
    	eth0      Interface doesn't support scanning.
    
    	wlan0     Scan completed :
              Cell 01 - Address: 00:14:C1:33:90:C0
                        ESSID:"hoerrs"
                        Mode:Master
                        Encryption key:on
                        Channel:11
                        Quality:45/100  Signal level:-72 dBm  Noise level:-90 dBm
    
    	pan0      Interface doesn't support scanning.
    
    lsb_release -d
    	Description:	Ubuntu 8.10
    uname -mr
    	2.6.27-7-generic i686
    
    sudo /etc/init.d/networking restart
     * Reconfiguring network interfaces...  
    There is already a pid file /var/run/dhclient.wlan0.pid with pid 3915
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   Socket/fallback
    grep: /etc/resolv.conf: No such file or directory
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   LPF/wlan0/00:0d:88:66:e3:6f
    Sending on   Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    grep: /etc/resolv.conf: No such file or directory

  6. #1746
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,482
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: WPA access for DWL-122 and Dell Dimension

    Hello mdhoerr,

    I suppose "hoerrs" is your network. So the network is recognized, however, your wireless adapter does not seem to recognize it as a WPA secured one. I believe the driver can't really cope with WPA and might have to be replaced through "ndiswrapper".

    Do you know what driver your card is supposed to work with? I would do a little research there.

  7. #1747
    Join Date
    Aug 2009
    Beans
    2

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

    hi guys ! new to this forum. you are are doing really great job helping out newbies like me. I am also tryin to do WPA setup on my small network of 3 PC's. All the 3 PC's have Ubuntu 9.04 . I use Wicd as my network manager. I am using D-link DWL AG530 PCI cards with Atheros chipset. I have wext as my wpa supplicant driver.

    First i'll show my /ect/interfaces file,

    auto ath0
    iface ath0 inet static
    address 192.168.X.X
    netmask 255.255.255.0
    wpa-driver wext
    wpa-ssid <my ssid>
    wpa-ap-scan 1
    wpa-proto WPA
    wpa-pairwise TKIP
    wpa-group TKIP
    wpa-key-mgmt WPA-PSK
    wpa-psk ,pass phrase in hex>

    now this is my /etc/wpa_supplicant/wpa_supplicat.conf file,

    ctrl_interface=var/run/wpa_supplicant
    network={
    ssid= <my ssid>
    scan_ssid=1
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    psk=<hex passphrase key>
    }



    after running, wpa_suplicant -d -c /etc/wpa_supplicant/wpa_supplicant.conf -iath0 -Dwext

    i get a lonnggg error msg ,at the end of the error it shows,

    Failed to add interface ath0
    State DISCONNECTED > DISCONNECTED
    wpa_driver_wext_set_operstate : operstate 0>0 (DORMANT)
    WEXT: OPerstate: linkmode=-1, operstate=5
    No keys have been configured -skip key clearing
    Cancelling scan request
    Cancelling authentication timeout
    WEXT:OPerstate:linkmode=0, operstate=6


    I need to eneable WPA and preferably WPA 2 in all the 3 PC's and make one of the PC as master and rest will be clients. How should i go about this ???? do i need to make any change in interfaces or wpa_supplicant.conf file ???


    Please guys any help would b greatly appreciated.

    Thanks .

  8. #1748
    Join Date
    Aug 2009
    Beans
    2

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

    wi(s)eman 01 plzzz help me out here. really important for me to get it working in a short time.

    looking forward to any kind of help.


    cheers.

  9. #1749
    Join Date
    May 2006
    Location
    100acrewood
    Beans
    7,482
    Distro
    Kubuntu 14.04 Trusty Tahr

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

    Hello Mantes,

    Sorry, but I don't use any chat clients at all.

    This could be the right thread for you:

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

    Since you use the method outlined in the thread mentioned above, it might find an answer there. If you want to follow my method, let me know and post everything that's mentioned in section "Post this if you are stumped...".

  10. #1750
    Join Date
    Sep 2005
    Location
    Cardiff, UK
    Beans
    27
    Distro
    Ubuntu 8.04 Hardy Heron

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

    I am having trouble getting WPA to work with an Edimax EW-7318Ug USB wireless device in Ubuntu Hardy. I'm using an old Toshiba laptop with a Toshiba Mini PCI lan card installed. The card is functioning but slow and does not support WPA, hence my trying the EW-7318Ug.

    The EW-7318Ug works fine with WEP64. I tried setting up WPA with network manager and by using this how to. In my preferred configuration using DHCP, it does not get an IP address from the router. If I use a fixed IP it won't connect.

    I have the internal card switched off on the hardware switch. I have other laptops that connect to the router fine using WPA so I think the router is OK. The EW-7318Ug is reported as working out of the box in Hardy, so I would be grateful if someone could point out what I am doing wrong.

    ians@ubuntuToshiba:~$ route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    link-local * 255.255.0.0 U 0 0 0 wlan0
    link-local * 255.255.0.0 U 0 0 0 eth0
    default * 0.0.0.0 U 1000 0 0 wlan0

    ians@ubuntuToshiba:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    eth1 IEEE 802.11b ESSID:"" Nickname:"HERMES I"
    Mode:Managed Frequency:2.457 GHz Access Point: None
    Bit Rate:2 Mb/s Sensitivity:1/3
    Retry limit:4 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=0/92 Signal level=134/153 Noise level=134/153
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    wmaster0 no wireless extensions.

    wlan0 IEEE 802.11g ESSID:""
    Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
    Tx-Power=27 dBm
    Retry min limit:7 RTS thr:off Fragment thr=2346 B
    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

    ians@ubuntuToshiba:~$ sudo iwlist scan
    lo Interface doesn't support scanning.

    eth0 Interface doesn't support scanning.

    eth1 No scan results

    wmaster0 Interface doesn't support scanning.

    wlan0 Scan completed :
    Cell 01 - Address: 00:1F:9F:49:D7:71
    ESSID:"ThomsonE9A7D8"
    Mode:Master
    Channel:1
    Frequency:2.412 GHz (Channel 1)
    Quality=46/100 Signal level=-80 dBm
    Encryption key:on
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (2) : CCMP TKIP
    Authentication Suites (1) : PSK
    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (2) : CCMP TKIP
    Authentication Suites (1) : PSK
    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:tsf=00000003ab73407d
    Cell 02 - Address: 00:12:17:38:A8:86
    ESSID:""
    Mode:Master
    Channel:11
    Frequency:2.462 GHz (Channel 11)
    Quality=49/100 Signal level=-62 dBm
    Encryption key:on
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : TKIP
    Authentication Suites (1) : PSK
    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:tsf=00000058629af18b

    ians@ubuntuToshiba:~$ sudo lshw -C network
    *-network
    description: Ethernet interface
    product: 82801BA/BAM/CA/CAM Ethernet Controller
    vendor: Intel Corporation
    physical id: 8
    bus info: pci@0000:02:08.0
    logical name: eth0
    version: 03
    serial: 00:00:39:ff:88:81
    size: 10MB/s
    capacity: 100MB/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI duplex=half firmware=N/A latency=64 link=no maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
    *-network
    description: Wireless LAN Card
    product: Version 01.01
    vendor: TOSHIBA
    physical id: 0
    slot: Socket 0
    resources: irq:11
    *-network:0
    description: Wireless interface
    physical id: 2
    logical name: eth1
    serial: 00:02:2d:13:3c:86
    capabilities: ethernet physical wireless
    configuration: broadcast=yes driver=orinoco driverversion=0.15 firmware=Lucent/Agere 6.14 link=no multicast=yes wireless=IEEE 802.11b
    *-network:1
    description: Wireless interface
    physical id: 3
    logical name: wlan0
    serial: 00:1f:1f:3b:0f:ba
    capabilities: ethernet physical wireless
    configuration: broadcast=yes multicast=yes wireless=IEEE 802.11g

    ians@ubuntuToshiba:~$ sudo cat /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface

    iface eth1 inet dhcp
    # wireless-* options are implemented by the wireless-tools package
    wireless-mode managed
    wireless-key 3XXXXXXXXc
    wireless-essid gXXXXXX9

    iface eth0 inet dhcp

    auto eth0


    iface wlan0 inet dhcp
    wpa-psk 5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXe
    wpa-driver wext
    wpa-key-mgmt WPA-PSK
    wpa-proto WPA
    wpa-ssid gXXXXXX9
    wpa-ap-scan 2
    wpa-pairwise TKIP
    wpa-group TKIP

    auto wlan0

    ians@ubuntuToshiba:~$ sudo ifdown -v wlan0
    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 5771
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    wmaster0: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    Listening on LPF/wlan0/00:1f:1f:3b:0f:ba
    Sending on LPF/wlan0/00:1f:1f:3b:0f:ba
    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 3973).

    ians@ubuntuToshiba:~$ sudo ifup -v wlan
    Ignoring unknown interface wlan=wlan.
    ians@ubuntuToshiba:~$ sudo ifup -v wlan0
    Configuring interface wlan0=wlan0 (inet)
    run-parts --verbose /etc/network/if-pre-up.d
    run-parts: executing /etc/network/if-pre-up.d/wireless-tools
    run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
    wpa_supplicant: wpa-driver wext
    wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -C /var/run/wpa_supplicant
    Starting /sbin/wpa_supplicant...
    wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
    wpa_supplicant: wpa-ap-scan 2 -- OK
    wpa_supplicant: configuring network block -- 0
    wpa_supplicant: wpa-ssid "gXXXXXX9" -- OK
    wpa_supplicant: wpa-psk ***** -- OK
    wpa_supplicant: wpa-pairwise TKIP -- OK
    wpa_supplicant: wpa-group TKIP -- OK
    wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
    wpa_supplicant: wpa-proto WPA -- OK
    wpa_supplicant: enabling network block 0 -- OK

    dhclient3 -e IF_METRIC=100 -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 134519072
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    wmaster0: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    Listening on LPF/wlan0/00:1f:1f:3b:0f:ba
    Sending on LPF/wlan0/00:1f:1f:3b:0f:ba
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    run-parts --verbose /etc/network/if-up.d
    run-parts: executing /etc/network/if-up.d/avahi-autoipd
    run-parts: executing /etc/network/if-up.d/avahi-daemon
    run-parts: executing /etc/network/if-up.d/mountnfs
    run-parts: executing /etc/network/if-up.d/ntpdate
    run-parts: executing /etc/network/if-up.d/wpasupplicant

    P.S. The router I am trying to attach to is identified as cell 2 on the scan.

    P.P.S. How do I put the above pasted stuff is a scrollable box?

Page 175 of 184 FirstFirst ... 75125165173174175176177 ... 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
  •