Skip to main content

Configuring the D-Link DWL-G730AP


I recently got a D-Link travel router for travel use.  Here is a picture:



This router has three modes:  AP, Wireless Client, and Router. 

AP Mode:
Since I wanted it to act as my AP while on travel, I tried this mode.  It turns out that the AP mode does not do NAT at all.  It is actually more like a wireless switch.  It gives the router WLAN,  LAN (which is really kind of the WAN, since there is only one Ethernet port), and the wireless client (as in laptop) the same IP subnet.  Basically, my router was 192.168.0.1, my travel router was 192.168.0.30, and my wireless client was 192.168.0.101.   Since this provided no security at all, I rarely use this mode.  The only time I've actually used this mode is during Christmas, when I set up a network for the Christmas Tree.  I'll plug the lights into an iBoot device, which has a on/off switch that is accessible over Ethernet.  I'll set this up in AP mode so I'm on the same stand-alone Class C network, and log in with my iPhone and turn the lights on/off. 

Router Mode:
Unlike the AP mode, where D-Link recommends you configure via the Ethernet port, NOT wirelessly, you HAVE to configure the Router Mode wirelessly.  Strange, but true.  The LAN port in this case IS a WAN port, and only a WAN port.  You can't configure the router via the Ethernet cable.  This is the mode I use when I go to a hotel that has wired Internet. 

Client Mode:  This is a NAT'd mode, where I plug the router into the Ethernet jack of my laptop, and connect to a WiFi hotspot.  This is  used when I need NAT protection at an unsecure WiFi point.   This mode has a few "features" that sound more like bugs to me.  First, when you plug in a laptop to the ethernet port, you'd expect a DHCP address--it's the other way around.  The router expects an address from the WAN port, so you have to hard-code an address in your laptop (192.168.0.x... anything but 192.168.0.30).  Next, the wireless side tries to connect to the 'dlink' SSID, even if it isn't around.    So the process is,
1) if you were using Router or AP mode, reset the router to nuke those settings.  
2) set a static IP on your laptop to the 192.168.0.x range.  Leaving the gateway 0.0.0.0 is fine.
3) Log into the router and do a site survey to find the SSID you want to connect to, and connect to it.  
4)  Change the router password (or you can use the wizzard to do steps 3&4)
5)  You'll be connected.

The router handles WPA2 just fine.  The good thing is that even though the router asks for a passphrase, you can put in your hex WPA key there, and it still works fine with linux.   I configured it just like my home router, with the exception of passwords, so that I can just plug it in, and be on line without having to change a bunch of stuff (IP addresses, SSID, keys, etc).   It seems to work well so far.  At first I hated the thing because the configuration is not straightforward, but once I realized the AP and Router strangities mentioned above, it is something I'm fairly happy with. 

Comments

Post a Comment

Popular posts from this blog

2025 Tap And Map

 Tap And Map is back with new and improved installation instructions!   Here is an old video showing what TapAndMap is, for those who may not know: https://www.youtube.com/watch?v=gRfQzBjrhEE you'll notice that it's been a while since I've touched Tap And Map.   Because it's been so long since I built this, the old installation instructions would NEVER work to build it today (Feb 2025).   Plus, there was a Google Maps API bug that has troubled me all this time, as Google Maps would decide not to reload the page and I'd have to clear my history (lame).  Because my old code was built as an all-in-one method, so packets were sniffed, looked up, displayed, and logged, all in one large monolithic module, there was no easy means to troubleshoot.    So I've now decided to Sniff packets, lookup their IP information, and store the data in one script, and read that file, parse and publish html files in a separate module.  That allowed me to b...

HP c6180 Printer and Vista

Hp c6180 driver issues with Vista Home Premium My wife has a Vista Home Premium laptop, and the HP C6180 Photosmart printer keeps disappearing from her available printers.  The only way I've found to fix the problem is to reinstall all the HP software. When I do this, I have to download the (large..507M software from HP, or reinstall the printer (ONLY the printer, not the scanner) with the installation disk, as the drivers are not discovered with a "Windows Update" setting.  My guess is that is because HP doesn't like people to install only the printer driver, which would be easy, but they want folks to install all their crapware as well, so they are withholding the drivers from the on-line Microsoft printer database.  So keep your installation CD!  I've also found that unless I install everything on the CD or in the Full Version download (HP Customer Participation Program, HP Imaging Device functions, HP OCR SW, HP All-In-one SW, HP Photosm...

2026 Tap And Map: Build It From Scratch (Raspberry Pi + Leaflet + OpenStreetMap)

Tap And Map is a little Raspberry Pi box that watches the traffic going in and out of your home network, looks up where in the world each public address lives, and draws it live on a map: a line from your house to every place your network talks to, color-coded by protocol, with the dots growing as the traffic grows. It's a fun way to see what your devices are really doing. This is the 2026 rebuild . The original build is still in my 2025 Tap And Map post ; this post is a complete, from-scratch guide to the new version, so you don't need the old one. What changed: No Google Maps, no API key, no credit card. The map is now Leaflet with OpenStreetMap tiles. It runs itself. Two small systemd services start at boot and restart on their own. No more screen sessions or re-running scripts by hand. The map updates live in the browser (no page reloads, no stale cache), and has a Clear Map button. Saved maps : every day gets its own log, and a Saved maps page re-plots any...