LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-05-2021, 12:06 PM   #1
BHLinux1
LQ Newbie
 
Registered: Jan 2021
Location: United States
Posts: 13

Rep: Reputation: Disabled
LFS 9.1 and networking


After much trial and error, I have completed two builds of LFS 9.1. One of them can ping to another machine on the LAN, but no other networking actions are functioning. The other has a message during bootup "eth0 does not exist". I have tried numerous things to get ftp (on the working eth0 setup) to do anything other than start and stop; it cannot see other machines on the LAN even though a ping proves that the OS can reach them. Yes, I know that ftp is not secure, but this is only on my LAN and so I mostly concerned about getting what is apparently the only built-in LFS 9.1 networking function to be able to reach out to other machines. All the ftp can do so far is start/stop, display a prompt, and list the internal functions when replying to a typed-in '?' character.

Comment is invited.
 
Old 01-06-2021, 04:57 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,704
Blog Entries: 19

Rep: Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503
Have you checked if the kernel can see the hardware?
Code:
lspci -v|grep Ethernet
I get:
Code:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
        Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
It's also worth looking in /sys/class/network for your device.

My guess concerning your second system is that you left the network card driver out when you were configuring your kernel.

Last edited by hazel; 01-06-2021 at 05:04 AM.
 
Old 01-06-2021, 08:44 PM   #3
BHLinux1
LQ Newbie
 
Registered: Jan 2021
Location: United States
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Have you checked if the kernel can see the hardware?
Code:
lspci -v|grep Ethernet
I get:
Code:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
        Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
It's also worth looking in /sys/class/network for your device.

My guess concerning your second system is that you left the network card driver out when you were configuring your kernel.
Hello, Hazel:
Actually, upon further examination, using "ifconfig -a", the interface named "enp1s8" showed up. By enabling that one, the connections started working. I agree that I missed something during the setup for the kernel build. I am starting another go at ... Thanks for your reply! :-)
 
Old 01-07-2021, 04:48 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,704
Blog Entries: 19

Rep: Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503
Those names are given by udev, so I don't think reconfiguring the kernel makes any difference. However there is a kernel command line option that gives you back the old names for interfaces. I can't remember offhand what it is, but it is in the Book.
 
  


Reply



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
Updated (unofficial) LFS LiveCD link -- Builds LFS 7.x and CLFS latest bitshark Linux From Scratch 0 04-28-2015 02:44 PM
Can i create and use an folder /home/user/LFS instead of /mnt/LFS ???? dgashu Linux From Scratch 10 04-16-2013 12:01 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:45 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