the above method.
If you want to restore the MAC address in the Registry to its original state under win2003/XP/2000 after modification, you can select the "Network Address" item, select "not exist" as the value on the right and restart the instance. In Win98, select "not displayed ".
3. modify it in the Registry
For non-rtl8139 NICs, you can directly modify the Mac in the registry. Note: Before you modify the registry, back up the registry.
① Search for driverdesc under the primary key of HKEY
-11ce-bfc1-08002be10318} \ 000n \ (N is a number numbered from 0, in Windows NT, you can read information in HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ networkcards. The following uses Windows2000 as an example:
Hkey, hsubkey, hndiintkey;
If (regopenkeyex (HKEY_LOCAL_MACHINE,
"System \ CurrentControlSet \ Control \ class \ {4d36e972-e325-11ce-bfc1-08002be10318 }",
0,
Key_read,
Hkey )! = Error_success)
Return false;
DWORD dwindex = 0;
DWORD dwbufsize
0001,0002 ... Here to save information about your network card, where the content of the DRIVERDESC is your network card information description, such as My network card is the Intel 21041 based Ethernet Controller), where you assume that your network card in 0000 keys.
Add a string under 0000 subkeys, named "NetworkAddress", the key value is the modified MAC address, the request is a continuous 12 16 binary number. Then, under the "0000" subkey, create a new subkey named NetworkAddress under
setupapi,installhinfsection Ndi-steelhead 132%windir%infnetrass.inf
3. Restart your computer
4. Click Start-run (shortcut key Windows + R), enter cmd, OK.
5. At the command prompt, type the following command: Netsh firewall reset, enter.
6. Click Start-Run, enter Firewall.cpl, return.
7. Click on (Recommended) In the Windows Firewall dialog box to determine.
[Method 2]: Windows Firewall entry added to registry
Warning: Serious problems may
you happen to is using one, can is placed into the Web-inf di Rectory along with the Web.xml file. It may also being possible to place a EJB jar into the Web-inf/lib directory (does you are important?). The new packaging scheme is depicted in Figure 2.
Figure 2:simplified EJB packaging for Web applications.
For me, a very interesting implication of it that's simplified packaging scheme makes EJBs much more agnostic of The rigidly defined structure of Java EE EAR files. There is another reall
:
The first step, click "Start" → "Run" → enter "Regedit", open Registry Editor, press Ctrl+f to open the Find window, enter "DriverDesc" click OK. Double-click what you find, that is, a description of the information you want to modify, and a list of the left to display the current primary key (for example, 0000).
The second step, under the corresponding 0000 new string of values, named NetworkAddress, the key value set to the MAC address you want, note to write continuously, such as 11223344
page to modify, the effect is the same.B.1. In "hkey_local_machine\system\currentcontrolset\control\class\4d36e972-e325-11ce-bfc1-08002be10318\0000, 0001, 0002 "etc under the primary key, because you may have installed more than one networkCard, so under this primary key the bun can have multiple primary keys similar to "0000, 0001", at which point you can findDriverDesc content is the primary key that matches the description of the NIC you want to modify, such as "0000".2. Under the primary k
you want to change it forever.
Add these three sentences to the/etc/rc.d/rc.local (you can also add the following three lines to the/etc/init.d/network)
Ifconfig eth0 Down
ifconfig eth0 hw ether 1234567890ab
Ifconfig eth0 up
Other:
How to change the MAC address in Win2000:
Open Registry Editor, find hkey_local_machine\system\currentcontrolset\control\class\{4d36e972-e325-11ce-bfc1-08002be10318} subkey, In the 0000,0001,0002 under the subkey to find the DriverDesc, in the 0000 subkey next day
the registry first.
(1) win2003/xp/2000
Click "Start"/Run, enter regedit to open the registry and navigate to Hkey_local_machine\system\currentcontrolset\control\class\{ 4d36e972-e325-11ce-bfc1-08002be10318}\0000, 0001, 0002, under the primary key, find the content of DriverDesc, understand the network card using which primary key (for example, 0001), if the primary key under the params item, The primary key is also used by the network card;
For example, the NIC uses 0001 primary keys, so we se
Apache 2 and IBM DB2 EXPRESS-C databases to and IBM WebSphere application Server. Then you learn more about the mechanisms that Facebook's integration point--facebook provides to integrate applications into social networks and start some backbone development. You have created and configured the application on Facebook, created a test index.php for the Callback URL, set up the DB2 database, created some underlying data tables, and added the sample data to the datasheet.
In this tutorial (part 2
1261 209645183linuxdisk/dev/sde:536.9gb,536870912000 Bytes/dev/sde11 65270524281243+83linuxdisk /dev/sdf:536.9GB,536870912000bytes/dev/sdf1 165270524281243+83 LinuxDisk/dev/sdg:536.9GB,536870912000bytes/dev/sdg1 1 65270524281243+83linuxdisk/dev/sdh:214.7 GB,214748364800bytesDisk/dev/sdi:107.4GB,107374182400 Bytes5. The current system hard drive is SDA to SDI, now need to add a 500G of shared hard disk, to
Reprint Link: Http://wiki.opencv.org.cn/index.php/MFC%E4%B8%AD%E5%BF%AB%E9%80%9F%E5%BA%94%E7%94%A8OpenCVIntroduction and OriginsThe original discussion topic of this tutorial, please see "Original" MFC in the rapid application of OPENCV tutorial, the purpose of this tutorial is to facilitate the majority of users under the Windows MFC user can easily in the MFC window view class, the implementation of OPENCV format picture display.Introduction to Basic OpenCV and MFC operationsHow to apply menus
company or organization. Setregistrykey (_t ("Local appwizard-generated Applications")); LoadStdProfileSettings (); Load standard INI file options (including MRU)//Register The application ' s document templates. Document templates//serve as the connection between documents, frame windows and views. csingledoctemplate* pdoctemplate;pdoctemplate = new CSingleDocTemplate (Idr_mainframe,runtime_class (CMFCDRAWDOC), Runtime_class (CMainFrame),//main SDI
custom class262. The implementation of adding the right mouse button function in Mydefclass custom class library263.MFC Project Type description264.MFC Wizard Generate project description and description of Project basic document265.MFC Project File Structure description266. Application header file and source file description267.MFC Program Structure Introduction268. Description of the application class in the program structure269. Code implementation of the main frame window class270.
replication#define IDC_BUTTON_FIRST 1000#define IDC_BUTTON_PRE 1001#define IDC_BUTTON_NEXT 1002#define IDC_BUTTON_LAST 1003#define Idc_button_query 1004#define IDC_BUTTON_ADD 1005#define IDC_BUTTON_MODIFY 1006#define IDC_BUTTON_DELETE 1007#define IDC_BUTTON_OK 1008#define IDC_BUTTON_CANCEL 1009#define IDC_EDIT_SID 1010#define IDC_EDIT_SNAME 1011#define IDC_EDIT_SSEX 1012#define IDC_DATETIMEPICKER_SCOMEDATE 1013
The third step: remember not to omit Ah, if there is duplicate ID, you can change i
, the difference is on the electrical signal line:The SPI bus consists of three signal lines: Serial clock (SCLK), serial data output (SDO), serial data input (SDI). The SPI bus enables multiple SPI devices to be connected to each other. The SPI device that provides the SPI serial clock is an SPI host or master device (master), and the other device is an SPI slave or slave device (Slave). The master-slave device can achieve full-duplex communication,
database, create a database and a table, and open an existing database.(The author complained that the CSDN Article center should be changed, so code layout is so troublesome)Void CPassportDoc: DeleteContents (){Try{If (m_pSet ){ESRecordsetClose (m_pSet );}If (m_pConn)If (m_pConn-> State ADODB: adStateOpen)M_pConn-> Close ();M_pConn = NULL;}Catch (_ com_error e ){ESErrPrintProviderError (m_pConn );ESErrPrintComError (e );}CDocument: DeleteContents ();} BOOL CPassportDoc: OnNewDocument (){If (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.