Using an old router as a wireless adapter is a great way to extend the life of your device and save money on buying new PC components. Model D-Link DIR-320, once popular for its reliability and USB port, is ideal for this task with the right software modification. The standard factory firmware often prevents the device from being used in client mode, so installing alternative software is a key step.
Owners of desktop computers often encounter the lack of a built-in Wi-Fi module, and built-in PCI cards can be expensive or difficult to install. USB adapter Based on the DIR-320, it solves signal reception issues where the motherboard's built-in antennas fail. Furthermore, the router's external antennas provide a significantly more stable connection than miniature antennas.
The conversion process requires careful attention, as it involves reflashing the device's firmware. Errors at this stage can render the equipment inoperable, but if you follow the instructions, the risk is minimal. You'll receive a universal tool for distributing internet or receiving a signal, which can be connected to any device with an Ethernet port.
Technical features of the DIR-320 model
Model D-Link DIR-320 It's built on a Broadcom chipset, making it extremely popular among enthusiasts and firmware developers. The USB 2.0 port allows for connecting external drives or 3G modems, but in our context, this port will be used for connecting to a computer via an Ethernet cable. The device's architecture allows it to be repurposed for various tasks, including operating in wireless bridge.
It's important to understand that the router's hardware is more powerful than most cheap USB dongles. It features a full-fledged high-gain antenna, which is critical for receiving weak signals in remote rooms. However, the standard functionality is limited, and operating in Client Mode requires upgrading the device's operating system to a more flexible one, such as OpenWrt or DD-WRT.
β οΈ Attention: Reflashing the firmware voids the manufacturer's warranty. Make sure you use a stable voltage and don't interrupt the power supply while writing data to the flash memory, otherwise the device may become bricked.
Firmware compatibility depends on the device's revision. Versions A1, N1, and others exist on the market, and the firmware from one may not be compatible with another. Before performing any actions, turn the router over and examine the sticker on the bottom of the case. This is where the exact model and revision are indicated, which determines the software selection.
Selecting and preparing firmware
To implement our plans, we will need an open source operating system. The leader in this segment is OpenWrt, which turns the router into a full-fledged Linux computer with network functions. An alternative could be DD-WRT, known for its user-friendly interface, but support for older models like the DIR-320 may be limited or require specific builds.
When searching for a suitable image, you should use official resources or trusted forums. It's crucial to find a version marked as stable (stable), not nightly (nightly build), to avoid bugs when running in client mode. The firmware file usually has the extension .bin or .trx.
Before downloading new software, it's recommended to perform a factory reset. This will clear any configuration conflicts. This can be done via the web interface or by holding down the button. Reset Press and hold the power button on the back panel for 10-15 seconds. After rebooting, the device will be ready to accept a new code.
Where to look for firmware?
The official OpenWrt repository contains compatibility tables. Search for your device by its exact model name. If there's no official build available, you can search the 4PDA forum or specialized DD-WRT threads, but always check user comments regarding stability.
The update process may take several minutes. During this time, the indicators on the device may flash erraticallyβthis is normal and indicates that memory sectors are being written. Interrupting the process, such as pulling the power cord, can be fatal to the device.
OpenWrt Installation Instructions
Installing an alternative OS is the most crucial step. If you already have the factory firmware, the process may look like a regular software update via the web interface. You need to go to the section System β Software Update (or similar depending on the interface version) and select the downloaded image file.
In some cases, especially for older revisions, using a TFTP server for the initial download may be necessary. This is a slightly more complex method, requiring setting up a static IP address on the computer and using the command line. However, for most users, a standard browser-based upgrade is sufficient.
βοΈ Checklist before flashing
After successful installation and reboot, the router will no longer be a "D-Link" in the traditional sense. It will receive a new IP address, usually 192.168.1.1, and will require you to set a password the first time you log in. Interface LuCI (OpenWrt graphical shell) will look different, but it is more functional.
β οΈ Attention: After installing OpenWrt, your device may not have internet access by default. You'll need to manually configure the WAN interface or use a computer for initial configuration via the LAN port.
Setting up Client Mode
Now that we have a flexible OS installed, we need to configure the device to receive Wi-Fi. In terminology OpenWrt This is called client mode. You need to go to the menu Network β WirelessThere you will see a list of available wireless interfaces.
Click the button Scanto find your primary network to connect to. Once found, select the desired network and click Join NetworkThe system will prompt you to create a new network device. In the device's settings, it's important to select the operating mode. Client, not Access Point.
Next comes the tab Wireless SecurityHere you need to enter the password for your primary Wi-Fi network. The encryption type is usually selected automatically (WPA2-PSK), but if the connection fails, check your security settings.
After saving the settings, the router will attempt to connect. The connection status can be checked in the same wireless network menu. If everything is set correctly, the device will receive an IP address from the main router and establish a connection.
Connecting to a computer and setting up a network
The DIR-320 now receives an over-the-air signal. To transmit internet to your computer, connect the router's LAN port (any of the yellow ones) to your PC's network card using an Ethernet cable. The computer should automatically receive an IP address via DHCP, which is now assigned by our modified router.
In your computer's network card settings, make sure that IP and DNS are set to obtain automatically. Ideally, the connection speed should be displayed as 100 Mbps (Full Duplex), as the DIR-320 port is FastEthernet. This is a hardware limitation that cannot be bypassed using software.
| Parameter | Default value | Recommended value | Note |
|---|---|---|---|
| Opening hours | Access Point | Client / Station | Key parameter |
| Router IP address | 192.168.1.1 | 192.168.1.2 (static) | To avoid conflicts |
| DHCP server | On | Disabled (if there is another one on the network) | Depends on the topology |
| Encryption | WPA2-PSK | WPA2-PSK (AES) | Maximum compatibility |
If the Internet does not appear, try updating the DHCP lease on the computer using the command ipconfig /renew in the Windows command line. It is also useful to check the logs in the OpenWrt interface (Status β System Log), where the reasons for connection refusal may be indicated, for example, an incorrect password.
Diagnostics and problem solving
A common issue is low speed. Keep in mind that the DIR-320 has a 100 Mbps port. Actual 802.11g/n Wi-Fi speeds on this device rarely exceed 40-50 Mbps due to its processor power and single-threaded operation. This is normal for this model.
If the connection is constantly dropping, check your power saving settings. Some firmware versions have options to turn off the radio when the load is low, which should be disabled. You should also try changing the wireless channel to a less busy one using Wi-Fi analyzers.
In case of complete loss of access to the web interface after setup, only Hard ResetPress and hold the reset button while turning on the device until the indicators flash rapidly. This will restore the network settings to factory defaults but will retain the installed firmware.
β οΈ Attention: Interfaces and menu item names may differ depending on the version of the OpenWrt firmware installed. The logic remains the same: Wireless -> Scan -> Join -> Security.
Advanced Features and Alternatives
Having installed OpenWrtWith a router, you get more than just an adapter. You can set up port forwarding, run a VPN client directly on the router, or set up a guest network. This turns an old device into a powerful networking tool. However, for simple tasks, this may be overkill.
If you simply need stability and don't want to mess around with Linux commands, consider ready-made USB adapters with an external antenna. They consume less power and are easier to install drivers on modern operating systems. However, the DIR-320 has the advantage in terms of signal reception due to its antenna size.
For those who want to go further, installation of packages through the interface is available System β SoftwareYou can add IPv6 support, improved firewalls, or even simple web servers. The only limitation is the device's RAM (usually 32 MB).
Can it be used as a repeater?
Yes, Repeater (WDS) mode is also available, but it requires support from the primary router. Client mode is universal and works with any Wi-Fi source.
Is it safe to use OpenWrt firmware for banking?
Yes, OpenWrt is safe to use. Encryption protocols (WPA2/WPA3) and routing operate at the Linux kernel level. However, it's important to keep the firmware up to date to patch security vulnerabilities that may exist in older versions of the software.
Will this work with an ISP that uses PPPoE?
Yes, in client mode, the DIR-320 transparently forwards PPPoE requests. You will need to configure the PPPoE connection either on the computer itself or in the OpenWrt interface if you want the router to authenticate automatically.
What is the maximum speed via cable?
The DIR-320's physical port is limited to the Fast Ethernet standard, meaning 100 Mbps. Even if Wi-Fi is capable of higher speeds (theoretically up to 300 Mbps in the N standard), a cable connection will limit the actual traffic speed to 90-95 Mbps.