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?
NEW EDIT
Ping results:
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 173.194.36.104 (the IP address for Google), the output was:
PING 173.194.36.104 (173.194.36.104): 56 data bytes
For curiosity's sake, the output of uname -r was:
2.4.37
I can also log in with telnet, but there is a limited command set available.
WAN Connection Type: Automatic Configuration - DHCP, but the image shows the WAN config being set to static. Either set WAN to Auto/DHCP or instead connect your laptop, jot down the IP & gateway it gets allocated and then use them directly with static settings. The gateway is important, because it's where the router sends requests that it gets that are not on it's local network (ie, anything on the internet). – DMA57361♦ Nov 25 '10 at 16:16ifconfigcommand on my Ubuntu netbook does not list a value for "gateway". – kostmo Nov 25 '10 at 16:31route -n, the "gateway" value quoted on the line starting0.0.0.0is probably the gateway assigned via DHCP which you could try on a static setting (note: I'm not much of a Linux user, so this is from Google - but it does work when I tested it on my virtual machine install of Ubuntu). – DMA57361♦ Nov 25 '10 at 19:45