WRT54G is a router. Each router has a LAN network. 192.168.1.2 is the router's IP from the WAN side. But the router creates a subnet which has to be different from that.

The router's internet connection (WAN) has to be set up in the router, prior to the installation and this won't change. 192.168.20.1 will be the routers sub network address. And this can also be modified later in the router's settings.

After you run the command, the router's LAN ports will be change to paid ports, so you have to log in to the hotspot first before you can access the router on 192.168.20.1