Wi-Fi Authentication Tests (Compact 2013)

【HALCON+C#实战】3D点云测量系统开发全攻略:从源码解析到工业应用 本文详细介绍了基于HALCON和C#开发3D点云测量系统的全流程,从环境搭建、核心算法实现到工业应用优化。通过源码解析和实战技巧,帮助开发者解决点云数据处理、几何测量及系统集成中的常见问题,提升工业检测的精度与效率。 阅读详情

Wi-Fi Authentication Tests (Compact 2013)

3/26/2014

http://msdn.microsoft.com/en-us/library/gg154544.aspx

For a Windows Embedded Compact device that connects to a network in infrastructure mode, the tests in the Wi-Fi Authentication Test Suite validate proper operation by exercising all valid combinations of the authentication and encryption protocols for the device in relation to an access point (AP). Additionally, these tests help ensure that the Windows Embedded Compact device does not connect to an AP when the configuration is incorrect.

To validate that a Wi-Fi station can connect to the appropriate access point (AP) through each valid combination of authentication and encryption protocols, you must test all of these connections. In addition, you must test to ensure that a Windows Embedded Compact powered device does not connect to any AP for which the device is not configured.

The Wi-Fi Authentication Tests requires three servers: the AP Control server, the Remote Authentication Dial-in User Service (RADIUS) server (commonly known as the Authentication Authorization Accounting (AAA) server), and the Dynamic Host Control Protocol (DHCP) server. You can choose to install all of these servers on the same computer, or you can install them on separate computers. The following illustration shows an example of a test network configuration.

The AP Control server handles access point configuration requests from the device that is being tested and updates the APs to the required security modes. This server must run both the UDP and TCP Echo services to allow the device to verify a wireless connection.

The RADIUS server stores a list of clients, that is, the access points which connect to it. This list must include each access point that the device supports. The list entry for each access point client also contains a secret pass phrase the clients use to communicate with the RADIUS server. Enter a pass phrase for each access point, and then configure the keys for the corresponding APs so that they can be authenticated by the RADIUS server during EAPOL key processing. If the RADIUS server is also the authentication server, which is usually the case, this server must have two special user accounts: one for Transport Layer Security (TLS) Extensible Authentication Protocol (EAP) authentication, and one for the Protected Extensible Authentication Protocol (PEAP). The tests default to the following credentials for these accounts:

TLS authentication

User name: eaptls

Password: eaptls

Domain: wince

PEAP authentication

User name: eappeap

Password: eappeap

Domain: wince

The DHCP server provides a framework for passing configuration data to devices in a TCP/IP network, which eliminates the problems associated with manual configuration. When a DHCP server receives a request, the server automatically assigns an IP address from a pool of addresses, as well as assigning the address mask, the default gateway, the DNS server, the domain name, the WINS server (if used), and so on, to the device or computer that made the request.

The Wi-Fi Authentication tests run a variety of authentication and encryption methods to validate Wi-Fi functionality for a device, as shown in the table that follows.

General authentication methods

Authentication method

Description

Open

All associations are accepted.

Shared

All associations are accepted, but the client must use WEP encryption.

WPA

Wi-Fi Protected Access. Requires EAP authentication.

WPA-PSK

WPA with a pre-shared key (PSK).

WPA2

Wi-Fi Protected Access 2. Requires EAP authentication.

WPA2-PSK

WPA2 with PSK.

EAP authentication methods

* Transport Layer Security (TLS)

* Message Digest 5 (MD5)

* Protected Extensible Authentication Protocol (PEAP)

Encryption methods

* Unencrypted (Clear Text)

* Wired Equivalent Privacy (WEP)

* Temporal Key Integrity Protocol (TKIP)

* Advanced Encryption Standard (AES)

For each combination of authentication and encryption protocols, the test performs the following steps:

1. Connects with an AP control server by using a fixed-configuration access point.

2. Requests the AP control server to configure an access point with a given authentication, encryption, and key.

3. Disconnects from the fixed-configuration access point.

4. Configures the device being tested to the so that it will connect to the access point that was configured in step 2 with the specified SSID, authentication method, encryption method, and key being tested.

5. Waits for a fixed interval for the connection to be established.

6. Sends a large number of ICMP pings through the newly-connected Wi-Fi link and checks for an equal number of replies.

7. Sends a large number of UDP echoes, and checks for lost or corrupted replies.

8. Sends a large number of TCP echoes, and checks for lost or corrupted.

9. Disconnects the wireless adapter.

The Wi-Fi Authentication Test is implemented as a Tux DLL. It can be started and configured remotely by using either CTK or Platform Builder , or locally by using a command script.

Your device must meet the following requirements before you run this test.

Hardware Prerequisites

The following table shows the hardware requirements for the Wi-Fi Authentication Test.

Requirement

Description

Device under test

The Windows Embedded Compact-based device or devices you want to test.

Fixed access point (AP)

This AP must not require 802.1X (EAP) authentication; that is, it must require Open, Shared, WPA-PSK or WPA2-PSK authentication. The device(s) under test use this AP to request AP test reconfiguration through the AP control server.

One or more APs

Every AP is controllable, and will be reconfigured during the testing by the AP control server. Each AP must be configured to communicate with the RADIUS authentication server.

Control server for APs

Processes AP configuration requests from the devices under test and updates APs to the required security mode. This server must also run the UDP and TCP Echo services so that the device(s) under test can verify wireless connections.

RADIUS server

Authentication server. You can run this service on its own computer, or on a computer that also runs the AP control server and the DHCP server.

DHCP server

Assigns IP addresses and processes client requests. You can run this server on its own computer, or on a computer that also runs the authentication and AP control servers.

Local network

Subnet to which the AP server, RADIUS server, and DHCP server all connect, so that the device can contact each server.

Software Prerequisites

The following table shows the software requirements for the Wi-Fi Authentication Matrix Test.

Requirement

Description

Windows Server 2003, any of the Standard or Enterprise editions

Basic server software requirement for running the Wi-Fi Authentication Test Suite.

Tux.exe

Test harness; required to run the tests.

Kato.dll

Logging engine, required to log data.

Authmatrix.dll

Test library.

Apcontrol.exe

Runs the AP control server.

Enrolldll.dll

Retrieves security certificate from the server that provides authentication services for the test network.

Netall.dll

Provides networking utilities; must reside on both the client and server.

This test has no subtests.

The following table describes the steps that are necessary to create an appropriate test environment for running the Wi-Fi Authentication tests and, thus, validate the Wi-Fi functionality of the device.

To set up the test environment

1. Confirm that you carefully read the list of all the prerequisites and that all of the hardware and software requirements are met.

2. Set up the authorization servers on a computer that is running the Windows Server 2003 OS. For more information, see Authentication Server Setup located at <CTK installation path>\tests\target\%_TGTCPU%\wifimetric_ctk.docx.

3. Create a private network by connecting the access points and devices being tested to the computer that is hosting the servers.

4. Configure AP control server. For more information, see AP-Control Server Configuration located at <CTK installation path>\tests\target\%_TGTCPU%\wifimetric_ctk.docx. If you don’t have RF attenuator, you could set the registries to below:

[HKEY_CURRENT_USER\Software\Microsoft\CETest\APCTL\AP1]

"SSID"="DLinkAP"

"Configurator"="dlink;10.10.0.160:admin:admin"

"Attenuator"="Manual;0/-1/-1"

5. Configure Wi-Fi Authentication Access Points.

To run any of the Wi-Fi Authentication tests, you must configure the access points (APs) so that one is fixed, meaning that its configuration does not change and the AP Control server does not manage it. This AP acts as the static association point for devices connecting to the AP Control server.

To set up a fixed access point

This AP will be used to contact the AP-Control Server, the NDIS Performance server and so on. It must be available and configured as follows at all times. It does not have to be chosen from the Supported APs table.

1.Set the SSID for the fixed access point to WIFI_OPEN.

Important:

The authentication mode for the fixed access point must not require 802.1x (EAP) authentication, because at the beginning of the test, the device does not have all the certificates required to authenticate itself to the RADIUS server. You could set it to open authentication and disable encryption.

2.Give the access point a static IP address.

To set up a controllable access point

Four Access Points could be selected from this list. These APs will be re-configured throughout the test. These APs will also reside inside the RF-Enclosures and their RF signal strength will be controlled by the RF-Attenuator.

You must also configure one or more other access points that the AP Control server manages. Below Access Point types are currently supported by the AP-Control Server. D-Link DWL-3200 is recommended to be used for AP control server supports all the configuration of this AP.

Vendor/Model

Firmware

Supported Modes

Cisco Aironet AIR-1232AG

12.3(8)-JEA1

Open Shared WEP-802.1X WPA WPA-AES WPA-PSK WPA2 WPA2-PSK

Cisco Aironet AIR-1240AG

12.3(4)-JA or Later; LWAPP3.1 or later.

Open Shared WEP-802.1X WPA WPA-AES WPA-PSK WPA2 WPA2-PSK

D-Link DWL-3200

Version 2.10 or 2.20

Open Shared WEP-802.1X WPA WPA-AES WPA-PSK WPA2 WPA2-PSK

1.Manually configure each controllable access point so it communicates properly with the RADIUS server:

1).Specify the server's IP address.

2).Specify the port through which the access points will communicate with the server, typically 1812.

3).Specify the shared key.

2.Configure each access point with a static IP address.

3.Connect to each of the access points from the AP Control server. To test each connection, retrieve the following initial information from each of the access points on the network:

◦SSID

◦IP Address

◦Administrator user name and password

Important: To ensure that all devices on your test network have valid and unique IP addresses, the test network must be isolated and private. Make sure that the test network is not connected to the corporate network.

Make sure that your private network is properly configured and that the static and dynamic IP addresses are properly assigned. Before you run any of the Wi-Fi Authentication Tests, you must verify that the complete RADIUS server test environment is properly established.

To validate the test environment

1.Reboot your server.

2.After your system is back online, make sure the computer that hosts the AP control server and RADIUS server has static IP addresses.

3.Make sure that the device that is being tested can connect to the fixed access point

4.Manually connect the device to the fixed AP and controllable AP. Verify that an IP address is dynamically assigned to the device.

After you have confirmed that your text network is set up correctly, you can begin running the Wi-Fi Authentication test.

The Wi-Fi Authentication Tests are implemented as a Tux DLL, named AuthMatrix.dll, and these tests comprise multiple test cases for seven different types of Wi-Fi authentication. .

Procedure

To run the Wi-Fi Authentication Tests

1. Verify that the test environment is set up correctly.

2. At a command prompt on the AP Control server, start the AP Control server by using command "apcontrol -debug".

3. Change eaptls.cfg file to set correct Server IP address, username and password;

4. At the command prompt on the device, enter "WiFiTool -disablecertinstall" to disable prompt when installing certificate.

5. At the command prompt on the device, enter the Tux command with the options required for the test you want to run.

The Wi-Fi Authentication Tests run from the command line. The combination of authentication and encryption in each test depend on the command-line parameters you include when you start the test. To simplify the description of the parameters, this topic describes one of the parameters and links to other topics that describe the rest of the parameters.

Syntax

tux.exe [tuxparams] -d authmatrix.dll [-c "[-adapter adapterName] [apParameters] [enrollmentParameters] [logonParameters] [miscParameters]"]

Command-Line Parameters

-d authmatrix.dll

Specifies the DLL to use for the Wi-Fi Authentication Tests.

-c " … "

Specifies a list of test-specific parameters that Tux passes to the test DLL. -c "-?" will print out all the parameters usage.

-adapter adapterName

Specifies the name of the wireless adapter to use in the test. If you omit this parameter, the test uses the first wireless adapter it finds.

apParameters

Specifies the AP Control Server by hostname and port.

Command-Line Parameter

Description

-wHost

WiFi server name/address (default "10.10.0.1")

-wPort

WiFi server port (default 33331)

-wSSID

WiFi server SSID (default "")

-wAuth

WiFi server authentication (default "Open")

-wEncr

WiFi server encryption-cipher (default "ClearText")

-wEap

WiFi server EAP auth-mode (default "TLS")

-wIndex

WiFi server WEP-key index (default 0)

-wKey

WiFi server encryption-key (default "")

enrollmentParameters

Specifies how the AP Control application, APControl.exe, reaches the authentication server, and how to run the certificate enrollment program. The following table shows the certificate enrollment command line parameters for the Wi-Fi Authentication Matrix Test.

If the EAP tests are enabled, the first test automatically retrieves certificates for authenticating EAP connections. The certificate enrollment settings tell the test application how to reach the authentication server and how to run the certificate enrollment program.

Command-Line Parameter

Description

-nHosthostName

Specifies the enrollment host name or address. The default value of hostName is 10.10.0.1.

-nCommandcmd

Specifies the enrollment host command name. The default value of cmd is enroll.

-nRootBoxtitle

Specifies the title of the set root cert dialog box. The default value of title is Root Certificate Store.

-nToolBoxtitle

Specifies the title of the "insert new cert" dialog box. The default value of title is Enrollment Tool.

-nWaitTimetime

Specifies the time in milliseconds to wait for command. The default value of time is 900000, which equals 15 minutes.

logonParameters

Each time a Wi-Fi Authentication test connects using WEP 802.1X, WPA or WPA2, the test must authenticate with the RADIUS server. The user logon settings specify how the application should interact with the user-credentials dialogs on the device. You rarely need to specify these test parameters because the test application usually provides the credentials directly, so the dialogs are not normally used, and the defaults are usually appropriate.

Command-Line Parameter

Description

-uUsrBoxname

Specifies the title of the user logon dialog box. The default value is User Logon.

-uNetBoxtitle

Specifies the title of the network password dialog box. The default value of title is Enter Network Password.

-uWaitTimetime

Specifies the time in milliseconds to wait for the dialog to close. The default value of time is 300000, which equals five minutes.

miscParameters

Specifies segments of the tests to skip, APs to use, logon credentials, and test iterations and timeouts.

Command-Line Parameter

Description

-dOpen

Disables (skips) Open System (no authentication) tests

-dShared

Disables Shared (WEP authentication) tests

-d802

Disables 802.1X (dynamic WEP) tests

-dEAP

Disables EAP (RADIUS) tests (WEP 802.1X, WPA and WPA2)

-dPSK

Disables PSK tests (WPA-PSK and WPA2-PSK)

-dWPA2

Disables WPA2 tests (AES, WPA2 and WPA2-PSK)

-dClear

Disables ClearText (no encryption) tests

-dWEP

Disables WEP encryption tests

-dTKIP

Disables TKIP encryption tests

-dAES

Disables AES encryption tests

-dPEAP

Disables PEAP EAP-authentication tests

-dTLS

Disables TLS EAP-authentication tests

-tAPNamesname1,name2,...

Specifies a comma-separated list of access point (AP) names. Normally, the test selects from among all the APs controlled by the AP control server. The -tAPNames parameter forces the application to select from the listed APs. If the list contains multiple AP names, the tests applies the following rules to choose the AP: 1.If an AP has a matching security mode, use it. 2.Else, if not all the APs support the security modes, use the first that does support the mode. 3.Else, use the first AP in the list.

-lTLStlsCred

Specifies the TLS login credentials in the format user_name:password:domain_name. The default value of tlsCred is eaptls:eaptls:wince.

-lPEAPpeapCred

Specifies the PEAP login credentials in the format user_name:password:domain_name. The default value of peapCred is eappeap:eappeap:wince.

-tPassesnum

Specifies the number of times to repeat each connection. The default value of num is 1.

-tConnTimetime

Specifies the time in seconds to await a connection. The default value of time is 140.

Example:

s tux -o -d authmatrix.dll -c"-adapter PCI\RTLNWIFI1 -wHost 10.10.0.1 -wPort 33331 -wSSID WIFI_OPEN -lPEAPeaptls:password:wince -lPEAPeappeap:password:wince"

When the test completes running, verify that "PASS" appears in the test log for all subtests

Test cases 2200, 2300, 3000, 3200, 3300, 5000, 5100, 6000, 6100, 6220, 6250, 6320, 6350, 7000, 7100, 8000, 8100, 8220, 8250, 8320, and 8350 are expected to fail, because they intentionally provide incorrect information to make sure that the authentication fails when it should. Since these failures are normal, the test cases will return a PASSED value when the invalid association attempts fail.

Other Resources
Networking - Bluetooth, Modem, Wireless Tests
华为OD机试 - 幸运数字(Java 2024 E卷 100分) 华为OD机试 2024E卷题库疯狂收录中,刷题。 阅读详情

相关推荐

西门子S7-1200 PLC控制步进电机实战:从I/O分配到梯形图,手把手教你实现正反转与调速

本文详细介绍了如何使用西门子S7-1200 PLC控制步进电机,从硬件接线到梯形图编程,实现正反转与三档调速功能。通过I/O分配、脉冲生成逻辑和方向控制等核心步骤,帮助工程师快速掌握PLC控制步进电机的关键技术,提升工业自动化项目的实施效率。

weixin_28733777的博客 535

连接无线路由器显示windows找不到证书来登录无线网络

windows找不到证书登录网络 此种情况基本上是要连接的控制端(无线路由器、无线AP等)设置了密码,无线路由器一般是设置成了AP模式。解决此问题的方法为: 1.先断开要连接的无线网络(先将要连接的无线网络“断开”(因没从DHCP服务器获得IP,实际上并没有连接,但是对话框右下角的“连接”已经变成了“断开”) 2.点击“更改高级设置” 3.在打开的窗口中选择“无线网络配置”选项卡 在此窗...

大IT职男日志 4337

LTM4644 四通道并联 16A 输出配置:PCB 布局 3 要点与热仿真验证

本文详细解析了LTM4644四通道并联实现16A输出的PCB布局与热管理要点,包括电流路径对称性设计、热优化布局技巧和接地系统优化。通过实际工程案例,展示了如何确保电流均流、热分布均衡及长期可靠性,为FPGA、ASIC和服务器主板供电设计提供高效解决方案。

weixin_33314040的博客 397

radius服务器无响应,radius认证(radius认证超时)

radius认证RADIUS是英文(RemoteAuthenticationDialInUserService)的缩写,是网络远程接入设备的客户和包含用户认证与配置信息的服务器之间信息交换的标准客户/服务器模式。它包含有关用户的专门简档,如:用户名、接入口令、接入权限等。这是保持远程接入网络的集中认证、授权、记费和审查的得到接受的标准。RADIUS认证系统包含三个方面:认证部分、客户协议以及记费部...

weixin_33603813的博客 1万+

手把手教你用RTL8306MB搭建小型网络交换机:从原理到实战

本文详细介绍了如何使用RTL8306MB交换芯片从零搭建小型网络交换机的全过程。内容涵盖芯片原理分析、核心硬件电路设计(包括电源、时钟、RMII接口连接要点)、驱动开发与SMI通信实现,以及从物理链路到交换功能的系统调试实战。重点解析了将MAC5配置为RMII PHY模式与CPU对接的关键步骤和常见错误,帮助嵌入式开发者深入理解网络交换原理并完成实践。

weixin_29274969的博客 192

【愚公系列】《AIGC辅助软件开发》041-如何使用 AI技术提升工作效率:AI辅助软件架构师实践

在数字化转型的浪潮中,软件架构师作为技术团队的核心,承载着系统设计与架构优化的重要责任。然而,随着项目复杂度的增加和技术环境的变化,架构师面临着前所未有的挑战。幸运的是,人工智能(AI)技术的迅猛发展为这一行业带来了新的机遇,帮助架构师提升工作效率、优化决策过程,并改善团队协作。本文将深入探讨AI如何辅助软件架构师的实际工作,具体分析AI在需求分析、架构设计、代码生成、测试和优化等环节的应用。

愚公智库 15万+

github push 报错的问题记录

github push 报错的问题记录.

小羊子的技术专栏 964

PDF批量加水印 与 去除水印实践

我们可以给PDF加图片水印或文字水印,要去除图片水印,一般只需要删除最后一个图片对象即可。要去除文字水印,需要保证主体内容和文字水印在/Contents中位于不同的对象内,这样我们只需要删除文字水印对应的对象即可删除水印。而对于主体内容和文字水印已经混合在一个对象时,本文的提供的方法则无能为力,需要进一步深入分析PDF细节。

小小明-代码实体的专栏 2759

Github提交代码失败

差不多有2年没有往Github提交代码了,最近想维护一下自己三年前的一个小项目,发现代码提交遇到了些问题,在这里总结一下。

zhaojun的博客 5066

STM32F103ZET6驱动57闭环步进电机(连线+代码)

一、设备: 1. STM32F103开发板 (普中F103的板子) 2. 57闭环电机带驱动 3. 24V/3A的直流电源,用于给电机驱动供电 简单说明:使用Keil5编程,主要使用了PWM波,外部中断和时间中断,按键控制电机使能和脱机并且控制PWM的周期,调节周期即调节电机的转速。 二、STM32开发板与电机驱动的连线: 1.PUL-、ENA-、DIR-与STM32的连接方法: 可以参考CSND的这个链接中的说明,使用共阴极接法:STM32F407-用TB6600驱动器驱动57步进电机(代码

baidu_39071234的博客 7430

STM32进入HardFault_Handler时,如何找到问题所在?

当STM32进入HardFault_Handler时,定位问题发生的点

m0_60831979的博客 2150

【已解决】Git下载私有仓库时报错Authentication failed

用git下载partner提供的private repo时,提示需要输入username和password。但怎么输入都报Authentication failed 的错误。

木盏 2万+

【人工智能-数据集】RML2018 时域信号的时序信号和星座图的图片信号生成方式(可用于多模态特征融合)

RML2018(RadioML 2018)数据集是一个广泛用于无线通信信号识别的开源数据集。它包含了多种调制方式(如OOK、QPSK、16QAM等)在不同信噪比下的信号样本。这些数据以 HDF5 格式存储,适用于大规模的数据处理和分析。数据集特点:多调制方式:涵盖24种不同的调制方式。多信噪比:包括从-20 dB到30 dB的26种信噪比。大规模样本:每种调制方式和信噪比下包含4096个样本。数据切分:将原始的 HDF5 数据集按照调制方式和信噪比切分成单个文件,便于后续处理。样本选择。

若北辰 971

从github中git clone代码时,报‘鉴权失败’等相关错误

remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: 'https://github.com/xxx.git/' 鉴权失败`

4468

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

git 报错 fatal: Authentication failed的解决

note随意填写,最后点击Regenerate Token 按钮即可。git提交代码的时候,报错。

ForeverMyheart的博客 2319

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

向github提交代码git push报错: Support for password authentication was removed on August 13, 2021.

Support for password authentication was removed on August 13, 2021.报错的解决方法

jornze的博客 1371

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

github创建token令牌以解决remote: Support for password authentication was removed on August 13, 2021.remote

github创建token

qq_40843427的博客 1776

环境配置 | Git的安装及配置[图文详情]

是一个开源的分布式版本控制系统,可以有效、高速地处理从小到大的项目版本管理。下面介绍了基础概念及详细的用图文形式介绍一下过程.

weixin_44649780的博客 1万+

GIT ---- 解决【fatal: Authentication failed for】

按照提示完成密钥生成过程,生成的密钥默认存储在 ~/.ssh/id_ed25519 和 ~/.ssh/id_ed25519.pub。将 your-github-username 替换为你的 GitHub 用户名, your-personal-access-token 替换为你生成的个人访问令牌。在命令行中,当你进行 git push 或者 git clone 操作时,将原来使用的密码替换为个人访问令牌。在输入密码的提示处,输入你刚才生成的个人访问令牌。

止于至善 3766

gitpush出现remote: Support for password authentication was removed on August 13, 2021.

创建个人访问令牌(personal access token)。

handily_1的博客 354

解决git push提示“remote: Support for password authentication was removed on August 13, 2021.“

从 21 年 8 月 13 后不再支持用户名密码的方式验证,而需要创建个人访问令牌(personal access token)。从Github上生成令牌,用于仓库代码提交等操作;

han0373的博客 734

Access Point Modes (example device: TP-Link TL-WA500G)

Original Polish version by Lukasz SawickiAccess Point is a device that connects wireless network to a wired system. So it has to have at least two interfaces: wireless - WLAN - using 802.11 standard, ...

weixin_34184158的博客 263

github token个人令牌

意思是自从21年8月13后不再支持用户名密码的方式验证了,需要创建个人访问令牌(personal access token)。

sunnygirl's house 5175

c语言中调用shell脚本返回值问题分析

c语言中调用shell脚本 C程序调用shell脚本共有三种方式:system()、popen()、exec系列函数 1)system(shell命令或shell脚本路径);          执行过程:system()会调用fork()产生子进程,由子进程来调用/bin/sh-c string来执行参数string字符串所代表的命令,此命令执行完后随即返回原调用的进程。在

network__yang的专栏 4136

ubuntu给手机建wifi

我的电脑在ubuntu下,无线一直有问题,目前的问题是不能建wifi,这个问题可谓是困扰我长达一年之久。 这次ubuntu后升级到ubuntu14.04后,使用两篇老外的方法成功建了手机连上可以上网的wifi了。 原来那些说电脑不支持建wifi的全是假话,在windows下能建,到ubuntu下怎么不能建呢。 还不能建的朋友可以参考一下我这个,有可能就可以建了。

tiankonguse的专栏 1536

ANDROID ACCESSORY 通信协议建立过程 -----解析好后可以在单片机做主机来于安卓手机通信

ANDROID ACCESSORY 通信协议建立过程  (2012-11-23 11:46:36) 转载▼ 标签:  杂谈   accessory   android 分类: 技术 http://zwz94.blog.163.com/blog/static/3206039520123374251251/

蓝松SDK 3220
上一篇: WPS路由器
下一篇: sed命令详解
yi412
博客等级 码龄18年 194粉丝 26原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值