LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware and network cards (https://www.linuxquestions.org/questions/slackware-14/slackware-and-network-cards-113897/)

jeempc 11-08-2003 05:51 PM

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

akaBeaVis 11-08-2003 08:00 PM

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.

exodist 11-08-2003 08:00 PM

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

skog 11-08-2003 11:01 PM

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


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