0%

Linux 内核版本为 4.9.22,需要在此添加型号为 Bus 002 Device 040: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter 支持

Read more »

pc 环境下可以很方便使用 ldd 来查看动态库依赖,嵌入式平台下可以使用 readelf 来完成相同的功能

Read more »

使用 -static 编译出现以下警告

libcurl.a(netrc.c.o): In function `Curl_parsenetrc':
netrc.c:(.text.Curl_parsenetrc+0x23e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libplayer.a(stream_wfd.c.o): In function `wfd_stream_open':
stream_wfd.c:(.text.wfd_stream_open+0x5fe): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

glibc uses libnss to support a number of different providers for address resolution services. Unfortunately, you cannot statically link libnss, as exactly what providers it loads depends on the local system’s configuration.

相关功能不能正常工作,需要使用 动态编译 解决此问题或者更换编译工具链为 uclibcmusl-gcc

Read more »

嵌入式 ARM 平台 busybox 可以 ping ip,但是不能 ping domain name

本篇主要涉及

  • gcc v4.9
  • libnss 动态链接库
  • busybox 动态与静态编译
  • busybox 动态编译下使用域名解析
  • busybox 静态编译下使用域名解析
Read more »

内核版本 4.9.22 支持 MT7601U,设备发现之后不能扫描 AP,需要 cfg80211 wireless extensions compatibility 支持

内核描述如下

Enable this option if you need old userspace for wireless extensions with cfg80211-based drivers.

Read more »

wireless 管理工具 iwconfigiw

  • iwconfig 使用 Wireless Extension (WE) 接口
  • iw 一种新的基于 nl80211 的用于无线设备的 CLI 配置实用程序。它支持最近已添加到内核所有新的驱动程序。采用无线扩展接口的旧工具 iwconfig 已被废弃,强烈建议切换到 iwnl80211

Replacing iwconfig with iw

Read more »