SMC2621W-U 开启无线WiFi模式

发表于

有线模式进入后台,必须设置802.11 Ad-hoc方式,无密码
打印机IP设置为192.168.1.222,子网掩码255.255.255.0
电脑连接后手动设置为同网段IP 192.168.1.123
这时电脑能看到WiFi信号,但是直接点击是连不上的,需要用命令才能连接。

电脑cmd管理员运行:
netsh wlan add profile filename="D:\adhoc.xml"
netsh wlan connect name="smcprinter"

adhoc.xml文件的内容如下:

<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>smcprinter</name>
<SSIDConfig>
<SSID>
<name>smcprinter</name>
</SSID>
</SSIDConfig>
<connectionType>IBSS</connectionType>
<connectionMode>manual</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>open</authentication>
<encryption>none</encryption>
<useOneX>false</useOneX>
</authEncryption>
</security>
</MSM>
</WLANProfile>