LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-17-2009, 08:29 AM   #1
chawarma
LQ Newbie
 
Registered: Feb 2009
Location: Algeria - Africa
Distribution: Ubuntu 8.10
Posts: 4

Rep: Reputation: 0
DHCP, Network configuration on LFS


Hi
After developing my LFS (6.4), I am leaning towards BLFS (SVN).
I first wanted to configure my DHCP as described here: http://www.linuxfromscratch.org/blfs...et/dhcpcd.html
But I have warnings at boot:
Quote:
"Interface eth1 doesn't exist" WARN
"Device eth1 does not exist".
"Interface eth0 doesn't exist" WARN
"Device eth0 does not exist".
Here is information that can help:

I have on my machine two network cards, a WLAN and LAN:
eth1, Network controller : Intel PRO/Wireless 2200BG ...
eth0, Ethernet controller: Broadcom ...

My machine is connected to my wireless modem so it will normally work at least for eth1, isn't it ?!

Here are the contents of my file /etc/dhcpcd/dhcpcd.conf
Quote:
# dhcpcd-run-hooks uses these options.
option domain_name_servers, domain_name, domain_search, host_name
# Most distros have ntp support.
option ntp_servers
The contents of my file /etc/sysconfig/network-devices/ifconfig.eth1/dhcpcd and /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd :
Quote:
ONBOOT="yes"
SERVICE="dhcpcd"
DHCP_START=""
DHCP_STOP="-k"
PRINTIP="yes"
PRINTALL="yes"
Here is my configuration file /etc/resolv.conf that I specified during the network configuration in the LFS book:
Quote:
domaine lan
search lan
nameserver 192.168.10.1
And my /etc/hosts file:
Quote:
127.0.0.1 localhost
I would also add that in the output of lspci there are the following:
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)

The ifconfig command is not found.

Any input will be greatly appreciated, thank you.

Edit: I recompiled the kernel with including the drivers for my Broadcom and Intel cards.

Now in the boot it shows:

Quote:
eth0: name_of_my_Broadcom_card its_@MAC_adress
<...>
ipw2200: detected le_nom_de_ma_carte_Intel
firemware: requestion ipw2200-bss.fw (it take a time here before continuing).
And at the and it shows:

Quote:
Bringing up the eth0 interface...
[ 67.674394] ADDRCONF(NETDEV_UP): eth0: link is not teady
Starting dhcp on the eth0 interface...eth0: dhcp 4.0.7 starting
eth0: waiting for carrier
eth0: timed out [FAIL]
Bringing up the eth1 interface...
Interface eth1 doesn't exist [WARN]
Any idea ?

Edit 2:

For testing the interface eth0, I just connected the modem to my PC by ethernet and it works well; when I ping google for example it works, but the ifconfig command is not recognized !
For the interface eth1 (wifi) I really do not see why it doesn't work :/ is there something else to install or configure for the wifi to work ?

Last edited by chawarma; 02-17-2009 at 04:02 PM.
 
Old 02-18-2009, 06:19 AM   #2
chawarma
LQ Newbie
 
Registered: Feb 2009
Location: Algeria - Africa
Distribution: Ubuntu 8.10
Posts: 4

Original Poster
Rep: Reputation: 0
I have this errors in the boot kernel log:
kernel: [ 0.351233] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
kernel: [ 0.351369] firmware: requesting ipw2200-bss.fw
kernel: [ 0.636952] Switched to high resolution mode on CPU 0
kernel: [ 60.351126] ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
kernel: [ 60.351229] ipw2200: Unable to load firmware: -2
kernel: [ 60.351323] ipw2200: failed to register network device
kernel: [ 60.351472] ipw2200 0000:02:04.0: PCI INT A disabled
kernel: [ 60.351577] ipw2200: probe of 0000:02:04.0 failed with error -5

My firmware is in /lib/firmware/

Edit:
I resolved the problem by compiling the driver of this Network Connection as module (m) not in the kernel (y).

Last edited by chawarma; 02-18-2009 at 12:55 PM.
 
  


Reply

Tags
blfs, dhcp, firmware, ipw2200, kernel, lfs, module, network, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to download LFS Packages without network configuration 6920 Linux From Scratch 1 05-07-2007 04:15 PM
how to setup dhcp in lfs? lmmix Linux From Scratch 3 02-21-2005 10:55 AM
Network configuration with DHCP in Slackware 10 kernelvn Slackware 1 08-18-2004 05:52 AM
Network configuration DHCP/manual pe2338 Linux - Networking 1 08-14-2003 06:21 AM
DHCP works / Trouble w/manual network configuration. 360 Linux - Networking 2 08-28-2001 05:13 AM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration