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. js使用栈来实现10进制转8进制 js取除数 余数

    function ten2eight(x){ var s=[]; var r=''; while(x>0){ s.push(x%8); x=parseInt(x/8); } while(s.le ...

  2. prepareCall()运行存储过程

    CallableStatement 对象为全部的 DBMS 提供了一种以标准形式调用已储存过程的方法.已储存过程储存在数据库中.对已储存过程的调用是 CallableStatement对象所含的内容. ...

  3. 搜索树SVN的树的时候遇到的乱码问题

    public void listDirectoryNode(SVNRepository repository, String dirUrl, FileNode node) { String curre ...

  4. SWT的对话框们

    对话框,都继承自org.eclipse.swt.widgets.Dialog,有Modal的和Modeless的区分,一般的对话框处理程序如下: <DialogType> dlg = ne ...

  5. android开机启动应用和服务

    注冊广播监听开机状态.启动应用和服务等: 监听开机的广播接收器: public class BootCompletedReceiver extends BroadcastReceiver{ @Over ...

  6. matlab secant method

    % Matlab script to illustrate the secant method % to solve a nonlinear equation % this particular sc ...

  7. Z.ExtensionMethods 扩展类库

    Z.ExtensionMethods 一个强大的开源扩展库 今天有意的在博客园里面搜索了一下 Z.ExtensionMethods 这个扩展类库,确发现只搜到跟这个真正相关的才两篇博文而已,我都点进去 ...

  8. POJ 1287 Networking(最小生成树)

    题意  给你n个点 m条边  求最小生成树的权 这是最裸的最小生成树了 #include<cstdio> #include<cstring> #include<algor ...

  9. 远程连接到vultr vps的mysql服务器

    实验环境 vultr centos 6.7 x64 1. 首先要打开远程 vps的3306端口用于 mysql的连接 修改/etc/sysconfig/iptables 文件,添加3306端口的支持 ...

  10. HTTP相关概念

    最近观看HTTP权威指南.这本书是一个小更,欲了解更多详细信息,我们不能照顾.但一些基本概念仍然应该清楚.在这里,我整理: HTTP--因特网的多媒体信使 HTTP 使用的是可靠的传输数据协议,因此即 ...