New
#1
PPPOE service name - Terminal / Command Prompt ( cmd ) / Powershell
How can i set Broadband PPPOE service name using Command Prompt or PowerShell (Windows 8.1, build 9600)?
How can i set Broadband PPPOE service name using Command Prompt or PowerShell (Windows 8.1, build 9600)?
PPPoE means Point-to-Point-Protocol-over-Ethernet. It's the protocol used between a boundary device (like a router or modem) and a service provider's equipment. PPP runs at Layer 2, and sets up a conveyer belt for Layer 3 traffic to/from the pair of devices involved. See this definition at TechTarget for more info: What is PPPoE (Point-to-Point Protocol over Ethernet)? - Definition from WhatIs.com. Alas, though, I don't see any easy way to do what the OP wants, but I did find a related SuperUser.com post: windows - Configuring Network PPPOE Connection using cmd.exe - Super User (it, however, assumes you know the names of things already).
--Ed--
I want to set service name "sm1" using cmd (not using richt click and "Properties"). My connection does not work without this service name and my menu "Properties" also does not work in control panel (right click and then "Properties" give me message "Unexpected error!"). This is picture from another computer to see what service name i want.
1. Go to C:\ProgramData\Microsoft\Network\Connections\Pbk\
2. Back up this file "rasphone.pbk".
3. Click here to download "rasphone.zip" and extract the file "rasphone.pbk".
4. Copy the file into C:\ProgramData\Microsoft\Network\Connections\Pbk\
5. Run the following in an elevated Command Prompt:
Net stop "Netman" & Net start "Netman"
6. See whether your PPPoE connection works.
7. If it does not work, upload your backup file "rasphone.pbk" as an attachment.
The attached "rasphone.pbk" contains the following line:
PhoneNumber=sm1
Matthew Wai, thank you. It works. Close topic.
Next time when you want to change the service name, connection name, or other settings, just run the following command:
Notepad %ProgramData%\Microsoft\Network\Connections\Pbk\rasphone.pbk
FYI, the rasphone.pbk that has solved your problem was copied from my Windows PE. You actually don't need "Network and Sharing Center" and "Network & Internet" to set up a PPPoE connection, which can be set up by a script.
PS Thanks for the rep!
@John Gerfin, if you want your PPPoE connection to be started automatically, see the tutorial below:
Automatically start a PPPoE connection via a script and Task Scheduler
My scripts will do everything automatically.