添加WEP 加密WiFi支持 for RTEMS-libbsd on BBB BSP
来源:互联网 发布:苹果mac办公软件 免费 编辑:程序博客网 时间:2024/05/16 19:21
在实现USB WiFi 芯片 rtl8188eu驱动后,接下来开始实现加密WiFi: WEP,目前rtems的GitHub上的master 已经merge了本人贡献的WEP代码,可以自行前去下载。
1.Add the WEP module suppport in nexus-devices.h
我们需要加密算法模块的支持,因此在nexus-devices.h中添加wlan_wep模块的支持。
+SYSINIT_MODULE_REFERENCE(wlan_wep);
2.Add the encrypted module support in rtems-kernel-init.c
The crypto module not support in kernel-init.c. So we need add this support:
diff --git a/rtemsbsd/rtems/rtems-kernel-init.c b/rtemsbsd/rtems/rtems-kernel-init.cindex 594e1ba..4138bc1 100644--- a/rtemsbsd/rtems/rtems-kernel-init.c+++ b/rtemsbsd/rtems/rtems-kernel-init.c@@ -72,6 +72,8 @@ typedef void (*ratectl_modevent)(int);RTEMS_BSD_DEFINE_SET(ratectl_set, ratectl_modevent);typedef void (*scanner_modevent)(int);RTEMS_BSD_DEFINE_SET(scanner_set, scanner_modevent);+typedef void (*crypto_modevent)(int);+RTEMS_BSD_DEFINE_SET(crypto_set, crypto_modevent);RTEMS_BSD_DEFINE_SET(sysctl_set, struct sysctl_oid *);RTEMS_BSD_DEFINE_RWSET(sysinit_set, struct sysinit *);
WEP支持就算完成了,那么如何在shell command中配置WEP连接
1.Firstly, we need create a wlan device via ifconfig:
ifconfig wlan0 create wlandev rtwn0The wlan name is wlan0, the real WiFi device name is rtwn0.
2. Connect WEP WiFi via ifconfig
ifconfig wlan0 inet 192.168.1.100 netmask 255.255.255.0 \ ssid my_net wepmode on weptxkey 1 wepkey 1:0x3456789012
The ip address is inet, the ssid of my_net is the name of router name, the weptxkey is a index of key, the default is 1, wepkey is the WiFi password.
With these two command, you can connect WiFi via WEP encrypted WiFi.
And by the way, we need set the mode of WEP in wireless router in "open system", instead of the "shared" mode. Because it uses the WEP key in a very restricted way, the attacker can easily break the key
阅读全文
0 0
- 添加WEP 加密WiFi支持 for RTEMS-libbsd on BBB BSP
- 添加OpenSSL库支持for WPA on RTEMS-libbsd
- RTEMS-libbsd实现FDT support for BBB
- Add wpa_supplicant_fork command on RTEMS-libbsd
- Add Copy headers support for RTEMS-libbsd
- RTEMS-BBB(三):源码和BSP
- 实现RTEMS USB WiFi for Beaglebone Black BSP
- 基于ubuntu的rtems-libbsd编译运行beagleboneblack bsp
- RTEMS USB support for BBB 文档
- 用ubuntu破解wep加密的wifi
- 用Ubuntu破解wep加密的wifi
- GSOC(google summer of code )关于BBB bsp rtems的相关项目进展
- bbb+wifi
- RTEMS-libbsd 解决无法使用中断问题
- RTEMS-libbsd 生成驱动设备firmware
- RTEMS-libbsd 实现beaglebone black USB驱动
- Port WPA supplicant to RTEMS-libbsd
- C#使用managedwif连接wifi(支持WPA2_PSK、WPA2_PSK、WEP)
- Netty4系列--实现简单的Http协议
- HDU 6109 数据分割 【并查集+set】 (2017"百度之星"程序设计大赛
- Bi-directional Tracing的一点经验
- Netty 源码分析之 三 我就是大名鼎鼎的 EventLoop(一)
- Win10上Anaconda 多版本共存与TensorFlow安装
- 添加WEP 加密WiFi支持 for RTEMS-libbsd on BBB BSP
- spring3.0MVC注解(附实例)
- 安卓自动化之uiautomator(python篇)一 环境搭建
- js函数声明与赋值详解
- php折腾模拟实现ORM-2
- 关于mysql的小知识点
- Android 中 %s %d %f占位符使用
- LinkedList源代码分析(基于JDK1.8)
- OCRmypdf安装部署深入详解