LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2007, 07:30 PM   #1
flycast
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
NIC card drivers in new install


Hello. New to Slackware. Already can tell you that it is definitely much faster on an 800Mhz machine than Debian or Fedora. I have two network interface cards:

1) 3Com 3C905C-TXM
2) Linksys LNE100TX

I have looked in the file /etc/rc.d/rc.modules. I uncommented the
Quote:
/sbin/modprobe 3c59x
and the 3com card is working fine. Can anyone tell me which module needs to be used for the Linksys?
 
Old 02-05-2007, 09:23 PM   #2
Neoslak
LQ Newbie
 
Registered: Nov 2002
Posts: 22

Rep: Reputation: 15
Seems like it is the tulip module that works with the Linksys. If not try via-rhine or the de4x5 module.

If you edit /etc/rc.d/rc.inet1.conf and configure the parameters for both eth0 and eth1 it will probably autodetect it and load the correct modules when you reboot.

do 'dmesg | grep eth0' and 'dmesg | grep eth1' to see what it does.

Note, if you are using a 2.6.x kernel you should be able to specify which card you want to be eth0 and which card you want to be eth1 with aliases in /etc/modprobe.d


Best -

Chuck
 
Old 02-06-2007, 06:53 PM   #3
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
root@slacker:~# dmesg|grep eth0
root@slacker:~# dmesg|grep eth1
eth1: ADMtek Comet rev 17 at 0xd800, 00:14:BF:5E:94:50, IRQ 9.
eth1: Setting full-duplex based on MII#1 link partner capability of 41e1.
root@slacker:~#
I have enabled tulip. I can still connect to the internet through eth0 but eth1 in Network Settings-Network Interfaces shows down. I can eit the configuration but when I try to enable it it says
Quote:
There was an error changing the device's state. You will have to do it manually.
I have to confess that I am not a network expert. Is it possible that I am experiencing a mac address conflict since nothing shows for an address for eth0?
 
Old 02-06-2007, 11:46 PM   #4
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
Quote:
Originally Posted by flycast
I have enabled tulip. I can still connect to the internet through eth0 but eth1 in Network Settings-Network Interfaces shows down. I can eit the configuration but when I try to enable it it says
Try issuing
Code:
ifconfig -a
it should show you all your detected physical and logical interfaces, wether they are up or not.

It could be that the driver isn't printing anything to dmesg (?).
 
Old 02-07-2007, 01:44 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by flycast
I have enabled tulip. I can still connect to the internet through eth0 but eth1 in Network Settings-Network Interfaces shows down. I can eit the configuration but when I try to enable it it says


I have to confess that I am not a network expert. Is it possible that I am experiencing a mac address conflict since nothing shows for an address for eth0?
Hi,

Please post the output of 'ifconfig -a' and 'lspci -vv'.

Post the /etc/rc.d/rc.inet1.conf file to see the device configurations.

Last edited by onebuck; 02-07-2007 at 01:46 PM.
 
Old 02-08-2007, 06:34 PM   #6
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Lots of data...here it is.
Quote:
root@slacker:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:BF:5E:94:50
inet addr:192.168.1.71 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:95396 errors:0 dropped:0 overruns:0 frame:0
TX packets:11235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9484240 (9.0 MiB) TX bytes:827340 (807.9 KiB)
Interrupt:9 Base address:0xd800

eth1 Link encap:Ethernet HWaddr 00:50:DA:1F:CC:14
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:3 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1770 (1.7 KiB) TX bytes:2360 (2.3 KiB)
Interrupt:3 Base address:0xdc00

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:91 errors:0 dropped:0 overruns:0 frame:0
TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:46240 (45.1 KiB) TX bytes:46240 (45.1 KiB)
Quote:
root@slacker:~# lspci -vv
00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0

00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
Subsystem: Intel Corporation Unknown device 4332
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
Region 1: Memory at ffa80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: ff800000-ff8fffff
Prefetchable memory behind bridge: f6a00000-f6afffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0

00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02) (prog-if 80 [Master])
Subsystem: Intel Corporation 82801AA IDE
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 4: I/O ports at ffa0 [size=16]

00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801AA USB
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 9
Region 4: I/O ports at ef80 [size=32]

00:1f.3 SMBus: Intel Corporation 82801AA SMBus (rev 02)
Subsystem: Intel Corporation 82801AA SMBus
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at efa0 [size=16]

01:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-
Latency: 64 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at df00 [size=64]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 6c)
Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (2500ns min, 2500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 3
Region 0: I/O ports at dc00 [size=128]
Region 1: Memory at ff8fec00 (32-bit, non-prefetchable) [size=128]
Expansion ROM at ff8a0000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

01:0b.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
Subsystem: ADMtek Unknown device 0574
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (16000ns min, 32000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at d800 [size=256]
Region 1: Memory at ff8ffc00 (32-bit, non-prefetchable) [size=1K]
Expansion ROM at ff8c0000 [disabled] [size=128K]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=100mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Quote:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.1.254"

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (space-separated, see the
# example).
USE_DHCP[0]="yes"
 
Old 02-08-2007, 06:49 PM   #7
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
This
Code:
eth0 Link encap:Ethernet HWaddr 00:14:BF:5E:94:50
 inet addr:192.168.1.71 Bcast:192.168.1.255 Mask:255.255.255.0
 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
 RX packets:95396 errors:0 dropped:0 overruns:0 frame:0
 TX packets:11235 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:9484240 (9.0 MiB) TX bytes:827340 (807.9 KiB)
 Interrupt:9 Base address:0xd800
 
 eth1 Link encap:Ethernet HWaddr 00:50:DA:1F:CC:14
 BROADCAST MULTICAST MTU:1500 Metric:1
 RX packets:0 errors:0 dropped:0 overruns:3 frame:0
 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:1770 (1.7 KiB) TX bytes:2360 (2.3 KiB)
 Interrupt:3 Base address:0xdc00
 
 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:91 errors:0 dropped:0 overruns:0 frame:0
 TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:46240 (45.1 KiB) TX bytes:46240 (45.1 KiB)
looks like both of them are up. Have you tried restarting eth1 after you have the module loaded?
 
Old 02-09-2007, 08:19 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Your eth0 device is getting assignment from dhcp server. Last command in your /etc/rc.d/rc.inet1.conf file.

Your eth1 uses dhcp and the 'ifconfig -a' shows no assignment because it is not active/up.

BTW, why the need for both NICs up?

Both eth0 and eth1 are recognized with eth0 having an assigned IP.

As for your question about MAC conflict, the devices show the unique MAC address assigned to each. If you were doing MAC filtering and spoof the address then 'yes' there could be a conflict. Only if you enter the wrong data for the MAC addresses.
 
Old 02-09-2007, 03:10 PM   #9
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
What are the cards attached to. eth0 got an IP address, which looks like a router, as it's in the 192.168.1.xxx range.

What device is at the other end of the cable attached to eth1. Does that give out IP addresses.

Cheers.
 
Old 02-09-2007, 07:16 PM   #10
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
I was not specific about that I see..
I want to use the box as a internet content filter/proxy server. I have DSL and a wireless router/DSL modem (2Wire) attached to the incoming line. I want to put the Linux with DanGuardian/tiny proxy/firehol between the router and the rest of the boxes in the house (2 XP's, 1 Mac and the Linux).I assumed that you need one card (eth0) for cat5 to the router and one (eth1) for cat5 to a different (Linksys) wireless switch.

The 2 PC's and one Mac would connect to the internet through the Linksys switch on eth1 to the proxy server. The proxy server would connect to the internet through eth0 to the 2Wire modem.

Am I barking up the wrong tree?

I am also learning how to use Linux and experimenting with filters for a church network.
 
Old 02-12-2007, 02:28 PM   #11
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Is this the setup you are proposing:

Internet <-> Wirless Router <-> Proxy Server <-> Switch <-> Internal network.

A switch will NOT give out IP addresses. You will have to configure eth1 on the Proxy Server, and either run a DHCP server on eth1, on the Proxy Server to give IPs to the internal network, or more simply, set static IPs on the internal network.

Here's my setup for this:

Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
DHCP_KEEPRESOLV[0]="yes"

# Config information for eth1:
IPADDR[1]="192.168.0.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

...

# Default gateway IP address:
GATEWAY=""
Cheers.
 
  


Reply



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
How to install NIC drivers? corruptor Linux - Networking 1 07-27-2004 10:29 AM
Can't install drivers of a second NIC klennepette Linux - Newbie 6 04-28-2004 05:47 PM
Trying to install drivers for Linksys WUSB11 NIC v2.5 on RedHat 9 Golbez Linux - Newbie 5 04-08-2003 02:46 PM
Netgear FA511 NIC card drivers? jspaceman Linux - Hardware 1 03-29-2003 08:08 PM
NIC Drivers - How do I install them? feaz Linux - Networking 3 04-24-2002 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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