NOTE: Much of this isn’t necessary now, because OpenWRT 8.09 now supports AR7. You can just grab the image to use from I’ve had this old D-Link DSL-502T sitting around, basically working. When I moved place just recently, I took the opportunity to look into getting OpenWRT installed on this thing, basically because I wanted something I could do DNS/DHCP serving on, while giving me some shell access. The D-Link firmware is kinda dodgy, and I always enjoy installing Linux onto something new. Chris Pascoe’s page is quite dated now, but was a good place to start. Much development has gone into OpenWRT and the AR7 platform, so much of his information is now incorrect. The best place for info is the OpenWRT wiki page for the DSL-502T.
Download direct: REV C. DSL-502T GenII D-Link Click'n Connect v1.03.zip (32.67 MB), Download. Submitting patches. Reporting bugs. Wiki contribution guide. OpenWrt Forum. About OpenWrt/LEDE. Trademark Policy. About this site. IP address to use, you can telnet to the devices IP address (using a DHCP client on laptop/whatever when plugged into the DSL-502T while it is turned on.
It’s much more comprehensive and many of the patches and hacks that Chris Pascoe needed to do have be rolled into the OpenWRT trunk. Much of this information has been copied and pasted from the above sites. Credits to both of them. Start by grabbing the SVN trunk of OpenWRT.
$ svn co Once this is done, you can grab any packages you’re interested in. Note that you can install these later using the opkg command once your firmware is running. I grabbed ntpclient, tcpdump, openvpn and the ddns-scripts.
Cd openwrt/trunk/package svn co svn co svn co svn co svn co Select firmware components Enter into the folder and run make menuconfig. Select at least:. Target System - TI AR7 2.6. Target Profile - No Wifi.
Target Images - SquashFS. Image configuration - LAN IP Address (not required, but makes it easier if you’re already running a network). Base system - br2684ctl (only needed by PPPoE). Network - ppp - ppp-mod-pppoa and/or ppp-mod-pppoe, depending on your ADSL type. Kernel Modules - Network Devices - select Annex A (which is ADSL over POTS.
B is for ADSL over ISDN) Make sure that you enable your packages from above in the config. Network - Time Synchronization - ntpclient Quit and save the config.
Get the build dependencies. For Ubuntu, you’ll need: sudo apt-get install flex bison autoconf zlib1g-dev libncurses5-dev automake g patch gawk Build your image by doing make -j3 (for a dual-core system) The final firmware produced by the build is located in bin/openwrt-ar7-squashfs.bin. Uploading the initial OpenWRT firmware. To upload the initial OpenWRT image, there is a tool called adam2flash. It can be found in the OpenWRT trunk, under the scripts directory.
To use it, you need to execute the script in the first second or so of the machine being turned on. It’s recommended that you don’t connect the modem directly to your computer, but use a switch in between. This is in case it takes too long for the ethernet cards to negotiate. One thing I had trouble with was finding out what the initial IP address of the device was.
Before you overwrite your firmware, you can find this out by using telnet. Enable the telnet remote management from the D-Link interface and then check out the ADAM2 environment variables. They should be stored in /proc/ticfg (from memory). If you’re lucky, you might see an entry starting with myipaddress. Mine was 10.1.1.199, but many others have mentioned 192.168.1.1. On my DSL-502T (Gen II), it haven’t found it’s IP yet. It wasn’t set in the file.
Lots more info about the ADAM2 bootloader can be found at the Seattle Wireless site. Here’s the steps:. Download a copy of the standard D-Link firmware so you can revert to it if things go wrong! You need the “web upgrade”.BIN version of the firmware, not the.EXE version. D-Link firmware can be downloaded from (for example). Configure your PC for a static IP address on the same subnet as your modem’s default IP address.
Choose an IP address for your modem. The OpenWrt firmware will use 192.168.1.1 after rebooting (unless you set it in the menuconfig), so that’s a sensible choice. Turn off the modem. Run adam2flash-502T.pl, providing the modem IP address you chose and the new firmware to upload. If you are changing between D-Link and OpenWrt firmware, you will also need to specify -setmtd1 (if you forget this, the script will tell you that you need it and exit). Turn on the modem. Wait for the upload to complete.
Here’s a sample session: $ scripts/adam2flash-502T.pl 192.168.1.1 -setmtd1 bin/openwrt-ar7-squashfs.bin Looking for device. ADAM2 version 0.22.2 at 192.168.1.1 (192.168.1.1) Firmware type: OpenWRT (little-endian) logging into ADAM2 bootloader. Checking hardware. AR7RD / DSL-502T. Checking MTD settings. Firmware size: 0x00280004 Available flash space: 0x003e0000 Preparing to flash. Erasing flash and establishing data connection (this may take a while): ok.
Writing firmware. Lots of dots. Rebooting device.
If you have trouble with this (as I did) you might need to hack the adam2flash-502T script a little. I commented out the whole section about doing the UDP probe part, and just passed the IP address right into the $box variable. Getting the LEDs to work Grab a copy of the ledsetup script found in the scripts directory of your SVN checkout. Install it into /etc/init.d and it should run on start-up. This will give you the ethernet light, and also map the USB light to ppp0. DSL Sync When I finally got my ADSL connected in the new place, I couldn’t get DSL sync. It seemed to be because I had the wrong modulation set.
When you boot the device, you should see something like this in your dmesg. Registered device TI Avalanche SAR Sangam detected requesting firmware image 'ar0700xx.bin' avsar firmware released tn7dslsetmodulation: Setting mode to 0xffff Creating new root folder avalanche in the proc for the driver stats Texas Instruments ATM driver: version:7.03.01.00 DSL in Sync The line about setting the mode to 0xffff is important. For me, my initial mode was being set to 0x7f (which wasn’t for ADSL2+).
The 0xffff mode means to negotiate the best speed (ADSL 1 or 2, 2+). This is set in the ADAM2 environment so if this needs to be changed, you’ll have to reboot your modem and use the onboard FTP server’s commands SETENV, UNSETENV, GETENV (all caps matter), by doing telnet to your modem’s default IP address on port 21. $ telnet 10.1.1.199 21 220 ADAM2 FTP Server ready. 530 Please login with USER and PASS. USER adam2 331 Password required for adam2. PASS adam2 230 User adam2 successfully logged in.
GETENV myipaddress 200 GETENV command successful myipaddress 10.1.1.199 GETENV modulation 200 GETENV command successful modulation 127 SETENV modulation,65535 200 SETENV command successful You can also set/reset your modem’s default IP address here with the variable myipaddress. Backing up and restoring your configuration changes OpenWRT saves your filesystem (effectively, configuration) changes in a JFFS filesystem mounted at /jffs. As this filesystem is dynamically sized based upon the size of your kernel and SquashFS, uploading a new firmware image may cause your configuration to be lost. You can back your changes up to a file on your local machine via ssh: ssh [email protected] tar cf - /etc/ dsl502t-backup.tar To restore a saved configuration, we reverse the direction of the transfer. The following command checks the configuration copied properly before deleting the old configuration: ssh [email protected] 'cat /tmp/.r.$$ && tar tf /tmp/.r.$$ && cd / && rm -rf etc/. && tar xf /tmp/.r.$$'.
Okay, I tried installing openwrt – kamikaze, not backfire, sourced from here – on my D-Link. I got the following back when I tried: $./adam2flash-502T.pl 192.168.1.1 -setmtd1 /Downloads/openwrt-ar7-squashfs.bin Looking for device: found! ADAM2 version 0.22.2 at 192.168.1.1 (192.168.1.1) Firmware type: OpenWRT (little-endian) logging into ADAM2 bootloader. Checking hardware. AR7RD / DSL-502T. Checking MTD settings.
MTD4 was not as expected (should be ‘0x90010000,0x903f0000’, was ‘0x90020000,0x903e0000’). Cowardly refusing to do anything about it! At./adam2flash-502T.pl line 270. Furthermore, it behaves strangely afterwards, requiring power to be cycled from the power point.
What’s going on, and how do I get it going?
Our software does everything that you need to forward a port. Environmental Parameters Min Operating Temperature. The basic process to open a port is: Phones by Shara Tibken Oct 25, Get a 4-terabyte USB 3. If you are forwarding a range of ports, usually separated by a hyphen, then you need to enter the lowest number of that range into the Port Start, Port Map box and then enter highest number into the Port End box. In farm country, forget broadband.
Uploader: Date Added: 6 December 2016 File Size: 11.75 Mb Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X Downloads: 30540 Price: Free.Free Regsitration Required Video Games by Lori Grunin 9 days ago. We also have the following related guides: Your router has a web interface, so you will login to it using your web browser. If your network is slow or acting weird, it’s possible someone is stealing your signal and maybe more. Dlink 50t routers include a very basic firewall that helps protect your home network form unwanted access from the internet.
We also have the following related guides. D-Link DSLT – router – DSL modem – desktop Overview – CNET Create a port forward entry. We also have the Internets largest collection of Router Screenshots. Networking by Aloysius Low Oct 4, Mobile lijk Morgan Little Oct 26, This ensures that your ports will remain open even after your device reboots. Line Properties Framing Format. Modem Max Transfer Rate. Setup a static IP address on either your computer or device that you want to forward a port to.
To test if your port has been properly forwarded, you can use our Network Utilities tool, which includes a free Open Port Checker. Networking by Shara Tibken Oct 22, Since this firewall blocks incoming connections you may need open a port through it for certain games dsll applications. The basic process to open a port is: The Western Digital Elements has rarely been this cheap.
Phones by Shara Tibken Oct 25, Intro Download Buy News Lin. Open up your web browser and find the address bar. It is important to setup a static ip address in the device that you are forwarding a port to.
502 This process of opening a port is frequently called a port forwardsince you are forwarding a port from the internet to your home network. Our software does everything that you need to forward a port. When you use Network Utilities you get your port forwarded right now! Easiest Way to Forward Ports on the D-Link DSL-502T Router If you are just forwarding a single port number then you can simply enter that same number into both the Port StartPort Map and the Port End boxes. Click the Advanced link. If you are forwarding a range of ports, usually separated by a hyphen, then you need to enter the lowest number of that range into the Port StartPort Map box and then enter highest number into the Port End box. Nvidia launches GeForce Now ‘recommended router’ program So you don’t have to muck around with the settings on your gaming router.
Storage by Rick Broida Nov 12, Why 5G is out of reach for more people than you think 5G promises to revolutionize mobile, but those super-fast speeds will be hard to get in rural America. Razer’s Sila gaming router packs all the perks in its trademark black box. Now that you have forwarded ports on the Dlink DSLT you should test to see if your ports are forwarded correctly.
Smart Home by Brian Bennett Dec 3, USB cable, network cable, phone cable.