树莓派3B的lede 使用wifidog出现bug。

在树莓派3B的lede上使用wifidog,在启用的时候出现

socket(): Invalid argument
Could not get IP address information of br-lan, exiting...

这样的错误。

 

使用ifconfig检查网络配置没有发现任何问题,直接复制了错误消息去Google一下,搜到了github上的这个issue:

https://github.com/wifidog/wifidog-gateway/issues/250 

 

我自己的路由器用wifidog就没有这个问题,所以应该是和内核版本有关吧。

 

根据 #244, 下载一个补丁,使用lede的树莓派3B版本SDK重新编译一遍wifidog就行了

Add this patch file
010_fix_get_ip_from_ip.patch.zip
to feeds/packages/net/wifidog/patches and build as normal.

 

大概就是 (命令记不清了)

./script/feeds update -a

./script/feeds install -a

这一步做完了再放补丁到wifidog文件夹里

make package/wifidog/compile

编译完成后,在 bin目录下取wifidog的ipk安装包拷贝进树莓派里安装即可。

posted @ 2017-09-18 21:01  脑浆炸裂男孩  阅读(807)  评论(0编辑  收藏  举报