LinuxQuestions.org
Help answer threads with 0 replies.
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 11-03-2014, 01:20 AM   #1
basan46
Member
 
Registered: Oct 2014
Posts: 35

Rep: Reputation: Disabled
LFS after boot problem


hello,

my lfs successfully boots, but with errors like eth0 doesnt exist and wlan0 doesnt exist. i have looked around everywhere on the net but not able to figure out whats going wrong.
plz help me out
 
Old 11-03-2014, 01: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

Code:
ifconfig
should show what the wired name is named it is proberbly named something different

Last edited by spiky0011; 11-03-2014 at 01:34 AM.
 
Old 11-03-2014, 02:35 AM   #3
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
is this on the host system or the lfs ?
 
Old 11-03-2014, 02:39 AM   #4
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
on lfs

or try
Code:
ip addr
command
 
Old 11-03-2014, 03:02 AM   #5
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
hello spiky,

i did not get any output for ifconfig. and ip addr, it tells ip command not found.

below is the error im getting before the login
- adding ipv4 addr 192.168.1.2 to the eth0 interface .. /lib/service/ipv4-static :line 53 : ip command not found.
face eth0 does not exist
adding ipv4 addr 192.168.1.2 to the wlan0 interface .. /lib/service/ipv4-static :line 53 : ip command not found.
face wlan0 does not exist
 
Old 11-03-2014, 03:12 AM   #6
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
ip addr as root
 
Old 11-03-2014, 04:42 AM   #7
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
i get the following as output after ip addr on root

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:1e:8c:e3:d3:24 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:1c:bf:7e:41:8f brd ff:ff:ff:ff:ff:ff
inet 192.168.0.101/24 brd 192.168.0.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::21c:bfff:fe7e:418f/64 scope link
valid_lft forever preferred_lft forever
 
Old 11-03-2014, 04:53 AM   #8
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
What dose
Code:
ip link set eth0 up
do
 
Old 11-03-2014, 05:02 AM   #9
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
it did not output anything.
 
Old 11-03-2014, 05:05 AM   #10
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
is the network up now?


Did you just copy what was on the "7.5 general network page"?

Last edited by spiky0011; 11-03-2014 at 07:09 AM.
 
Old 11-03-2014, 10:48 AM   #11
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
no its still tells the same..
 
Old 11-03-2014, 10:49 AM   #12
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
yea i just copied it..
am i wrong ?
 
Old 11-03-2014, 10:58 AM   #13
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
192.168.0.101 ip address
192.168.0.1 default route
192.168.0.1 dns

if you could help me wht to replace in the fields of the configuration file?
 
Old 11-03-2014, 11:18 AM   #14
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
From your host you will check what ip the router is using.

post your "lfs" /etc/sysconfig/ifconfig.eth0
 
Old 11-03-2014, 11:35 AM   #15
basan46
Member
 
Registered: Oct 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
ONBOOT=yes
IFACE=eth0
SERVICE=ipv4-static
IP=192.168.1.2
GATEWAY=192.168.1.1
PREFIX=24
BROADCAST=192.168.1.255
clear

the ip address i mentioned in the previous reply are my routers ip.
 
  


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
LFS 7.5 boot problem sauravkp Linux From Scratch 2 10-30-2014 07:51 PM
[SOLVED] Boot problem lfs 6.5 guodah Linux From Scratch 3 11-12-2010 02:44 PM
[SOLVED] LFS 6.6 sysfs mounting problem on boot smkh Linux From Scratch 2 03-31-2010 08:40 AM
[SOLVED] LFS 6.6 boot problem smkh Linux From Scratch 4 03-31-2010 03:05 AM
LFS 6.2 grub boot error 15 problem HedAche Linux From Scratch 1 08-02-2007 01:20 PM

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

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