LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-12-2020, 02:03 AM   #16
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413

Code:
CONFIG_ALX:  
  │
  │ This driver supports the Qualcomm Atheros L1F ethernet adapter,
  │ i.e. the following chipsets:
  │
  │ 1969:1091 - AR8161 Gigabit Ethernet
  │ 1969:1090 - AR8162 Fast Ethernet
  │ 1969:10A1 - AR8171 Gigabit Ethernet
  │ 1969:10A0 - AR8172 Fast Ethernet
Things to look at... can you tell from LSPCI exactly what Atheros ethernet you have?

What does dmesg say? Is the driver initializing? Is a network interface coming up? I assume by "same problem" you mean the systemd services not starting.

On your Kali Linux host that you used to build LFS, what does dmesg say as the driver is initializing?
 
Old 04-12-2020, 02:06 AM   #17
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
The Ethernet controller is Qualcomm atheros QCA8172 Fast Ethernet (rev 10)

Last edited by extrimis; 04-12-2020 at 02:07 AM.
 
Old 04-12-2020, 02:20 AM   #18
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
All interfaces appear when i type ifconfig -a

i think its not with the drivers

when i run systemctl status systemd-networkd.service this is the output

Click image for larger version

Name:	Screenshot_2020-04-12_03-16-54.png
Views:	41
Size:	169.9 KB
ID:	32956
Click image for larger version

Name:	Screenshot_2020-04-12_03-17-37.png
Views:	30
Size:	93.0 KB
ID:	32957

when i checked status=200/CHDIR in google it says the working directory is missing.

i tried a lot of techniques nothing works

the only thing that works is by disabling the service but that disables the network connectivity also
 
Old 04-12-2020, 02:22 AM   #19
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
Angry

Click image for larger version

Name:	5.jpg
Views:	24
Size:	112.0 KB
ID:	32958

lspci output
 
Old 04-12-2020, 02:23 AM   #20
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
Unhappy

plz help me
 
Old 04-12-2020, 02:31 AM   #21
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Is all of that output from the bare metal install of your LFS on the host? It is not useful to show me things from Qemu. If that lspci output is from the Kali Linux host, we know it's working there.

On a LFS system that's got no X11 install yet, you probably can't copy and paste, but you can redirect to txt files and then copy and paste lines from there on a working system.

lspci -vv > lspci.txt
dmesg > dmesg.txt
 
Old 04-12-2020, 02:55 AM   #22
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
lspci output of host system (Kali Linux)

lspci-host.txt

lspci output of LFS System booted on Thoshiba Satellite Laptop

lspci-LFS.txt


dmesg output of host System (Kali Linux)

dmesg-host.txt

dmesg output of LFS System booted on Thoshiba Satellite Laptop

dmesg-LFS.txt
 
Old 04-12-2020, 04:38 AM   #23
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Yes, it looks like the driver is loading and binding to the device.

So, your wired network adapter is enp3s0 (not enp0s3 as it is in the Qemu guest)

Try this:

Code:
[Match]
Name=enp3s0

[Network]
Address=192.168.43.12
Gateway=192.168.43.1
DNS=192.168.43.1

LinkLocalAddressing=no
IPv6AcceptRA=no
 
Old 04-12-2020, 04:40 AM   #24
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
Ok I'll try now
 
Old 04-12-2020, 04:44 AM   #25
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
No it doesn't work same issue
 
Old 04-12-2020, 05:46 AM   #26
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Well, you needed to get your network configured correctly anyway.

I don't know exactly why but my guess would be that the 200/chdir error means the service's working directory is not present, or has wrong permissions/ownership. I think that's:

/run/systemd/network
 
Old 04-12-2020, 05:48 AM   #27
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
What permissions are required
 
Old 04-12-2020, 06:25 AM   #28
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
Do you know how to find the working dir
 
Old 04-12-2020, 12:35 PM   #29
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I wonder about your kernel config. Under Filesystems -> Pseudo Filesystems, do you have Tmpfs POSIX Access Control Lists and Tmpfs extended attributes enabled?
 
Old 04-12-2020, 12:37 PM   #30
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Original Poster
Rep: Reputation: Disabled
I have to check.do i have to enable that if it is disabled
 
  


Reply

Tags
linux from scratch, network, systemd



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
systemd service failed to start with errror : “main process exited, code=exited, status=3/NOTIMPLEMENTED” prcm Red Hat 10 02-25-2022 02:15 AM
Systemd service: AUTOSSH.service does not start at boot, how can I fix this? The_Linux_Machine Linux - Newbie 1 07-06-2016 12:00 PM
Can't access full journalctl from script via systemd service even though user is in systemd-journal group iwtbf Linux - Newbie 0 02-19-2016 02:44 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM

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

All times are GMT -5. The time now is 06:18 AM.

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