my second network card does not work (slackware)
Hi!
I am on Slackware. I got two network cards. One for acessing the internet and one for the local network. eth0 (acess to the internet) works, but eth1 doesn't. what I did: *** I changed /etc/rc.d/rc.modules for my second network card (Realtek 8029) # PCI NE2000 clone support: /sbin/modprobe ne2k-pci *** I changed /etc/rc.d/rc.inet1.config # Config information for eth0: IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="10.0.0.1" NETMASK[1]="255.0.0.0" USE_DHCP[1]="" DHCP_HOSTNAME[1]="" *** I rebooted *** eth0 works but eth1 doen't ***output of /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr 00:4F:49:0E:22:D2 inet addr:62.178.161.162 Bcast:62.178.161.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22310 errors:0 dropped:0 overruns:0 frame:0 TX packets:1024 errors:0 dropped:0 overruns:0 carrier:0 collisions:12 txqueuelen:1000 RX bytes:1667393 (1.5 Mb) TX bytes:152699 (149.1 Kb) Interrupt:11 Base address:0xe400 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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 b) TX bytes:100 (100.0 b) *** then I changed /etc/rc.d/rc.inet1.config (exchange the cards): # Config information for eth0: IPADDR[0]="10.0.0.1" NETMASK[0]="255.0.0.0" USE_DHCP[0]="" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="" NETMASK[1]="" USE_DHCP[1]="yes" DHCP_HOSTNAME[1]="" *** I reboot *** now eth0 works and I can ping 10.0.0.1 but eht1 doesn't work and I can't acess the internet any Idea how to make them both work at the same time? THANK YOU |
anyone? :cry:
|
Are you using the precompiled kernel? If you're ok with recompiling, Ive had much more success with network cards if they're compiled into the kernel.
|
Quote:
On http://www.linuxtux.org/~juhl/slackwarefaq/ it reads: Quote:
|
whats eth0's driver...? .. are both of these cards plugged into the same hub, or do you have eth0 to the modem & eth1 to the hub... you might have to setup an alias in /etc/modules.conf
alias eth0 ???DRIVER NAME???? alias eth1 ne2k-pci eth0's driver might be tulip.. its kinda common.. check here under compatibility for u're card.. |
All times are GMT -5. The time now is 12:32 AM. |