You are not logged in.

#1 2017-11-30 00:57:31

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

[SOLVED] Dhcpcd Timeout

I've spent some time away from GNU/Linux and setting up wifi on a minimal install has always been an issue for me so please bear with me. I've been through countless posts on this forum and others to no avail.

I've installed networkmanager wpa_supplicant dialog netctl wireless_tools iw

ip link set wlo1 up
works with no issues

wpa_supplicant -B -i wlo1 -c <(wpa_passphrase ssid psk)
works without issue

dhcpcd wlo1
returns

wlo1: waiting for carrier
timed out
dhcpcd exited

this exact process works fine while the image is mounted. any help would be much appreciated.

Last edited by tommydust (2017-11-30 16:36:21)

Offline

#2 2017-11-30 01:06:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [SOLVED] Dhcpcd Timeout

wpa_supplicant is not connecting.  Run it in the foreground (no -B flag) to see get the output and post it here.  I'd also suggest not using process substitution for wpa_passphrase, generate the config first, then just us -c/path/to/config.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-11-30 01:07:32

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

Re: [SOLVED] Dhcpcd Timeout

Please edit your post and chnage the title to one that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post

Is a network service running when you do this? Please paste (in code tags), the output of:

 systemctl list-unit-files --state enabled

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-11-30 01:15:52

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

jasonwryan wrote:

Please edit your post and chnage the title to one that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post

Is a network service running when you do this? Please paste (in code tags), the output of:

 systemctl list-unit-files --state enabled

I'm using my phone to post so i can't copy and paste but the 4 units that are all enabled are...
autovt@.service
getty@.service
netctl@home.service
remote-fs.target

the netctl one I tried the example files for wep and wpa both of them didn't work.

Last edited by tommydust (2017-11-30 01:17:08)

Offline

#5 2017-11-30 01:16:50

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

Re: [SOLVED] Dhcpcd Timeout

If you are connecting manually, disable all of the networking services first.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2017-11-30 01:29:45

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

jasonwryan wrote:

If you are connecting manually, disable all of the networking services first.

i disabled the netctl profile still no luck.

Offline

#7 2017-11-30 01:32:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [SOLVED] Dhcpcd Timeout

"Still no luck" does not resemble the output that wpa_supplicant will provide when run in the foreground.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2017-11-30 01:36:57

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

Trilby wrote:

"Still no luck" does not resemble the output that wpa_supplicant will provide when run in the foreground.

without the -B it still says
Successfully initialized wpa_supplicant

Offline

#9 2017-11-30 02:27:15

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

If anyone has an easier method to connect to wifi without a gui let me know. I've tried 3 methods from the arch wiki wireless page but I'm losing patience trying the same methods over and over.

Offline

#10 2017-11-30 02:30:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [SOLVED] Dhcpcd Timeout

tommydust wrote:

without the -B it still says
Successfully initialized wpa_supplicant

Then it didn't connect: your network name or password are incorrect, add -d or -dd flags to wpa_supplicant to get verbose output and post it here (in [ code ] tags).

As for losing patience we've just started gathering information on what is going on - if you don't have pateince to gether even simple error messages as post them, then you are going to have a hard time using arch linux.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2017-11-30 02:44:15

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

Trilby wrote:
tommydust wrote:

without the -B it still says
Successfully initialized wpa_supplicant

Then it didn't connect: your network name or password are incorrect, add -d or -dd flags to wpa_supplicant to get verbose output and post it here (in [ code ] tags).

As for losing patience we've just started gathering information on what is going on - if you don't have pateince to gether even simple error messages as post them, then you are going to have a hard time using arch linux.

Wifi has always been an issue for me on arch linux. After that step, everything is gravy. I have no way of copying and pasting from a laptop with no internet connection unfortunately.
https://imgur.com/a/r42ce

Offline

#12 2017-11-30 03:35:44

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

nmcli con show only shows the wired ethernet device. but iw dev shows the wireless wlo1 interface.

Offline

#13 2017-11-30 09:42:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,867

Re: [SOLVED] Dhcpcd Timeout

nmcli means you also got networkmanager running??

Offline

#14 2017-11-30 14:41:23

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

seth wrote:

nmcli means you also got networkmanager running??

just tried it to see if there was a difference using that program. i disabled it afterwards.

Offline

#15 2017-11-30 15:17:19

tommydust
Member
From: Tampa, FL
Registered: 2013-08-20
Posts: 10

Re: [SOLVED] Dhcpcd Timeout

I figured it out. I deleted the profile i made in /etc/netctl then i disabled every service that wasn't necessary for the system then i used

 ip link set wlo1 down 

then i used

 systemctl enable dhcpcd@wlo1.service 

after that wifi-menu worked.

Offline

#16 2017-11-30 16:22:17

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

Re: [SOLVED] Dhcpcd Timeout

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB