C
C
Cyapa2014-02-16 20:21:25
network hardware
Cyapa, 2014-02-16 20:21:25

How to programmatically terminate a PPPoE connection and re-establish it?

Greetings.
There is such a scheme: the router is connected to the network via PPPoE and distributes WiFi. A computer is connected to it via WiFi (or wire, not the point).
A task is attached to this scheme: to programmatically break the PPPoE connection and raise it again.
Explain to me, please, in which direction to dig?
I understand correctly that the OS on the computer has no idea that the connection is organized via PPPoE? This is also confirmed by the fact that RASAPI does not find any connections.
It turns out that there are no APIs on the computer side to restart the PPPoE connection on the router?
So it remains only to somehow connect to the router?
I've tried telnet/ssh connection to 192.168.1.1:23 but to no avail. There was also an idea to reboot the router through the web face, but this is a perversion. In addition, in my model (Netgear JWNR2000), there is no reload interface in the web muzzle.
In general, I'm at an impasse.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Zhivotnev, 2014-02-16
@Cyapa

> Do I understand correctly that the OS on the computer has no idea that the connection is organized via PPPoE? This is also confirmed by the fact that RASAPI does not find any connections.
Yes. From the point of view of the OS, you are in a peer-to-peer network in which there is a router whose task is to let the machines of the network into the Internet. And the machines themselves do not see anything further than the router interface sticking into your network.
> I tried to open a telnet/ssh connection.
If you have a JWNR2000 on Atheros chips (revisions 0, 1, 3), then openwrt can be installed on it. There will already be ssh.
> there is no reload interface in the web interface.
there is. Look for something along the lines of "advanced view" to show all the possibilities of the muzzle.
Well, in the latest versions of Netgear GUI it is similar.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question