摘要: 本文代码参考《LINUX设备驱动程序》第十七章 网络驱动程序网络地址和虚拟主机地址为:snullnet0 192.168.0.0snullnet1 192.168.1.0local0 192.168.0.1remote0 192.168.0.2local1 192.168.1.2remote1 192.168.1.1注:ldd自带网络驱动程序中的很多函数和数据结构在最新2.6.32内核上有所变动,导致编译不通过。修改源码参考:http://blog.csdn.net/xiebiwei/article/details/6210887#quote修改后的代码下载测试功能1) #make2) #in 阅读全文
posted @ 2013-12-15 18:56 tanghuimin0713 阅读(731) 评论(0) 推荐(0) 编辑
摘要: setterm -dump 控制台终端号 -file 保存到的文件名 阅读全文
posted @ 2013-12-15 18:17 tanghuimin0713 阅读(148) 评论(0) 推荐(0) 编辑
摘要: yum install gcc-c++ 阅读全文
posted @ 2013-12-15 18:14 tanghuimin0713 阅读(124) 评论(0) 推荐(0) 编辑