You are not logged in.

#1 2013-04-04 20:29:36

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

dhcpcd bug?

I keep getting a dependency fail

I tried ifconfig eth0 up

Error while getting interface so then I did this

Modprobe Broadcom
Dhcpcd

Ifconfig eth0 up

Still same results

I have a Broadcom netlink bcm57781

Last edited by tmccaffery (2013-04-04 22:21:18)

Offline

#2 2013-04-04 20:30:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: dhcpcd bug?

Please paste the output of `ip link`


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-04-04 20:40:40

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: dhcpcd bug?

Ok now its back, its a bug or something? I heard something to use -t 120 but not sure where and how to put this at.

Offline

#4 2013-04-04 20:46:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: dhcpcd bug?

I don't see any output pasted in your post.

If you are going to ask for help here, the minimum expectation is that you show the courtesy of responding to requests for information with the output requested.

tmmcaffery wrote:

Ok now its back, its a bug or something? I heard something to use -t 120 but not sure where and how to put this at.

This is, quite literally, meaningless. What is back? What is a bug? You heard something to use <insert random switch>...?

You have clearly not read the wireless page on the wiki: why don't you go ahead and do that:
https://wiki.archlinux.org/index.php/Wi … stallation

Work your way through it methodically, and if you still can't get wireless to work, post some actual error messages that might help people who are volunteering their time to try and help you.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-04-04 20:55:22

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: dhcpcd bug?

I'm sorry about that here is output of ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    link/ether bc:5f:f4:49:66:8b brd ff:ff:ff:ff:ff:ff

It happens when I reboot system there is no eth0 and keeps giving me error of dependency failed for dhcpcd on eth0 then a little time passes and then it's up

Offline

#6 2013-04-04 21:04:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: dhcpcd bug?

Oh, a wired connection.

Have you enabled dhcpcd@eth0 service?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-04-04 21:11:37

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: dhcpcd bug?

Yes I enabled it, here is systemctl status

 dhcpcd.service - dhcpcd on all interfaces
         Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled)
          Active: failed (Result: exit-code) since Thu 2013-04-04 12:35:36 EDT; 30min ago
         Process: 524 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=1/FAILURE)

Apr 04 12:35:36 archiso systemd[1]: Starting dhcpcd on all interfaces...
Apr 04 12:35:36 archiso systemd[1]: dhcpcd.service: control process exited, code=exited status=1
Apr 04 12:35:36 archiso systemd[1]: Failed to start dhcpcd on all interfaces.
Apr 04 12:35:36 archiso systemd[1]: Unit dhcpcd.service entered failed state

Offline

#8 2013-04-04 21:19:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: dhcpcd bug?

jasonwryan wrote:

Have you enabled dhcpcd@eth0 service?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2013-04-04 21:41:31

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: dhcpcd bug?

I thought I figured it out but I rebooted it and it keeps dropping interface.

Last edited by tmccaffery (2013-04-04 22:22:39)

Offline

#10 2013-04-04 21:43:40

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: dhcpcd bug?

thanks for all your help.

Offline

#11 2013-04-04 22:27:25

tmccaffery
Member
Registered: 2013-04-03
Posts: 33

Re: dhcpcd bug?

here the new ip link output:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    link/ether bc:5f:f4:49:66:8b brd ff:ff:ff:ff:ff:ff

heres output of systemctl status dhcpcd

 Apr 04 13:31:54 archiso dhcpcd[416]: enp3s0: sending IPv6 Router Solicitation
Apr 04 13:31:54 archiso dhcpcd[416]: enp3s0: no IPv6 Routers available
Apr 04 14:08:51 archiso systemd[1]: Stopping dhcpcd on all interfaces...
Apr 04 14:08:51 archiso dhcpcd[490]: dhcpcd[490]: sending signal 15 to pid 416
Apr 04 14:08:51 archiso dhcpcd[490]: dhcpcd[490]: waiting for pid 416 to exit
Apr 04 14:08:51 archiso dhcpcd[416]: received SIGTERM, stopping
Apr 04 14:08:51 archiso dhcpcd[416]: enp3s0: removing interface
Apr 04 14:08:51 archiso systemd[1]: dhcpcd.service: main process exited, code=exited, status=1/FAILURE
Apr 04 14:08:51 archiso systemd[1]: Stopped dhcpcd on all interfaces.
Apr 04 14:08:51 archiso systemd[1]: Unit dhcpcd.service entered failed state

Last edited by tmccaffery (2013-04-04 22:30:31)

Offline

#12 2013-04-04 23:02:07

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: dhcpcd bug?

tmccaffery your posts aren't making much sense to me, and please try to edit your posts instead of posting a new reply whenever your post is the latest one unless your post is old. but if your net still isn't working you have a few options.

You seem to have followed this guide.

You could follow this guide (which i did)

or you could install wicd and enable it to run at bootup with systemctl which i do on my laptop which has a wireless connection. It automatically configures your ethernet for you too. In my opinion this is an excellent choice for people who don't want to spend time at all configuring their internet in arch. (From my experiences with it anyways)

Also keep in mind that if you enabled dynamic ip address based internet (dhcp) connection on bootup, that it takes time to generate an ip address every time you start your computer, wait for like 30 seconds before you say it isn't working. If your problem was originally that your dhcp is not working at bootup it might be working but you're just being impatient.

Last edited by rabcor (2013-04-04 23:07:31)

Offline

#13 2013-04-06 07:03:58

almightydog
Member
Registered: 2013-04-04
Posts: 8

Re: dhcpcd bug?

rabcor wrote:

or you could install wicd and enable it to run at bootup with systemctl which i do on my laptop which has a wireless connection. It automatically configures your ethernet for you too. In my opinion this is an excellent choice for people who don't want to spend time at all configuring their internet in arch. (From my experiences with it anyways)

I had the same problem with dhcpcd.  Just wanted to say this suggestion worked for me, and thanks.

Offline

Board footer

Powered by FluxBB