LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-03-2012, 04:58 PM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
Bringing up the interface?? help


Hi all my problem is with the access network, when I start my LFS I get this message:

*****Bringing up the interface ... [FAIL]


running the command #ifup tells me:

*****Bringing up the interface... /etc/sysconfig/ifconfig. is missing or can not be accessed. [FAIL]

any opinion?
 
Old 08-03-2012, 11:12 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Do you have net-tools compiled and installed?
 
Old 08-03-2012, 11:34 PM   #3
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
Did you try ifdown first, then ifup.
 
Old 08-04-2012, 03:07 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by poisoning View Post
*****Bringing up the interface ... [FAIL]

running the command #ifup tells me:

*****Bringing up the interface... /etc/sysconfig/ifconfig. is missing or can not be accessed. [FAIL]
Did you check if your network card(s) are found by the kernel?
- dmesg | grep -i "eth[0-9]:"
- Or (you might need to install pciutils first, part of BLFS): lspci | grep -i eth

Did you create the ifconfig.ethX file(s)?
- http://www.linuxfromscratch.org/lfs/...7/network.html (7.2.2)

Last edited by druuna; 08-04-2012 at 03:39 AM. Reason: grammar
 
Old 08-06-2012, 11:15 AM   #5
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
hi sorry for not answering before. I install all network packet and my IP configuration is:

1. running the command LSPCI:
...
01:00.0 VGA compatible controller: nVidia Corporation G86 [Quadro NVS 290] (rev a1)
06:03.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)

1. etc/sysconfig/ifconfig.eth0

ONBOOT=yes
IFACE=eth0
SERVICE=ipv4-static
IP=192.168.1.44
GATEWAY=192.168.1.1
PREFIX=24
BROADCAST=192.168.1.255

2. my Kernel configuration:
...
->Ethernet driver support

[*] VIA devices
<M> VIA Rhine support
[ ] Use MMIO instead of PIO
<M> VIA Velocity support

...

3. running the command:
#dmesg | grep -i "eth0:"

[ 4.000625] via-rhine 0000:06:03.0: eth0: VIA Rhine III at 0x1b800, 00:24:01:a2:b1:43, IRQ 19
[ 4.001351] via-rhine 0000:06:03.0: eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 Link 45e1

4. running lsmod:

Module Size Used by
...
via_rhine 22412 0
ehci_hcd 35684 0
mii 12595 1 via_rhine

when booting say:

Interface eth0 doesn't exist. [ WARN ]" or Bringing up the eth0 interface [FAIL].
 
Old 08-06-2012, 12:41 PM   #6
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Finally I could fix the network card.

1. Testing with eth0:
#ifconfig eth0
eth0: error fetching interface information: Device not found

2. Testing with eth1:
#ifconfig eth1
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::224:1ff:fea2:b143 prefixlen 64 scopeid 0x20<link>
ether 00:24:01:a2:b1:43 txqueuelen 1000 (Ethernet)
RX packets 531 bytes 369750 (361.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 666 bytes 123617 (120.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19 base 0xb800

Rename file /etc/sysconfig/ifconfig.eth0 to /etc/sysconfig/ifconfig.eth1

ONBOOT=yes
IFACE=eth1
SERVICE=ipv4-static
IP=192.168.1.44
GATEWAY=192.168.1.1
PREFIX=24
BROADCAST=192.168.1.255
------
Works
 
  


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
Bringing interface up buskmann Linux - Networking 3 08-16-2006 06:54 PM
Bringing up loopback interface dlmack67 Linux - Hardware 4 04-21-2006 12:29 PM
Bringing up interface eth0... failed Commish66 Linux - Networking 10 02-19-2004 11:27 PM
Help me bringing up an ethernet interface Maranza Linux - Networking 4 12-25-2003 07:22 AM
Bringing up loopback interface pollycat Linux - Networking 49 09-07-2003 02:07 PM

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

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