
Many of you have heard about Yota and WiMAX.
In this article I want to summarize the information on setting up Neotovsky routers so that they distribute WiMAX over WiFi and Ethernet.
I will also consider similar solutions for this.')
Introduction
If you already know what Yota is, skip this part. If not, then I will briefly tell.
WiMAX is a technology that provides high-speed Internet access - up to 10 Mbit / s, at any time, anywhere in the coverage area and supports the connection even while moving, at speeds up to 120 km / h.
Yota is the first mobile WiMAX network in Russia. It is deployed in Moscow, St. Petersburg and Ufa, in the regions where more than 20 million people live. The network operates under the IEEE 802.16e-2005 standard in the frequency range 2.5-2.7 GHz. (
see coverage map )
To access the network using several different devices. We will focus on the Samsung U200 modem. Actually, to connect to the Internet, you only need to plug this modem into the USB port of the computer. (more on
yota.ru )
But what to do if you need to connect to the Internet not one computer, but several? You can buy a modem for each computer, but it is expensive. And you can buy a special router that will “distribute” the Internet to any number of computers either via Wi-Fi or via an ordinary network.
I suggest you make such a router.
0. Hike to the store
To set up you need:
1) Router
- ASUS WL-500G Premium V1 & V2 (in St. Petersburg I know where it costs 3148 rubles)
- DLINK DIR-320 (1800 rubles. For addresses - in a personal)
The difference between them is in the classroom. Asus is a more reliable router (in terms of hardware; they are identical in software).
2) Yota modem
There is no choice, we need
- Samsung U200 modem (1990 rubles in any CCC)
3) Desire and ability to do everything according to the instructions.
1.A) Configuring a Wl-500Gp router

1) Update the router to the firmware from Oleg (http://oleg.wl500g.info/1.9.2.7-10/)
2) Connect the router to the wired internet, as if for normal work. Connect the modem to the USB port.
3) Go to telnet 192.168.1.1; login password: default admin-admin
4) Execute the following commands:
The teams are here , because habrahabr does not allow them to be placed correctly.
5) Everything should work - the light on the modem should light up in blue if it is connected to the network.
1.B) Setting up the router DLINK-320

Original instructions:
seculab.ru/dlink-320Based on the instruction description of installing the firmware from the forum wl500g.info, described here, as well as setting up the driver madwimax, described here.
The wl500g firmware has been added:
- to the directory / usr / sbin file madwimax with a modem driver from Yota Samsung SWC-U200.
- in the / lib directory files libusb-1.0.so.0 and librt.so.0
- to the directory / usr / sbin archive madwimax-scripts.tgz with scripts from madwimax. Honestly, I did not think of where they can still be shoved into the firmware, so as not to download from the Internet.
The madwimax driver has been recompiled in order to:
- use the library /lib/ld-uClibs.so.0 already in the firmware instead of being installed in /opt/usr/lib/ld-uClibc.so.0
- hard write the path to the script “events.sh” /opt/etc/madwimax/events.sh (the default path is relative to madwimax)
Download archive with firmware
dlink-320-madwimax-yota.rar . The firmware is based on:
- Firmware from Oleg, ily, theMiron: wl500g-1.9.2.7-d-r285
- WiMax driver: madwimax-0.1.0-r160
Connect the network cable to dlink dir-320 and computer. We register the IP address 192.168.0.2, the mask 255.255.255.0 and the gateway 192.168.0.1. Do not enable address auto-retrieval, since then the computer simply does not have time to catch the moment of working out the bootloader in dlink and fill in the firmware.
Unpack the archive, run flashing.cmd and connect the router to power. If you are lucky, then you will get at the moment when the bootloader is “waiting” for the team. If you are not lucky, reconnect the power to dlink. In case of successful testing, ping will stop running and something like this will be written:
*** Start Flashing ***
: 3592480 11 cs, 281134 /
After the status indicator lights up (~ 1-2 minutes), we reset the default settings of the router. To do this, turn off the power of the router, press the reset button and without releasing it, turn on the power. After 5 seconds, release the button. After that, you can change the IP address of the computer's network card to get the address automatically via DHCP.
We stick the modem into the router.
We go telnet 192.168.1.1 to the router (login and default password is admin) and enter the following commands:
# ,
mkdir /tmp/local/opt
mount /tmp/local/opt /opt
# var,
mkdir /opt/var
mkdir /opt/var/run
# /tmp madwimax'
cp /usr/sbin/madwimax-scripts.tgz /tmp/madwimax-scripts.tgz
cd /
tar -xzf /tmp/madwimax-scripts.tgz
rm /tmp/madwimax-scripts.tgz
#
mkdir /usr/local/sbin
# post-boot
echo "#!/bin/sh" > /usr/local/sbin/post-boot
echo "mount /tmp/local/opt /opt" >> /usr/local/sbin/post-boot
echo "insmod tun.o" >> /usr/local/sbin/post-boot
echo "(while true; do /usr/sbin/madwimax -qof ; sleep 10; done )&" >> /usr/local/sbin/post-boot
#
chmod +x /usr/local/sbin/*
#
echo "/usr/local/sbin/post-boot" > /usr/local/.files
#
flashfs save
flashfs commit
flashfs enable
reboot
* This source code was highlighted with Source Code Highlighter .
Everything. The modem, if successful, should light up in blue (a little pet)
1.B) Recommendation
I recommend to take the modem to the USB-wire:
- WiMAX and WiFi frequencies do not interfere with each other. (There were cases when the speed was 4 times less without an extension cord)
- you can quickly take it with you (you should pull out the modem after disconnecting the router from the network).
2) Similar solutions
Consider similar solutions.
- The official router from Yota (costs 10,000 rubles, the subscription fee is 2,700, only for legal entities; it has two RJ-11 outputs for sip) - details on
yota.ru- You can plug the modem into the computer, and configure it (the computer) as a proxy server. Cons - constantly keep the computer working; ...
- The company Draytek announced a new firmware for the router Draytek 2910 VG (about 7,000 rubles). The uniqueness of the router is the ability to work with two WANs. When using their official firmware, the modem “occupies” the WAN port, and you can connect another one, and use Yota as a backup use (or vice versa) Read more -
draytek.livejournal.com- as I understand it, it is possible to configure any router from Asus with USB. How do I know that yes how - wait for instructions.
- buy the same routers, but already configured for almost double the price in
wi ........... re.ru (for reference - in a personal)
3) Ready solutions
- for the internet in the office (cheaper)
- for the Internet at home (in case of moving, immediately connect to the network, simply sticking the router into 220. It’s the same with the office)
- owners of cafes and restaurants (services for visitors. Before selling it, I recommend to examine the contract with Yota)
- backup channel
- mobile office (install it in the car and use wi-fi. It is also suitable, for example, for a taxi or official delivery vehicles. Like
this )
Thanks for attention. Successful setup and work!
PS Post published July 21, 2009. If you read it later, and you have any questions, write me an email:
