LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network Card Installation / Setup (https://www.linuxquestions.org/questions/linux-networking-3/network-card-installation-setup-233001/)

SammyK 09-20-2004 01:02 PM

Network Card Installation / Setup
 
So I have a Dell Poweredge 1550 with a SCSI HD. I am trying to install Debian. The first time I went into Debian installation it had no problem finding my network card, however, it didn't have support for my SCSI HD, so I rebooted and typed bf24 to get it to use a different kenral. My HD suddenly worked, but now it can't find my network card.

So far here is what I have done (I am so close!!):

I did a lspci and both of my network cards were listed (Intel Ethernet Pro 100.) No problem there.

I found out that I needed the drivers from the other kernal, so I just jacked the driver I needed (eepro100) from the Debian CD.

I did a modprobe eepro100 to load that module.

Made a file /etc/modutils/ehternet and put the following lines in it:

alias = eth0 eepro100
alias = eth1 eepro100

Then did a update-modules command to update the modules.conf file (that's the Debian way.)

After this... it gets blurry. I did some commands like:

net-setup eth0
ifconfig eth0 192.168.0.1 up
route add -net 192.168.0.0 netmask 255.255.255.0 eth0
route add default gw 192.168.0.6 // That's my router's address

After all that I can ping computers within my own network, but I can't ping google.com or anything outside the network. And every time I reboot, everything goes back to square one. And it doesn't recognize my card any longer.

Thanks in advance for any help at all.
Sam

Geronimo 09-20-2004 01:28 PM

Just a couple of thoughts

first, maybe a silly question, but is your router working?? But as you are writng here, I guess it is...

second: Have you loaded the correct drivers?? I had some problem with my bcm5700 card, for which I used a tg3 drivers... Well it worked as long as I hadn't running my vpnclient, otherwise it wouldn't! I solved the problem by installing the correct drivers...
BTW, you seems pretty advanced in using linux; would it be easier just to comile a new kernel??

what happens if you leave out the route -net line?? I played a bit around with linux, IIRC I didn't used that line....

Greets
Geronimo

SammyK 09-21-2004 06:21 AM

Thanks for the reply! I did a traceroute on google's ip and it was getting where it needed to go, so I looked at the resolv.conf file on my other Debian box and copied it and suddenly, I was able to ping google.com!

So everything was working perfectly... that is, until I rebooted. If I do a ifconfig, only the loopback shows up. What the crap? What is it that I am missing?

Thanks again for any help!
Sam


All times are GMT -5. The time now is 01:48 AM.