That will be hard to do since everyone uses the internet for almost everything. Like work and school and such. If you're really addicted and you know you are, I suggest professional help or just help yourself by keeping yourself busy and focus on other things around you.
Also everyone has mobile and I know the most have internet in ther mobile so yeah.
True that to really stop gambling you need to be busy from something else.
For me, whenever I have the urge that I wanna keep betting, I take a walk outside and just keep walking to clear my head with some music on. That helps me a lot.