도와주세요!!
우분투 9.04를 사용하고 있습니다
보드와 호스트 사이에 핑이 안들어와서 문의 드립니다.
다른글을 찾아 봤더니 컨피그랑 몇개 써야 하는거 같아. 같이 올립니다.
인터넷을 찾아 보고 iptable도 열어봤지만..아무것도 없고 여기저기 돌아다녔는데..제 경우가 없는거 같아서 질문드립니다
호스트 ifconfig
kwon@ecl-lab:/nfs$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:77:5e:ec:d8
inet addr:169.254.10.4 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::213:77ff:fe5e:ecd8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:141 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6486 (6.4 KB) TX bytes:10341 (10.3 KB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:102 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7728 (7.7 KB) TX bytes:7728 (7.7 KB)
wlan0 Link encap:Ethernet HWaddr 00:1d:e0:3f:b4:c9
inet addr:218.154.191.124 Bcast:218.154.191.255 Mask:255.255.255.0
inet6 addr: fec0::b:21d:e0ff:fe3f:b4c9/64 Scope:Site
inet6 addr: 2002:da9a:bf64:b:21d:e0ff:fe3f:b4c9/64 Scope:Global
inet6 addr: 2002:77c6:1b2c:b:21d:e0ff:fe3f:b4c9/64 Scope:Global
inet6 addr: fec0::9:21d:e0ff:fe3f:b4c9/64 Scope:Site
inet6 addr: 2002:7990:36bc:9:21d:e0ff:fe3f:b4c9/64 Scope:Global
inet6 addr: 2002:dc77:a1b4:4:21d:e0ff:fe3f:b4c9/64 Scope:Global
inet6 addr: fec0::4:21d:e0ff:fe3f:b4c9/64 Scope:Site
inet6 addr: fe80::21d:e0ff:fe3f:b4c9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19212 errors:0 dropped:0 overruns:0 frame:0
TX packets:2083 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2976012 (2.9 MB) TX bytes:250841 (250.8 KB)
wmaster0 Link encap:UNSPEC HWaddr 00-1D-E0-3F-B4-C9-34-63-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)
무선랜으로 인터넷을 잡고.유선으로 링크-로컬전용으로 설정하여 보드와 연결 하였습니다.
ez-x5 부팅시 화면 입니다
WELCOME EZBOOT.X5 V1.8...................for PXA255
Program by You Young-chang, fooji (FALinux Co.,Ltd)
Last Modify Feb 21 2007
Boot Flash Check ......................
Detect ES29LV400 (BOTTOM)Flash : 22BA
SIZE 4M-BIT [512Kbyte]
NAND Chip Check .......................
Detect SAMSUNG [ec:76] 64MByte
BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]
CS8900 Init............................
Mac Address : [00 A2 55 F2 26 25]
Detect value : [3000:3000]
Chip ID : [0E63:000A]
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]
^^;
1. MAC Address [00:a2:55:f2:26:25]
2. LOCAL IP [192.168.10.155]
3. HOST IP [169.254.10.4]
4. Host tftp directory [/tftpboot]
5. zImage file name [zImage.x5]
6. ram disk file name [ramdisk.x5-12M.gz]
7. boot loader file name [ezboot.x5]
A. Autoboot wait time [3]
B. Boot Menu Key [ ]
C. Copy Ramdisk [Y/N] [Y]
D. Architecture Number [303]
E. Serial FF/BT/ST(0/1/2) [2]
F. NAND-Partition MByte [1:5:58] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,5M root=/dev/ram ramdisk=12288]
M. Kernel CMD 2nd [console=ttyS002,115200]
N. Kernel CMD 3rd []
L. Load Default
P. Apply & Exit
S. Save
0. Exit
Select >>0
EZBOOT>
WELCOME EZBOOT.X5 V1.8...................for PXA255
Program by You Young-chang, fooji (FALinux Co.,Ltd)
Last Modify Feb 21 2007
Boot Flash Check ......................
Detect ES29LV400 (BOTTOM)Flash : 22BA
SIZE 4M-BIT [512Kbyte]
NAND Chip Check .......................
Detect SAMSUNG [ec:76] 64MByte
BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]
CS8900 Init............................
Mac Address : [00 A2 55 F2 26 25]
Detect value : [3000:3000]
Chip ID : [0E63:000A]
Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar].....
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 303]...
Uncompressing Linux............................................. done, booting .
Linux version 2.4.19-rmk7-pxa1 (root@jdt) (gcc version 3.2.1) #3 Thu Jul 3 21:33
CPU: XScale-PXA255 revision 6
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Ignoring unrecognised tag 0x00000000
Check ezboot Magic Value [20030702]
Check ezboot Check String [CMD=]
Check ezboot command line [ initrd=0xa0800000,5M root=/dev/ram ramdisk=12288 co
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: y initrd=0xa0800000,5M root=/dev/ram ramdisk=12288 consol5
Console: colour dummy device 80x30
Calibrating delay loop... 397.31 BogoMIPS
Memory: 64MB = 64MB total
Memory: 58144KB available (1181K code, 276K data, 64K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Using PXA255 frequency points.
Registering CPU frequency change support.
CPU clock: 398.131 MHz (99.000-400.000 MHz)
Starting kswapd
Console: switching to colour frame buffer device 80x30
LCD resolution 640x480
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x0000 (irq = 15) is a PXA UART
ttyS01 at 0x0000 (irq = 14) is a PXA UART
ttyS02 at 0x0000 (irq = 13) is a PXA UART
mk712 device OK!
eth0: cs8900 rev K Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
loop: loaded (max 8 devices)
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 3 MTD partitions on "NAND 64MB 3,3V":
0x00000000-0x00100000 : "EZ-X5 Kernel partition"
0x00100000-0x00400000 : "EZ-X5 Ramdisk partition"
0x00400000-0x04000000 : "EZ-X5 Data partition 0"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 5120K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 64K
INIT: version 2.84 booting
INIT: Entering runlevel: 3
Starting system logger: syslogd
Starting INET services: inetd
Welcome to J.D&T EZ-X5 ( www.falinux.com )
XScale(PXA255) Linux
ez-x5 login: root
[root@ez-x5 /root]$ ping 192.168.10.155
PING 192.168.10.155 (192.168.10.155): 56 data bytes
[1]+ Stopped ping 192.168.10.155
[root@ez-x5 /root]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:A2:55:F2:26:25
inet addr:192.168.10.125 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:46 (46.0 iB) TX bytes:0 (0.0 iB)
Interrupt:44 Base address:0x300
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:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 iB) TX bytes:784 (784.0 iB)
[root@ez-x5 /root]$ ping 192.168.10.125
PING 192.168.10.125 (192.168.10.125): 56 data bytes
64 bytes from 192.168.10.125: icmp_seq=0 ttl=64 time=0.4 ms
64 bytes from 192.168.10.125: icmp_seq=1 ttl=64 time=0.3 ms
64 bytes from 192.168.10.125: icmp_seq=2 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=3 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=4 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=5 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=6 ttl=64 time=0.3 ms
64 bytes from 192.168.10.125: icmp_seq=7 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=8 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=9 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=10 ttl=64 time=0.3 ms
64 bytes from 192.168.10.125: icmp_seq=11 ttl=64 time=0.3 ms
64 bytes from 192.168.10.125: icmp_seq=12 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=13 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=14 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=15 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=16 ttl=64 time=0.3 ms
64 bytes from 192.168.10.125: icmp_seq=17 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=18 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=19 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=20 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=21 ttl=64 time=0.3 ms
64 bytes from 192.168.10.125: icmp_seq=22 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=23 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=24 ttl=64 time=0.2 ms
64 bytes from 192.168.10.125: icmp_seq=25 ttl=64 time=0.2 ms
[2]+ Stopped ping 192.168.10.125
[root@ez-x5 /root]$ ing 169.254.10.4
bash: ing: command not found
[root@ez-x5 /root]$ ping 169.254.10.4
PING 169.254.10.4 (169.254.10.4): 56 data bytes
[3]+ Stopped ping 169.254.10.4
[root@ez-x5 /root]$ cd ..
----------------------------------------------------------------------------------------------------------------------------
연결은 보드 -> 씨리얼케이블 -> usb to 씨리얼 컨버터 -> 노트북usb포트
보드-> Lan 케이블(RJ-45) -> pc
보드-> 전원용 usb케이블 -> pc
로 연결 하였고.usb허브는 연결 안했습니다
연결이 안되니까 답답하네요..하고 싶은건 많은데요..
아시는분 부탁드립니다~
PC의 유선 네트워크 IP와 보드의 네트워크 IP가 다르네요. PC의 유선이 169.254.10.4 이고 보드의 IP는 192.168.10.125 이군요. 또한 IP뿐만 아니라 클래스도 틀려서 PC는 255.255.0.0 을 사용하지만 보드는 255.255.255.0 을 사용하고 있습니다. 그러므로 192.168.10.xxx 에 255.255.255.0 으로 설정하여 사용하시거나 192.168.xxx.xxx 에 255.255.0.0 로 PC와 보드를 설정하여 사용해 보세요.