Linux无线上网

来源:百度知道 编辑:UC知道 时间:2024/06/16 16:30:58
我的无线网卡型号是Attansic L2 Fast Ethernet Adapter,在Windows里使用没有问题,但是就是不能在Linux里使用!我的电脑里除了Windows,还有两个Linux版本,一个是Ubuntu,一个是Red Flag,两者好像都不能正常使用。对了,是不会使用。大侠们有什么高招吗?指点指点,谢谢~
我的无线网卡好像没有被识别,这可咋办啊
另外过程能不能详细一点

首先看下你的网卡是否被linux识别了
在终端里ifconfig 一下

1. 修改 网卡配置文件

sudo vim /etc/network/interfaces

auto eth1
iface eth1 inet static
wireless-essid TP-LINK
wireless-key AAAAABBBBB
address 192.168.1.140
netmask 255.255.255.0
gateway 192.168.1.1

注:eth1为你无线网卡的设备名,不一定一致,看你机器上的显示

2. 重新启动网络设备

sudo /etc/init.d/networking restart

Linux 系统里无线网卡驱动没有装上,
只有装上驱动才能上网
输入命令iwconfig 看看