📜 ⬆️ ⬇️

Connect to Yota from Linux

Good day. Today I will talk about how to connect a device running Linux to the Yota network. In my case, this is the Asus EEE 1003, with the EEEbuntu 3 Standart installed (which is a modified Ubuntu 9.04) on board. If your WiMax`a is responsible for the Intel `s chip (you can find out by running lspci) - this recipe will help you. Distribution does not play a special role.

We need source codes and kernel header files (in Ubunty, linux-source and linux-headers packages), as well as the contents of the linuxwimax.org website: WiMAX driver, i2400m firmware, WiMAX Network Service and Intel WiMAX Binary Supplicant.

Unpack the downloaded in / usr / src (or any other place, but in this case, follow the paths in the examples), then go to the installation process. First install the driver on the device:
')
$sudo su
#cd wimax-i2400m-1.4.1
#make
#sudo make install
#sudo depmod -a


Now copy the i2400m-fw-usb-1.4.sbcf file from the i2400m-fw archive to / lib / firmware. After the modprobe i2400m command (or after reboot) you should have the device / dev / wmx0. If it appeared - you are on the right track.

Now you need to put the control binding for the driver, but first install the libnl-dev package.

#cd WiMax-Network-Service-1.4.0
#./configure --prefix=/usr/ --with-i2400m=/usr/src/wimax-i2400m-1.4.1 --localstatedir=/var --enable-debug
#make
#make install


Next - put Supplicant. Everything is simple:

#./install_supplicant install

True, for some reason it went to me in / usr / local / lib, and not / usr / lib - corrected with pens (tritely copied).
And the last thing we need is to get Yota`v configs . They carefully laid out LJ-user icelord, for which many thanks to him. We transfer the received files (we don’t need the patch) to / usr / share / wimax /.

Well, that's all. Now a little about how to steer it all.

To start:
/usr/bin/wimaxd #
/usr/bin/wimaxcu ron # Wi-Max (Wi-Fi ).
/usr/bin/wimaxcu connect network 15 # Yota(15 - id Yota)


To stop (and switch to WiFi mode):

/usr/bin/wimaxcu roff

Miscellanea:
wimaxcu scan # Scan of available networks
wimaxcu info device # Get device information.
wimaxcu status link # Connection Information

And finally, a small hint: I struggled for a long time with the problem of a “blind” adapter (I knew that there was a network, but I did not see the system at close range) - I tried various methods, moved to another core, reassembled the driver - to no avail. The solution was to reset the adapter settings:

wimaxcu reset factory

After which the next scan of networks showed the presence of Yota.

Even connection and thank you for your attention.

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


All Articles