LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2005, 10:07 PM   #1
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Rep: Reputation: 31
help with 2nd nic ' resource temperarily unavaliable'


HI
i have just installed another NIC onto my linux machine (woody version). I assign an ip to it via editing /etc/network/interfaces and install driver via modconf command. When i restart the computer i can't see the new eth1 loaded. I try to use ifconfig eth1 up 192.168.50.126 netmask 255.255.255.0 command, and i got resource temperarily unavaliable. But the funny thing is , i can ping the 126 address from other computer in lan , there is no data loss.


Can anyone help me with this problem? Btw , our LAN use static IP and the driver for eth0 is epro100 and eth1 is sis900.

============below is the mesg i got when typing dmesg ==========


apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13)
apm: disabled on user request.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 152k freed
NET4: Unix domain sockets 1.0 for Linux NET4.0.
Adding Swap: 499896k swap-space (priority -1)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
eepro100.c: $Revision: 1.20.2.10 $ 2000/05/31 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eepro100.c: VA Linux custom, Dragan Stancevic <visitor@valinux.com> 2000/11/15
The PCI BIOS has not enabled this device! Updating PCI command 0113->0117.
eth0: Intel PCI EtherExpress Pro100 82557, 00:90:27:59:32:7C, IRQ 11.
Board assembly 721383-006, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
Installing knfsd (copyright (C) 1996 okir@monad.swb.de)
PCI: Enabling bus mastering for device 00:80
sis900.c: v1.06.09 09/28/2001
eth1: SiS 900 PCI Fast Ethernet at 0x1400, IRQ 0, 00:40:33:e2:2b:32.
eth1: SiS 900 Internal MII PHY transceiver found at address 1.
eth1: Using transceiver found at address 1 as default
===============================================





Thanks in advance

Last edited by taiwf; 06-22-2005 at 10:20 PM.
 
Old 06-23-2005, 02:54 AM   #2
somarasa
LQ Newbie
 
Registered: Jun 2005
Location: Bulgaria, Sofia
Distribution: Mandrake 10.2 - Mandriva LE 2005
Posts: 15

Rep: Reputation: 0
Try $ ping 192.168.50.(some real adress) -I eth1
if this work then it is OK
 
Old 06-24-2005, 12:07 AM   #3
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by somarasa
Try $ ping 192.168.50.(some real adress) -I eth1
if this work then it is OK
hmm i got bad interface adress 'eth1' if i type in the command you suggested. I got the same message if i type eth0. But it work if i replace eth1 with 192.168.50.126.

So, what is the problem? is it because that my 2 interace card can't connect to the same subnets?


Sorry, if it's a dump question, i just start to play around linux few day ago :P.
 
Old 06-24-2005, 01:02 AM   #4
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Quote:
So, what is the problem? is it because that my 2 interace card can't connect to the same subnets?
You can have as many connections from one box to any (or the same) subnets.

Quote:
Sorry, if it's a dump question, i just start to play around linux few day ago :P.
Remember that TCP/IP is the same on a Linux, Windows, or Mac [other OS insert here] box.

Start from the beginning:

1. Before putting in your second card, make sure your first ethernet card is working and doing what you want it to do.
2. Install your second nic. Boot the system.
3. Before making any changes to config files, run ifconfig (as root) on your second card (eth1):
# ifconfig up eth1 192.168.50.x <- replace IP address with the one you want it to have.
Note any error messages you might receive. If no messages then your hardware is most likely working.
4. Do:
# ping IP.Address -I eth1

If all is well then consider that it's working, and then set up your configuration files.
 
Old 06-24-2005, 01:53 AM   #5
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Harlin
You can have as many connections from one box to any (or the same) subnets.



Remember that TCP/IP is the same on a Linux, Windows, or Mac [other OS insert here] box.

Start from the beginning:

1. Before putting in your second card, make sure your first ethernet card is working and doing what you want it to do.
2. Install your second nic. Boot the system.
3. Before making any changes to config files, run ifconfig (as root) on your second card (eth1):
# ifconfig up eth1 192.168.50.x <- replace IP address with the one you want it to have.
Note any error messages you might receive. If no messages then your hardware is most likely working.
4. Do:
# ping IP.Address -I eth1

If all is well then consider that it's working, and then set up your configuration files.

when i type in ping 192.168.50.real_ip -I eth1 , i got:
#bad interface address 'eth1'

Same result if i replace 'eth1' as 'eth0' which is the frist card and work perfectly well with my apache web server (my lan can browse from eth0's ip).

For step 3, i got "resource temperarily unavaliable" as mentioned on the first post of this thread.

any other thing i should try? I am pretty sure the 2nd card work flawlessly,coz i took it from other window machine.
 
Old 06-24-2005, 03:33 AM   #6
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Run this:

cat /proc/interrupts

See if it's possible the two nics may be mistakenly tied to the same IRQ.
 
Old 06-26-2005, 06:22 PM   #7
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
Below is what i got from cat /proc/interrupts . It seems my eth1 , which use sis900 driver , is not even have irq assigned?


======================================

CPU0
0: 62067 XT-PIC timer
1: 2 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 3 XT-PIC rtc
11: 1545 XT-PIC eth0
13: 1 XT-PIC fpu
14: 207331 XT-PIC ide0
15: 7 XT-PIC ide1
NMI: 0


===============================

By the way, i type in lsmod , and find that my sis900 driver seems not in used. Does that mean i install a wrong driver? (i install sis900 coz there is such chip on my lan card)


------------------------------
debian-dav:/proc# lsmod
Module Size Used by
ip_masq_raudio 2944 0 (unused)
ip_masq_portfw 2536 0 (unused)
ip_masq_mfw 3156 0 (unused)
ip_masq_irc 2164 0 (unused)
ip_masq_ftp 3584 0 (unused)
ip_masq_autofw 2488 0 (unused)
sis900 10156 0 (unused)
nfsd 180920 0 (unused)
nfs 71180 0 (unused)
lockd 42420 0 [nfsd nfs]
sunrpc 57816 0 [nfsd nfs lockd]
binfmt_misc 3788 0 (unused)
binfmt_aout 3756 0 (unused)
eepro100 14888 1
af_packet 6152 0 (unused)
unix 11352 78 (autoclean)
-----------------------------------------------

Last edited by taiwf; 06-26-2005 at 06:31 PM.
 
Old 06-27-2005, 10:28 PM   #8
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
was searching around and found the solution.... It seems the plug-and-play feature of bios causing the problem. I simply press DEL at computer reboot, then disable PnP. Everything work as champ


http://www.vidarholen.net/contents/linuxtips/


btw , anyone know what "SIOCSIFFLAGS" stand for(or its meaning)?

Last edited by taiwf; 06-27-2005 at 10:29 PM.
 
Old 06-27-2005, 11:47 PM   #9
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Quote:
btw , anyone know what "SIOCSIFFLAGS" stand for(or its meaning)?
Not exactly sure, but I used to see it whenever I would try to configure that didn't exist or re-configure something like route add.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2nd NIC? Cornholio Slackware 3 04-25-2005 11:17 AM
connect:Resource temporarily unavaliable vintermann Linux - Networking 0 05-24-2004 07:55 AM
1st nic regular FTP, 2nd nic SSH Riselong Linux - Distributions 2 02-02-2004 06:13 PM
2nd NIC def1014 Linux - Networking 3 10-23-2002 09:54 AM
2nd Nic Killing Me!!!!! patmurray Linux - Networking 0 02-23-2002 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration