各位大大好:
小弟我第一次上論壇,想請教各位大大一個網路設定的問題:
小弟我安裝了DEBIAN 3.1 ,但是卻在網路設定上出問題。
這張網卡在Fedora 2,Windows下都正常。
我用ifconfig指令,卻只出現lo部分,找不到eth0:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
......................................
.........................................
我用ifconfig eth0 up 或 ifconfig eth0 inet up
都出現" SIOCSIFFLAGS:Device or resource busy "的訊息。
用ifup eth0,出現:
SIOCSIFFLAGS:Device or resource busy
Failed to bring up eth0
我用ifconfig eth0 192.168.6.6 netmask 255.255.255.0
也是 "SIOCSIFFLAGS:Device or resource busy"
ifconfig後也是沒eth0,但是加個參數 -a 就看到eth0
看到自己設定的IP,我ping 192.168.6.6 有回應。
我的/etc/network/interfaces 如下:
########
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.6.6
netmask 255.255.255.0
###########
我用/etc/init.d/networking restart :
SIOCSIFFLAGS:Device or resource busy
Failed to bring up eth0
如果把/etc/network/interfaces 改成:
########
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
###########
不論是ifup eth0 或 /etc/init.d/networking restart 都產生如下結果:
---------------------------------------------------------
SIOCSIFFLAGS:Device or resource busy
Listening on LPF/eth0/00:0C:6E:OA:81
Sending on LPF/eth0/00:0C:6E:OA:81
Sending on Socket/fall back/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 on port 67
send_packet:Network is down.
DHCPDISCOVER on eth0 to 255.255.255.255 on port 16
send_packet:Network is down.
DHCPDISCOVER on eth0 to 255.255.255.255 on port 9
send_packet:Network is down.
DHCPDISCOVER on eth0 to 255.255.255.255 on port 17
send_packet:Network is down.
DHCPDISCOVER on eth0 to 255.255.255.255 on port 5
send_packet:Network is down.
No DHCPDICOVER recieved
No working leases in presistent database.
Exit.
Failed to bring up eth0
----------------------------------------------------------
我去檢查網路卡是否有支援:
我用lspci發現:
Ethernet Controller:Silicon Integrated System [SiS]SiS900 PCI Fast Ethernet(rev91)
用dmesg | grep eth 發現:
eth0:SiS 900 PCI Fast Ethernet at 0X9800, IRQ 0 ,00:0C:6E:0E:oa:81
用cd /lib/modules/`uname -r`/kenel/drivers/net
,再用ls sis* 出現
sis900 11084 0
以上的訊息,表示網卡應該有支援才對。
我上google找:
結果上面說檢查:/proc/interrupts 看看IRQ 11是否被佔用
我的結果卻找不到eth0,也沒有IRQ 10 11的訊息。
請問各位大大,小弟網該如何解決這問題呢?