Linux finally ran up last night and the file system was ready for use. When I started the system, I called ifconfig to set the IP address. However, it always showed: ifconfig: siocsifflags: cannot assign requested address: I checked it online. It turned out to be a problem with the MAC address. After the following processing, it will be OK ~ # Ifconfig eth0 down
# Ifconfig eth0 HW ether 00: 00: AA: BB: CC: dd
# Ifconfig eth0 up
Eth0: link down
# Ifeth0: link up, 100 Mbps, full-duplex, LPA 0xcde1
# Ifconfig eth0
Eth0 Link encap: Ethernet Hwaddr 00: 00: AA: BB: CC: dd
Inet ADDR: 192.168.1.70 Bcast: 192.168.1.255 Mask: 255.255.255.0
Up broadcast running Multicast MTU: 1500 Metric: 1
RX packets: 11 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 FIG: 1000
RX Bytes: 1104 (1.0 kib) TX Bytes: 0 (0.0 B)
Interrupt: 51 base address: 0xe300# Ifconfig eth0 192.168.2.17
# Ifconfig
Eth0 Link encap: Ethernet Hwaddr 00: 00: AA: BB: CC: dd
Inet ADDR: 192.168.2.17 Bcast: 192.168.2.255 Mask: 255.255.255.0
Up broadcast running Multicast MTU: 1500 Metric: 1
RX packets: 46 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 FIG: 1000
RX Bytes: 6967 (6.8 kib) TX Bytes: 0 (0.0 B)
Interrupt: 51 base address: 0xe300# Ping 192.168.2.80
Ping 192.168.2.80 (192.168.2.80): 56 data bytes
64 bytes from 192.168.2.80: seq = 0 TTL = 128 time = 4.852 MS
64 bytes from 192.168.2.80: seq = 1 TTL = 128 time = 1.134 MS
64 bytes from 192.168.2.80: seq = 2 TTL = 128 time = 1.020 MS