If you manually load the driver with modprobe does it give you the
same issue with eth0 not found ? when doing a ifconfig eth0 "Ip
address"

and of course replace "ip address" with a valid address like
192.168.0.88 or something :)

On 6/10/05, Dan McGhee <[EMAIL PROTECTED]> wrote:
> I don't know whether I have a configuration problem, a driver problem or 
> a Dan problem.
> 
> I'm trying to connect my BLFS 6.0 build to my new DSL.  I have 
> successfully done so in XP and Mandrake so I know the system is 
> working.  My guts tell me that I have done, or not done, something 
> correctly in the various script and configuration files, but for the 
> life of me I can't find it.  I have also tried to find HOWTO's on 
> setting up and configuring an ethernet but have found nothing useful.
> 
> I am running kernel 2.6.11.11.  I have onboard ethernet capability.  
>  From lspci:
> 
> 00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet 
> Controller (rev a1)
> 
> The kernel driver for this is a reverse engineered nForce2 driver 
> "forcedeth."  I have it compiled as a module.
> 
> When I boot into LFS 6.0 I get the message during boot:
> 
> Interface eth0 does not exist          Not available          [Warn]
> 
> Running lsmod after boot indicates that there are no modules loaded. ( I 
> have "forcedeth" in /etc/modprobe.preload and 'alias eth0 forcedeth' in 
> /etc/modprobe.conf)  I run 'modprobe forcedeth' and lsmod.  This shows 
> that 'forcedeth' is loaded.  Then I run '/etc/rc.d/init.d/network' and 
> receive the following:
> 
> RTNETLINK answers: No such process
> Removing default gateway...[FAILED]
> Removing IPV4 address [IP address from ISP] from the eth0 interface...[ OK
> ]
> Taking down the eth0 interface...[ OK ]
> Bringing up the eth0 interface...[ OK ]
> Adding IPV4 address [IP address from ISP] to the eth0 interface...[ OK ]
> Setting up default gateway...[FAILED]
> RTNETLINK answers: Network is unreachable
> 
> Results of 'ifconfig eth0'
> 
> eth0      Link encap:Ethernet  HWaddr 00:0E:A6:1B:82:EF 
>           inet addr:[IP from ISP]  Bcast:[combo IP from IP and Mask]  
>                 Mask:[xxx.xxx.xxx.(this octet keeps changing from what I 
> set]
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:2593 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:213370 (208.3 Kb)  TX bytes:0 (0.0 b)
>           Interrupt:21 Base address:0xa000
> 
> /etc/sysconfig/network :
> HOSTNAME=localhost
> 
> /etc/hosts:
> # Begin /etc/hosts (network card version)
> # Created by Dan McGhee 20050327 as part of LFS 6.0 build
> 
> IP from LFS 6.0                 localhost
> IP from ISP                        farmerbox
> 
> # End /etc/hosts (network version)
> 
> /etc/sysconfig/network-devices/ifconfig.eth0/ipv4:
> # Begin /etc/sysconfig/network-devices/ifconfig.eth0/ipv4
> 
> ONBOOT=yes
> SERVICE=ipv4-static
> IP=[IP from ISP]
> GATEWAY=[address provided by ISP]
> PREFIX=32
> BROADCAST=[first three octets of IP and first octet of subnet mask]
> 
> # End /etc/sysconfig/network-devices/ifconfig.eth0/ipv4
> 
> /etc/resolv.conf:
> #Begin /etc/resolv.conf
> #Created by Dan McGhee 20050329 as part of LFS 6.0 build
> # Modified 20050609 for Grand River High Speed through the motherboard
> # IP's supplied by Grand River Mutual
> 
> #domain
> # Primary DNS server
> nameserver [address 1]
> 
> # Alternate DNS server
> nameserver [address 2]
> 
> #End /etc/resolv.conf
> 
> 
> This is the information that I think controls my interface.  I've 
> checked the addresses again and againg for typos, but they are correct.  
> I've also spoken to the ISP tech staff and they tell me that they are 
> 100% static.  I think this means that I don't need DHCP or PPPoE.  I 
> just don't know where to go from here.
> 
> In reviewing the kernel installation from LFS 6.0 it says to compile the 
> drivers into the kernel because sometimes modprobe.conf and udev don't 
> get along.  If this is the case here, I want to make this work because I 
> found the drivers from nVidia for my hardware, but they compile as 
> kernel modules.
> 
> I will certainly appreciate any pointers or recommended solutions.  If 
> anyone knows of any documentation that will help, I will be more than 
> happy to look at it.
> 
> Thanks,
> 
> Dan
> -- 
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to