View previous topic :: View next topic |
Author |
Message |
Linux_Bat n00b
Joined: 27 Nov 2005 Posts: 9
|
Posted: Sun Nov 27, 2005 7:16 pm Post subject: Problem Configuring my network and Internet Connection |
|
|
Hi guys
I'm a linux newbie and I've just installed Gentoo after Mandrake because they say Gentoo is the best
anyway I have some problems with it but let's start with my Internet Connection
I use an Ethernet Modem (Compaq NC3121 Fast Ethernet NIC) and to configure it in Windows or Mandrake I had to enter only 5 IPs
My IP, Netmask (255.255.255.0), Gateway, DNS Server 1 and DNS Server 2
I modified /etc/conf.d/hostname to enter a hostname let's say HOSTNAME="tux"
and /etc/conf.d/domainname to set the domain name let's say DNSDOMAIN="homenetwork"
then I did this rc-update add domainname default
then I modified /etc/conf.d/net
config_eth0=( "192.168.1.127(myip) netmask 255.255.255.0" )
routes_eth0=( "default gw 192.168.0.1" )
without (myip) of course
then I executed this command
rc-update add net.eth0 default
I don't remember where I entered DNS Servers but I'm sure I did and still didn't get it to work
and I get that error "didn't find eth0" at startup
please help ! |
|
Back to top |
|
|
erikm l33t
Joined: 08 Feb 2005 Posts: 634
|
Posted: Sun Nov 27, 2005 7:41 pm Post subject: |
|
|
Is there an init script called /etc/init.d/net.eth0? If not, do Code: | # ln -s /etc/init.d/net.lo /etc/init.d/net.eth0 | as root. Have you read through the output offor a mention of your network card? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Sun Nov 27, 2005 7:51 pm Post subject: |
|
|
Linux_Bat,
It looks like the kernel is missing the module for your ethernet card. That will cause eth0 not to exist.
Does it show in
Run lspci and post the Ethernet line(s) so we can spot your kernel module.
You put your DNS servers in /etc/resolv.conf one per line like this
Code: | nameserver <IPAddr> |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Linux_Bat n00b
Joined: 27 Nov 2005 Posts: 9
|
Posted: Sun Nov 27, 2005 8:22 pm Post subject: |
|
|
the script /etc/init.d/net.eth0 exists
Windows Says that the Ethernet Card is Compaq NC3121 Fast Ethernet NIC but when I tried lspci it said that it's Ethernet Controller: Intel Corp 82557/8/9 [Ethernet Pro 100] (rev 05)
and when I tried ifconfig it didn't show anything about my Ethernet card it only showed things like this
Link encap: Local Loopback
inetaddr: 127.0.0.1 mask:-------------
----------------------------------
-----------------------------------
-------------------------------------
but it didn't mention anything about my card |
|
Back to top |
|
|
Linux_Bat n00b
Joined: 27 Nov 2005 Posts: 9
|
Posted: Sun Nov 27, 2005 10:30 pm Post subject: Please Help |
|
|
Guys please help fast, I'm very tired of gentoo it've taken so much time only to boot it from the Hard Disk and now I have alot of problems and this is one of them so please help |
|
Back to top |
|
|
erikm l33t
Joined: 08 Feb 2005 Posts: 634
|
Posted: Sun Nov 27, 2005 11:16 pm Post subject: |
|
|
Here is some suggested reading. Did you configure your network card driver as a kernel module ('Device Drivers ---> Network device support ---> Ethernet (10 or 100Mbit) ---> <M> Intel(R) PRO/100+ support' in 'make menuconfig') or compiled in ('---><*> Intel(R) PRO/100+ support' )? |
|
Back to top |
|
|
|