Sunday, October 24, 2010

FreeBSD Serial (64): NetBIOS name resolution



In the development of personal computers and local area network early, in order to achieve network capacity of personal computers, Microsoft and IBM co-developed a protocol NetBIOS, which is a call interface for network communications, IBM developers as they consider this agreement BIOS designed as a basic computer network access interface, the use of the NetBIOS name. The NetBIOS interface development on the use of Microsoft Web servers and corresponding client software.

And IBM Token Ring and Ethernet on the direct implementation of the NetBIOS driver realized the NetBIOS and the physical network layer in between the specific interface, these programs follow the standards known as NetBEUI. NetBEUI direct control of the Token Ring and Ethernet drivers, so it can only run in the local area network. However, the lower NetBIOS itself did not limit the use of the protocol, so it only can run under the NetBEUI support, but also can run in the other protocol support. Other web developers in some other basis of the agreement also achieved NetBIOS interface, such as TCP / IP, IPX and Decnet so. Including the use of NetBIOS over IP TCP / IP protocol, thus the lower the compatibility with the Unix computer, a Unix and PC systems based on communication.

Windows family of computers does not necessarily use IP as its network transport protocol, it can also make use of IPX or NetBEUI protocol, but FreeBSD does not support IPX or NetBEUI on NetBIOS, must configure IP protocol for the Windows clients can share with each other FreeBSD resources.

NetBIOS name resolution

As a matter of fact is a NetBIOS and TCP / IP standards developed independently, although it can use TCP / IP as the transport protocol, but due to the different concept, it does not use TCP / IP to provide the full capacity, but to use their own way to accomplish similar work. The biggest difference is the way name resolution, NetBIOS name resolution with its own independent concepts and capabilities, so it uses the name resolution mode on and the TCP / IP in the standard analytical methods 鈹?鈹?DNS different. In the NetBIOS name resolution must be received one named after the corresponding IP address, NetBIOS sessions can be established on the basis of normal TCP connection was. Therefore, NetBIOS, the NetBIOS name resolution is a conversation with ordinary TCP connection biggest difference.

NetBIOS name resolution and DNS name resolution of NetBIOS is the biggest difference is that dynamic, the computer must first register their names before they can resolve to the name. Although dynamic analysis brought great convenience, but more complex and inefficient, so only for small-scale local area network.

Each NetBIOS name can be up to 16 characters, 16 characters Enter the name used to identify the type of procedure used. When the NetBIOS computer to communicate, it must be based on NetBIOS names, not based on IP address. A NetBIOS service program must first register their NetBIOS name, and an application will need to NetBIOS name queries needed. For example, after each Windows computer starts initializing the network configuration when using the computer name used to initialize its NetBIOS name.

NetBIOS name resolution method

From the NetBIOS name to find the corresponding node address (TCP / IP protocol for the IP address) to find several different ways.

Local Radio: send broadcast on the local network, by broadcasting the NetBIOS name of a device, find the corresponding IP address. Broadcast can be used to register their NetBIOS name, such as a computer can broadcast the name of the machine, declared itself to other computers using the NetBIOS name.

Buffer: Each NetBIOS computer support, maintenance of a NetBIOS name and IP address of the corresponding list of the names of all of these correspond to a certain degree of survival in order to update.

NetBIOS name server: use a name server to provide the name and IP resolution between the tasks, the NetBIOS name server known as the NBNS (NetBIOS Name Server), Miscrosoft achieved NBNS name server for the WINS (Windows Internet Name Service). NBN S NetBIOS computer must first register their NetBIOS name, complete name of the registration process.

Predefined file lmhosts: Microsoft Windows through the Find a local file lmhos ts stored in the data, to identify the network name and IP NetBIOS relationship, this approach is not a NetBIOS name recognition of standards, but it is Microsoft's implementation approach, and therefore a kind of de facto standard.

Resolve through DNS and the hosts file: DNS server and the local hosts file, stored data is used for standard TCP / IP protocol used to convert between names and IP the way, but with no other way to find the corresponding node address, Microsft Window s are usually also through the standard TCP / IP name resolution methods, to name and IP conversion. This is not the same NetBIOS standard, but the expansion of Micorsoft.

NetBIOS means of identification from five, and one of the names registered with different methods in conducting the different combinations, different names on the form recognition strategy. In the NetBIOS standard, will identify strategies to use different model names as different NetBIOS node type.

B-node: the way through the broadcast to register and identify NetBIOS names. The IP protocol on the Net BIOS, need to be based on UDP broadcast this way in a small network works well, but when the network increases, will be using a router to a large network is divided into several smaller networks. In general, routers do not forward broadcast data, broadcast packets sent to the local network only. Although you can configure the router to b-node broadcast forwarding UDP broadcasts, but it will produce large amounts of useless network data, and name registration and resolution of the difficulty has increased. Therefore, for larger networks, this approach undesirable.

P-node (peer-to-peer): identification of the name, etc. can provide a very effective method, which uses the NetBIOS name server for name registration and name recognition. So for each NetBIOS computer, you must specify the same NBNS server's IP address. In this way NBNS server is down or change the settings (such as IP addresses, etc.) of the case, name resolution can not be completed, it can not be NetBIOS communication. Of course, the computer can be configured to use NetBIOS over NBNS server to a problem in which the use of backup servers.

M-node (Mixed): In order to properly resolve NetBIOS names, the best combined use of broadcast and the way the name of the server, so the name recognition is a complex process. M-node first by way of B-node broadcasts the name of the recognition process, when the broadcast failed, another way to use P-node query.

H-Node (Hybrid): H-node model is a complex pattern, with M-node difference is to find a different order. H-node first find the NBNS name server, and then use the broadcast query.

Windows in the way of actual use of the name recognition is a standard H-node mode of expansion, Windows family of computers will first check the contents of the cache, and then view the WINS server, after the broadcast, and then find the lmhosts file, and by hosts and DNS lookups. Actual NetBIOS recognition is a complex process, mainly because NetBIOS name resolution is a dynamic way, each computer must register itself.

NetBIOS name of the recognition process

With different DNS, NetBIOS names using dynamic approach to management. DNS data is static, add and remove DNS names require the administrator manually change the configuration file. But the NetBIOS requires a computer on the network automatically register its name, the computer shut down after the occupation of the name will be released, this process does not require administrator intervention. Because it requires additional network data to complete the registration process name, making it unsuitable for large networks such as the Internet. NetBIOS name recognition requires three steps:

Name registration: NetBIOS startup in the computer to occupy the entire network, a NetBIOS name statement, if you have other computers take up the name, the computer will receive an error message. Registration is through the network broadcast a statement to the NetBIOS name server information or to register a way to achieve.

Name Resolution: NetBIOS names by broadcast or query to resolve a NetBIOS name server. In addition, through the lmhosts file and secondary DNS name resolution.

Name deleted: in the system shutdown or provide services to the end of the workstation will remove its occupation of the NetBIOS name.

By NetBIOS name and share name of the directory, we can locate resources on the Windows computer. Microsoft to use U NC to determine the form of a network resource location, a UNC start a double backslash, followed by the provision of resources NetBIOS computer name, then the computer resources of the shared name, the next is the following directory and file name. Such as: \ ntserversharefiles, so use a command of resources:

C:> net use f: \ ntservershare
C:> f:
F:>

Above the net use command will ntserver the share of resources mapped to F: drive.

Name server works

Because b-node broadcast on the network will produce large amounts of information flow, especially in the network is composed of multiple subnets when the router was originally used to isolate broadcast information, but in order for name resolution, you have to forward b- node broadcast packets, which fail to reduce unwanted network traffic purposes.

Using the name server for resolution can avoid this problem, customer inquiries through the pair of name servers instead of broadcasting, information flow would not have spread to every subnet, we can reduce the broadcast data, reduce network of Fudan conserve bandwidth, and effectively improve name resolution speed and accuracy.

Actually existing Windows network or even rarely use the name server for name resolution, which makes these networks there is a big name resolution problems, often there are different neighbor list of different computer networks, the fundamental reason is that broadcast is not guaranteed, it is required to way to resolve the name of the server name resolution problem.

Common NetBIOS computer and NBNS server to communicate with four different communication process:

Name Registration: Each NetBIOS computer starts, all in the name server registration. This automatically updates the database maintained and updated with the dynamic characteristics. Name server will return confirmation message and the name of the survival of TTL. If the customer's name has been taken up, the server will check whether the occupation is still the name of the client on the network to determine whether the name can be used again. This occurred mainly after the crash in the Windows computer to re-register process, because at this point in the computer crashed before it in the name server registered in the name exists, if the name server refused to provide a simple name, then the computer can not re- get their names. Only in true conflict situation, the customer name registration will fail.

Name Update: As each name there is a survival TTL, then when the experienced half of the TTL time, the customer update request to the server, refresh the TTL setting on the server.

Name Release: Customers will communicate with the server shut down the release of its occupation of the NetBIOS name, the name will make the server timeout TTL release the name.

Name Recognition: Customers can send a query to the NBNS name server request for name resolution.

In some cases, clients do not support the name server settings, or use the client software does not support the name server for resolution, you can set up a WINS proxy, which will come in the broadcast data and query the name server to convert, it can help customers Register and respond to customer inquiries broadcasting.







相关链接:



satellite tv on your pc satellite direct



MAC-based Access control list Xiangjie



Flash Effect 2 production mysterious word



QT To WMV



Flash CS4 3D tool to Create a rolling photo cube model



E-mail Scrubbing Brush



Good E-Mail Clients



[Demon Heroes] 1.62 Water God, Single-pass Raiders Cheats



How to get all the screen colors red, green AND blue values



Warning: evil "cool dog" fake "cool dog" evil



FLV to iPhone



My Favorite Graphic



How To Compile Kernel



SWF to MOV



Thursday, October 14, 2010

Easily burn miniDVD using NERO 6


Of: ZAZA

How to burn a real miniDVD CDR above had been the topic of heated discussions in various forums, what we say what is true miniDVD.

Before recording the so-called miniDVD popular there are two ways. One is generated rendering MPEG2 format DVD format audio and video files, and then the SVCD in Nero 5 burning functionality into the file to "force" burn. Because Nero will detect the SVCD format video file format is not generated tips, ignore the prompts to complete burn. But such a "miniDVD" is a pseudo-DVD, the actual file format for playback and do not meet specifications. DVD playback quality is not just whether it is high definition, but also the rich features DVD standard DVD menu. DVD menu with the usual VCD, SVCD menu features more fully is heaven and on earth. DVD menu playback multiple video angles, multi-channel voice, multi-subtitle select, hide directory, change the menu, a virtual three-dimensional menu, hide chapters, AC3 5.1 channel, so these are SVCD, VCD menu features catch up. Just how to make a DVD menu you can write a thick book to.

Another approach is to use DVD authoring software DVD format standard direct production of documents, such documents produced have the following characteristics: including the AUDIO_TS, VIDEO_TS directory that, in the VIDEO_TS directory with extension VOB, BUP, IFO's file. This file format produced with exactly the same as the real DVD, including the AC3 5.1 channel, the menu in which such information. As long as the total length of these documents control within the capacity of a CDR, you can burn miniDVD. Burn this real miniDVD can use Nero 5, but the tips are often complicated to set those back with nothing to burn. That success in the CDR burning above the miniDVD is a difficult and lucky thing.



The emergence of Nero 6 so that we can sit back and burn miniDVD. Need to understand the complex set options. Nero 6 is now to see how easy and quick to burn miniDVD of it.

Here demonstrates using Nero Express 6, respectively, and Nero Burning 6 burn miniDVD approach.



Run Nero Express 6, select the menu Video / Picture option to run the following items burn miniDVD guide.



Burning wizard interface shown above, A is that a good pre-set directory structure miniDVD (DVD directory structure is true, is that recording medium is a DVDR only), there are two directories: AUDIO_TS, VIDEO_TS. VIDEO_TS directory which is red, which is to remind us of the DVD program to create directories which should be placed here. C is that the capacity of the miniDVD show, because usually the use of CDR capacity of 640M, 700M, 800M this specification. Therefore the maximum capacity marked as 800M. In the 640M and 700M respectively, marked with yellow lines and red line out volume position. Add a file time to pay attention to whether the data miniDVD CDR hand over your maximum capacity.

First of all, double-click the red VIDEO_TS directory into the directory, and then press the picture above B Office Add File button.



Now ready to add the miniDVD files, find the DVD video files well in advance, into the VIDEO_TS directory. Demonstrated by the completion of the DVD file as shown above. Nero 6 DVD production line can use NeroVision Express 2 to make, also can use the following procedure:

TMPGEnc DVD Author

Sonic Foundry DVD Architect Inc.

Sonic DVDit company

SONIC company REELDVD

ULEAD DVD FACTORY

WINDVD company produced DVD Creater Plus

MediaChance company DVDLAB




[Next]



Select the VIDEO_TS directory of all files, press Add to add to miniDVD directory, and then click Finished to add the end of the process.



Then step back to make wizard interface. See those DVD files on the hard disk has been added to the Nero Express 6 of the miniDVD files directory. Click Next to create miniDVD Nero Express 6 the third interface.



This step interface is miniDVD final preparation before burning, you can choose recorder, set burner burning speed and burning copies. Validation data set is finished burning, I suggest you use this time to select. Burning high-speed recorder, when experience tells us that speed is usually no more than 24X is appropriate. If the recorder is chosen Nero 6 burner built-in virtual image, it will produce a CD-ROM ISO or NRG image file format. Dissemination of this document can be distributed through the network.

All settings are ready, press the Burn button, and recording began.



Often not a long time, Nero Express 6 will tell us burn a miniDVD has been completed. In this way, a miniDVD easy to create. Quickly get the DVD-player a try.

MiniDVD recording completed in some of the DVD player can not play, this is because some DVD players do not support the identification of CDR Media DVD format reasons.

Here to talk about being burned in Nero Burning 6 miniDVD approach.



Nero Burning 6 of the main interface shown in the A Division miniDVD down to find the option to select it with the mouse. New Office and then press B button. Create a miniDVD project.



Nero Burning or previous style, so are the contents of the hard disk documentation project. Find ready miniDVD files, select the Drag to the left after the VIDEO_TS directory. Ready after the button press the A Division of burning. Will pop up Nero Burning 6 of the recording preparation interface.



Burn miniDVD select box in the figure Disc-at-once, and then click the Burn button Burn, Nero Burning 6 start burning miniDVD. After the completion of burn miniDVD arises.






Recommended links:



SARFT issued the first batch of 3G licenses audio-visual



Retail: international and domestic giants play the Attacking football



NEW Network Monitoring



Selected fifth one, Peking University Guanghua New Year's Forum



Flash to MPEG



MPEG4 to WMV



"Personal efficiency" and "organizational Efficiency"



Super-operator Altar



benefits of mounting your flat screen tv to THE



Do not heat to high speed fully Raiders Summer Thunder



Mr. Ma, please do not Anger me



Review File Compression



Sichuan Instrument flow meters: precision production of personalized quote



The official Chinese version of FIREFOX Mozilla FireFox 2.0.0.7



WMV to MOV



Tuesday, October 12, 2010

How to turn your career profile?


Elevator with the boss, the boss does not know who I am; I worked day and night overtime work, credit is not bored me ... ... it?

"Show off your own personal responsibility, you have to let people know who you are and what you've done something," Peggy - Klaus (Peggy Klaus) in her latest book, "Chi Chi sell boast" ( Brag) wrote.

How to do this? The following are the recommendations of Klaus:

1. Anywhere, anytime ready.

Taken the first step is very simple boast. 4 things to remind ourselves every day: your name, title, responsible for the task, and the front of the positive work carried out by the affirmative side. These elements on the lips, speak out at any time to prepare.

2. Gathered in the pantry.

Round-table lunch, tea rooms, coffee machine or vending machine next to, as long as a meeting place for improvisation, is to make people understand the importance of your presence. So, not to stay on your desk, get up and move time to time, lunch time, do not resolve on their own desk.

3. Do not rely on numbers to speak.

Do not think the requirements to achieve the above figures like the figure he would say. Everyone wants to learn from others to show them how to overcome obstacles, this is the best tool you boast. So, do not just report the results of your work should be to share your success, and how to overcome difficulties.

4. The use of public awareness of important people on social occasions.

These important people are usually very busy, it is difficult to have the opportunity to meet face to face or have the chance to chat. However, some public social occasions, such as when the company year-end banquet and other grand assembly, that is the golden opportunity of self-promotion.






Recommended links:



The difference between Samba and NFS



Tod To Iriver U10 Conversion Tool



FLV to VOB



How to "control" Yahuo sequels?



My Favorite E-Commerce



MP4 to 3G2



Blizzard: "StarCraft 2" continues to stand by the end of 2009 for sale



DivX to MPEG



Good Mail Servers



Decade of embarrassing the Chinese game



No Trace Of Her It Just So To Find The Original 1000 Baidu



Dream Team's Future



Ma PK Shi Yuzhu, in the end who is more cattle?



Find out the psychological make PROMOTIONS



EVALUATE Chat And Instant Messaging



Guide HELPDESK And Remote PC



Training into the domestic game Breakthrough



Wednesday, October 6, 2010

A fully CG production process - the first draft (the original painting)



銆忋? Step1

Draft (original painting)



Drawing lines

In common with the G-PAN photocopy paper depicts about 200dpi big picture, (100% original size) and then scanned into the computer. (Because it is about painting a profile, it did not need to use the pen.)



According to the above look like the path of the exchange will be expressed in the figure. I draw a line here because here is what I like to modify some lines, so my pencil like everyone else, are broad-brush, so this stage is not very good visual effects work.







相关链接:



John XINHUA introduction of Guangxi sugar set EAM2008



Report Communications Tools



Evaluate Web Servers



To expose the fraud: WinRAR to compress 775MB 13.4MB



Dreamweaver MX Ultradev Exploration (Foreword)



Graduates felt the "job card" APPLAUDED



"Torch Light" Warrior VH little Experience difficulty



reviews ADVENTURE And Roleplay



Draw with the Freehand in the FORM of two laws



RM To MPEG4



Experts Say Too Early To Lower Domestic Oil Prices



Recommend Audio Players



Logonui Exe Application Error In Vista Quick Tip



Knowledge Of The Properties (Jonathan D. Day And James C. Wendler)



Transport Stream converter



AVI To Zune



GIS work?