How to auto connect pppoe. Internet auto connection. Alternative ways to enable automatic start of the Internet

💖 Like it? Share the link with your friends

Today we will deal with the question of how to set up the Internet on a computer or laptop. As a rule, the Internet is configured by an employee of the provider at the moment when you conclude an agreement with him for the provision of services - after all, it is the correct access to the World Wide Web that is an indicator of the performance of this service. However, later on reinstalling windows or buying a new computer, the Internet settings can fly off, and here we will already face a dilemma - call technical support or do everything ourselves. In fact, this task is not at all difficult, so by reading this article to the end, you can save money more than once.

How to set up Internet on a computer via cable?

The most common type of connection is cable - a wire is pulled into your apartment with a special LAN connector at the end, which is inserted into network card in a PC case. However, depending on the provider, there are several types of network connection. How to properly set up the Internet and how the connection to the World Wide Web occurs should be indicated in the paperwork of the contract that was given to you when the employee first set up the Internet. There are several of them - automatic IP, static IP, PPPoE, L2TP, filtered by MAC address. Let's consider them in order.

Internet setup automatically

I called this type automatic, because if the provider connects you using this type, then you are lucky - you don’t have to configure anything at all. With it, the computer receives an IP address on the network “by itself” - that is, we simply plug in an Ethernet cable and use the Internet. If it doesn’t work, then make sure that all configurations are reset - for this we go to “Start> Control Panel> Network and Internet> Network and Control Center and public access> Manage network connections > Change adapter settings", right-click on "Connect via local network" and go to "Properties> Internet Protocol version TCP / IP v.4". Here all values ​​​​should be set to "Automatic", as in the picture

Internet connection on a computer with authorization

In this fairly common type, or rather types, because there are two of them, you will have to sweat a little and create a connection with the handles and enter your login and password to set up an Internet connection. If you click on the desktop icon every time to enter the Internet, a connection window opens in which you click on the button - this is your case.

PPPoE

PPPoE - connection to the provider's servers occurs only by login and password. If you suddenly reinstalled Windows, then in order to restore the ability to exit to no, do the following:

  1. Go to "Start > Control Panel"

  2. further in "Networks and the Internet"

  3. and in the "Network and Sharing Center"

  4. Here somewhere on the page (in the left column for Windows 7 or in the main window in Windows 8 and 10) we see the menu item "Set up a connection or network" - click on it

  5. Here we select "Connect to the Internet" and click "Next"

  6. Select "High Speed ​​(PPPoE)" and move on

  7. We enter the login and password that the provider issued - they are usually indicated in the contract.

  8. After that, we return to the "Network Sharing Center" and find the link "Change adapter settings" in the menu - we go through it.

  9. We find " High speed connection” - now it is in the “Disabled” state.

  10. Double click on it, a window for authorization will open. Click the "Connect" button and enjoy! For convenience, this "High-speed connection" can be dragged with the mouse to the "Desktop", creating an icon with a quick link.

L2TP

L2TP is another type of Internet setup with authorization. To activate it, we do everything the same as in the previous method, up to step number 4 inclusive.



Connecting a laptop to the Internet with a static IP

The next type will not ask you to enter your login and password and click on the icons for the connection each time, but it does require manual entry of the IP address settings to connect to the provider's equipment. For the settings, we go through the chain “Start> Control Panel> Network and Internet> Network and Sharing Center> Manage network connections> Change adapter settings”, right-click on “Local Area Connection” and go to “Properties> Protocol Internet version TCP/IP v.4”.

And enter in the IP address and DNS server fields the values ​​\u200b\u200bthat the provider provided.

Filtering by MAC address

And finally, for any of the above types, the provider can apply filtering by MAC address. This means that you can only connect to the Internet on the computer that is registered with the provider. Insert the cable into another one and the Internet will disappear. This byaka usually appears at the moment when you bought a new computer (or network card), brought it home, but the Internet does not plow. To be honest, I don’t understand at all why some of our “friends” do such garbage, but if this is the case, then you can activate access to the network only by calling the support service and saying that you bought a new PC.


That's all for today - I'm sure that you now know exactly how to connect the Internet to your computer and you can 100% do it yourself!

Today, a computer without an Internet connection has become an anachronism. Access to the World Wide Web is necessary when performing a wide variety of tasks. Therefore, it is of paramount importance for the user to be able to connect to it already at the time of system startup. This is implemented in different ways. This article will look at ways to automatically connect to the Internet in Windows 7 when you turn it on.

At first glance, this kind of question seems strange. But if you delve deeper into it, it becomes clear that connecting to the Internet immediately after turning on the computer is simply necessary. The main thing in carrying out this action is the ability to quickly switch to working with the network. In addition, automatic connection to the "web" allows you to:

  • get the exact time corresponding to the user's time zone;
  • obtain and install updates and prerequisites for the system and many essential programs;
  • provide correct work applications that start simultaneously with the system and require access to the Internet.

Each user will definitely have their own addition to this list. Therefore, it can be continued for a long time. Someone wants to immediately receive a package of fresh news from the network, while someone needs to quickly access their documents located in cloud storage. Definitely: automatic Internet access makes working at a computer more productive and comfortable.

Activate automatic connection

Tune automatic connection computer to the internet different methods. The best option is to transfer all implementation functions to a modem or router. Majority modern devices of this type have their own address on the network and a web interface where you can make all the necessary settings, including the type of connection, login, password, and other points. Thus, nothing needs to be configured on the computer at all. It is enough to register the IP address of the modem or router as a gateway in network settings so that each time the computer is turned on, a connection to the World Wide Web is automatically established. And if they have a DHCP server, even this can not be done.

But despite the obvious advantages of this type of connection, there will always be those who want to automatic tuning Internet connections directly on the computer. There may be reasons for this, both of a purely technical nature, and related to the personal preferences of the user. It does not make sense to describe them in detail, it is enough just to say that such an opportunity is provided for in all operating systems. Windows 7 is no exception to this rule.

In the "seven" to make the Internet connect automatically, it is available in various ways. The further description of all options for solving the problem assumes that the Internet connection on the PC has already been created and is normally started manually.

Network setup and using the autoplay folder

Putting an internet connection shortcut in the autorun folder seems to be the most simple solution for automation this process. However, there are some nuances that must be paid attention to.

Most domestic providers use a PPPoE or L2TP connection to connect to the Internet. Their hallmark is the need to authorize the user on the network by entering a login and password. Therefore, simply placing a shortcut for such a connection in autorun will only lead to the fact that when the operating system (OS) starts, its window will appear, waiting for the user to confirm the login and password. That is, almost automatic connection to the Internet will not happen.

Thus, in order to let the “seven” start auto-connecting to the Internet at startup, you need to make sure that password confirmation is not required when establishing a connection. And such functionality is provided in Windows 7. Its configuration is carried out in the "Network and Sharing Center". You can get there in the following ways:

  • by clicking on the network connection icon in the taskbar located at the bottom of the screen, by clicking on the appropriate link;
  • from the panel Windows controls, finding the "Network and Internet" section.

After that, you need to do the following:

  1. In the left part of the "Control Center" window, find the link "Change adapter settings" and click on it.
  2. In the network connections window, find what is responsible for connecting to the Internet, open its properties. You can do this from context menu, invoked by right-clicking on the connection name.
  3. Where are the connection properties, go to the "Parameters" tab, disable the username, password request. To do this, uncheck the box next to the corresponding item.
  4. Set the option "Always use the accepted connection by default."
  5. Next, select the created connection, click the "Properties" button.
  6. A window opens, enter the login and password below to access " global network».
  7. Close all windows by clicking the OK button.

Having made all the settings, you can put the connection shortcut in the autorun folder, the Internet will be available immediately after the OS is loaded.

In exactly the same way, automatic Internet connection is configured on Windows 10 and on Windows 8. There is a slight difference only in the name of the control panel sections, but this will not confuse even a novice user.

Using task scheduling

Another way to set up automatic Internet connection is to use the task scheduler. There are many ways to open it. The most universal, suitable not only for Windows 7, but also for Windows 8, Windows 10, is the use of the program launch window. It can be called using the Winkey + R keyboard shortcut, or the Run link in the Start menu. To open the scheduler, you need to enter the taskschd.msc command.

After the scheduler window opens, proceed with setting up an automatic connection to the Internet. For this you need:

  1. On the "Action" tab, select "Create a simple task".
  2. A window opens and a name for the task is entered. It should be designed in such a way that it is easy to understand the nature of the action performed by this task. After that, click on the "Next" button.
  3. In the task trigger settings, specify that it should be executed when you log on to Windows. Click "Next".
  4. Leave the next paragraph unchanged.
  5. In the task action settings, select "Run the program".
  6. In the next window, enter the command to execute. The Internet connection is activated with the rasdial command. In the field for arguments, write the sequence: network name, login and password. The name must be enclosed in quotation marks, all arguments are entered without commas separated by a space.
  7. In the last window, check the entered parameters again, click "Finish".

After completing the steps, you need to restart your computer. If all the settings are made correctly, the system will automatically connect to the Internet at startup.

Many tasks in Windows can be automated by creating a special file containing the command or sequence of commands needed to be performed. Such a file is called a batch file. different extensions, but on Windows the most common cmd files or bat.

Setting up automatic Internet access using a bat file is easy. To do this, you need to take a few simple steps:

  1. On the computer, create a normal text file, open it with notepad.
  2. Write the following lines there:
  • cd %systemroot%\system32;
  • rasdial connection_name user_name and password.

Then you need to save the file, giving it a name that is understandable to you. You also need to change the extension from txt to bat. Next, the file is placed in the autorun folder, the next time the system starts, the connection to the Internet will be made automatically. The path to the autorun folder is: C:\ProgramData\Windows\Windows\Start Menu\Programs\StartUp.

Using the Registry Editor

The Windows Registry also allows you to perform various tasks in automatic mode. With its help, it is really possible to automate the entrance to the World Wide Web. This is done in this way:

  1. Open registry editor. To do this, you need to type regedit in the program launcher.
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.
  3. Create a new string parameter. To do this, just right-click on Run, select the desired action from the context menu. Any name for the new parameter.
  4. Double-click or press Enter to open the created parameter, assign it a value: rasdial.exe Connection_name Login Password.

This completes the setup of automatic connection to the "global network". You must restart your PC for the new settings to take effect. Internet connection should happen automatically.

By creating a new service

This method may seem complicated, but it is only at first glance. As in previous ways, the basis is the execution of the rasdial command. To create a new service, you must:

  1. open window command line Windows. Do this by typing cmd in the program launch window.
  2. Enter the command: sc create startVPN start= auto binPath= “c:\windows\system32\hidcon.exe rasdial_connection_name user_name password” DisplayName= “StartVPN” depend= lanmanworkstation obj= “NT AUTHORITY\LocalService”.
  3. Using the services.msc command, open the list of services that connect to Windows 7, find the StartVPN service there.
  4. Open the properties of the service by double-clicking, in the startup type line, select "Automatic" from the drop-down list.

After completing the above steps, it remains only to restart the PC, make sure that the automatic connection to the Internet has occurred.

Possible problems and solutions

If after the settings you have made an automatic connection to the Internet does not occur, you must re-configure it using one of the methods described above. In this case, you should carefully check:

  • syntax for writing commands if automatic connection was configured through service creation, registry or batch file;
  • browser properties settings, if the setting was made through the "Network and Control Center";
  • the presence of a connection shortcut in the automatic download folder, if this method was used.

The surest way to solve the problem is simply to change the configuration method to one of the others described above. Some will be successful.

Aren't you tired of clicking on the connection icon every time, entering your username and password in order to connect to the Internet? I got bored one day. That's why I asked the question: How to automatically connect to the Internet when you turn on your computer? Luckily, setting up auto-connect was pretty easy.

I want to make a reservation that now I have Windows XP, and I set everything up on my home computer with this system. Also, the Internet is not connected to me via a modem, but simply a wire is connected to the apartment from the box in the entrance, to which, in turn, a fiber optic cable from the provider leads. If you are connected via a modem, then there are features.

When there was a modem, I had to constantly type a hard-to-remember login with a password into the connection window when connecting. If you have the same problem, then you should just check the "Save username and password" box the next time you connect, so that later the program will enter them automatically.

2. Don't ask for username and password

3. Create a shortcut to connect to the Internet in the "Startup" folder

The last thing that is technically necessary to do is to automatically connect the Internet when you turn on the computer (at least in the operating Windows system XP) is to create a shortcut to connect to the Internet in the "Startup" folder located at:

C:\Documents and Settings\admin\Start Menu\Programs\Startup

In your case, the only difference will be that instead of the folder that I have called "admin", you will have the username under which you logged in.

After you create the shortcut, restart your computer. After starting, the machine should automatically connect to the Internet without your participation.

Use for Internet access and organizations home network routers has already become a standard, but not everyone has the opportunity to install it for various reasons. There are still cases of connecting a computer to the network directly. To connect to the Internet, you need to manually launch the "dialer". This is terribly inconvenient, but you can automate the process in such a way that it automatically connects to the Internet.

Organization of automatic connection to the Internet using the scheduler

In Windows 7, setting up automatic Internet connection when using the task scheduler is as follows:

  • You can start the scheduler in the "Task Scheduler" menu, or simply by typing the name of the program in the search bar.
  • After the scheduler is launched, you must select the "Create a simple task" item to launch the scheduler wizard.
  • The dialog will ask you to fill in the name of the task.
  • The next step is to choose when to run the task. Because If you want Windows 7 to automatically connect to the Internet when you turn it on, then the appropriate radio button is selected.
  • Next, the planned action is selected, namely “Run the program”.
  • For the field "select a program or script" you need to write the command exe, which comes with the standard distribution of Windows of any version. You can specify the full path: "C:\Windows\System32\rasdial.exe" for the 32-bit version, or "C:\Windows\SysWOW64\rasdial.exe" for the 64-bit version.
  • You must specify additional parameters separated by a space: connection name, username and password. The connection name can be viewed with the Network Connections program or by calling - rasphone.exe (alternative firmware). It should be noted that the name of the connection is indicated only in Latin letters.
  • When the task is created, it is enough to restart the computer for the changes to take effect and the Internet to connect automatically when downloading.

Setting automatic connection to internet windows 10 happens in a similar way. How to disable automatic Internet connection should not cause problems either, just remove the task from the list.

Automatic connection by making changes to the registry

It is possible to configure automatic connection to the Internet when the computer is turned on by adding data to the registry. This is done by calling the "Registry Editor" with the command "Run - regedit.exe", you can also press the key combination Win + R where you also need to enter regedit.exe. The *.exe extension is not required, because is a service component, the axis will find it on its own.

In the Registry Editor window, you need to go to "HKEY_CURRENT_USER\Software\Microsoft\Windows\Run" where the string type parameter is created.

When the line is created, you need to fill it in appropriately and enter the values ​​to run: "C:\Windows\System32\rasdial.exe" or "C:\Windows\SysWOW64\rasdial.exe" as mentioned above for the corresponding OS version, and enter the connection name, user name and password separated by a space.

You can use another alternative command, which is also included in the standard Windows delivery set: "rasphone.exe -d connection name".

When all changes are made, the registry must be saved and the computer restarted. If all parameters are entered correctly, the connection will be made automatically. How to remove the automatic connection to the Internet in windows 7 in case of a registry change, you just need to delete the corresponding entry in the branch.

Alternative ways to connect automatically

There are several more alternative options for how to make an Internet connection. automatic windows 7, which are a little more difficult to understand, but correct from the point of view of the operation of the operating system, is launching using a batch * .bat file and creating a Windows service.

To create an executable file, you need to open notepad and create any text file. It is desirable to call it in Latin letters and without spaces. Then it is enough to assign the extension to the *.bat batch file. This is done through the settings of the file manager, which should show file extensions. You can enable such a display by clicking the "Tools" menu, selecting "Folder Options" and deselecting the "Hide extensions for known file types" item on the "View" tab. Now it's enough just to change the extension to *.bat, and fill the file with the content:

cd %systemroot%\system32

start rasdial.exe connection_name user_name password

Now it is enough to copy and paste the file into the startup folder "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" or simply drag it with the mouse through the "Start - Programs - Startup" menu.

The service is created by running the following command, run as administrator:

sc create startVPN start=auto binPath="rasdial "connection name" "username" "password"" DisplayName="Some name" depend=lanmanworkstation obj="NT AUTHORITY\LocalService"

Next, it is set so that the connection starts at system startup and the parameters for the “Recovery” tab are changed, where the behavior of the service after an abnormal termination is selected. Thus, the service will start at system startup and restart in case of errors.

These are all the main ways to make the Internet connection automatic. The choice of connection option is selected by the user to your taste.

An article for those who have not yet bought a router and connect to the Internet on a computer. Although in our time, with phones and tablets with Wi-Fi, I find it much easier and more convenient to have a Wi-Fi router at home and have an automatic Internet connection on it. But situations are different, and we will not go into details.

So, in fact, we have an Internet connection through technologies such as VPN, L2TP, PPPoe (You can also use this if you have configured your VPN server). And we want the connection to occur automatically when the computer starts, even before the user logs in. In principle, so far there is nothing complicated, so let's move on to the instructions.

1) We need the Internet connection name to be English language. Rename it or set the correct name when creating the connection. I will use VPN.

2) This step applies to owners of Windows 7. Open the properties of the network connection, go to the "Settings" tab and uncheck "Display connection progress", "Prompt for a name, password" and "Enable Windows logon domain".

3) Next, open the Windows Task Scheduler. To do this, go: Control Panel → "System and Security" group → "Administrative Tools" → "Task Scheduler" (or click Win+R and enter taskschd.msc).

4) Select "Action" → "Create a simple task":

5) The "Basic Task Wizard" will open. Enter an arbitrary name and description. Let's go further.

6) We put a dot in front of "When the computer starts." Optionally, you can select "When you log on to Windows", and the connection will be automatically created after logging in as a user.

7) Select "Run the program":

8) Now the fun part:
1) In the "Program or script" field, enter the program: C:\Windows\system32\rasdial.exe
rasdial.exe- a utility that has been built into Windows for a very long time and is used to work with network connections.
2) In the "Add arguments" field, write the command in the following form:

*connection_name* *user_name* *password*

where "username and password" is the username and password provided by your ISP.
In my case, it will look like this (the data is fictitious):

VPN qazxderfv zxcvnzx

9) Check the box next to "Open properties for this task after I click Finish" and click Finish.

10) Switch the point to "Run for all users". Put a tick in front of "Run with the highest rights" and in the item "Configure for:" select our operating system. We press OK.

Everything, now when you turn on the computer network connection should turn on by itself.

Alternative ways to enable automatic start of the Internet:

I. Using the program autorun function.

I think that this article will not be complete if I do not add a few alternative ways. And the first one will be about creating and using a BAT file.

1) So, first of all, of course, we need to create a BAT file that will connect to the Internet. To do this, we create a text file in an arbitrary place. And fill it with text in the following format:

cd %systemroot%\system32 start rasdial *connectionname* *username* *password*

2) Rename the file to VPN_autostart.bat. In order to change the file extension, you need to enable their display in the folder properties. In Windows 7, press the button alt in File Explorer and select "Tools" - "Folder Options". In Windows 8 and 8.1, switch to the "View" tab in File Explorer, select "Options" - "Change folder and search options." There, on the "View" tab, look for the item "Hide extensions for known file types" and uncheck it. We press OK.

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp and copy the file into it.

This completes the first alternative method. It seems like it is very simple, but for some reason it does not always work.

II) Internet autostart through a registry entry.

The second alternative method is based on creating additional parameter to start a network connection.

1) Open the registry by pressing a keyboard shortcut Win+R and entering regedit, in the window that opens.

2) Open the following branch if you want to enable autorun for all users on the computer:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

If you want to enable autostart only for the current one, then you need this branch:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

I will create for all users.

3) Create a new string parameter named StartVPN and give it a format value:

rasdial *connection_name* *username* *password*

Do not forget that the name of the VPN connection should not contain Cyrillic characters. The next time you start your computer, your computer should automatically connect to the Internet.

III) Internet autostart by creating a new service.

This is another way that should automatically connect to the Internet before the user logs in.

sc create startVPN start= auto binPath= "rasdial *ConnectionName* *UserName* *Password*" DisplayName= "StartVPN" depend= lanmanworkstation obj= "NT AUTHORITY\LocalService"

This will create a new service that will run after all system services have started. In my case it will look like this:

sc create startVPN start= auto binPath= "rasdial VPN qazxderfv zxcvnzx" DisplayName= "StartVPN" depend= lanmanworkstation obj= "NT AUTHORITY\LocalService"



tell friends