LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-08-2003, 05:51 PM   #1
jeempc
Member
 
Registered: Mar 2003
Location: Ann Arbor, MI
Distribution: Slackware 10.1
Posts: 119

Rep: Reputation: 15
slackware and network cards


Hello all. I just installed Slackware 9.1 and during the setup it only detected one of my network cards. I have two installed. I want to set up internet connection sharing and I can't until I get the other card configured. It called the card eth1.
here are some paramaters

eth1 Link encap:Ethernet HWaddr 00:A0:CC:41:75:F0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26432 errors:1 dropped:0 overruns:0 frame:0
TX packets:19377 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:100
RX bytes:31156871 (29.7 Mb) TX bytes:1658215 (1.5 Mb)
Interrupt:9 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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:68.248.42.91 P-t-P:68.248.47.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:26245 errors:0 dropped:0 overruns:0 frame:0
TX packets:19190 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30568193 (29.1 Mb) TX bytes:1230369 (1.1 Mb)

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 47)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10)
00:08.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
00:09.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
01:00.0 VGA compatible controller: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a4)

Jeem
 
Old 11-08-2003, 08:00 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
edit /etc/rc.d/rc.inet1

you will want to add a line:
ifconfig ethX ipaddress netmask mask
example:
ifconfig eth0 192.168.1.9 netmask 255.255.255.0
or for dhcp do:
dhcpcd -t 10 -d ethX
 
Old 11-08-2003, 08:00 PM   #3
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
take a look at your /etc/rc.d/rc.inet1 file, the commentary in the file should guide you for what to put where for the second card.
 
Old 11-08-2003, 11:01 PM   #4
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
in slack 9.1 they changed the boot up scripts ... you dont edit /etc/rc.d/rc.inet1 anymore.

now you need to look at /etc/rc.d/rc.inet1.conf

but your problem is that the second card isnt loading just add the module to /etc/rc.d/rc.netdevice and put its settings(ip dns ...) in /etc/rc.d/rc.inet1.conf
 
  


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
two network cards in slackware 10.2 caghiebe Linux - Networking 6 12-02-2005 10:16 AM
2 network cards, single network, load balancing? tormentum Linux - Networking 1 02-13-2005 02:37 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Setting up Slackware 9.1 to use multiple network cards? Lynx2112 Slackware 7 06-10-2004 05:52 PM
Using 2 network cards in Slackware 9.1 spinal Linux - Networking 2 05-20-2004 11:14 AM

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

All times are GMT -5. The time now is 08:51 PM.

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