⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guide.txt

📁 linux的网卡实用驱动及应用源码rtl8150
💻 TXT
字号:
The procedure to activate rtl8150 on linux is as follows:

  step 1: compile:
	   gcc -DMODULE -D__KERNEL__ -c rtl8150.c

  step 2: insert the driver as module:
           insmod rtl8139.o        
           (run 'lsmod' to see if the module is inserted)

  step 3: bind your card to an IP address:

           /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} 
           (run 'netstat -i' to see if there is a interface 'eth0')

  step 4: add your card to IP routing table and add gateway:
	   /sbin/route add default gw ${GATEWAY} dev eth0


*make sure that your kernel is version 2.4.0 above. Otherwise, you have to 
	upgrade your kernel.


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -