[solved]Can't get IP address with DHCP over wifi

I try to connect my laptop to a network via wifi (WPA). I'm connected and the router also says that there is a computer connected to wifi. But then DHCP time out. The ethernet connection is working fine and I have no problem to get an IP address with it. I have no idea what is wrong...
# ifconfig [1]
eth0 Link encap:Ethernet HWaddr 00:0A:E4:D9:E1:9E
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20a:e4ff:fed9:e19e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12984 errors:0 dropped:0 overruns:0 frame:0
TX packets:11611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8858571 (8.4 Mb) TX bytes:1271863 (1.2 Mb)
Interrupt:20 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:15:00:2D:1A:AA
inet6 addr: fe80::215:ff:fe2d:1aaa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:40 dropped:40 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:11417 (11.1 Kb)
Interrupt:20 Base address:0xe000 Memory:b0106000-b0106fff
#iwconfig
eth0 no wireless extensions.
eth1 IEEE 802.11bg ESSID:"lua"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1D:6A:62:7C:B8
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:XXXXXXXXXXXXXXXXXXXXXXXXXXX Security mode:open
Power Management:off
Link Quality=98/100 Signal level=-26 dBm Noise level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:40 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
#dhcpcd eth1 --debug [0]
dhcpcd[3570]: version 5.2.12 starting
dhcpcd[3570]: eth1: using hwaddr 00:15:00:2d:1a:aa
dhcpcd[3570]: eth1: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[3570]: eth1: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[3570]: eth1: reading lease `/var/lib/dhcpcd/dhcpcd-eth1.lease'
dhcpcd[3570]: eth1: discarding expired lease
dhcpcd[3570]: eth1: broadcasting for a lease
dhcpcd[3570]: eth1: sending DISCOVER (xid 0xe8ad5914), next in 3.31 seconds
dhcpcd[3570]: eth1: sending DISCOVER (xid 0xe8ad5914), next in 7.57 seconds
dhcpcd[3570]: eth1: sending DISCOVER (xid 0xe8ad5914), next in 16.46 seconds
dhcpcd[3570]: eth1: sending DISCOVER (xid 0xe8ad5914), next in 32.92 seconds
dhcpcd[3570]: timed out
Last edited by bzhb (2011-09-12 11:30:30)

Ok it was in fact my fault. I did configure iwconfig like with a WEP connection, and it was WPA... Strangely it was not rejected, so I assumed it was connected...

Similar Messages

  • Cisco 891 not getting IP address with DHCP with latest IOS

    Hi,
    I have a few Cisco 891 routers that are configured as DHCP clients on the WAN interface.
    For some reason when I boot the router with a late IOS, the router is not receiving an address.
    It works just as expected with the older IOSes.
    Any ideas of what changed?
    This is how the interface is configured:
    interface FastEthernet8
     ip address dhcp
     no ip redirects
     no ip unreachables
     no ip proxy-arp
     duplex auto
     speed auto
     no cdp enable
    This IOS does not work:
    c890-universalk9-mz.154-3.M2.bin
    While these do work:
    c890-universalk9-mz.150-1.M7.bin
    c890-universalk9-mz.151-2.T2.bin
    c890-universalk9-mz.152-1.T1.bin
    Doing a "show ip interface brief" shows that FastEthernet8 is unassigned with the affected IOS.
    With the older IOSes there is an IP address.
    I had to downgrade two routers due to this issue, and did not have  plenty of time to troubleshoot.
    Both of the routers are connected to DSL from the same ISP...
    Anyone seen anything like this  before?

    Add another one to the list.
    I have a MacBookPro3,1 that connects to WIFI no problem. It used to connect to ethernet when I originally bought it, however I've been using WIFI exclusively for the past 2 years.
    Recently I had a need to connect via ethernet and it wouldn't work at home (apple airport router). I next tried connecting via ethernet at a friends house using a linksys WRT54G, no dice either. I have the computer in the lab today (University Network) and I get the same error. 3 different locations, 3 different routers, all same problem. It used to connect to home and university networks ethernet right away.
    IP address assigned is 169.xxx.xxx.xxx - subnet - 255.255.0.0
    no other info. It's showing up as connecting to the network, but unable to communicate with DHCP. It does work if I enter all of the information in manually.
    At first I thought I had messed something up in networking preferences as I tend to play around with things alot. However I did a complete system format, and fresh install of OSX Lion and I still have the same problem, without any of my meddling around to confuse things.
    What gives?

  • [Solved] Can't get netctl working with ethernet/dhcp

    I'm trying to use netctl with the example file for dhcp:
    Description='A basic dhcp ethernet connection'
    Interface=enp0s25
    Connection=ethernet
    IP=dhcp
    ## for DHCPv6
    #IP6=dhcp
    ## for IPv6 autoconfiguration
    #IP6=stateless
    Starting this profile results in:
    A dependency job for netctl@ethernet\x2ddhcp.service failed. See 'journalctl -xn' for details.
    journalctl -xn
    -- Logs begin at Sat 2014-09-13 19:32:03 CEST, end at Mon 2014-09-15 02:17:52 CEST. --
    Sep 15 02:16:07 toms_machine sudo[2768]: pam_unix(sudo:session): session closed for user root
    Sep 15 02:16:07 toms_machine dhcpcd[990]: exited
    Sep 15 02:16:22 toms_machine sudo[2772]: ben : TTY=pts/2 ; PWD=/etc/netctl ; USER=root ; COMMAND=/usr/bin/netctl start ethernet-dhcp
    Sep 15 02:16:22 toms_machine sudo[2772]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Sep 15 02:17:52 toms_machine systemd[1]: Job sys-subsystem-net-devices-eth0.device/start timed out.
    Sep 15 02:17:52 toms_machine systemd[1]: Timed out waiting for device sys-subsystem-net-devices-eth0.device.
    -- Subject: Unit sys-subsystem-net-devices-eth0.device has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit sys-subsystem-net-devices-eth0.device has failed.
    -- The result is timeout.
    Sep 15 02:17:52 toms_machine systemd[1]: Dependency failed for A basic dhcp ethernet connection.
    -- Subject: Unit netctl@ethernet\x2ddhcp.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit netctl@ethernet\x2ddhcp.service has failed.
    -- The result is dependency.
    Note it is saying something about eth0 while ip link is resulting in
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 28:d2:44:52:2e:ad brd ff:ff:ff:ff:ff:ff
    3: wlp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 5c:51:4f:fb:7b:51 brd ff:ff:ff:ff:ff:ff
    Obviously there is no eth0. How can I set things up using the interface name "enp0s25"? By the way using dhcpcd works so there is no problem with the phsyical connection.
    Last edited by gladixy (2014-09-18 12:00:15)

    I solved the problem by replacing
    /etc/systemd/system/netctl\@ethernet\\x2ddhcp.service
    .include /usr/lib/systemd/system/[email protected]
    [Unit]
    Description=A basic dhcp ethernet connection
    BindsTo=sys-subsystem-net-devices-eth0.device
    After=sys-subsystem-net-devices-eth0.device
    with
    .include /usr/lib/systemd/system/[email protected]
    [Unit]
    Description=A basic dhcp ethernet connection
    BindsTo=sys-subsystem-net-devices-enp0s25.device
    After=sys-subsystem-net-devices-enp0s25.device
    I'm not sure whether this is the best way to solve the problem. If somebody knows a better solution it would not hurt to post it here.

  • How can i get the address with drag and drop from address book into pages?

    I want to creat a letter withe the new pages. Normaly it was possible to put the adress from the adressbook with drag and drop into the letter. So it was possible to create one letter with many different adresses. But now I didn't find this function any more. How to do ist now?
    Withe best regards and I'm sorry for may bad english
    Klaus

    Sounds like you "upgraded" to Pages 5.
    Apple has removed over 90 features from Pages 5.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

  • Can't get on internet with 3g or wifi

    I have a greyed out wifi on my phone and have done a full restore, reset network settings etc. Iw will not even connect to the internet via 3G, says in appstore 'unable to connect to app store' when in safari it states 'connection to the internet has been lost'
    I also cannot access email....
    help please I have read about the greyed out wifi which i think may be a hardware issue but i didn't think it would affect the whole internet?

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the articles below.
    iOS: Wi-Fi settings grayed out or dim
    http://support.apple.com/kb/ts1559
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS3780
    -Griff W.

  • I can, I can't get my address book to snyc with my ipad2.  I'm using Outlook express 2004.  I followe the steps in itunes, but still no contacts.  Any suggestions?

    Can't get my address book to sync to IPAD2.  Using Outlook Express 2004.  I followed the steps in Itunes, but still not contacts.  Any suggestions?

    Mine is doing the exact same thing, and nobody on any of these threads has had any luck fixing it yet, so far as I can tell. iSync is worthless since it simply won't see the ipod and basically is not used at all now as .mac is done through its own preference window. What did work for me, and was quite easily done, was to just open your ipod through the finder and delete the vcard data in the contacts folder. Export your contacts from address book as a vcard to that contacts folder on your ipod, and it all works fine.
    Still won't sync...but at least this only takes a minute to do. I'd like to actually fix it though.

  • Can I get a MBP with 32 GB of RAM?

    Can I get a MBP with 32 GB of RAM?:  I know someone is going to give me a 1-word reply: "NO".
    But what I want to encourage is a bit of a discussion here.  Why not 32 gb RAM?  Isn't it about time?  It can't be the price or??  Can't the software handle it?
    I keep things a long time--- 10yr+ PBG4; 5 year MBP-13" --- and that's great when I could (and have) upgraded with more RAM, SSD's etc.  But today's Macs are basically sealed boxes like an iPad I believe (talking MacBOOK / MBP's here, not iMacs)(although they are fairly tightly sealed nowadays, too!).  So I really have to purchase thinking "What will I need in 2020 or 2022?"  -or- "How do I win the lottery?"
    Any comments appreciated -- I was planning to upgrade my mid-2010 MBP from 8 gb to 16 gb RAM (yes, you can… just this one model of that age) --- but perhaps save the $150 and put it towards a new one--- then again, $150 is only about 5 hours of an Watch so might just do that anyway…
    Thanks,
    Steve
    Friday 10 April 2015

    I believe this IS a problem -- it is an issue I have about not being able to run things without enough RAM.
    And I think "No you can't" is not a very helpful answer at all!  In fact I prefaced my inquiry / problem with my first sentence thinking someone like you would give just such a reply---- was trying to avoid that!
    There might be companies out there like OWC or Crucial or I don't know who -- that could / might / might some day provide increased RAM for existing MBP's just like for my MBP 2010 that is spec'd at 8 gb max RAM but there is a 16 gb solution out there.
    So if anyone else would like to try to solve this problem for me --
    Best regards,
    Steve S.
    Friday 10 April 2015
    <Edited By Host>

  • How can I get the address book to sort by "Last" name (using v 31.3.0).

    After a computer crash, I had to load Thunderbird (v31.3.0) back into my machine running Windows 8.1, and I successfully imported my address book back up file into Thunderbird (v31.3.0).
    My problem is that I don't see an option to sort the address book by "Last" name, which was available with the version of Thunderbird I had before the crash.
    How can I get the address book to sort by "Last" name?

    In 'Address Book'
    Select address book
    'View' > 'Show name as' > 'Last/First'
    The you can sort by Name.
    Either click on 'Name' column header to change sort order,
    If reversed, then click on 'Name' column header again to reverse the order.
    Or
    'View' > 'Sort By' > choose 'Name' and 'Ascending'

  • İ have an hp 3052 all in one.how can i get print out with ipad or iphone?

    İ have an hp 3052 all in one.how can i get print out with ipad or iphone?

    Hello,
    Try following the instructions here http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02623193&cc=ad&dlc=en&lc=en&jumpid=reg_r1002_us...
    If that does not help, let me know and I will see what I can do.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Setting machines to manual address with DHCP

    Sorry if this has been answered before, but I found the ARD Unix command to change clients to use a manual IP address with DHCP used for router and subnet. (Thanks again to Dave Sawyer!)
    Here's the question, is there a way to change the machines to this setting, and have them keep their current IP addresses?
    This is all in an effort to keep from having to re-add machines in ARD 2.2 after they've received a new IP. Is ARD 2.x dependent on the IP to keep track of clients? Or this there a way for it to keep track using the machine name, regardless of what the IP is?

    Sounds to me like you're doing this wrong. No matter what, DHCP with static address is not what you want.
    Comcast Business class will (or, at least, can) give you static IP addresses, so the first thing to do is check whether you do have static addresses or not, and if not decide whether you want them.
    Then you should look to seutp your server on a private LAN connected to the Comcast box via a NAT router (as shipped from Comcast, their router is more of a bridge, and they don't give you access to the router maintenance page (at least, they didn't last time I dealt with them).
    So what you need is some device between Comcast and your server. There are any number of boxes, from a variery of vendors that will work. The'll take the public IP address (either DHCP or static) from Comcast and connect that to your private LAN. Once you have a private LAN you can (and should) setup your server manually, with a static IP address in your private LAN.

  • I purchased an ablum thru itunes on my phone and it says i purchased the songs on itunes but when i go on my music it says i have to repurchase all the songs how can i get the songs with out havin to pay again

    I purchased an ablum thru itunes on my phone and it says i purchased the songs on itunes but when i go on my music it says i have to repurchase all the songs how can i get the songs with out havin to pay again

    Whether you can redownload music depends upon what country that you in. If you are using your computer's iTunes then does music show in the Purchased link under Quicklinks on the right-hand side of the iTunes store home page (on your phone you might be able to redownload media via the Purchased tab in the iTunes store app) ? If music shows there, but not that album, then check to see if it's hidden : http://support.apple.com/kb/HT4919
    If you aren't in a country when you can redownload music and it's still on your phone then you should be able to copy it over from the phone via File > Devices > Transfer Purchases.

  • My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    I use my iPad to get the address book backed up by iCloud from my iPhone. However, I cannot see the recent new contacts from my iPad. Is there anyway to check the iCloud server to see if my address book backup from my iPhone is still there?

  • I got my Macbook Air from a family member and I can't get my address book on my computer.  What do I do to get the address book on it?

    I purchased an Air Mac and can't get the address book on it.  Does anyone have any ideas on what I should do.  I have an IPhone and an IPad and they both have clouds but I don't see one on my Air Mac.

    From the link posted in TD's reply
    To unhide your purchases
    Open the Mac App Store.
    Choose Store > Sign In, then enter your Apple ID and password.
    Choose Store > View My Account.
    Click on View Hidden Purchases from the Account Information page.
    From the Hidden Purchases page, locate the app you would like to unhide.
    Click the Unhide button.
    LN

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • How can I get the variable with the value from Thread Run method?

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    // I should get Inside the run method::: But I get only Inside
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    We want to access a variable from the run method of a
    Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
    Even
    though I make the variable as public /public static, I
    could get the value till the end of the run method
    only. After that scope of the variable gets lost
    resulting to null value in the called method/class..
    I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
    public class SampleSynchronisation
      public static void main(String[] args)
        SampleSynchronisation app = new SampleSynchronisation();
      public SampleSynchronisation()
        MyRunnable runner = new MyRunnable();
        new Thread(runner).start();
        // yield this thread so other thread gets a chance to start
        Thread.yield();
        System.out.println("runner's X = " + runner.getX());
      class MyRunnable implements Runnable
        String X = null;
        // this method called from the controlling thread
        public synchronized String getX()
          return X;
        public void run()
          System.out.println("Inside MyRunnable");
          X = "MyRunnable's data";
      } // end class MyRunnable
    } // end class SampleSynchronisation>
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run
    method "+sathr.x);
    // I should get Inside the run method::: But I get
    only Inside
    class sampleThread extends Thread
    public String x="Inside";
    public void run()
    x+="the run method";
    NB: if i write the variable in to a file I am able to
    read it from external method. This I dont want to do

Maybe you are looking for

  • How To Restore corrupted Oracle 10g Database

    Hello Guys, We have Oracle 10.2.0.3 database installed on Itanium server. 1. One day we found some packages got invalid & not compiling at all with error – ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []. 2. Then we succ

  • Cannot invoice a subcontracting PO with GR in to Val.blocked stock Mtype107

    Dear Experts, We are trying to invoice a subcontracting PO after the GR in to valuated blocked stock ( 107- GR Val. blocked. stock). But in MIRO, when we enter PO, no amount is proposed.  The balance amount is : 0 Hence we cannot invoice. Why is this

  • Getting authentication popups while accessing servlets

    Hi, We have deployed a servlet on the Weblogic server 10gR3 managed server soa_server1. We are trying to access this servlet from outside using the firewall but we are getting the authentication popup while accessing it.(both firewall popup and weblo

  • Is French Canadian Language (FR-CA) Supported?

    We can use the portal content translation tool in EP6 to translate texts in languages other than English.  Then we can change personalize portal to set the language to French Canadian (fr-ca).  The problem is, that the portal content translation tool

  • Read Business Partner of an OrgUnit

    Hi all, does anybody know a function module to read the assigned business partner number to an organisation? That means, you have the org number, like O 5000*25 and you would like to know the business partner number, which you can see in ppoma_crm, w