linux eth up 관련 질문
linux 2.6에서 eth1 up 을 실행하려고 합니다.
ifconfig 로 조회하면 eth1은 보이지 않고 -a 를 해줘야 보입니다.
eth1이 up이 안되어 있는거 같은데 up을 실행하면
>ifconfig eth1 up
net eth1: could not attach to PHY
SIOCSIFFLAGS: No such device
다음과 같은 메시지가 리턴 됩니다.
>ifconfig
eth0 Link encap:Ethernet HWaddr 20:17:04:AB:CD:EF
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:125526 errors:0 dropped:0 overruns:0 frame:0
TX packets:311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10307367 (9.8 MiB) TX bytes:52341 (51.1 KiB)
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)
>ifconfig -a
dummy0 Link encap:Ethernet HWaddr 8A:23:A5:3D:E5:1C
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 20:17:04:AB:CD:EF
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:126946 errors:0 dropped:0 overruns:0 frame:0
TX packets:319 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10419662 (9.9 MiB) TX bytes:53690 (52.4 KiB)
eth1 Link encap:Ethernet HWaddr 20:17:04:AB:CD:EC
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Base address:0x8000
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)
tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-C1-78-AF-9F-00-00-00-00-00-00-00-00
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
힌트가 될만한게 있을까요...?
아직까지 커널 2.6을 사용하는 걸 보니 임베디드
아직까지 커널 2.6을 사용하는 걸 보니 임베디드 환경인 것 같은데, 어떤 환경에서 작업하고 있고 랜카드 종류는 무엇인지 알 수 있을까요?
해결했습니다. 감사합니다^^
해결했습니다. 감사합니다^^
댓글 달기