LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Switching network card, Debian Woody (https://www.linuxquestions.org/questions/linux-networking-3/switching-network-card-debian-woody-451194/)

Wordan 06-03-2006 09:06 AM

Switching network card, Debian Woody
 
I've installed a new network card on a computer running Debian Woody. The drivers are installed, and I am sure it is working properly. (I didn't install the drivers my self)

I want to use the new card instead of the old. It doesn't apear in ifconfig yet. Can someone point me in the right direction for Woody? Thanks

TigerOC 06-03-2006 04:55 PM

Do /etc/init.d/networking restart as root then check /var/log/syslog to see whether it has found and loaded the driver and recognised the card.

Wordan 06-04-2006 07:05 AM

I can't see anything in the syslog. It had been working though. It was setup but forgot the configuration on restart. Unless the drivers get removed when it is restarted. Unfortunatly I didn't do it so I can't remember how.

TigerOC 06-04-2006 07:40 AM

If you cannot see it in the syslog then its not loading. Its likely the driver was loaded as a module. Find out which driver it was and then either use insmod or use modconf to install the driver.

Wordan 06-07-2006 09:52 AM

The module is dge528 and it appears in the list when I do 'lsmod'
Code:

dge528                11808  0  (unused)
(Edit)Ah, I just did a ifconfig -a and I see eth1 listed. I assume this is the second network card.
Code:

eth0      Link encap:Ethernet  HWaddr 00:10:5A:49:5E:19
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39361 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20279 errors:0 dropped:0 overruns:0 carrier:0
          collisions:105 txqueuelen:100
          RX bytes:4407753 (4.2 MiB)  TX bytes:3375237 (3.2 MiB)
          Interrupt:5 Base address:0x1040

eth1      Link encap:Ethernet  HWaddr 00:13:46:30:71:06
          BROADCAST MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0xd000

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:694 errors:0 dropped:0 overruns:0 frame:0
          TX packets:694 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:75095 (73.3 KiB)  TX bytes:75095 (73.3 KiB)


TigerOC 06-07-2006 10:35 AM

Assign an address to eth1 by editing /etc/network/interfaces and you should be good to go.

Wordan 06-10-2006 12:26 PM

Ah thanks :)

I just replaced eth0 with eth1. However the card now fails to connect to the new gigabit switch for which it was intended(I'm sure it worked before!). That's probably a different challenge

TigerOC 06-11-2006 02:18 AM

This is normally hardware based. i.e. check cables etc.


All times are GMT -5. The time now is 12:49 AM.