Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SlackWare 9.
1º NIC -> Raltek 8029
2º NIC -> SiS 900 (onboard).
Well, I get configured the first NIC using netconfig so i have internet access throught it (fixed IP), no big deal.
But i can't / don't known how get working the SiS 900. I want to stablish a LAN with a 2nd computer using Win98.
I need at least where can i put the parameters (ip, submask net).
I tried using ifconfig but they do not recognise the changes until i reboot and after reboot the parameters get lost so i keep chasing my shadow (i can say this coz if i do a ifconfig down then ifconfig up for Realtek, stop working until reboot).
You should look into /etc/rc.d/rc.inet1 script. Near the beginning of it you have
Code:
# Edit these values to set up your second Ethernet card (eth1),
# if you have one. Otherwise leave it configured to 127.0.0.1,
# or comment it out, and it will be ignored at boot.
IPADDR2="127.0.0.1" # REPLACE with YOUR IP address!
NETMASK2="255.255.255.0" # REPLACE with YOUR netmask!
Edit it, insert right IP address and netmask. If you need also DHCP, it's below. Edit it and restart the script.
Thank you mara, i have done that but it dosn't work, a cant ping the other computer and on reboot that parameters get lost, only eth0 works and eth1 is down...
If a run manually sh rc.inet1 on every boot it get configured but it doesn't seem to work.
root@xxx:/etc/rc.d# dmesg | grep eth
eth0: RealTek RTL-8029 found at 0xc800, IRQ 11, 00:00:21:F9:8A:08.
eth1: Realtek RTL8201 PHY transceiver found at address 1.
eth1: Using transceiver found at address 1 as default
eth1: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 11, 00:07:95:eb:8a:ec.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.