Unbuntu下安装SiS 191网卡简记

本文介绍了一种解决Ubuntu 8.04系统中SiS191集成千兆以太网卡无法上网的问题的方法。通过手动安装网卡驱动程序,最终使系统能够成功连接网络。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

为了P2P的仿真,装了Ubuntu 8.04 Desktop版。可是网卡是SiS 191集成的千兆以太网卡。装上上不了网。局域网用的DHCP。
1、以为是DHCP没启动,结果启用也没反应
2、以为是IPv6没有禁用,禁用之后也没反应。
3、网卡驱动有问题,这是症结所在。可是装网卡驱动也麻烦。。。光盘自带的没有Ubuntu的。网上下载了一个。

情况如下:
下载:sis190191_linux.tar.gz
就三个文件:readme.txt,relnote.txt,sis190.c
我按照Readme告诉我的步骤(附在最后)。
做到第3步,拷贝的时候,使用sudo cp 目录名 -R 目的地址 搞定;
做到第8步,搞不定。。。总是报错。

郁闷之中发现,/usr/src/ 已经有类似linux-2.6.9的目录,而且里面文件也已经有了readme所说的那些item。
于是我就直接做第四步(其他步骤全部忽略没做):
4. cp sis190.c /usr/src/linux-2.6.9/drivers/net
把这个C程序拷贝到对应目录下。
重启后,DHCP成功。Ubuntu可以上网了。

---------------------------
1. Install Fedora Core 3. (Currently only FC3 can be installed on 965 demo board.)

2. Download Linux kernel 2.6.9 or latter version from http://www.kernel.org. The follwing examples are based on linux-2.6.9.

3. copy the kernel source to the location /usr/src/linux-2.6.9.

4. cp sis190.c /usr/src/linux-2.6.9/drivers/net

5. Edit the file "/usr/src/linux-2.6.9/drivers/net/Kconfig".
a. Serach for the string "config SIS900"
b. Add the following item below the item of SIS190.

config SIS190
tristate "SiS 191/190 PCI Gigabit/Fast Ethernet Adapter support"
depends on NET_PCI && PCI
select CRC32
---help---
Say Y here if you have a SiS 191/190 PCI Gigabit/Fast Ethernet adapter.

To compile this driver as a module, choose M here: the module
will be called sis190. This is recommended.

6. Edit the file "/usr/src/linux-2.6.9/drivers/net/Makefile".
a. Search for the string "obj-$(CONFIG_SIS900) += sis900.o".
b. Insert "obj-$(CONFIG_SIS190) += sis190.o" to next line.

7. cd /usr/src/linux-2.6.9

8. Input the command 'make menuconfig'. Then the Linux Kernel configuration menu will be popped.
a. Select "Device Drivers -->", "Networking support -->", "Ethernet (10 or 100Mbit) -->".
b. Goto the item "SiS191/190 PCI Gigabit/Fast Ethernet Adapter support".
c. Press space key to make this item marked with <M>.
d. Save and exit the kernel configuration menu.

9. Make kernel and modules. Input the command 'make bzImage modules modules_install install'.

10. Reboot and Select the boot item "2.6.9".

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值