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 09-14-2016, 01:25 PM   #16
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

Cant see that. and you need to investigate what device.

then configure the drivers into the kernel, we cant do everything for you.
The idea behind LFS is that it teaches people about linux.

If you cant get it to work then say what you have done and how.
 
Old 09-14-2016, 01:45 PM   #17
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by spiky0011 View Post
Cant see that. and you need to investigate what device.

then configure the drivers into the kernel, we cant do everything for you.
The idea behind LFS is that it teaches people about linux.

If you cant get it to work then say what you have done and how.
hello,

here is clarity image Click image for larger version

Name:	IMG_20160914_231320.jpg
Views:	34
Size:	242.9 KB
ID:	23014 i am using Wifi router as my network communication. when a system booting i have observe few warning messages like
Code:
face eth0 doesn't exist
and another one is
Code:
Bringing up the wifi0 interface...
Code:
wlano: Failed to initialize driver interface
Code:
face wlan0 doesn't exist..
Code:
you need to configure dhcp server in /etc/sysconfig/dhcpd
i enable 802.id Ethernet Bridging and 802.1Q/802.1ad VLAN Support in network options in kernel.
 
Old 09-14-2016, 08:57 PM   #18
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
I don't see a wireless device in the the PCI or USB lists. I do see a PCI Intel Gigabit Ethernet controller. So does that reading of those utilities match the physical hardware layout?...Ethernet device only?...And it is connected by cable to the router? If so, then forget about wlan0 for this system at this particular time (use that some other time to connect wirelessly). If I guessed rightly that your computer is connected by Ethernet cable to the router, then I would either delete the ifconfig.wlan0 file or edit it to say ONBOOT=no. There. That gets rid of two of the problems listed in post #17.

Next, the eth0 interface doesn't exist probably because its driver is missing. That Intel 82579V Gigabit Ethernet controller requires the e1000e driver (Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support, aka CONFIG_E1000E in the kernel configuration). See it in the device list for e1000e at cateee.net. It's easy to confirm whether or not that driver was built by searching or "grep"-ing for CONFIG_E1000E in your kernel config file in /boot. It should be set to y or m. Example...
Code:
$ grep CONFIG_E1000E /boot/config-4.6.3-2-CORE2 
CONFIG_E1000E=m
CONFIG_E1000E_HWTS=y
If yours is not so, then rebuild the kernel and make it so. If you built the driver as a module, then it will be listed in the output of lsmod as e1000e.

When you reboot that new kernel, look at /etc/udev/rules.d/70-persistent-net.rules. Confirm that your Ethernet device is listed there. Another example...
Code:
$ cat /etc/udev/rules.d/70-persistent-net.rules 
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# net device tg3
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:c0:cc:d1:72", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0"
If your Ethernet device is not there, then try running /lib/udev/init-net-rules.sh and check again. If it is there but not named eth0, then either change NAME in the udev rule to eth0 (like in the example) or change the name of the ifconfig.xxxx file in /etc/sysconfig to match NAME in the udev rule. Either way. All of this should get rid of another of the problems listed in post #17.

Lastly, for the dhcp issue, I urge you to use static IP addressing for now. Mostly because it is simple, and simple is what you need now during trouble. Also because DHCP is a BLFS package, and a simple basic LFS system doesn't really require it to connect at this time. To use static IP addressing edit the ifconfig.eth0 file in /etc/sysconfig to say SERVICE=ipv4-static. Also change the IP, GATEWAY, and BROADCAST variables to values compatible with your router. The IP address you choose must be in the range set in the router (open its setup utility and look for the IP range for clients in there). The GATEWAY is the IP address of the router which can be discovered somewhere in the router's setup utility. The BROADCAST is usually the router's IP address with the last octet being 255. Another example...
Code:
$ cat /etc/sysconfig/ifconfig.eth0 
ONBOOT=yes
IFACE=eth0
SERVICE=ipv4-static
IP=192.168.0.110
GATEWAY=192.168.0.1
PREFIX=24
BROADCAST=192.168.0.255
That should get rid of the last problem in post #17.

I hope this stuff made sense and worked. Later, after you've established a simple wired static connection, you can install a wireless device and advance to learn about wireless connections and/or dynamic IP addressing. That's more complex and requires some BLFS packages.

Last edited by stoat; 09-15-2016 at 09:25 AM.
 
1 members found this post helpful.
  


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
[SOLVED] ping reply unknown host but dig and host return correct IP kathy_lo Linux - Networking 6 11-18-2012 07:12 PM
[SOLVED] ping www.google.co.in gives unknown host error ,ping to LAN address works fine aspiring_stellar Linux - Newbie 10 05-24-2011 03:26 PM
Bind9 ,host does reslove a dns name but ping says unknown host Byenary Linux - Networking 10 01-12-2011 01:33 AM
Debian 5 , after SysCp Installation and configure Ping Valure ( ping: unknown host ) brenner23 Linux - Networking 1 07-14-2010 09:01 PM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM

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

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