3
I have a D-link 2750u Modem and I want to disconnect/reconnect my PPPOE in order to obtain a new IP adress on demand using Telnet
My solution for now is just to remove the ADSL cable, and plug it in again but it's not practical
I tried a few commands like
ifconfig ppp0.1 down
ifconfig ppp0.1 up
But they are not working, the internet go down and won't come back until I reboot my modem
I think the OP wants to be able to switch his IP address on demand. – Nevin Williams – 2018-04-19T20:52:39.020
@nevin Williams, hmm I guess I mis-read part of it. "But they are not working, the internet go down and won't come back until I reboot my modem" is what made me think he is looking for a workaround for a larger underlying issue. – Tim_Stewart – 2018-04-19T21:03:25.307
He probably has to HUP or re-initialize
pppd
after the interface goes away, if it's a linux/unix-like OS.To add to your troubleshooting steps: Some finicky DSL/Cable/other network issues of no specific cause can often be put to rest by plugging the device directly into a wall socket, rather than a power strip or 6x wall expander. Network devices can have ground-loop hums much the same way and reason audio devices get them... except often more easily because of the phone/cable/ethernet connections, all which need good, direct ground/neutral power to correct. – Nevin Williams – 2018-04-20T01:45:22.707
Actually I found the solution, it was a simple "adsl connection --up" command that was enough for the PPPOE to reconnect – martin bayen – 2018-04-20T23:58:32.693
@martin bayen, If you found the solution. You should post it as an answer with as much detail as possible. That way other people with the same model modem will find in their searches. – Tim_Stewart – 2018-04-21T15:21:17.633