Where is the dll library located in windows 7. Registering DLLs in Windows

Teams telnet allow you to communicate with a remote computer using the Telnet protocol. You can run the command telnet without parameters to enter the telnet context indicated on the Telnet command line ( telnet). From the Telnet command line, use the following commands to control the computer running the Telnet client.

Teams tlntadmn allow you to remotely control a computer running a Telnet server. These commands are executed from command line. Team tlntadmn without parameters displays the local server setting.

To use commands telnet from the Telnet command line

To launch the Telnet client and enter the Telnet command line

Syntax

telnet [\\ remote_server]

Options \\ remote_server Displays the name of the connected server /?

  • When using the command telnet The Telnet client starts without parameters.
  • At the Telnet command line, you must use Telnet commands.

To stop the Telnet client

Syntax

Options

none

Notes

  • This command can be shortened to q.

To connect a Telnet client to a remote computer

Syntax

open [\\ remote_server] [port]

Options \\ remote_server port Indicates the port to use. If no port is specified, the default port is used. Notes

  • This command can be shortened to o.
Examples

To connect to the remote Redmond server on port 44, enter at the command prompt: redmond 44

To disconnect the Telnet client from the remote computer

Syntax

close [\\ remote_server]

Options \\ remote_server Specifies the name of the managed server. If no server is specified, the local server is used. Notes

  • This command can be shortened to c.
Examples

To disconnect from the remote Redmond server, enter the command: redmond 44

To configure Telnet client settings

Syntax

set [\\ remote_server] [ntlm] [localecho] [term {ansi | vt100 | vt52 | vtnt}] [escape symbol] [logfile file name] [logging] [bsasdel] [crlf] [delasbs] [mode {console | stream}] [? ]

Options \\ remote_server Specifies the name of the managed server. If no server is specified, the local server is used. ntlm Enables NTML authentication if available on remote server. localecho Enables local command display mode. term {ansi | vt100 | vt52 | vtnt) Specifies a terminal of the specified type. escape symbol Specifies the control character. The control character can be a single character or a combination of the CTRL key and a character. To set a key combination, hold down the CTRL key while typing the character you want to assign. logfilefile name Specifies the Telnet activity log file. The log file must be located on your local computer. Logging starts automatically after selecting this option. logging Enables logging. If a log file is not specified, an error message is displayed. bsasdel Specifies the BACKSPACE key to delete. crlf Assigns a new linear mode that defines the ENTER key as 0x0D, 0x0A. delasbs Assigns the DELETE key to delete the last character. mode {console | stream) Sets the operating mode. ? Allows you to view the full command syntax. Notes

  • To disable a previously assigned setting, at the Telnet command prompt, enter:

    unset [parameter]

  • To assign a control character, enter the command:

    -e symbol

  • In non-English versions of Telnet, the command is available codeset parameter. Codeset parameter specifies the current code set for the parameter, which can be one of the following: Shift JIS, Japanese EUC, JIS Kanji, JIS Kanji (78), DEC Kanji, NEC Kanji. You must assign the same code set on the remote computer.

To send Telnet client commands

Syntax

send [\\ remote_server] [ao] [ayt] [esc] [ip] [synch] [? ]

Options \\ remote_server The name of the server that you want to manage. If no server is specified, the local server is used. ao Cancels an input command. ayt Sends the command "Are you there?" esc Sends the current control character. ip Aborts execution of a processing command. synch Performs a Telnet synchronization operation. ? Allows you to view the full command syntax.

To view the current Telnet client settings

Syntax display

Options

None

Notes

  • This command displays the current operating parameters for the Telnet client. When operating in Telnet session mode (in other words, while connected to a Telnet server), you can exit the session to change settings by pressing CTRL+]. To return to the Telnet session, press ENTER.

To use commands tlntadmn from the command line

To administer a computer running Telnet server/P>Syntax

tlntadmn [\\ remote_server] [start] [stop] [pause] [continue]Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. start Starts the Telnet server. stop Stops the Telnet server. pause Terminates the Telnet server. continue Restarts the Telnet server. /?

  • Using commands tlntadmn tlntadmn

To administer Telnet sessions

Syntax

tlntadmn [\\ remote_server] [-s] [-k{session_code | all}] [-m {session_code |all} " message" ]

Options \\ remote_server -s Displays active Telnet sessions. -k{session_code | all) Ends sessions. Enter a session code to end a specific session or enter all to end all sessions. -m {session_code | all} " message" Sends a message to one or more sessions. Enter a session code to send a message to a specific session, or enter all to send a message to all sessions. Type the message you want to send in quotes (i.e. " message" ). /? Displays help on the command line. Notes

  • Using commands tlntadmn you can remotely administer a computer running a Telnet server if both computers are running Windows control XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.

To set event log settings for the computer running Telnet Server

Syntax

tlntadmn [\\ remote_computer] config [auditlocation={eventlog | file | both}][audit=[{+ | - } admin][{+ | - } user][{+ | - } fail]]

Options \\ remote_server auditlocation={eventlog | file | both) Specifies whether event information should be sent to the Event Viewer, to a file, or to both. audit=[{+ | - } admin][{+ | - } user][{+ | - } fail] Specifies which events require auditing (administrator logon events, user logon events, or failed logon attempts). To audit a specific event type, enter a plus sign (+) in front of the event type. To stop auditing of a specific event type, enter a minus sign (-) in front of the event type. /?

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.
  • If you specify where to send event information without specifying the information type or types to be audited, only administrator log event information will be audited and sent to the specified location.
Examples

To send event information to the Event Viewer, enter:

tlntadmn config auditlocation=eventlog

To audit administrator logon events and failed logon attempts, enter:

tlntadmn config audit=+admin +fail

To set the primary domain for the computer running Telnet Server

Syntax

tlntadmn [\\ remote_server] config [dom=domain_name]Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. dom=domain_name Specifies the domain that you want to make primary. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.
Examples

To make the Redmond domain the primary domain on your local server, enter:

tlntadmn config dom=Redmond

To map the ALT key to the computer running the Telnet server

Syntax

tlntadmn [\\ remote_server] config [ctrlakeymap={yes | no}]

Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. ctrlakeymap={yes | no) Indicates whether the Telnet server should interpret the CTRL+A key combination as ALT. Enter yes to map a keyboard shortcut or no to refuse matching. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.
  • If the ALT key is not mapped, the Telnet server does not send the ALT keystroke to applications where it might be needed.

To set the maximum number of connections for the computer running Telnet Server

Syntax

tlntadmn [\\ remote_server] config [maxconn=positive_integer]

Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. maxconn=positive_integer Sets the maximum number of connections. This number can be specified using any positive integer less than 10 million. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.

To set the maximum number of failed access attempts for the computer running the Telnet server

Syntax

tlntadmn [\\ remote_computer] config [maxfail=positive_integer]

Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. maxfail= positive_integer Sets the maximum number of failed login attempts allowed for a user. This number can be specified using any positive integer less than 100. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.

To set the operating mode for the computer running the Telnet server

Syntax

tlntadmn [\\ remote_server] config [mode={console | stream}]

Options \\ remote_server mode {console | stream) Indicates the operating mode. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.

To set the Telnet port for the computer running the Telnet server

Syntax

tlntadmn [\\ remote_server] config [port=integer_value]

Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. port=integer_value Specifies the Telnet port. The port can be specified using any integer less than 1024. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.

To set authentication methods for the computer running the Telnet server

Syntax

tlntadmn [\\ remote_server] config [sec=[{+ | - } ntlm][{+ | - } passwd]]Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. sec=[{+ | - } ntlm][{+ | - } passwd] Specifies whether NTML or password authentication is used, or both, to authenticate login attempts. To use a specific authentication type, enter a (+) sign in front of the authentication type. To prevent a specific type of authentication from being used, enter a (-) sign in front of that type. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.
  • NTML is an authentication protocol for transactions between two computers, one or both of which are running Windows NT 4.0 and earlier. Additionally, the NTML authentication protocol is used for computers that are not part of a domain, such as independent servers and workgroups.

To set the idle session timeout for the computer running the Telnet server

Syntax

tlntadmn [\\ remote_server] config [timeout=hh: mm: ss]

Options \\ remote_server Specifies the name of the server that you want to take control of. If no server is specified, the local server is used. timeout=hh: mm: ss Sets the elapsed time value in hours, minutes, and seconds. /? Displays help on the command line. Notes

  • Using commands tlntadmn You can remotely administer a computer running Telnet Server if both computers are running Windows XP. Teams tlntadmn cannot be used to remotely administer a Telnet server running Windows 2000 from a computer running Windows XP.
Notes
  • To switch from the Telnet client to command mode, at the Telnet command prompt, press CTRL+]. To return to the Telnet client, press ENTER.

Telnet is a network utility that allows you to connect to a remote port on any computer and establish an interactive communication channel, for example, to send commands or receive information. We can say that this is a universal browser in the terminal that can work with many network protocols.

This utility was very often used in the past to remotely control a Linux computer, but then it was replaced by the secure SSH protocol. But telnet is still used, for example, for network testing, port checking, and also for communicating with various IoT devices and routers. In this article we will look at what telnet is, as well as how to use telnet to solve your problems.

As I said, this utility is designed to create an interactive connection between remote computers. It works using the TELNET protocol, but this protocol is supported by many services, so it can be used to manage them. The protocol is based on TCP, and allows you to send regular string commands to another device. It can be used not only for manual control but also for interaction between processes.

To work with this protocol we will use the telnet utility, it is very easy to use. Let's look at the telnet syntax:

$ telnet options host port

The host is the domain of the remote computer to connect to, and the port is the port on that computer. Now let's look at the main options:

  • -4 - force the use of ipv4 addresses;
  • -6 - force the use of ipv6 addresses;
  • -8 - use 8-bit encoding, for example, Unicode;
  • -E- disable support for Escape sequences;
  • -a- automatic login, takes the username from the USER environment variable;
  • -b- use a local socket;
  • -d- enable debugging mode;
  • -r- rlogin emulation mode;
  • -e- set the beginning character of the Escape sequence;
  • -l- user for authorization on a remote machine.

That's it for the telnet command to establish a connection. But connecting to a remote host is only half the battle. After establishing a connection, telnet can operate in two modes:

  • Line by line- This is the preferred mode, here the line of text is edited locally and sent only when it is completely ready. Not all services always have this opportunity;
  • Character-by-character- all characters you type are sent to a remote server. It will be difficult to correct anything here if you make a mistake, because Backspace will also be sent as a symbol and a movement arrow too.

The use of telnet is to send special commands. Each service has its own commands, but the protocol has its own telnet commands that can be used in the telnet console.

  • CLOSE- close the connection to the server;
  • ENCRYPT- encrypt all transmitted data;
  • LOGOUT- exit and close the connection;
  • MODE- switch mode, from lowercase to character or from character to lowercase;
  • STATUS- view connection status;
  • SEND- send one of the telnet special characters;
  • SET- set the parameter value;
  • OPEN- establish a connection via telnet with a remote host;
  • DISPLAY- display the special characters used;
  • SLC- change the special characters used.

We will not consider all the commands, since you are unlikely to need them, and if you do, you can easily find them in the official documentation.

How to use telnet?

Next we will look at how to use telnet to solve your problems. Usually, the utility is already installed on most systems, but if this is not the case, then you can install telnet from the official repositories, for example, in Ubuntu:

sudo apt install telnet

Now let's move on to using the utility. Initially, it was used to remotely control a computer, but since the more secure SSH protocol was later developed, it was no longer used.

1. Server availability

The utility can still be useful when checking the availability of a node; to do this, simply pass it the IP address or host name:

telnet 192.168.1.243

You don't have to use telnet for this; ping is available.

2. Port check

Using telnet we can check the availability of a port on a host, and this can already be very useful. To check the telnet port run:

telnet localhost 123
$ telnet localhost 22

In the first case, we see that no one accepts the connection, but in the second, a message about a successful connection and a greeting from the SSH server are displayed.

3. Debugging

To enable debug mode and output more detailed information while running, use the -d option while connecting:

sudo telnet -d localhost 22

4. Telnet console

Using the telnet console too important point in the analysis of how to use telnet. In the main mode, you can execute commands on a remote server, but if you want to address the command specifically to telnet, for example, to configure its operation, you need to use a special character to open the console, usually the utility immediately tells you what this character is, for example, it is used by default "^[":

To activate it, you need to press the key combination Ctrl+[, then you will enter the telnet input prompt.

To see all available commands, you can type ?. For example, you can view the connection status:

telnet>status

There are other interesting possibilities here. Such things can be done on any connection using telnet utilities.

5. View the telnet site

One common way to use telnet is to test a website from the console. Yes, you won’t get a beautiful web page, but you can manually collect requests and see all the data sent by the server.

telnet opennet.ru 80

Then issue the command to the web server:

The web server will return the entire page, as well as the headers that are necessary for the browser to display it.

6. Telnet remote control

It is strongly recommended not to use insecure telnet for remote control because all commands and passwords can be eavesdropped by a third party. But sometimes, for example, for routers, telnet is still used for remote control. Everything works exactly the same as for other connections, only you need to use port 23, and telnet-server must be installed on the remote computer:

telnet localhost 23

Here you don’t even need to specify the port, because 23 will be used by default. Next, you need to enter your login and password, and then you will be able to execute commands on the remote system.

Conclusions

In this article, we looked at examples of using telnet, as well as what this utility is, although it is no longer used for its main purpose, it can still be useful to many users and system administrators. If you have any questions, ask in the comments!

For comfortable browsing on the Internet, the speed and stability of the network connection are important.

Sometimes problems arise with your network connection, resulting in files taking a long time to download or web pages not loading. To find out why the problem occurred, check network connection.

Run built-in diagnostics

Check your network access using the Windows troubleshooter and the macOS wireless diagnostic tool. Select operating system:

  • Windows 7
  • Windows 10
  • macOS

    Click Start → Control Panel→ Network and Internet → Network Control Center and shared access TroubleshootingInternet connections.

    Follow the instructions on the screen.

Run the Network Troubleshooter:

Use the program "Wireless diagnostics".

For more information, see Analyze your wireless environment on the Apple Support site.

Use network utilities

Obtain network diagnostic information using Ping, PathPing/Traceroute, and Telnet utilities. Select operating system:

  • Windows 7
  • Windows 10
  • macOS

Ping

PathPing

To get information about intermediate network nodes:

Telnet

First, enable the Telnet client. To do this:

Other utilities

Run the utility:

    In the window that opens, enter:

    • ipconfig/all - for Ipconfig;

      getmac/v - for Getmac;

      tracert<адрес сайта>- for Tracert.

    Press Enter.

    To copy information anywhere open window right-click and select Select All. Then press Enter.

    Copied text can be pasted (Ctrl + V) into a text file or letter.

Ping

Using the Ping utility, you can check the quality of your network connection. The utility determines the delay time between a request to the server and the response, as well as the loss of data packets. How less time reception and transmission and the number of lost packets, the faster the web page will open or the movie will load.

To check your network connection:

PathPing

Using the PathPing utility, you can determine at which intermediate network node data packets are delayed or lost.

To check intermediate network nodes:

Telnet

You can use the Telnet program to check whether your computer has permission to connect to the server.

First install the Telnet client. To do this:

Now you can check access to the server:

Other utilities

Select a utility depending on the purpose:

    Ipconfig - find out IP address, subnet mask and others network settings;

    Getmac - view network connections, network adapters and their physical addresses;

    Tracert - get a chain of nodes through which an IP packet passes.

Run the utility:

    Go to the Start menu and type command line or cmd.exe in the search bar. Launch the application.

Using the telnet command makes it possible to establish a communication channel with computers at a distance. And the utility itself is almost a kind of browser emulator in the terminal, supporting several network protocols.

Previously, telnet was often used to manage PCs running the Linux operating system. And now, using the same utility, they test the network, check ports, manage routers and other IoT devices.

Features of the utility

Even though main task telnet is the creation of a connection between PCs remote from each other using the protocol of the same name; using the utility you can manage other services. For example, access POP3, HTTP, IRC or SMTP.

After all, these and some other services operate on the basis of the TCP transport protocol, to work with which you can use the telnet client. Although this is not always recommended due to a number of unwanted effects– for example, insecurity of data transmission or its distortion.

Rice. 1. Enabling the telnet utility in Windows.

Telnet command syntax when connecting to to a remote computer looks like this: $ telnet (options) (host) (port).

The host is the domain of the computer to which the connection is made. Port – port on the computer from which access is being made. And the options could be as follows:

  • -4 and -6 enforce the use of ipv4 and ipv6 addresses, respectively;
  • -8 makes it possible to use 8-bit encoding;
  • -E disables support for escape sequences;
  • -a automatically registers the user on the remote system;
  • -d enables debugging mode;
  • -p enables rlogin emulation;
  • -e sets the initial escape character;
  • -l authorizes the user in the system.

After a connection to the remote host is established, the telnet utility begins working in one of two modes - line by line or character by character.

The first option is the most preferable due to the ability to edit text directly on local PC and sending it only after the user has completely entered all the information.

The disadvantage of this line-by-line mode is the lack of support for it by some services. While character-by-character can be used in any case. However, when using it, all information is sent to remote PC instantly.

And if the user makes a mistake, it will be impossible to correct it - after all, even spaces and Backspace are sent to the server in the form of characters.

Basic Commands

When working with the telnet protocol, the user enters the appropriate commands into the console. The most popular include the following:

  • OPEN (PC name) (port). Allows you to communicate with the computer whose name is specified in the command. If you do not specify a port, the utility will try to use the default number. Sometimes it is indicated instead of the PC name IP address;
  • DISPLAY (argument). Command to display a full or partial set of telnet utility parameters;
  • CLOSE. Designed to close the telnet session and return the system to command mode;
  • QUIT. Command to end all open connections and logout from telnet;


Rice. 2. Using the Quit command in the MS Telnet client.

  • MODE TYPE. Used to control one of two input mode options (character-by-character or line-by-line). In this case, a request is sent to the remote computer to switch to a certain mode, and, if it is supported by the service, the corresponding switching is provided;
  • STATUS. The command that displays the current status of the utility, name remote PC and exchange mode;
  • ? (team). Reports information about the corresponding command sequence. It is needed in cases where the user is going to use a command that is unfamiliar to him;
  • ! (team). Executes a command sequence on the local system;
  • SEND ARGUMENTS. Sends character arguments to the remote PC;
  • ESCAPE. Sends one of the escape characters such as comma, bracket, or caret (^);
  • SYNCH. Serves to send a synch sequence that allows you to cancel all commands typed but not yet sent. Used only in line-by-line mode;
  • BRK. Sending a break sequence when the Break key is pressed.

All of these commands are basic, although their total number is much larger. However, due to quite rare use In this utility, the easiest way to find a complete list of them is by entering HELP in the terminal.

And, after displaying the complete list, get background information about each command sequence using the "?" command. Although, for example, for a telnet client on Windows, the list may be shortened.


Rice. 3. List of telnet commands in the Microsoft client.

Conclusions

The need to use commands in the telnet utility arises less and less these days. However, it is worth knowing some of them, at least to gain access to network equipment with their help. For example, to switches, routers or even to web cameras.

Thus, even this relatively outdated and insecure protocol may be useful for ordinary users and, especially, for specialists. True, to work with it you will need not only knowledge of the list of commands, but also some experience in working with the command line.

The Telnet protocol is a standard for data exchange between two network devices, designed to implement remote control. Not everyone knows what the setting is Wi-Fi router can be done via Telnet from any computer local network. To do this, it is necessary that the Telnet access option is enabled in the router, and it must be enabled via the web interface.

An interesting fact is that sometimes you can log into the router using Telnet, while access via HTTP, that is, through the graphical interface, remains unavailable.

Condition for being able to connect to the router

If you want to go to the router management interface, you first need to find out what the IP address of this device is. Without an IP address, you won’t even be able to open a Telnet session, let alone access it through a browser. Most network harvesters are assigned the following address by default: 192.168.1.1. For D-Link, you need to make a correction in the last two digits (should be “0.1”). Set up network card PC to the appropriate values ​​by changing last digit her IP.

Setting up a connection on a computer

How to open a communication session

Anytime operating system there is a command line. Once you launch it, you just need to run one command: telnet 192.168.1.1. After which the router, connected to the PC via Ethernet or Wi-Fi, immediately responds to us, asking for a login and password.

Starting a communication session

In our response, we used the name “admin” and password “1234”, that is, the default values ​​​​in ZyXEL devices. As you can see, these values ​​were accepted and the “config” prompt appeared.

Some ZyXEL models use not only a text interface, but also a command list (menu):

Start list view

To return to text command mode, go to 28 -> 4 (use step 28 and then step 4). As a result, you will receive the inscription “config” and a cursor for entering commands. In what follows, we will consider only this mode.

Configuring the device via Telnet

The text command interface, that is, the command line of routers and other ZyXEL devices, is called the word “CLI” (Command Line Interpreter). Most of the commands for all models are the same, for example, “system reboot” (reboot), “system config-save” (save settings), and others. Some commands for a particular model may differ, and download detailed guide You can go to the support website, in the same place where they provide proprietary firmware for downloading.

Download the directory with commands

Devices from companies other than ZyXEL provide a “help” command, which gives you a list of available commands.

Remote access to the web interface

The WAN port of the network harvester is assigned an IP address. The value of this address usually does not change, even if dynamic addresses are used. Knowing his IP address, the user can open the device management interface from any computer with an Internet connection. Default similar method access is prohibited in ZyXEL routers. And the command line will help you get rid of this limitation.

Type the following command: ip static tcp ISP 80 192.168.1.1 80 // port “80” is used by the web interface.

The “ip static” command actually creates a binding of local addresses to global IP addresses. Note that if you are using a type of connection where authorization is provided (PPTP, L2TP or PPPoE), then instead of the word “ISP” you must substitute another name. It’s easy to find out: Interface ?// all network interfaces will be displayed.

For the PPPoE protocol, the Internet connection interface is usually named “PPPoE0” (case is important). Don't forget to save the settings (system config-save). As a result, it will be possible to open the web interface from the Internet.

The interface opened from the “external”

Some providers block port 80, so it probably won’t work the first time. But you can do it more cunningly by redirecting external port number 8080 to internal port 80: ip static tcp ISP 8080 192.168.1.1 80 // this way we bypass the provider’s restrictions.

In general, the port for Telnet is forwarded in a similar way (its number is “23”).

A sea of ​​commands for Wi-Fi

The easiest way to start mastering the command line is to use those commands that are responsible for the parameters of the access point (Wi-Fi network). Each of these commands begins with the word “interface”, and then there is a qualifying sequence. The simplest option: interface ssid SYSDAY // the name of the wireless network will be set to “SYSDAY”.

Note that by specifying the “auto” parameter instead of the name, you can return the “access point” to the SSID value that was set at the factory.

There are several more interesting commands that control the radio module. To avoid typing the word “interface” every time, use it as a separate command (the prompt is transformed into “config-if”). We provide a list of commands used in the “config-if” mode below.

Examples of commands for Wi-Fi

  • power number // instead of the word “number”, set the power as a percentage;
  • channel number // instead of “number”, specify the radio channel number (1-13);
  • country-code country // the “country” parameter contains 2 letters, for example, RU;
  • hide-ssid // hide network name;
  • no hide-ssid // open network name.

And this is far from full list parameters that can be changed directly from the command line.

It should be noted that using Telnet you can change or enable the Wi-Fi encryption algorithm (WPA or WPA2).

And the key value is set by the “interface authentication wpa-psk” command. Thus, it becomes possible to remotely, from anywhere in the world, log into the router via Telnet and change the password for the wireless network. Very useful, isn't it?

Telnet to the router-modem