LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   No Network Connection (https://www.linuxquestions.org/questions/linux-from-scratch-13/no-network-connection-4175573344/)

kc3 02-26-2016 01:14 PM

No Network Connection
 
I setup LFS 7.8 with systemd and am trying to set my wireless, I installed WPA_Supplicant as well as dhcpcd but I still don't get a connection.

If I run systemctl start dhcpcd@wlp0s19f2u3 it doesn't load and if I load systemctl status -l dhcpcd@wlp0s19f2u3 I get
Code:

* dhcpcd@wlp0s19f2u3.service - dhcpcd on wlp0s19f2u3
  Loaded: loaded (/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Fri 2016-02-26 19:02:46 MST; 20s ago
  Process: 1948 ExecStart=/sbin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)

Feb 26 19:02:16 tycho-lfs systemd[1]: Starting dhcpcd on wlp0s19f2u3...
Feb 26 19:02:16 tycho-lfs dhcpcd[1948]: wlp0s19f2u3: if_up: No such file or directory
Feb 26 19:02:16 tycho-lfs dhcpcd[1948]: wlp0s19f2u3: waiting for carrier
Feb 26 19:02:46 tycho-lfs dhcpcd[1948]: timed out
Feb 26 19:02:46 tycho-lfs systemd[1]: dhcpcd@wlp0s19f2u3.service: Control process exited, code=exited status=1
Feb 26 19:02:46 tycho-lfs systemd[1]: Failed to start dhcpcd on wlp0s19f2u3.
Feb 26 19:02:46 tycho-lfs systemd[1]: dhcpcd@wlp0s19f2u3.service: Unit entered failed state.
Feb 26 19:02:46 tycho-lfs systemd[1]: dhcpcd@wlp0s19f2u3.service: Failed with result 'exit-code'.

Here are the contents of some of my files-
/etc/systemd/network/10-dhcp-wlp0s19f2u3.network
Code:

[Match]
Name=wlp0s19f2u3

[Network]
DHCP=yes

/etc/hosts
Code:

# Begin /etc/hosts

127.0.0.1 localhost
127.0.0.1 home.home home
localhost ::1 localhost

# End /etc/hosts

/etc/resolv.conf
Code:

# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line

For these last three files I have tried several different configurations and none seem to work. Does anyone have any ideas?

spiky0011 02-27-2016 02:33 AM

Hi

Do you need firmware for your device. Did you install it?

kc3 02-27-2016 03:22 AM

I did, my system sees it fine and wlp0s19f2u3 is assigned to it. I did recompile my kernel, think it's the rt2800 driver? It works though.

kc3 03-01-2016 10:18 PM

I fixed it :D it was a driver issue afterall, I looked through my dmesg a little more and found it wasn't loading my rt2x00 drivers, rather than compile them which I sure would have worked just as well, I copied them from my host to /lib/firmware and it worked. Even though I did not think it was the issue, thank you Spiky0011, that was it.


All times are GMT -5. The time now is 11:00 AM.