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

Thread: wireless wont get valid IP

  1. #1
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default wireless wont get valid IP

    This is bizarre. No matter what I do, I get a 169.254.x.x IP
    Here is networkmanagers log;
    Code:
    pr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Activation (wlan0/wireless): connection 'Jon' has security, and secrets exist.  No new secrets needed.
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Config: added 'ssid' value 'Jon'
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Config: added 'scan_ssid' value '1'
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Config: added 'psk' value '<omitted>'
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> Config: set interface ap_scan to 1
    Apr 24 02:47:09 linux-37mz NetworkManager[3207]: <info> (wlan0): supplicant connection state:  disconnected -> scanning
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): supplicant connection state:  scanning -> associating
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): supplicant connection state:  associating -> associated
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): supplicant connection state:  associated -> 4-way handshake
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): supplicant connection state:  4-way handshake -> group handshake
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): supplicant connection state:  group handshake -> completed
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Jon'.
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): device state change: 5 -> 7 (reason 0)
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> dhclient started with pid 5674
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
    Apr 24 02:47:12 linux-37mz NetworkManager[3207]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <warn> (wlan0): DHCPv4 request timed out.
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 5674
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) scheduled...
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) started...
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> (wlan0): device state change: 7 -> 9 (reason 5)
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <warn> Activation (wlan0) failed for access point (Jon)
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> Marking connection 'Jon' invalid.
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <warn> Activation (wlan0) failed.
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) complete.
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> (wlan0): device state change: 9 -> 3 (reason 0)
    Apr 24 02:47:58 linux-37mz NetworkManager[3207]: <info> (wlan0): deactivating device (reason: 0).
    I'd paste wicd's log but its very similar.

    wpa_supplicant log looks like;
    Code:
    No network configuration found for the current AP
    CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
    No network configuration found for the current AP
    CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
    No network configuration found for the current AP
    CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
    and just keeps repeating that.

    my wpa_supplicant.conf looks like this;
    Code:
    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=wheel
    ap_scan=0
    #update_config=1
    network={
       ssid="Jon"
       psk="**********"
       proto=WPA2
       key_mgmt=WPA-PSK
       pairwise=TKIP
       group=CCMP TKIP
       priority=5 
       wpa_ptk_rekey=600
    }
    lsmod shows iwlcore and iwlagn
    lspci shows 02:00.0 Network controller: Intel Corporation WiFi Link 5100
    dmesg
    Code:
    194087.841725] wlan0: authenticate with 00:25:9c:c8:cf:76 (try 1)
    [194087.844521] wlan0: authenticated
    [194087.844560] wlan0: associate with 00:25:9c:c8:cf:76 (try 1)
    [194087.846891] wlan0: RX AssocResp from 00:25:9c:c8:cf:76 (capab=0x411 status=0 aid=3)
    [194087.846895] wlan0: associated
    [194096.827175] martian source 169.254.124.148 from 169.254.124.148, on dev eth0
    [194096.827180] ll header: ff:ff:ff:ff:ff:ff:00:16:ea:71:94:dc:08:06
    [194097.027315] martian source 169.254.124.148 from 169.254.124.148, on dev eth0
    [194097.027319] ll header: ff:ff:ff:ff:ff:ff:00:16:ea:71:94:dc:08:06
    [194127.873332] martian source 169.254.124.148 from 169.254.124.148, on dev eth0
    [194127.873338] ll header: ff:ff:ff:ff:ff:ff:00:16:ea:71:94:dc:08:06
    [194128.073651] martian source 169.254.124.148 from 169.254.124.148, on dev eth0
    [194128.073657] ll header: ff:ff:ff:ff:ff:ff:00:16:ea:71:94:dc:08:06
    [194133.635343] wlan0: deauthenticating from 00:25:9c:c8:cf:76 by local choice (reason=3)
    [194133.655163] cfg80211: Calling CRDA to update world regulatory domain
    [194133.660161] cfg80211: World regulatory domain updated:
    [194133.660165]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [194133.660168]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [194133.660170]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [194133.660173]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [194133.660175]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [194133.660229]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    which brings us right back to the logs.

    Please don't suggest wicd or traditional ifup wlan0, right now they don't even work for wireless

  2. #2

    Default Re: wireless wont get valid IP

    Do you have network-manager installed? According to another thread it may be interfering and removing it may fix your issue.
    Although personally, I would use network-manager instead of a manual config.

    Another suggestion is disabling ipv6.

  3. #3
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default Re: wireless wont get valid IP

    Quote Originally Posted by rodhuffaker View Post
    Do you have network-manager installed? According to another thread it may be interfering and removing it may fix your issue.
    Although personally, I would use network-manager instead of a manual config.
    Yes, I have networkmanager installed. I have also tried with out networkmanager, that is to uninstall it, still the same problem.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,671
    Blog Entries
    3

    Default Re: wireless wont get valid IP

    I have seen this happen on one of my systems. However, when that happened, it also happened if I booted to Windows. Restarting the router fixed it.

    That might not be what you are seeing. I'm mentioning just as a reminder that there can be multiple possible causes of such a problem.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  5. #5

    Default Re: wireless wont get valid IP

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Fun command for testing. Assuming your wireless NIC is 'wlan0':

    sudo /usr/sbin/dhcpcd-test wlan0

    Post the output here, please.

    Good luck.





    On 04/24/2011 01:36 PM, Jonathan R wrote:
    >
    > rodhuffaker;2329028 Wrote:
    >> Do you have network-manager installed? According to another thread it
    >> may be interfering and removing it may fix your issue.
    >> Although personally, I would use network-manager instead of a manual
    >> config.

    > Yes, I have networkmanager installed. I have also tried with out
    > networkmanager, that is to uninstall it, still the same problem.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJNtKbxAAoJEF+XTK08PnB5SPYP/ieykwoSjo1H9rm9kPGS3Z5J
    MmyzQYt5YdJq+R+dNv24eSSeD7Vet4KvwGFcPrCk/rGLgDvfPQmGG8HRnNRjXAu5
    FVdUMgQ1VeU3vUNoeADegYI1WbOzDWrRUqYMrf3M7FWitFe5aiq+XZ7sNfNK14ug
    2PcFTyJQ5h7io6+gWHHu8GvashFPishw9EczQwxWrji6VC5RTZhW/xcJ4RLLYMrG
    prpPFnbO/B2i6DE1p5zdT1EHemWFfv6TS0oCM+AnT/yJazwaY5PuNC8wPKgrWIeq
    q+LMCQs4wksH4OPgqsR0JZl/gjTGrDsXVADlP0vhbNOezopID+9u3Ul3jD355/I9
    ji41dm8utol9yAYnJTdiKvIYLPaphKIjWWmmFG0atCXAUIVbQoTNhKYOCvvUmgNz
    /UxPL8Qi0OUJ52wwB/lPg0/fZ+rNujYwuSBSjsbXI/6YPKMg1uYvsocUZrtATMUR
    v+nmnmSMuJmMEnbScxS26mOciIpWRrxmov+DUCSUQ/wg45RAtCx/L0TBn8frxgZk
    WUcjwbHDpic+yMlCpm+Ufsd3Oy+HjnDajMllmD3caBBESeKPUdjhGqwFcz2QGrkW
    JdRnltLL/2cVhLo++k6IVjyt0h2vGoqbQgO5c+vusdQBQVa45kLhtGZCfs8VZnbR
    xMa7EzmzF9ixTr1o/DeR
    =KXGl
    -----END PGP SIGNATURE-----

  6. #6
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default Re: wireless wont get valid IP

    Here are the results;
    Code:
    /usr/sbin/dhcpcd-test wlan0
    info, wlan0: hardware address = 00:16:ea:71:94:dc
    info, wlan0: broadcasting for a lease
    debug, wlan0: sending DHCP_DISCOVER with xid 0x66468bb
    debug, wlan0: waiting for 10 seconds
    debug, wlan0: sending DHCP_DISCOVER with xid 0x66468bb
    debug, wlan0: sending DHCP_DISCOVER with xid 0x66468bb
    err, wlan0: timed out
    info, wlan0: exiting

  7. #7

    Default Re: wireless wont get valid IP

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Your DHCP server isn't responding (see the timed out) to your machine's
    request for information. Fix that and all will be well.

    Good luck.





    On 04/24/2011 09:06 PM, Jonathan R wrote:
    >
    > Here are the results;
    > Code:
    > --------------------
    > /usr/sbin/dhcpcd-test wlan0
    > info, wlan0: hardware address = 00:16:ea:71:94:dc
    > info, wlan0: broadcasting for a lease
    > debug, wlan0: sending DHCP_DISCOVER with xid 0x66468bb
    > debug, wlan0: waiting for 10 seconds
    > debug, wlan0: sending DHCP_DISCOVER with xid 0x66468bb
    > debug, wlan0: sending DHCP_DISCOVER with xid 0x66468bb
    > err, wlan0: timed out
    > info, wlan0: exiting
    >
    > --------------------
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJNtOVYAAoJEF+XTK08PnB5s2EP/RgIWC2+GdWwlNGoePYvF8i5
    eWa7WIVt1oIX6NHq5UbNxJEdFZSOycOEYdPYtnwRIhLry6KLg9Ukn8JU6nKYnIy/
    7Uj40q74Uo/FRikcgJf0Ky37CC3aU2zDHUFbZ/WOvA4Qr/ebQaZ9Jg3fCcqC6xsi
    ManHpWjlA2KHdhbkrVph+DHDuWhj0ue+2uR5ssZdGpDA/xpnBHpniwN3EBMo7aRP
    g8CHoIRsyRAiX4DaDVdWjVCRj8KKD6trNYgNNu6gWBSeRuZvOhRLOAvJW5KhIr2F
    YQrIuxC1JXcFH9mkjkVtWaXkEXpF2t9ToVQcjvYqKyAn+kdsMWQ9KNKEUy+LD9lo
    disxXLmUdWJx/OTOO12rjKowRFP94dLycuh9zx2UibHCukDqgSSP0WydAunSP867
    xbFB8PBQgsAngicDiB6C3rvYA5fuSRrxe+Q1lbSWwWcs/MC6txwJt56AuIN/LDzo
    Y0mGDpSBlm1mrIOQUMde7GAOqAywOerB2iAbVperU5WwxnbiDzjonB20crxhvgKJ
    ZS3Bu9JtOJS/cHiZL8mjsfMulhtevKFuOeBYjpJlq9tgCge5LPkusucWoTCeVQrT
    ja8yFJIdeSsJyqrZKoaWr6/KHzp6LlBnoagbkjb/1jsQnBQ9AclP96BV523z+qfi
    fP5Jb7H2XENfWTeWM1Wc
    =ToR7
    -----END PGP SIGNATURE-----

  8. #8
    Join Date
    Jun 2008
    Posts
    1,825
    Blog Entries
    1

    Default Re: wireless wont get valid IP

    Quote Originally Posted by ab View Post
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Your DHCP server isn't responding (see the timed out) to your machine's
    request for information. Fix that and all will be well.

    Good luck.
    Funny cause it works with eth0. So directly connected its fine, wirelessly, not fine

    As to it being the router, no way. I have 4 other devices that are connected wirelessly and they are working fine. 1 openSUSE 11.4 laptop (my wifes). 1 openSUSE 11.4 desktop, 1 wii, and 1 bluray. My laptop is exactly the same as my wifes. In every detail. Same hardware, same OS.

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: wireless wont get valid IP

    If the wireless works Out of the Box normally

    What happens if you boot a live cd?
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10

    Default Re: wireless wont get valid IP

    Is your router configured to not associate IP addresses to wi-fi clients?
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

Page 1 of 5 123 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •