Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46

Thread: Wireless gets link-local inet6 address

  1. #1
    Join Date
    Apr 2013
    Beans
    21

    Wireless gets link-local inet6 address

    Hello,

    I have a problem configuring my wireless. I'm using a ralink rt2800usb driver that comes as a built-in driver.
    When I scan my network I get this:

    Code:
    yannick@HTPC$ iwlist wlan0 scan                                 
    wlan0     Scan completed :
              Cell 01 - Address: 00:07:7D:14:80:D4
                        Channel:11
                        Frequency:2.462 GHz (Channel 11)
                        Quality=68/70  Signal level=-42 dBm
                        Encryption key:on
                        ESSID:"DeKinderWIFI"
                        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
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=00000000822c1f22
                        Extra: Last beacon: 508ms ago
                        IE: Unknown: 000C44654B696E64657257494649
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 03010B
                        IE: Unknown: 2A0104
                        IE: Unknown: 2F0104
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32040C121860
                        IE: Unknown: 2D1A6C181BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D160B001700000000000000000000000000000000000000
                        IE: Unknown: DD090010180204F0040000
                        IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
    When I do a iwconfig I get this:

    Code:
    yannick@HTPC$ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan0     IEEE 802.11bgn  ESSID:"DeKinderWIFI"
              Mode:Managed  Frequency:2.462 GHz  Access Point: 00:07:7D:14:80:D4
              Bit Rate=6.5 Mb/s   Tx-Power=20 dBm
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
              Link Quality=70/70  Signal level=-40 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:1   Missed beacon:0
    When I do an ifconfig I get this:

    Code:
    wlan0     Link encap:Ethernet  HWaddr 00:1c:df:92:7a:a5
              inet6 addr: fe80::21c:dfff:fe92:7aa5/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:4419 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4654 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:501795 (501.7 KB)  TX bytes:744828 (744.8 KB)
    Why is my wireless not getting a correct IPv4 address? Instead it gets a link-local address.
    The wifi dongle is recognized by my machine with the correct driver, otherwise the scan would not work.

    Thanks for your help!
    Last edited by yadeki; April 14th, 2013 at 06:08 PM.

  2. #2
    Join Date
    Apr 2012
    Beans
    Hidden!

    Re: Wireless gets link-local inet6 address

    Screenshot from 2013-04-14 13:32:45.jpg

    IPv6 is set by os default,
    click system settings
    network
    wireless
    options
    Ipv6 settings
    set to IGNORE
    Craving anchovy, herring and squid pizza.....with clam sauce

  3. #3
    Join Date
    Apr 2013
    Beans
    21

    Re: Wireless gets link-local inet6 address

    Quote Originally Posted by Hadaka View Post
    Screenshot from 2013-04-14 13:32:45.jpg

    IPv6 is set by os default,
    click system settings
    network
    wireless
    options
    Ipv6 settings
    set to IGNORE
    Hello,

    Thanks for your answer.
    I only work in cli. It's a xbmcbuntu server. So I haven't got an ubuntu desktop. If I disable ipv6 I get no address at all. The link-local address is gathered from the MAC address. It means that I haven't got a connection.
    The problem is that my wifi is recognized but I don't get an IP.
    Anymore help please?

  4. #4
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wireless gets link-local inet6 address

    Quote Originally Posted by yadeki View Post
    It's a xbmcbuntu server.
    I'm not really familiar w/ xbmcbuntu, but no desktop suggests it uses /etc/network/interfaces. What is in that file? I'm wondering if it has an "auto wlan0" line.
    Last edited by Iowan; April 16th, 2013 at 12:06 AM.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    Aug 2005
    Location
    West of the Animas
    Beans
    20,234
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Wireless gets link-local inet6 address

    FYI, these addresses fe80::21c:dfff:fe92:7aa5/64 are placeholders, not real working addresses. I suspect your system said it would like an address from the router, ideally static, and the router didn't like some of your setting and refused.

    We now return you to your regularly scheduled gurus.
    What is in that file?
    Yes, please.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  6. #6
    Join Date
    Apr 2013
    Beans
    21

    Re: Wireless gets link-local inet6 address

    I'm not really familiar w/ xbmcbuntu, but no desktop suggests it uses /etc/network/interfaces. What is in that file? I'm wondering if it has an "auto wlan0" line.
    That's right. Here's the output of this file:
    Code:
    #auto lo
    #iface lo inet loopback
    
    #WLAN config (my own adding)
    auto wlan0
    iface wlan0 inet dhcp
    wpa-driver wext
    wpa-ssid DeKinderWIFI
    wpa-psk 1f33b3cd4bd8a044ea958af749881bde774cf6a3f85d363f3f826c526ca468bf
    # if your SSID is hidden, change value to 2
    wpa-ap-scan 1
    # type WPA for WPA1, RSN for WPA2
    wpa-proto RSN
    # type CCMP for AES, TKIP for TKIP
    wpa-pairwise CCMP
    # type CCMP for AES, TKIP for TKIP
    wpa-group CCMP
    # type WPA-PSK for shared key (most common), WPA-EAP for enterprise radius server
    wpa-key-mgmt WPA-PSK
    My router config:

    Code:
    Select SSID:                            DeKinderWIFI
    Wireless Isolation within SSID:     Disabled
    Security:                                 WPA2 Personal
    Encryption:                              AES
    WPA Key:                                ********

  7. #7
    Join Date
    Apr 2013
    Beans
    21

    Re: Wireless gets link-local inet6 address

    I'm not really familiar w/ xbmcbuntu
    It's actually running on Ubuntu 11.10:

    yannick@HTPC:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 11.10 - XBMCbuntu
    Release: 11.10
    Codename: oneiric

    The only thing that is different is the XBMC software and the GUI.

  8. #8
    Join Date
    Apr 2012
    Beans
    5,430

    Re: Wireless gets link-local inet6 address

    Do you really need all that "stuff" in your wlan0 definition? for WPA personal with DHCP I've never had to do more than

    Code:
    auto wlan0
    iface wlan0 inet dhcp
        wpa-ssid yourssid
        wpa-psk yourpassphrase

  9. #9
    Join Date
    Apr 2013
    Beans
    21

    Re: Wireless gets link-local inet6 address

    Quote Originally Posted by steeldriver View Post
    Do you really need all that "stuff" in your wlan0 definition? for WPA personal with DHCP I've never had to do more than

    Code:
    auto wlan0
    iface wlan0 inet dhcp
        wpa-ssid yourssid
        wpa-psk yourpassphrase
    Hello and thanks for the reply.
    I just changed the config to what you said, but again a "sudo dhclient wlan0" doesn't give me an IP address...
    I tried a lot, but I guess I'm forgetting something.
    Anything else perhaps?

  10. #10
    Join Date
    Apr 2012
    Beans
    5,430

    Re: Wireless gets link-local inet6 address

    What did you do inbetween? you may need to actually reboot (as opposed to just restarting the networking service) to flush out your explicit driver specification

    If you're still not getting a valid IP then we need to start debugging that - you can try invoking dhclient with the -v switch to get verbose info

    Code:
    sudo dhclient -r
    
    sudo dhclient -v wlan0
    (should show you the DHCP negotiation in real time) and you can also look at the dmesg output filtered for 'wlan0'

    Code:
    dmesg | grep wlan0
    We should probably also take a step back and check exactly what device (PCI ID) you have and what driver it's trying to use

    Code:
    lspci -nn | grep -e '\[0200\]' -e '\[0280\]'
    
    sudo lshw -C network

Page 1 of 5 123 ... 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
  •