[SOLVED] My DHCP doesn't want IP addresses offered by the router

I use NetworkManager and I always have to manually set my IP address, because my DHCP doesn't accept IP addresses offered by my router.
If I go to Settings -> Network, disconnect from wi-fi and change IPv4 setting from "Manual" to "Automatic (DHCP)", then it will keep trying to reconnect forever.
I wanted to look at DHCP logs but I cant find them (`/var/log/dhcpd.log` does not exist on my system)
If I run `sudo dhcpcd` (after killing the process with `sudo kill $(pidof dhcpcd)`) I get the following:
dhcpcd[3137]: version 6.0.5 starting
dhcpcd[3137]: enp7s0: waiting for carrier
dhcpcd[3137]: wlp8s0: soliciting an IPv6 router
dhcpcd[3137]: wlp8s0: rebinding lease of 192.168.1.3
dhcpcd[3137]: wlp8s0: carrier lost
dhcpcd[3137]: wlp8s0: carrier acquired
dhcpcd[3137]: wlp8s0: soliciting an IPv6 router
dhcpcd[3137]: wlp8s0: rebinding lease of 192.168.1.3
dhcpcd[3137]: control command: /usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action wlp8s0
dhcpcd[3137]: wlp8s0: leased 192.168.1.3 for 86400 seconds
dhcpcd[3137]: wlp8s0: adding host route to 192.168.1.3 via 127.0.0.1
dhcpcd[3137]: wlp8s0: adding route to 192.168.1.0/24
dhcpcd[3137]: wlp8s0: adding default route via 192.168.1.1
dhcpcd[3137]: forked to background, child pid 3206
"carrier lost, carrier acquired" happened because I turned off and then I turned back on my wi-fi.
"wlp8s0" is my wireless interface, while "enp7s0" is my ethernet interface.
Can someone point me to the correct direction to make DHCP work properly?
Last edited by wil93 (2013-10-06 14:08:17)

Raynman wrote:
You can see NM logs (including dhcpcd messages) using
# journalctl -u NetworkManager.service -b
(the -b limits output to the current boot).
Thanks. I tried running the command, but the output is empty:
-- Logs begin at Mon 2013-07-08 00:35:44 CEST, end at Sun 2013-09-29 14:30:06 CEST. --
I also tried removing `-b` with no luck (same output).
Awebb wrote:1. Post the lspci part, where we can see your wifi chip.
2. I had this problem last week after linux 3.11 hit stable. I had to delete around 50 unused leases from my router to make it work again.
This is the output of `lspci` command:
[...other stuff...]
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 07)
08:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
(I reported the last two lines)
By the way, as far as I can recall, I had this problem since I switched from netctl to NetworkManager. Also, it happens not only with my router (so it's definitely not a router issue).

Similar Messages

  • My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?, My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?

    My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?, My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do? iPhone 5

    Clean the lint/debris from the charging port and plug the cable in.

  • My screen is stuck, it doesn't want to go back to the home page when I press the home button

    My screen is stuck, it doesn't want to go back to the home page when I press the home button. I have to power it off then turn it back on.

    808babe-
    One thing to try, is to reset (reboot) the iPad.  Hold both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  The iPad will restart after a couple of minutes.  Resetting this way will not hurt anything, and sometimes clears up mysterious problems.
    If you can not do this reset, you may have a defective Home button.  Have an Apple Store Genius look at it, and you might get a new iPad.
    Fred

  • TS3694 my iphone 3g doesn't want to make sync to the itunes

    my iphone 3g doesn't want to sync to itunes?

    I can think of lots of reasons why it might not be connecting, but since you don't give us any information at all other than the fact that you have a 3G, we can't even begin to guess...
    iOS version? iTunes version? Windows or Mac? Operating System? Direct to USB? USB Hub?  I'll give you a quarter for a clue...
    http://tinyurl.com/4x6cdgw

  • My 2010 iMac doesn't want to wake up with the bluetooth keyboard nor mouse?

    When I put my iMac to sleep at night, usually the next morning I cannot get it to wake up.  I have all bluetooth devices attached and fully charged, but they just won't wake up the computer.  Pushing or holding the power button does nothing.  I have to cut power to it to get it to boot/reboot. All MacOS updates are installed.  Thanks for any assistance.

    One thing to check.  Even though this defaults to on, In System Preferences > Bluetooth > Advanced.. button > verify that "Allow Bluetooth devices to wake this computer" is checked.
    Also, don't turn off the keyboard or mouse overnight.  They will "sleep" at low power.  When waking the system, do a Physical click on the mouse or keyboard.
    Regards,
    Captfred

  • ISP blocks my APBS due to various MAC addresses used by the router

    Hi all,
    My Internet provider limits access to Internet over Ethernet cable
    for fixed MAC address(s). That means, I have to inform ISP of the
    only MAC address I'll use to transfer data. In the case ISP detects
    traffic with other MAC addresses on my cable, he blocks any traffic
    at all (until cable unplugged and kind of 30secs are waited).
    My configuration is APBS GigaN with "shared public IP" and with
    MacBookPro connected over embedded WiFi AirPort N card.
    I reported EthernetID of my APBS to ISP, but stuck into the problem
    that all the time router is blocked. It successfully receives
    IP settings from DHCP of provider, and then passes nothing in/out.
    The provider said he can see the packets with different MAC addresses,
    as I understood these MACs are exactly AirportID and EthernetID of
    APBS. Why is it happening so, when "shared public IP" with DHCP
    and NAT are selected? Why MAC address of wireless card of APBS is
    visible to outside? What can I do with it, supposing that provider
    can't fix the case on his side?
    Regards,
    Strim

    kevj is right, Your linksys router has 3 MAC address and they all are assocciated with each other.

  • [SOLVED] Remote Access to a home Arch system behind the router.

    Hello,
    I am trying to remotely access my home Arch system from school. I did try doing something and this is what I did:
    1. Used DynDns and NO-IP to setup a free domain, I thought NO-IP script was easy to run so I tested this on NO-IP.
    2. I then installed Openssh.
    3. Then I have setup the Port forwarding on the router to point to my ssh port (change from 22).
    4. I tried to ping, the domain name from NO-IP with no response.
    What I want to ask is... is there any better way of doing this?
    I dont need a desktop access, simple ssh should do for now.
    Thank You
    Gopi
    Last edited by gopichand (2011-11-01 00:50:13)

    OK, I have solved this by this process. Will work only if the router supports the DynDNS. I am assuming that you have created a DynDNS account, its free for 2 domains. I also had to make my computer use STATIC IP from my router, just specify any IP address outside the DHCP range.
    1. On the router, add the details about the DynDNS account. On my Belkin Router, I had to go to Firewall -> DDNS -> DynDNS and give the details and also enable it.
    2. By doing the above step, we don't have to install the client for DynDNS.
    3. On the router again, setup the port forwarding, again (on my Belkin Router) go to Firewall -> Virtual Servers -> Add the IP and the port numbers, I had to use the same number for both the incoming and the private port, though for other routers the number can differ?
    4. On the computer, I installed the openssh and then changed the login port to the one specified in the router for forwarding.
    5. Make the router and ssh logins as safe as possible. I understand that opening the router is not safe so I have to warn you.
    I can now login using my DynDNS domain name from anywhere woohoo!
    Last edited by gopichand (2011-11-01 01:07:23)

  • Why do the connected devices to the router have the smae IPV6 address?

    Hi,
    Now I meet the issue
    The operation steps on router (WRVS4400N):
    1.Set the IP mode as Dual-stack IP and then save
    2.Disable the IPV4 DHCP server
    3.Use other deivces to connect the router.
    The connected devices have the same IP address(2005:123:456:789::1),I am confused,why is it?
    please help.
    Thanks!

    Hello,
    The WRVS4400N is in fact assigning IPv6 addresses to all the devices connected to it, but the WRVS4400N does not show a table with the IPv6 addresses assigned to each device connected, it only shows the IPv4 addresses and the respective MAC address for each device. The IPv6 of the WRVS4400N is an aggregetable global unicast IPv6  address (See the image below)
    If you go to Setup > LAN you will see that you cannot modify the prefix of the IPv6 address, all you can modify is the postifx and prefix length field (As you can see in the image below).
    For more information about these fields and general IPv6 configuration,  please refer to the article IPv6 Configuration on WRVS4400N Wireless-N  Gigabit Security Routers
    The only way you have to see the IPv6 address assigned to each device connected to the WRVS4400N is to check on each device the IPv6 address assigned. The WRVS4400N does not provide this information. You can see from the below picture the IPv6 address assigned to my computer. As you can see, the WRVS4400N assign the the computer the prefix 2002:c0a8::/6. Then you can see the actual IPv6 address which is 2002:c0a8:0:b182:e6a:9b0e:cdcf.
    As you can see, the initial part (The prefix) remains the same, since these are the first 64 bits of the whole IPv6 address. The other 64 bits of the IPv6 address represents the interface ID, that is, the device that is connected to the WRVS4400N.
    I hope you find this information helpful. If you have further questions, don't hesitate to ask.
    Alejandro Moncada
    SBCD Engineer
    [email protected]

  • I cannot access my old email address anymore, however I have used it for my apple ID and now I want to delete it because the account has never been verified in the first place so my password for it doesn't work. What do I do?

    I cannot access my old email address anymore, however I have used it for my apple ID and now I want to delete it because the account has never been verified in the first place so my password for it doesn't work. So when I want to download apps I have to sign in with apple id but I can't so I made a new one, However I can't seem to be able to delete the old one. What do I do?

    You can't merge Apple IDs.  You also can't cancel (delete) and existing ID, you can only choose to stop using it.
    If your old ID was compromised and you can no longer access it, you'll have to contact Apple for assistance.  Go to https://expresslane.apple.com ; click 'See all products and services' at the bottom of the page. In the next page click 'More Products and Services, then 'Apple ID'. In the next page select 'Other Apple ID Topics' then then 'Apple ID account Security’.

  • I have an iPhone 4 and an iPod 4th gen linked to the same email address and apple ID. I am trying to set up a new email address for the iPod so a family member can use it but it doesn't want to recognize the new email account. Where am I going wrong?

    I have an iPhone 4 and a 4th gen iPod linked to the same email address and apple ID. I am trying to change the email address on the iPod so a family member can use it but when I do it says it doesn't recognize the email address. Where am I going wrong ? I just want them to be able to iMessage and email without having to use my email address.

    The procedure is Settings>Messages>Send & Receive at>You can be reached by iMessages at>Add another email address. The email address has to be a valid working email address, obviously. Apple should verify the email address and you have to go to the inbox of that email account, read the verification email from Apple and follow the inductions in the email in order to complete the verification. Then you go back to the settings, uncheck your email address and check the new email address to be used as the contact email address.

  • MAIL: Recipient doesn't want his name appearing next to his email address

    I use Mail on my MacPro w/ a gmail account. I have a client who doesn't want his name appearing next to his email address when I write to him. I've deleted his address book vcard & turned off the auto address completion in prefs. Still no good.
    Any suggestions?

    Go to Window -> Previous Recipients in Mail and delete his address there.  It will add him to that list again next time you send him a message, so be sure not to include his name at that time.
    I wonder what possible reason he could have for that?  There's no rational reason I can think of for that.  But you've got to do it the way he wants anyway, I suppose.

  • No DHCP, I just want the cable modem address

    I've been trying to setup my airport without any DHCP stuff whatsoever. I just want the airport express to echo the same IP as if I were to plug my cable modem directly into my computer. I realize this limits me to only one computer at a time on the airport, but that's exactly what I'd like.
    Thanks for the help in advance.

    Hello dkuhlmann. Welcome to the Apple Discussions!
    You just need to set up your AirPort Express Base Station (AX) as a bridge...
    To set up the AirPort Express Base Station (AX) as a bridge, either connect to the AX's wireless network or temporarily connect your computer directly (using an Ethernet cable) to the Ethernet port of the AX, and then, using the AirPort Admin Utility (located in the \Applications\Utilities folder), make these settings:
    Network tab
    - Distribute IP addresses (unchecked)
    - Apply the new setting.

  • IPad suddenly doesn't receive IP-address from DHCP-server

    I have a wireless network running 802.11x consisting of an SMC-router/AP. The network has an additional access point - actually a homeplug device (Netgear) which however is connected to the router directly by wire (ethernet cable).
    The problem is that my iPad 2 sometimes drops the assigned IP-address and won't receive a new one from the router.
    This is how it looks seen from the router's admin interface:
    When software-resetting the router, it delegates new IP-addresses to the various DHCP clients and also to the ipad. However, the ipad never receives these settings.
    Strangely, when I renew the lease on my iPhone 4, that device does receive new settings from the router.
    And even more strange: When I share the iPhone's network, the iPad will connect through that connection right away.
    So far, the only way to solve this has been to remove power from the router and reboot it while keeping the iPad in the vicinity of the router's own AP instead of the other AP.
    The problem isn't persistent but it reappears from time to time with no apparent reason.
    Any suggestions on what could be wrong here?

    Crlarsen-
    One thing you did not mention, was resetting the iPad's network.  Go to Settings-General-Reset-Reset Network Settings.  You will need to reconnect the iPad to WiFi.
    Fred

  • [Solved]Last update broke my X. Now it doesn't want to start

    Hi everyone,
    I updated my 64 bit Arch today, and when i rebooted the X server didn't start. When I type in "startx" I am getting error message which says something like "Failed to load module nvidia (module requirement missmatch, 0)", but i can load nvidia module with "modprobe nvidia" then when I type in "startx" again everything is the same. How do I overcome this problem. I think I have been using this version of nvidia driver since 2011-08-17 but today my kernel version changed. Can this be the problem and what should I do in this case? I tried downloading the same driver from the nvidia site, so I can build it on my system with the new kernel but I ended up with the same error. I'm thinking of trying the new 285 BETA driver but probably this won't help either. Please give me some hints on what should I do. If this is not the proper place for my post, please excuse me
    Last edited by raxbg (2011-09-01 14:26:00)

    Thank you laloch, this did the job, but triggered another problem ->
    Buttons problem: http://img690.imageshack.us/img690/5505 … 11436r.png
    the buttons outlines don't show up and the background of the dock at the bottom is also broken and so is the windows titlebar. Is this somehow related to the IgnoreABI option or is the driver incompatible with the new kernel? I am using compiz btw... but everything elese seems to be working good(except that xbmc doesn't want to start).
    Moderator edit
    Please do not include images of this size in your posts: https://wiki.archlinux.org/index.php/Fo … s_and_Code
    Last edited by bernarcher (2011-09-01 12:43:54)

  • After 10.6.8 upgrade, MacBook PRO doesn't acquire IP address via 802.11n wireless connection

    After upgrading a MacBook Pro to 10.6.8, the machine connects to an 802.11n wireless access point, but will not acquire an IP address using DHCP.  An iMac running 10.6.7, and an iPad2 both successfully connect and acquire DHCP IP addresses to the same access point.  The access point is an HP Procurve MSM422 access point, a commercial data center level access point.
    The MacBook Pro did acquire a connection and IP address when running 10.6.7, so this seems to be a regression introduced with the upgrade to 10.6.8.
    The MacBook Pro running 10.6.8 will acquire an 802.11g connection to the same access point without any problems.  The access point has different SSIDs for 802.11n and 802.11g.
    Changing the IP settings on the MacBook Pro from DHCP to a fixed IP address doesn't solve the problem.
    Just wanted to document this situation for those following problems with migration to 10.6.8.
    If anyone uncovers the reason and has a work around for this situation, please share.  I'll keep looking, too.  I plan to do a combo install of 10.6.8 later today to see if this remedies the situation.

    Deleting and recreating the AirPort connection doesn't help this problem.  Neither does turning the AirPort on/then off, going from DHCP to FIXED IP addresses, or repairing permissions.  I even upgraded the firmware in the HP MSM422 access point from 5.4.29 to 5.5.1 and that didn't make any difference, either. 
    Using the combo installer to reinstall 10.6.8 did fix the problem. 

Maybe you are looking for