Internet access for everyone at Etap hotel

If you are at the Etap hotel and you get “Error: The maximum number of subscribers has been reached” just find someone with Internet access that can route you and make him type this as root:

echo 1 >> /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -j MASQUERADE

Then you should type (as root):

route del default gw 10.71.0.1
route add default gw route add default gw $IP_WITH_INET_ACCESS

Tip kindly provided by em :).

2 thoughts on “Internet access for everyone at Etap hotel

  1. Your ‘route add default gw’ command has some repeated words some repeated words. (It’s also the first time I see someone appending /proc/sys/net/ipv4/ip_forward, usually it’s ‘echo 1 > …’ with a single >)

    There’s an alternative command for both deleting and adding the default route, that I think is simpler:

    ip route replace default via $IP_WITH_INET_ACCESS

    Like

  2. Ciao,

    this option is really usefull and I didn’t guess why nobody put a simple check box in the main network-config dialog box to enable/disable the masquerading feature. Yes, I am thinking about Ubuntu ;D

    Like

Comments are closed.