View previous topic :: View next topic |
Author |
Message |
switchy85 n00b
Joined: 14 Oct 2004 Posts: 3
|
Posted: Fri Oct 15, 2004 8:45 am Post subject: NIC detected, yet it doesn't work. ??? |
|
|
Ok, so I'm clean installing Gentoo onto my p4 1.6Ghz machine. I've tried it a few times int he past with Gentoo and once with Slackware and I always had network support. This is the first time that I will be installing it on this machine clean without XP on beforehand. (Have a new lappy with XP, so I'm gunna try doing Linux on my desktop and maybe add XP later, if at all.) Anyways, I wiped my drives clean and start the LiveCD and it says that my NIC is detected and it starts the DHCP IP broadcast thing (...). Now, when I ifconfig it doesn't show a eth0, so I do net-setup eth0 and have it do DHCP for my IP address. ifconfig again and no eth0. I do net-setup manually and enter all my network info. do ifconfig again, and there IS a eth0. Problem is: next to Link encap: it says UNSPEC, and when I try to ping or use links2 it says it cannot find the host (of anything). I'm starting to get really frustrated, as I have never had this problem before now. Please help, I am starting to long for an XP install. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Oct 15, 2004 9:07 am Post subject: |
|
|
When you boot up the LiveCD - without doing any configuring - what is the output of:
Code: | lsmod
ipconfig
route -n |
? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
switchy85 n00b
Joined: 14 Oct 2004 Posts: 3
|
Posted: Fri Oct 15, 2004 9:16 am Post subject: |
|
|
lsmod:
mii
floppy
sbp2
eth1394
ohci1394
ieee1394
usb-storage
hid
uhci
usbcore
ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: : :1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
route -n:
Dest: 127.0.0.1
Gateway:127.0.0.1
Genmask: 255.0.0.0
Flags: UG
Metric:0
Ref:0
Use:0
Iface:0
(Note: that last one isn't int hat format, but that is what the info saya, you get it, right?)
I know it's probably some dumb thing I forgot to do or something, but I just don't know. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Oct 15, 2004 10:45 am Post subject: |
|
|
The LiveCD emphatically did not detect your NIC - it detected your firewire card, which can also be used as a NIC.
So now you'll have to figure out what kind of NIC you have.
Run cat /proc/pci or lspci to see what the hardware is.
Then load the module for it with modprobe.
Then run net-setup eth0, and you should be good.
Unless, of course, you do use the firewire connection for your network... _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
guldan Tux's lil' helper
Joined: 24 May 2004 Posts: 81
|
Posted: Fri Oct 15, 2004 4:31 pm Post subject: |
|
|
switchy85 wrote: |
eth1394
ohci1394
ieee1394
|
Looks like I had exactly the same problem as you on my DELL 5100. The eth13394 driver blocked the NIC (broadcom) driver from beeing loadad correctly. You might want to look in this direction as well and unload the eth13394 driver (if not required) and then load the NIC driver. |
|
Back to top |
|
|
switchy85 n00b
Joined: 14 Oct 2004 Posts: 3
|
Posted: Sat Oct 16, 2004 4:56 am Post subject: |
|
|
Ok, so I tried modprobeing tulip and it didn't give me any errors. I did ifconfig and it showed the same thing.
How do you unload the 1394 modules already in place? I think that may be the reason it's screwing up.
*Sigh* Don't know what is different now from when it worked the last few times. Should I put XP on here just to try to make it work? |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sat Oct 16, 2004 1:05 pm Post subject: |
|
|
Well after you loaded the nic module (modprobe tulip) you have to bring the network up /etc/init.d/net.eth0 restart |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Oct 16, 2004 1:27 pm Post subject: |
|
|
I had this problem with 2004.1. I had to rmmod all the 1394 modules then a modprobe e100 (for my NIC) then had to #dhcpcd to bring my network connection live |
|
Back to top |
|
|
guldan Tux's lil' helper
Joined: 24 May 2004 Posts: 81
|
|
Back to top |
|
|
|