Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-15-2003, 10:16 PM
|
#1
|
LQ Newbie
Registered: Mar 2003
Location: Argentina
Posts: 24
Rep:
|
Get 2nd Ethernet working.
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).
I hope you can understand my problem.
Thanks in advance.
|
|
|
07-16-2003, 04:41 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
07-16-2003, 07:19 PM
|
#3
|
LQ Newbie
Registered: Mar 2003
Location: Argentina
Posts: 24
Original Poster
Rep:
|
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.
|
|
|
07-16-2003, 10:15 PM
|
#4
|
Member
Registered: Feb 2003
Posts: 484
Rep:
|
try
ifconfig eth1 up
then if your doing a direct connect you'll need a crossover instead of a network cable.
good luck
|
|
|
07-17-2003, 06:58 PM
|
#5
|
LQ Newbie
Registered: Mar 2003
Location: Argentina
Posts: 24
Original Poster
Rep:
|
I do exactly that but it doesn't work, cable is fine, it works fine under win2k.
|
|
|
07-18-2003, 11:11 AM
|
#6
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
What's wrong when you run the script? Do you get any error messages?
|
|
|
07-18-2003, 12:41 PM
|
#7
|
LQ Newbie
Registered: Mar 2003
Location: Argentina
Posts: 24
Original Poster
Rep:
|
I'm under X-Server
Open Konsole, the
(cpy paste)
root@x:/etc/rc.d# sh rc.inet1
SIOCADDRT: File exists
Configuring eth0:
ifconfig eth0 200.81.19.213 broadcast 200.81.19.xxx netmask 255.255.255.xxx
Configuring eth1:
ifconfig eth1 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0
SIOCADDRT: File exists
root@x:/etc/rc.d#
On win98 PC (conected via eth1)
IP 192.168.0.2 netmask 255.255.255.0
Cheers.
|
|
|
07-20-2003, 07:00 PM
|
#8
|
LQ Newbie
Registered: Mar 2003
Location: Argentina
Posts: 24
Original Poster
Rep:
|
More info, seams to be an IRQ problem
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.
I need this LAN, please, need some help here.
|
|
|
07-21-2003, 05:54 PM
|
#9
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
Agh...Not good. Do you have an option in BIOS to change the build-in NIC IRQ?
|
|
|
07-22-2003, 10:38 AM
|
#10
|
LQ Newbie
Registered: Mar 2003
Location: Argentina
Posts: 24
Original Poster
Rep:
|
i'll search for it, otherwise i put eth0 in other pci slot to see what happens.....
Last edited by Tomcat_cdm; 07-22-2003 at 10:40 AM.
|
|
|
All times are GMT -5. The time now is 02:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|