linux中wifi的加密方式
我下载的linux2.6.29中的wifi只支持wep方式加密. 怎么样让他能支持wpa或wpa II方式加密?
并且还有个奇怪的问题就是linux2.6.29中的wep密码要是5/13字节长的.其他的长度不支持.
mac80211\wext.c中有如下代码
static int ieee80211_set_encryption(struct ieee80211_sub_if_data *sdata, u8 *sta_addr,
int idx, int alg, int remove,
int set_tx_key, const u8 *_key,
size_t key_len)
{
....................
if (alg == ALG_WEP &&
key_len != LEN_WEP40 && key_len != LEN_WEP104) {
ieee80211_key_free(key);
err = -EINVAL;
goto out_unlock;
}
....................
}
相关问答:
写了个测试程序如下
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
由于我才刚刚接触socket编程,自己写了一个简单程序,但就是在运行的时候出现段错误,无法解决,现在我把源代码贴出来,请各位大虾指正一下!谢谢!
#include<stdio.h>
#include<stdlib.h>
#include& ......
在LINUX裏安裝 CURL 時,出現如下報錯
checking for SSL support in libcurl... no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something ......
在linux下使用Eclipse+CDT,如果要查看系统提供的一些函数的定义、声明,该如何做呢。
F3好像是可以查看函数声明的,但按了以后没什么反应。是不是需要在Eclipse中设置一下相应的路径才可以。
使用Eclipse建立一 ......
我的项目所在的环境是php+apache+linux
现我重启服务是 service httpd restart
现我想定时重启此项服务(定在每天下午4点) 怎么实现呀,多谢
crontab
* 16 * * * service httpd restart
学习 + d ......