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

ti8168 eth0 启动的更多相关文章

  1. linux下网卡启动、配置

    步骤1.配置/etc/sysconfig/network-scripts/ifcfg-eth0 里的文件. ifcfg-eth0的配置详情:[root@localhost ~]# vim /etc/s ...

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

    1,centos6和redhat6左右的版本  第一,先找到网卡的mac地址,将其配置在配置文件中,重新启动网卡. 故障产生的原因: 由于克隆虚拟机,vmware只是修改了虚拟机的名字等信息,并没有修 ...

  3. linux和CentOS下网卡启动、配置等ifcfg-eth0教程(转自)

    转自:http://www.itokit.com/2012/0415/73593.html it 动力总结系统安装好后,通过以下二个步骤就可以让你的系统正常上网(大多正常情况下).步骤1.配置/etc ...

  4. CentOS下网卡启动、配置等ifcfg-eth0教程(转)

    步骤1.配置/etc/sysconfig/network-scripts/ifcfg-eth0 里的文件.it动力的CentOS下的ifcfg-eth0的配置详情: [root@localhost ~ ...

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

    步骤1.配置/etc/sysconfig/network-scripts/ifcfg-eth0 里的文件. CentOS6.4 下的ifcfg-eth0的配置详情: [root@Jeffery]# v ...

  6. Linux基础介绍【第八篇】

    Linux网络基础 网线 568A 568B 线序:橙白橙 绿白蓝 蓝白绿 棕白棕 交换机.路由器 交换机:DLINK.H3C.CISCO 交换机(Switch)是一种用于电信号转发的网络设备.它可以 ...

  7. linux进阶1

    1.linux命令 1.1.find功能:在linux文件系统中,用来查找一个文件放在哪里了.举例:find /etc -name "interfaces"总结:(1)什么时候用f ...

  8. Linuxb笔记

    3.登录mysql 开启MySQL服务后,使用MySQL命令可以登录.一般使用mysql -uroot -p即可.如果数据库不是本机,则需要加参数,常用参数如下:1,-h,指定ip地址,默认为loca ...

  9. CentOS 静态IP设置

    一.CentOS 修改IP地址修改对应网卡的IP地址的配置文件 # vi /etc/sysconfig/network-scripts/ifcfg-eth0   电信 # vi /etc/syscon ...

随机推荐

  1. Linux下搭建tomcat集群全记录(转)

    本文将讲述如何在Linux下搭建tomcat集群,以及搭建过程中可能的遇到的问题和解决方法.为简单起见,本文演示搭建的集群只有两个tomact节点外加一个apache组成,三者将安装在同一机器上:ap ...

  2. A Game of Thrones(10) - Jon

    Jon climbed the steps slowly, trying not to think that this might be the last time ever. Ghost padde ...

  3. Linux Shell脚本入门--grep命令详解

    grep简介<摘自鸟哥,并加以整理.> grep (global search regular expression(RE) and print out the line,全面搜索正则表达 ...

  4. Linux 单用户模式的使用

    在进入系统启动菜单时,选择kernel,输入"e"后进入,在kernel开头的启动项后输入(空格) /single或者 / 1,然后输入"b"重新启动机器,此时 ...

  5. Knockout应用开发指南 第三章:绑定语法(1)

    原文:Knockout应用开发指南 第三章:绑定语法(1) 第三章所有代码都需要启用KO的ko.applyBindings(viewModel);功能,才能使代码生效,为了节约篇幅,所有例子均省略了此 ...

  6. Learning Cocos2d-x for WP8(6)——场景切换和场景过渡效果

    原文:Learning Cocos2d-x for WP8(6)--场景切换和场景过渡效果 C#(wp7)兄弟篇 Learning Cocos2d-x for XNA(6)——场景切换和场景过渡效果 ...

  7. Windows下文件或文件夹不能删除时的解决办法

    windows在删除文件或文件夹时,提示文件或文件夹被占用而无法删除 解决办法:win7: winxp:需要借助第三方工具Unlocker.360.Process Explorer(这个是微软支持的) ...

  8. Ubuntu--有关VMware Tools安装问题

    虚拟机中找不到VMware Tools选项 在虚拟机上安装了ubuntu系统后,是不可以进行系统间数据共享的,也就是说我win7系统里的文件,不能拷贝到虚拟机的ubuntu系统. 解决方案:我们需要安 ...

  9. C++ 在字符串中插入子串+推断字符串是否由空格组成

    // Example3.cpp : 定义控制台应用程序的入口点. #include "StdAfx.h" #include <string> #include < ...

  10. python import media模块

    安装PyGraphics包 (python import media模块)有一段代码要import media,打开python自带的IDLE,输入: >>>import media ...