连接无线网络摄像头和无线适配器

连接无线网络摄像头和无线适配器

我必须在 USB 无线适配器 (DLink wireless-N USB Mini Adapter DWA-140) 和无线网络摄像头 (DLink DCS-932L) 之间创建无线连接。即无需互联网的点对点连接。

我必须使用没有 GUI 的 Linux(只有命令)。

我需要做什么才能让它发挥作用?

答案1

我假设相机设置会要求您连接到接入点。如果是这种情况,请使用 hostapd 设置您的 Linux 机器。以下是我在家中使用的无线接入点的 hostapd.conf:

driver=nl80211  #the driver appropriate for your card
interface=wlan0 #the interface name assigned to your card
bridge=br0      #unless br0 is already used

#802.11n stuff
hw_mode=g       # wireless-g support
ieee80211n=1    # wireless-n on top of wireless-g
wmm_enabled=0   # I disable WMM because it is satan, YMMV
ht_capab=[HT20][SHORT-GI-20][RX-STBC1] #needed for wireless-n, you may want to comment this out to start

## 802.11n EOF


channel=2       #channel
country_code=US #must match your driver I believe


ssid=SkyNet     #use what you want

# this is WPA security, supposed to support just about anything including iOS devices (confirmed)
auth_algs=3
wpa=3
wpa_passphrase=lamaison
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
macaddr_acl=0

# this may provide you with more stats, but might just be better to comment out for starting your project
ctrl_interface=/var/run/hostapd

相关内容