LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2006, 09:06 AM   #1
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Rep: Reputation: 15
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
 
Old 06-03-2006, 04:55 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 06-04-2006, 07:05 AM   #3
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
Old 06-04-2006, 07:40 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 06-07-2006, 09:52 AM   #5
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 15
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)

Last edited by Wordan; 06-07-2006 at 09:59 AM.
 
Old 06-07-2006, 10:35 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Assign an address to eth1 by editing /etc/network/interfaces and you should be good to go.
 
Old 06-10-2006, 12:26 PM   #7
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 15
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
 
Old 06-11-2006, 02:18 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
This is normally hardware based. i.e. check cables etc.
 
  


Reply

Tags
debian, eth0, eth1, ifconfig, woody



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Woody WLAN card saadmahm Linux - Newbie 1 09-06-2004 01:08 PM
Debian Woody slows down when network is down Maidros Debian 4 08-08-2004 07:38 AM
Woody Debian and network problems -Dice Linux - Newbie 2 04-14-2004 02:22 AM
My Debian Woody Crashes when switching terminal elkrammer Linux - Distributions 2 10-01-2002 06:11 PM
Help with configuring network to Debian Woody? Jessie Linux - Networking 2 02-19-2002 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration