Using the Yota driver under Linux
Since the beginning of the beta testing of the Yota network and to date, the only officially supported OS is Windows. You can get around this obstacle using VirtualBox or VMware, but in this article you will find guidance on using a more economical option - the madwimax driver .
First of all, install the libusb-1.0 library, dhcpcd and the atd scheduler on the system. Make sure the latter is running as a service. If you want to use another DHCP client, change the last line of wimax.sh.
It is understood that all manipulations are performed from under root in his home directory: Next, the most interesting is how to make the Internet work when you connect the device without additional effort. To do this, you need to create a couple of files. /root/wimax/wimax.sh:
/etc/udev/rules.d/99-madwimax.rules: Now after connecting the device, a connection will be established within a minute. Repeated connections are not provided, so in case of disconnect just drag the device. As far as I know, the driver continues to be actively developed, and most likely these instructions will be useless for future versions, but they work "here and now." PS I wrote this post in the sandbox, do not judge strictly.
First of all, install the libusb-1.0 library, dhcpcd and the atd scheduler on the system. Make sure the latter is running as a service. If you want to use another DHCP client, change the last line of wimax.sh.
It is understood that all manipulations are performed from under root in his home directory: Next, the most interesting is how to make the Internet work when you connect the device without additional effort. To do this, you need to create a couple of files. /root/wimax/wimax.sh:
wget madwimax.googlecode.com/files/madwimax-0.0.2.tar.gz # Скачиваем исходный код
tar -xzf madwimax-0.0.2.tar.gz # Распаковываем
mv madwimax-0.0.2 wimax
make -C wimax # Компилируем#!/bin/sh
/root/wimax/wimax -qd
sleep 10
ip l set dev tap0 mtu 1386
dhcpcd -q --noipv4ll tap0 &> /dev/null/etc/udev/rules.d/99-madwimax.rules: Now after connecting the device, a connection will be established within a minute. Repeated connections are not provided, so in case of disconnect just drag the device. As far as I know, the driver continues to be actively developed, and most likely these instructions will be useless for future versions, but they work "here and now." PS I wrote this post in the sandbox, do not judge strictly.
# udev rules file for madwimax supported devices
SUBSYSTEM!="usb|usb_device", GOTO="madwimax_rules_end"
ACTION!="add", GOTO="madwimax_rules_end"
ATTRS{idVendor}=="04e9", ATTRS{idProduct}=="6761", ATTR{bInterfaceNumber}=="01", RUN+="/bin/sh -c '/bin/echo -n $kernel > /sys/$devpath/driver/unbind'"
ATTRS{idVendor}=="04e9", ATTRS{idProduct}=="6761", ATTR{bInterfaceNumber}=="00", RUN+="/usr/bin/at -f /root/wimax/wimax.sh +1minute"
LABEL="madwimax_rules_end"