LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-26-2016, 01:14 PM   #1
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Rep: Reputation: 35
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?

Last edited by kc3; 02-26-2016 at 08:55 PM.
 
Old 02-27-2016, 02:33 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Do you need firmware for your device. Did you install it?
 
Old 02-27-2016, 03:22 AM   #3
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
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.

Last edited by kc3; 02-27-2016 at 03:27 AM.
 
Old 03-01-2016, 10:18 PM   #4
kc3
Member
 
Registered: Jun 2009
Distribution: Linux from Scratch
Posts: 172

Original Poster
Rep: Reputation: 35
I fixed it 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.

Last edited by kc3; 03-01-2016 at 10:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no network connection - just ran a installation suse13.1 - no wifi connection Nevermind_ Linux - Newbie 14 04-04-2015 02:04 PM
Confusion between PCI and PCIE network adapter... 82574L Gigabit Network Connection diablo046 Linux - Newbie 6 08-26-2014 09:49 AM
Ubuntu is not seeing my dial-up connection as a network connection jk07 Ubuntu 2 07-12-2012 03:44 AM
b43-fwcutter-no connection with WEP encrypted network while WPA network works blorpton Linux - Networking 6 01-25-2010 02:06 AM
my internet connection disconnects my network connection? emre polat Linux - Networking 2 12-19-2006 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration