📜 ⬆️ ⬇️

Yota router or wimax2wifi in 15 minutes

Often there is a need to quickly or inexpensively connect your office to the Internet. For these purposes, the new Moscow-Petersburg wireless Internet provider, Yota, is perfectly suited, and some of us have successfully failed public testing.

Thanks to two people, Oleg, who made an alternative firmware with advanced features to the asus wl-500gp http://oleg.wl500g.info/ router, and Xander, who conducted reverse engineering and created a yota-modem driver under linux http://code.google. com / p / madwimax / , the opportunity to create a yota router http://wl500g.info/showthread.php?t=17005

UPD: These manipulations are no longer relevant. Firmware from Oleg the latest version supports Yota by default, setting in the web interface. The link is http://code.google.com/p/wl500g/ . by Paskal .
')
The modem activation procedure is a bit confusing and requires some preparatory work, which only wl-500 experts are familiar with. The purpose of this article is to simplify the process of activating up to three simple steps:
  1. preparatory,
  2. firmware change,
  3. run a modem activation script.


Preparatory


We will need:
  1. Cable with internet (needed for downloading packages by router)
  2. Unnecessary flash drive, which will now live in a router (there will be firewood on it)
  3. Yota modem
  4. Firmware from Oleg with oleg.wl500g.info/1.9.2.7-9/WL500gp-1.9.2.7-9.zip
  5. ASUS Firmware Restoration Application from the disk that came with the router
  6. Connect the USB flash drive to the bottom slot,
  7. Modem to the top
  8. WAN internet cable


Replacing firmware


  1. Hold and hold the reset button on the back of the modem
  2. De-energize for a few seconds
  3. Release the reset button after the power indicator flashes.
  4. Launch ASUS Firmware Restoration Application
  5. Choosing Oleg's unpacked firmware
  6. Click Upload (Download)


Yota modem activation


  1. Here the router will need the Internet. If the Internet requires manual settings - enter them through the web interface.
  2. After loading start-> execute-> telnet 192.168.1.1
  3. Login admin password admin
  4. Copy the code below to the clipboard
  5. Right-click in the window that appears to insert
  6. We are waiting for about 10-15 minutes depending on the speed of the flash drive and the Internet. At the end, the router will restart. After 10 seconds after loading, the blue light goes out and the connection indicator on the modem flashes.


umount /opt
umount /tmp/mnt/disc0_1

echo -e -nd\n1\nn\np\n1\n512\nw | fdisk /dev/scsi/host0/bus0/target0/lun0/part1 < /tmp/fdisk.cfg

mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1

mount -o sync,noatime,rw /dev/scsi/host0/bus0/target0/lun0/part1 /opt

cd /tmp
wget http://lvk.cs.msu.su/~lasaine/madwimax/wl500g/libusb-1.0-mipsel.tgz
wget http://lvk.cs.msu.su/~lasaine/madwimax/wl500g/madwimax-latest-mipsel.tgz
wget http://lvk.cs.msu.su/~lasaine/madwimax/wl500g/udhcpc-script.tgz
cd /
tar -xzf /tmp/libusb-1.0-mipsel.tgz
tar -xzf /tmp/madwimax-latest-mipsel.tgz
tar -xzf /tmp/udhcpc-script.tgz
rm /tmp/libusb-1.0-mipsel.tgz /tmp/madwimax-latest-mipsel.tgz /tmp/udhcpc-script.tgz

mkdir -p /usr/local/sbin/
echo "#!/bin/sh" > /usr/local/sbin/post-mount
echo "mount -o sync,noatime,rw /dev/scsi/host0/bus0/target0/lun0/part1 /opt" >> /usr/local/sbin/post-mount
echo "mount -o bind /tmp/mnt/disc0_1 /opt" >> /usr/local/sbin/post-mount
echo "insmod /lib/modules/tun.o" >> /usr/local/sbin/post-mount
echo "(while true; do /opt/sbin/madwimax -qof; sleep 10; done) &" >> /usr/local/sbin/post-mount
chmod +x /usr/local/sbin/post-mount

ipkg.sh update
ipkg.sh install ipkg-opt

flashfs save
flashfs commit
flashfs enable

reboot


Done! The router is connected to the network via Yota!

Source: https://habr.com/ru/post/53790/


All Articles