LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo Network Problem (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-network-problem-324945/)

chibiace 05-19-2005 04:27 AM

Gentoo Network Problem -Solved
 
solved.

i added new infomation for it to use eth1

ln -s net.eth0 net.eth1
then rc-update add net.eth1 default
from the /etc/init.d directory.


-------------------
i am having a problem with my install of gentoo. its the 2005.0 version.
i downloaded the 650mb universal iso and wrote it. started the install. went through everything. started with stage3 and gentoo kernel sources and the athlon xp profile thing. setup lilo and ntldr for my duel boot.
and when i finally get into the install of gentoo the internet doesnt work >.<

i spend the afternoon working on it. so here is what i have learnt so maybe it will help somebody help me.

my motherboard is:
abit nf7-s r2 mobo (nforce 2)

i get a netmount error at the end of my dmesg when i have dhcp enabled in /etc/conf.d/net

i have dhcpcd emerged and added -HDN in there too

when in dhcp mode there is no eth0 under ifconfig. and i cant ping localhost or anything else.

i believe my card uses forcedeth driver which is in the livecd and my install under lsmod and in /lib/modules/`uname -r`/kernel/drivers/net

when i change my /etc/conf.d/net so i have a static ip. i dont get a netmount error. but the network still doesnt work. apart from i am able to ping localhost. and it is in ifconfig

my ifconfig

eth0 Link encap:UNSPEC HWaddr 00-00-00-50-8D-E2-B1-58-00-00-00-00-00-00-00-00
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:864 (864.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1332 (1.3 Kb) TX bytes:1332 (1.3 Kb)

dmesg | grep eth

eth1394: $Rev: 1224 $ Ben Collins <bcollins@debian.org>
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.31.
eth1: forcedeth.c: subsystem: 0147b:1c00 bound to 0000:00:04.0

what i put in my lilo.conf then ran lilo because it fixed somebody else's problem

append = "noapic"

no results.



also. is there a way to install xfsprogs easily without emerge. it says the size is different or something. and the "you need to scan your drive" like message is annoying.

and would domainname stop the internet from working. i set it to 2. and it says unknown domain just above the login prompt. and i dont know how to make it set itself to something else.

-------------------------
UPDATE
-------------------------

if you look at

eth1394: $Rev: 1224 $ Ben Collins <bcollins@debian.org>
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.31.
eth1: forcedeth.c: subsystem: 0147b:1c00 bound to 0000:00:04.0

and


eth0 Link encap:UNSPEC HWaddr 00-00-00-50-8D-E2-B1-58-00-00-00-00-00-00-00-00

it says that my onboard 1394 is running on eth0.

how do i permanantly remove that driver from loading at boot.

if i
ifconfig -a
it has eth1 as ethernet. can i dont have any eth1 setup anywhere
like
/etc/init.d/net.eth0
but no eth1. so maybe if it is too hard to remove the driver at boot (dont want to recompile) that there is a way to make a new connection.

i added eth1 with dhcp in /etc/conf.d/net


so how can i remove 1394 or make a new connection using eth1

chibiace 05-19-2005 11:49 PM

i am sure that that is my only problem with the network.

mc_ondo 06-22-2005 02:58 AM

same problem with gentoo network
 
Thankx, chibiace.

Had same problem after updating from 2004 to 2005.0 on laptop.
Just changed the /etc/conf.d/net variables from eth0 to eth1 and made
the link indicated. Restarted network, and all works fine!


All times are GMT -5. The time now is 08:14 PM.