📜 ⬆️ ⬇️

Yota + eeebuntu

Yesterday I bought myself a Yota-modem. Two circumstances influenced - a reduction in the price of the Samsung dongle from 4500r to 1990r, and the fact that a colleague brought a newly acquired WiMAX laptop to work - and the boys tested the connection speed for a day instead of work :) It turned out that the network was completely caught. As a result, on the way home I drove into the store and bought an iota modem. Black - the color of my 901th. I couldn’t immediately get to make “mad software” ( madwimax ) - therefore I will describe below the sequence of actions that led me to success.

Everything described further was produced on a 20-gigabyte oriental Linux Linux ASUS Eee PC 901 with Eeebuntu 2.0 Base OS and a Samsung SWC-u200 USB modem.

0. First of all, I registered the purchased modem - good, I had 701 with MS WinXP on hand. Perhaps the registration would succeed from under Linux after installing the software - but just in case I tried to keep problems to a minimum.
')
1. Install the libusb-1.0 library (the link to the required version of the library can be seen at code.google.com/p/madwimax/wiki/MadWimax ). Having downloaded the sources, let's sample:
  $ ./configure
 ...

 $ make
 ...

 $ sudo make install 


2. Download and install madwimax - the same ./configure - make - sudo make install.

3. Here, perhaps, it would be possible to run compiled madwimax - but on my system the program gave an error:
  $ sudo ./madwimax
 ./madwimax: error while loading shared libraries: libusb-1.0.so.0 
I had to ask for advice from specialists.

4. Commanding
  $ ls -al / usr / local / lib
 total 376
 drwxr-xr-x 5 root root 4096 2009-05-19 23:51.
 drwxr-xr-x 11 root root 4096 2009-05-19 23:12 ..
 drwxrwsr-x 4 root staff 4096 2009-04-29 23:09 eclipse
 <strong> -rw-r - r-- 1 root root 193128 2009-05-19 23:51 libusb-1.0.a
 -rwxr-xr-x 1 root root 954 2009-05-19 23:51 libusb-1.0.la
 lrwxrwxrwx 1 root root 19 2009-05-19 23:51 libusb-1.0.so -> libusb-1.0.so.0.0.0
 lrwxrwxrwx 1 root root 19 2009-05-19 23:51 libusb-1.0.so.0 -> libusb-1.0.so.0.0.0
 -rwxr-xr-x 1 root root 153012 2009-05-19 23:51 libusb-1.0.so.0.0.0 </ strong>
 drwxr-xr-x 2 root root 4096 2009-05-19 23:51 pkgconfig
 drwxrwsr-x 3 root staff 4096 2008-10-30 01:53 python2.5 
And we see that the library is really installed in the right place.

5. Run the command
  ldd / usr / local / madwimax / sbin / madwimax
	 linux-gate.so.1 => (0xb7fc7000)
	 <strong> libusb-1.0.so.0 => not found </ strong>
	 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f83000)
	 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e24000)
	 /lib/ld-linux.so.2 (0xb7fad000) 
That's the problem!

6. View and edit the contents of the /etc/ld.so.conf file. For me it consisted of a single line:
  include /etc/ld.so.conf.d/*.conf 
On the advice of a specialist, I inserted another line before this line, the file began to look like this:
  / usr / local / lib
 include /etc/ld.so.conf.d/*.conf 

7. Let's command
  $ sudo ldconfig 
and make sure that the library has become visible madwimax'u:
  ldd / usr / local / madwimax / sbin / madwimax
	 linux-gate.so.1 => (0xb8008000)
	 <strong> libusb-1.0.so.0 => /usr/local/lib/libusb-1.0.so.0 (0xb7fd0000) </ strong>
	 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f83000)
	 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e24000)
         librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7e4f000)
	 /lib/ld-linux.so.2 (0xb7fad000) 
Done!

8. Connect the modem, run madwimax:
  $ sudo / usr / local / madwimax / sbin / madwimax 
and use the network!

PS: there is an already assembled installation package for madwimax under Ubuntu / Debian: peter.infosreda.com/ru/2009/03/23/ubuntu-deb-madwimax-0_1_0 . I have not used it yet, so I can’t say anything about it.

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


All Articles