ti8168 eth0 启动

ti8168 原始文件系统进去后没有网络eth0接口,为了有该接口需要配置/etc/network/interfaces 文件

具体配置如下(红色要配置)

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface

auto lo

iface lo inet loopback

# Wireless interfaces

#

# Example of an unencrypted (no WEP or WPA) wireless connection

# that connects to any available access point:

#

iface wlan0 inet dhcp

wireless_mode managed

wireless_essid any

#

#

# Same as above but locked to a specific access point:

#

#iface wlan0 inet dhcp

#       wireless_mode managed

#       wireless-essid some-essid

#

# A WEP encrypted connection locked to a specific access point:

#

#iface wlan0 inet dhcp

#       wireless-essid some-essid

#       wireless-key s:My-PlainText-Password

#       wireless-mode managed

#

# A WPA1 or WPA2 encrypted connection locked to a specific access point.

# This is the best option for non-roaming, single-network usage.

# Note that your card may require a firmware update to use WPA.

# Some distributions install a temporary volatile firmware update on ifup.

#

#iface wlan0 inet dhcp

#       wpa-essid some-essid

#       wpa-psk My-PlainText-Password

#

# A WPA1 or WPA2 encrypted connection using an external configuration file

# for wpa-supplicant. This is the way to go if you need to configure multiple

# networks with different keys and / or WPA settings and roaming support.

#

# iface wlan0 inet dhcp

#    wpa-conf /etc/wpa_supplicant.conf

#    wpa-driver hostap

iface atml0 inet dhcp

# Wired or wireless interfaces

auto eth0

iface eth0 inet dhcp

pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null

iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr

iface usb0 inet static

address 192.168.0.202

netmask 255.255.255.0

network 192.168.0.0

gateway 192.168.0.200

# Zaurus 2.4 Lineo net_fd; obsolete

iface usbd0 inet static

address 192.168.129.201

netmask 255.255.255.0

network 192.168.129.0

gateway 192.168.129.200

# iPAQ 2.4 mach-sa1100/usb-eth

# (192.168.0.202 is the iPAQ‘s IP, 192.168.0.200 is the host‘s IP)

iface usbf inet static

address 192.168.0.202

netmask 255.255.255.0

network 192.168.0.0

gateway 192.168.0.200

# Bluetooth networking

iface bnep0 inet dhcp

ifconfig eth0 MTU 9000

时间: 2024-10-13 19:15:02

ti8168 eth0 启动的相关文章

openstack镜像-关于通过clone虚拟机制作的镜像开机后网卡eth0启动失败的问题

1,近日,拿到同事通过克隆做的一个镜像,上传到云平台,开机后加载网卡,发现eth0获取不到IP,重启network服务 service network restart  Shutting downloopback insterface:                                                           [  OK  ] Bringing uploopback insterface:                                 

vmware克隆centos6.8mini系统后eth0启动不了

1.修改主机名 #hostname lvs1 #vim /etc/sysconfig/network NETWORKING = yes HOSTNAME = lvs1 2.修改mac地址 #vim  /etc/udev/rules.d/70-persistent-net.rules # PCI device 0x8086:0x100f (e1000)#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",

centos6-7克隆主机网卡无法启动问题

1,centos6和redhat6左右的版本  第一,先找到网卡的mac地址,将其配置在配置文件中,重新启动网卡. 故障产生的原因: 由于克隆虚拟机,vmware只是修改了虚拟机的名字等信息,并没有修改虚拟硬盘中的任何信息,导致克隆后网卡的MAC地址和操作系统中记录的mac地址不符,导致eth0启动不起来.操作系统记录了一个新网卡的添加,新网卡的名字eth1,mac地址就是vmware分配给的新的mac地址 解决方法: ifconfig eth0(对应的eth网卡)看其mac,用现在的mac替换

手动启动与开机自动启动网卡的两种方式

以上图: #ifup eth0        #启动网卡 以上图:说明网卡启动成功并可以上网了. [[email protected] ~]# cat  /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0C:29:BD:78:EB TYPE=Ethernet UUID=13a9bdf9-d87e-40c9-be52-15aad3bd4bf5 ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=

CentOS下网卡启动、配置等ifcfg-eth0教程

步骤1.配置/etc/sysconfig/network-scripts/ifcfg-eth0 里的文件. CentOS6.4 下的ifcfg-eth0的配置详情: [[email protected]]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet UUID=5ff155a4-9a33-4224-8ae0-706eadf7fa3c HWADDR=00:15:5D:A1:58:00 ONBOOT=n

linux下网卡启动、配置

步骤1.配置/etc/sysconfig/network-scripts/ifcfg-eth0 里的文件. ifcfg-eth0的配置详情:[[email protected] ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0"HWADDR="00:0C:29:FD:FF:2A"NM_CONTROLLED="yes"ONBOOT="yes"IPADDR

vmware克隆centos后启动网卡失败解决方法

故障描述: #ifup eth0 Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. 解决方法: #cat /etc/udev/rules.d/70-persistent-net.rules 记录下eth1的mac地址 #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE改为eth1 HWADDR改为复制的mac

linux系统配置文件

1./etc/sysconfig/i18n(语言配置文件). LANG="zh_CN.UTF-8"              #中文 LANG="en_US.UTF-8"或LANG=""     #英文 2./etc/sysconfig/network-scripts/ifcfg-eth0(eth0配置文件) 静态: DEVICE=eth0 #网卡接口名称 HWADDR=00:0C:29:13:5D:74 #网卡设备MAC地址 TYPE=Ethe

vnstat 查看服务器带宽统计命令

vnStat是一个Linux下的网络流量监控软件,它记录指定网卡每日的传输流量日志. 它并非基于网络包的过滤,而是分析文件系统- /proc, 所以vnStat无需root的权限就可使用. ,它还自带了 vnstati 命令,通过它可以直接可以输出流量统计图. #先安装epel源 [[email protected] ~]# yum install epel-release -y #yum安装vnstat [[email protected] ~]# yum install vnstat -y