LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-23-2007, 08:48 AM   #1
andywest
LQ Newbie
 
Registered: Oct 2003
Location: France
Distribution: debian
Posts: 26

Rep: Reputation: 15
D-Link Cardbus GbE NIC on Dell latitude C400


dell latitude c400 with built in FE NIC
kernel 2.6.8.2 debian sarge

trying to install D-link DGE-660TD GbE carbus NIC
this card uses realtek8169 chipset I believe (see lspci below)

according to d-link, no linux drivers for this card, do I need to install the card's WIN drivers via ndiswrapper?

lspci -v shows:
0000:02:01.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
Subsystem: Dell: Unknown device 00c8
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 20400000-207ff000 (prefetchable)
Memory window 1: 20800000-20bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001

0000:03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: D-Link System Inc: Unknown device 4301
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
I/O ports at 4000 [size=256]
Memory at 20800000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at 20400000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

tried modprobe r8169 and added this to /etc/modules.conf but no success

extract from dmesg:

Yenta: CardBus bridge found at 0000:02:01.0 [1028:00c8]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:01.0, mfunc 0x012c1222, devctl 0x64
Yenta: ISA IRQ mask 0x0438, PCI irq 11
Socket status: 30000020
r8169 Gigabit Ethernet driver 1.2 loaded
PCI: Enabling device 0000:03:00.0 (0000 -> 0003)
ACPI: PCI interrupt 0000:03:00.0[A] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:03:00.0 to 64
eth1: Identified chip type is 'RTL8169'.
eth1: RTL8169 at 0xe0859000, 00:14:36:38:fc:0b, IRQ 11
eth1: Auto-negotiation Enabled.
eth1: 100Mbps Full-duplex operation.


that's my card with correct MAC address

Do I need to add an extra eth1 to /etc/network/interfaces even though on-board NIC isn't connected? (better to declare 2 NICs I guess)

I'm missing the method to bind services to 2nd NIC (maybe I'm missing a driver as well before that!). eth0 still referring to the on-board FE MAC - I can see this is used (by DHCP) when PC boots.
 
Old 03-29-2007, 12:58 PM   #2
andywest
LQ Newbie
 
Registered: Oct 2003
Location: France
Distribution: debian
Posts: 26

Original Poster
Rep: Reputation: 15
seems patience has to be a virtue - answering my own post.

for this NIC card which fortunately uses realtek8169 chipset - modules already exist. kernel as well (debian 2.6.8-2.686) loads correct pcmcia drivers.
so no ndiswrapper necessary (I think) as r8169 has a driver.

lsmod (extract) shows:
r8169 17508 0
pcmcia_core 70868 2 ds,yenta_socket


If you can lspci
0000:02:01.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
0000:03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

and see your chipset this means card driver is working

then define a new interface in /etc/network/interfaces
auto eth1
iface eth1 inet dhcp


then a quick /etc/init.d/networking restart and card got its IP address.

now there are other admin issues about which eth_x is used for which service (e.g if I remove eth0 cable and try a ping then it still tries to use eth0 - will figure what's missing here)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sticky mouse: Latitude C400 John Sorkin Linux - Laptop and Netbook 2 05-07-2005 03:16 PM
suse 9.1 personal on dell c400 latitude wee al Linux - Laptop and Netbook 0 01-05-2005 08:29 AM
Problems with RH8 on a Dell C400 totallybored Linux - Hardware 7 03-24-2003 12:31 PM
Need help configuring Xwindows on a Dell c400 Notebook ELHMMM Linux - General 1 03-16-2003 05:19 PM
Installing 3c575-tx cardbus pc card onto RedHat 6.2 with DELL Latitude CPi john lee Linux - Newbie 4 06-25-2001 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:49 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