View previous topic :: View next topic |
Author |
Message |
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Sun Feb 18, 2007 1:22 pm Post subject: Gigabit NIC Netgear GA311 doesn't work on LiveCD. [Solved.] |
|
|
Hello,
I wanted to install Gentoo on an old Pentium II Computer with no onboard NIC. As i tried to configure the NIC (eth0 wasn't even showing up in an usual ifconfig, only in ifconfig eth0) with "dhcpcd eth0", it didn't work. Then i looked a bit in the net and found that i probably should activate it with "ifconfig eth0 up". Now an usual "ifconfig" showed up eth0, but "dhcpcd eth0" still wasn't working. So... could someone help me?
Greetings
DavidKra
P.S. Could you answer fast, as I need this computer with an PII optimized Gentoo very soon!
Last edited by Davidkra on Tue Feb 20, 2007 6:34 pm; edited 2 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Feb 18, 2007 1:31 pm Post subject: |
|
|
Davidkra,
Welcome to gentoo.
The liveCD is not very good at auto detecting 1Gbit Network cards.
Load its module with That should make eth0 appear.
If not, post the Ethernet line from the output of the lspci command. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Sun Feb 18, 2007 1:43 pm Post subject: |
|
|
eth0 appears, but no packet leaves the interface. I can't ping my network and so on...
Here's the Ethernet line: Code: | 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) |
EDIT: dhcpcd and static ip aren't help now, too. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Feb 18, 2007 2:42 pm Post subject: |
|
|
Davidkra,
After you have done the modprobe you must configure the interface as you were attempting to do.
modprobe only loads the kernel driver - it does not set up the interface. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Sun Feb 18, 2007 2:49 pm Post subject: |
|
|
But I did it already.
I know that modprobe only loads the module. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Feb 18, 2007 3:22 pm Post subject: |
|
|
Davidkra,
Do the modprobe, the eth0 setup and post the output of and
Its possible that your 1Gbit card is not autonegiotiating a link with your router, so we need to pass it a module param to tell it how to configure. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Sun Feb 18, 2007 5:00 pm Post subject: |
|
|
ifconfig eth0: Code: | Link encap:Ethernet HWaddr 00:09:5B:BD:C018
BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 erros:0 dropped:0 overruns:0 carrier:0
collision:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:8390 (8.1 Kb)
Interrupt:12 Base address:0x4000 |
route: Code: | Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Feb 18, 2007 5:14 pm Post subject: |
|
|
Davidkra,
OK, you don't have an IP and as a result, are no routes either.
That means you don'r have a dhcp server or the autonegiotiation failed and your NIC and router are not talking.
The r8169.c file says at the top Code: | 1. [DEPRECATED: use ethtool instead] The media can be forced in 5 modes.
Command: 'insmod r8169 media = SET_MEDIA'
Ex: 'insmod r8169 media = 0x04' will force PHY to operate in 100Mpbs Half-duplex.
SET_MEDIA can be:
_10_Half = 0x01
_10_Full = 0x02
_100_Half = 0x04
_100_Full = 0x08
_1000_Full = 0x10
| so try Code: | modprobe r8169 media=0x08 | to force 100Mbit/sec full duplex operation, then set up the interface.
This can be automated if its not fixed in later kernels. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Sun Feb 18, 2007 5:52 pm Post subject: |
|
|
still not working... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Feb 18, 2007 9:13 pm Post subject: |
|
|
Davidkra,
Whats it connected to and how?
Do you have/need a crossover cable ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Mon Feb 19, 2007 1:03 pm Post subject: |
|
|
It's connected over a Cat 5 cable to a 100 MBit Switch. The cable is working (I used it in an other computer). I don't have nor need a Crossover cable.
EDIT: I have a second GA311 in another not working computer, maybe those would work? Also I have an USB Wireless adapter. Maybe there're Wireless drivers on the LiveCD _________________ Greetings
Davidkra
__________
We have invented the nuclear bomb. No mouse on earth would construct an mousetrap.
This sentence was edited by me. Original by Albert Einstein relative to the invention of the nuclear bomb. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Mon Feb 19, 2007 7:04 pm Post subject: |
|
|
Davidkra,
There are no (or very few) wireless drivers on the LivecD. It does not have ndiswrapper, which many chip sets need.
If you want to do a wireless NIC based install, boot with knoppix - it has ndiswrapper but you need to provide your own WindXP drivers for it to wrap.
Its possible you have a faulty NIC, so a swap is worth a try. Did you try the other media= options ?
You need to the module before you can try another module parameter.
Did it ever get an IP address ?
There are lots of ways it can 'not work' even if you get an IP address. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Mon Feb 19, 2007 7:08 pm Post subject: |
|
|
ok. thank you I give them all a try
EDIT: It was given only an IP on Windows. _________________ Greetings
Davidkra
__________
We have invented the nuclear bomb. No mouse on earth would construct an mousetrap.
This sentence was edited by me. Original by Albert Einstein relative to the invention of the nuclear bomb. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Tue Feb 20, 2007 10:16 am Post subject: |
|
|
so... I've tried mounting another NIC, same problem. Err..., I do the "another LiveCD" install method and I probably install Gentoo too on this Comp...(a Dell XPS Gen 2 ) _________________ Greetings
Davidkra
__________
We have invented the nuclear bomb. No mouse on earth would construct an mousetrap.
This sentence was edited by me. Original by Albert Einstein relative to the invention of the nuclear bomb. |
|
Back to top |
|
|
Davidkra n00b
Joined: 18 Feb 2007 Posts: 9
|
Posted: Tue Feb 20, 2007 6:08 pm Post subject: |
|
|
Solved. I buyed and installed an DLink GBit NIC for 15 _________________ Greetings
Davidkra
__________
We have invented the nuclear bomb. No mouse on earth would construct an mousetrap.
This sentence was edited by me. Original by Albert Einstein relative to the invention of the nuclear bomb. |
|
Back to top |
|
|
|