기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

안녕하세요. 아래처럼 리눅스 ip변경 중에
root@build:/root # route add default gw 192.168.0.1를 입력했더니,
"SIOCADDRT: No such process" 이런 문구가 출력되었습니다.
ip주소는 192.168.0.77로 변경되어야 하는데, 변경되지 않고
192.168.10.101로 되어 있습니다. 어디를 살펴봐야 할까요?


aesop@build:/home/aesop $ su -
Password:
root@build:/root # ifconfig eth0 down
root@build:/root # ifconfig eth0 192.168.0.77
root@build:/root # route add default gw 192.168.0.1
SIOCADDRT: No such process
root@build:/root # ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:a1:64:42 
          inet addr:192.168.10.101  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fea1:6442/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12001 (12.0 KB)  TX bytes:17098 (17.0 KB)

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:66 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5104 (5.1 KB)  TX bytes:5104 (5.1 KB)

root@build:/root #
root@build:/root #



고현철

2009.04.01 18:06:45
*.111.183.138

실제 네트워크가 안맞아서 그럴수도 있습니다.

즉, virtual box환경과 실제 네트워크 설정(ex> 실제 gw가 192.168.10.1일 경우)
그 경우 ethernet은 잡히지만 gw 확인시 icmp가 먼저 동작하기 때문에 그럴 수도 있을겁니다.

함 확인해 보세요....

이세종

2009.04.01 21:37:25
*.88.248.114

네, 체크해보겠습니다~~~

이세종

2009.04.03 08:36:01
*.62.59.167

네, 윈도우 터미널에서 ipconfig를 실행 -> gateway는 192.168.10.1로 설정되어 있습니다.

ifconfig eth0 192.168.0.77를 실행하기 전에
ifconfig eth0 192.168.0.100
ifconfig eth0 192.168.0.200 이렇게 여러번 실행해서 ip가 변하는지
ifconfig로 ip를 보니 변경된 것을 확인했습니다.

이세종

2009.04.03 09:21:16
*.62.59.167

ip는 정상적으로 변경되었습니다.

root@build:/root
# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:a1:64:42 
          inet addr:192.168.0.77  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fea1:6442/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42809 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54462 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5481478 (5.4 MB)  TX bytes:33634596 (33.6 MB)

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:254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:60400 (60.4 KB)  TX bytes:60400 (60.4 KB)

그런데 다음과 같이 nfs: server 192.168.0.77 not responding, still trying 각 출력됩니다.

root@build:/root # ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:a1:64:42 
          inet addr:192.168.0.77  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fea1:6442/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42809 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54462 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5481478 (5.4 MB)  TX bytes:33634596 (33.6 MB)

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:254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:60400 (60.4 KB)  TX bytes:60400 (60.4 KB)


 _____ _____ _____ _____ _____
 |  _  |   __|   __|     |  _  |
 |     |   __|__   |  |  |   __|
 |__|__|_____|_____|_____|__|.or.kr
 
 (C)2009 aESOP Embedded Forum.                            
 aESOP S3C6410 Embedded Linux Platform.

 System  : aESOP-S3C6410
 Console : s3c_serial0

aESOP-S3C6410 login: root
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
d
erty
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying
nfs: server 192.168.0.77 not responding, still trying

이세종

2009.04.07 09:26:51
*.62.59.167

이솝보드 - 공유기 - PC 에서는 위와 같이 NFS에 접속하지 못했는데,
이솝보드 - PC에 바로 랜 케이블을 연결하니 잘 됩니다.


##############################################################
U-Boot 1.1.6 (Mar 21 2009 - 20:54:42) for AESOP6410


CPU:     S3C6410@666MHz
         Fclk = 666MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (ASYNC Mode)
Board:   AESOP-S3C6410
DRAM:    128 MB
Flash:   0 kB
NAND:    256 MB
In:      serial
Out:     serial
Err:     serial
Hit any key to stop autoboot:  0
smc911x: initializing
smc911x: detected LAN9215 controller
smc911x: phy initialized
smc911x: MAC 00:40:5c:26:0a:5b
TFTP from server 192.168.0.77; our IP address is 192.168.0.102
Filename 'zImage-aESOP6410'.
Load address: 0xc0008000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############
done
Bytes transferred = 1733372 (1a72fc hex)
Boot with zImage

Starting kernel ...

Uncompressing Linux...................................................................................................................... done, booting the kernel.
Linux version 2.6.21.5-cfs-v19 (root@build) (gcc version 4.2.4) #4 Tue Apr 7 00:13:31 KST 2009
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv6TEJ), cr=00c5387f
Machine: AESOP6410
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C6400: core 666.000 MHz, memory 133.000 MHz, peripheral 66.500 MHz
S3C6400: EPLL 192.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 28956
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.77:/opt/RootFS-aESOP6410 ip=192.168.0.102:192.168.0.77:192.168.0.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=00:40:5c:26:0a:5c
ethaddr_setup()
mac[0] = 0x00
mac[1] = 0x40
mac[2] = 0x5C
mac[3] = 0x26
mac[4] = 0x0A
mac[5] = 0x5C
Trying to install chained interrupt handler for IRQ0
Trying to install chained interrupt handler for IRQ1
Trying to install chained interrupt handler for IRQ32
Trying to install chained interrupt handler for IRQ33
PID hash table entries: 512 (order: 9, 2048 bytes)
timer tcon=00600000, tcnt 103c3, tcfg 00000400,00000000, usec 00001340
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 114MB = 114MB total
Memory: 111744KB available (3100K code, 445K data, 272K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
s3c6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Mar 21 2009 20:47:44 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
LCD TYPE :: S3C_LMS350DF01 LCD will be initialized
S3C_LCD clock got enabled :: 133.000 Mhz
Window[0]- FB1 : map_video_memory: clear ff600000:0004b000
           FB1 : map_video_memory: dma=57000000 cpu=ff600000 size=0004b000
lcd_clock = 133000000, LCD_PIXEL_CLOCK=9896640
Console: switching to colour frame buffer device 40x30
fb-1069855844:  frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
s3c-uart.0: s3c_serial0 at MMIO 0x7f005000 (irq = 37) is a S3C
s3c-uart.1: s3c_serial1 at MMIO 0x7f005400 (irq = 38) is a S3C
s3c-uart.2: s3c_serial2 at MMIO 0x7f005800 (irq = 39) is a S3C
s3c-uart.3: s3c_serial3 at MMIO 0x7f005c00 (irq = 40) is a S3C
RAMDISK driver initialized: 8 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
eth0: LAN9215 (rev 0) at 0xc780a000 IRQ 67
eth0: Ethernet addr: 00:40:5c:26:0a:5c
Linux video capture interface: v2.00
Request irq 3 for codec
Request irq 4 for preview
S3C FIMC v3.0
AESOP NOR-Flash Driver, (c) 2006 AESOP Embedded
aesop-flash: map_probe() failed
S3C NAND Driver, (c) 2007 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00200000 : "Kernel"
0x00200000-0x10000000 : "File System"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 47, io mem 0x74300000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Loaded s3c-udc version Mar 21 2009 (Slave Mode)
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using s3c-udc, OUT ep1-bulk IN ep2-bulk STATUS ep3-int
usb0: MAC 02:3b:0b:4c:ca:58
usb0: HOST MAC 0a:23:ca:8c:1b:d2
usb0: RNDIS ready
Registered gadget driver 'ether'
mice: PS/2 mouse device common for all mice
aesop_keypad_init
input: aesop-keypad as /class/input/input0
aesop_keypad_open
Aesop Keypad Initialized!!
platform_driver_register 0
S3C Touchscreen driver, (c) 2007 Samsung Electronics
s3c TouchScreen got loaded successfully : 12 bits
input: s3c TouchScreen as /class/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
res->start : 7e005000 res->end : 7e0050ff<6>s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
S3C PWM Driver, (c) 2006-2007 Samsung Electronics
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c: slave address 0x10
pdata c0394540, freq 200000 0..200000
clockin 66500
s3c2410-i2c s3c2410-i2c: bus frequency set to 129 KHz
Parent clock for Camera = 266000000, CAMDIV = 14
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
[s3c_hsmmc_probe]: s3c-hsmmc.0: at 0xc7812000 with irq 56. clk src: sclk_DOUTmpll_mmc0
[s3c_hsmmc_probe]: s3c-hsmmc.1: at 0xc7814000 with irq 57. clk src: sclk_DOUTmpll_mmc1
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
ASoC version 0.13.2
WM9713/WM9714 SoC Audio Codec 0.12
asoc: AC97 HiFi <-> s3c6400-ac97 mapping ok
ALSA device list:
  #0: SMDK6400 (WM9713)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c2410-rtc s3c2410-rtc: setting the system clock to 2009-03-16 16:29:39 (1237220979)
eth0: link down
IP-Config: Complete:
      device=eth0, addr=192.168.0.102, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.102, domain=, nis-domain=(none),
     bootserver=192.168.0.77, rootserver=192.168.0.77, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.77
eth0: link up, 100Mbps, half-duplex, lpa 0xC1E1
Looking up port of RPC 100005/1 on 192.168.0.77
VFS: Mounted root (nfs filesystem).
Freeing init memory: 272K
udevd version 124 started
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting system message bus: dbus.
Starting syslogd/klogd: done
Starting Connection Manager
Starting GPE display manager: gpe-dm

  _____ _____ _____ _____ _____
 |  _  |   __|   __|     |  _  |
 |     |   __|__   |  |  |   __|
 |__|__|_____|_____|_____|__|.or.kr
 
 (C)2009 aESOP Embedded Forum.                            
 aESOP S3C6410 Embedded Linux Platform.

 System  : aESOP-S3C6410
 Console : s3c_serial0

aESOP-S3C6410 login: Alignment trap: keylaunch (1180) PC=0x4024ffec Instr=0xe5902004 Address=0x0001aba5 FSR 0x011
Alignment trap: keylaunch (1180) PC=0x4024f920 Instr=0xe594c004 Address=0x0001aba5 FSR 0x011
Alignment trap: gpe-confd (1178) PC=0x401db428 Instr=0x15840000 Address=0xbee8021b FSR 0x811

  _____ _____ _____ _____ _____
 |  _  |   __|   __|     |  _  |
 |     |   __|__   |  |  |   __|
 |__|__|_____|_____|_____|__|.or.kr
 
 (C)2009 aESOP Embedded Forum.                            
 aESOP S3C6410 Embedded Linux Platform.

 System  : aESOP-S3C6410
 Console : s3c_serial0

aESOP-S3C6410 login:
  _____ _____ _____ _____ _____
 |  _  |   __|   __|     |  _  |
 |     |   __|__   |  |  |   __|
 |__|__|_____|_____|_____|__|.or.kr
 
 (C)2009 aESOP Embedded Forum.                            
 aESOP S3C6410 Embedded Linux Platform.

 System  : aESOP-S3C6410
 Console : s3c_serial0

aESOP-S3C6410 login: root
root@aESOP-S3C6410:~#
root@aESOP-S3C6410:~#
root@aESOP-S3C6410:~#
root@aESOP-S3C6410:~# ls
RootFS_MTD-aesop6410-090320.tar  test.mp3
aesopev                          test.mp4
aesopev.c                        test.ogg
ramdisk

List of Articles
번호 제목 글쓴이 날짜 조회 수sort
6368 Apple TV 온보드 메모리 변경 가능할까요? [1] 당그니 2011-01-20 94699
6367 android pwm backlight 밝기 제어 [4] 김태영 2011-07-28 54662
6366 com.google.android.maps.jar는 어디서 얻는 것인가요??? [2] 천동이 2014-09-02 52269
6365 USB bluetooth dongle on jellybean [4] 신현호 2014-02-21 50289
» 우분투 리눅스 ip 변경 도중에 "No such process" [5] 이세종 2009-04-01 45626
6363 OpenOCD 0.2.0 [1] 김광준 2009-10-24 44380
6362 [질문]memset, mmap, memcpy에 대해서 질문 있습니다. [5] 이태간 2007-05-22 44340
6361 libpcap 설치 [1] Apostasy 2011-04-12 43521
6360 램디스크 파일 시스템 만들기 [4] sinwho 2015-08-19 43128
6359 USB 포팅관련 질문드립니다. [1] 김승한 2010-01-07 33284
6358 android에 libusb porting 해보신 분?? [2] 꿈의사람 2014-02-13 29612
6357 오드로이드 배터리 패치 문의 [1] 이종문 2010-07-01 29031
6356 ODROID-T 2.2 셧다운 후 부팅이 안됩니다. [2] shkim 2010-10-02 26865
6355 오드로이드 디버깅이 안되네요... [2] 현쓰 2010-02-01 26568
6354 [질문]wince 이미지 다운로드시 에러 [3] 이태간 2008-04-06 26265
6353 slide event에 따른 landscape & portrait mode 전환 [1] 나영찬 2010-03-25 24573
6352 Andorid ALSA에 관해서...2 [1] 꺼북이 2011-05-18 23889
6351 wm1811 드라이버를 찾아요 [9] 김민욱 2016-11-01 18717
6350 이더넷 핀에서 값을 읽어 오고 싶은데요... [2] rubio 2013-07-09 13050
6349 usb host api 가 리눅스단에서도 사용가능한가요? [1] biokk 2014-02-07 11392

사용자 로그인