BusyBox filesystem Ifup

Source: Internet
Author: User

/******************************************************************** * BusyBox filesystem ifup * Statement: * This article is mainly to record BusyBox file system in Ifup use error resolution method. * 2016-1-24 Shenzhen Nanshan Ping Shan village Zengjianfeng *************************************************************** ****/First, error handling 1:1. Symptom: UDEVD version126started ZENGJF login:root login[1423]: Root Login on'ttymxc0'udhcpc (v1.24.1) started Setting IP address0.0.0.0On eth0 eth0:freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:xx, irq=-1) Sending Discover ...        Sending Discover ...        Sending Discover ... No lease, forking to background [[email protected]~]# Ifup-a Ifup:can'T Open'/etc/network/interfaces': No Such file or directory    2. Workaround: Cat/etc/network/Interfaces # LoopbackInterface. Auto Lo iface lo inet loopback # DHCP auto eth0 iface eth0 inet dh CP #fixedAuto eth1 iface eth1 inetStaticAddress192.168.1.254netmask255.255.255.0Broadcast192.168.1.255Second, error handling 2:1. Symptom: [[email protected] network]# ifup-a Run-parts:/etc/network/if-pre-up.d:no such file or directory run-parts:/etc/network/if-up.d:no such file or directory Ifup:can'T Open'/var/run/ifstate': No Such file or directory[email protected] network]#2. Workaround: CD/etc/Network mkdirif-down.dif-post-down.dif-pre-up.dif-UP.D mkdir/var/run three, error handling 3:1. Symptom: [[email protected]]# ifup-a ip:rtnetlink answers:file exists udhcpc (v1.24.1) started Setting IP address0.0.0.0On eth0 Sending Discover ...        Sending Discover ...        Sending Discover ... No lease, failing Ip:can't Find device'Eth1'ip:SIOCGIFFLAGS:No such device [[email protected]]#2. Workaround: Cat/etc/network/Interfaces # LoopbackInterface. Auto Lo iface lo inet loopback # DHCP auto eth0 iface eth0 inet dh CP #fixed#auto eth1 #iface eth1 inetStatic# Address192.168.1.254# netmask255.255.255.0# Broadcast192.168.1.255

BusyBox filesystem Ifup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.