Sandeep wrote:


On 07/01/2015 09:29 AM, Bruce Dubbs wrote:
Your questions is a little vague.  Do you have anything in
/sys/class/net?  If you only have lo, then your kernel does not have a
driver built in that recognizes your HW
well /sys/net/class has enp14so and wlp2so apart from lo.

OK, this means you have the correct drivers. What you need is a configuration file. Use the wired interface, enp14so:

cat > /etc/sysconfig/ifconfig.enp14so < EOF
ONBOOT=yes
IFACE=eth0
SERVICE=ipv4-static
IP=192.168.1.2
GATEWAY=192.168.1.1
PREFIX=24
BROADCAST=192.168.1.255
EOF

Change the ip addresses as appropriate.  Then 'ifup enp14so'

To change to eth0, see Sections 7.4.1 of LFS.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to