I'll be staying in a hotel for a while. The room has a wired ethernet connection. When I plug my netbook directly into this, I can surf the internet. However, I have a second computer with just an ethernet port, and I would like to have a private hard-wired LAN behind the WRT54G (hardware version 3) that I brought while still being able to access the internet.
I have dd-wrt (dd-wrt.v24_mini_wrt54g.bin) installed on the router. Configured with the most basic settings, I can access the router config page with my netbook, but I can't access the internet. These are the settings:
- WAN Connection Type: Automatic Configuration - DHCP
- Network Address Server Settings (DHCP): DHCP Server
- Start IP Address: 192.168.1.100
I read that some hotels associate the assigned IP to your MAC address upon initially connecting. Although I didn't see any kind of hotel "landing page" when I first plugged in my netbook, I did later attempt to clone the netbook's MAC address with the router and assign the netbook's IP to the router as a static IP address. However, my netbook still wasn't able to access the internet from behind the router with this configuration (although it could still access the router's configuration page). Here are screencaps of the WAN and LAN Configuration for this attempt:
There were a few fields that I wasn't sure what to put, including the Gateway address.
My netbook is running Ubuntu 10.10. It is configured for DHCP on eth0.
This private LAN configuration worked in my home. What could be different about the hotel that would cause it not to work?
In dd-wrt there is a menu option "Administration -> Commands" that allows you to type in stuff and click "Run Commands". I typed
ping -c 3 google.com and it refreshed the page after about 5 seconds with no output. When I typed
ping -c 3 188.8.131.52 (the IP address for Google), the output was:
PING 184.108.40.206 (220.127.116.11): 56 data bytes
For curiosity's sake, the output of
uname -r was:
I can also log in with telnet, but there is a limited command set available.