Yota + Eeebuntu

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

    Everything described below was performed on a 20-gigabyte orthodox Linux Eee PC 901 with Eeebuntu 2.0 Base OS and Samsung SWC-u200 USB-modem.

    0. First of all, I registered the purchased modem - fortunately, I had 701 with MSWinXP at hand. Perhaps the registration would have been successful from under Linux after installing the software - but just in case, I tried to minimize problems.

    1. Install the libusb-1.0 library (a link to the required version of the library can be seen at code.google.com/p/madwimax/wiki/MadWimax ). After downloading the sources, we will compile:
    $ ./configure
    $ make
    $ sudo make install

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

    3. Here, perhaps, one could run the compiled madwimax - but on my system the program gave an error:
    $ sudo ./madwimax
    ./madwimax: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
    I had to ask for advice from experts.

    4. We command
    $ 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
    -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
    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 has really set itself in the right place.

    5. Run the command
    ldd / usr / local / madwimax / sbin / madwimax
    	linux-gate.so.1 => (0xb7fc7000)
    	libusb-1.0.so.0 => not found
    	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. Let's look 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. We will command
    $ sudo ldconfig
    and make sure that the library is visible to madwimax:
    ldd / usr / local / madwimax / sbin / madwimax
    	linux-gate.so.1 => (0xb8008000)
    	libusb-1.0.so.0 => /usr/local/lib/libusb-1.0.so.0 (0xb7fd0000)
    	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)

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

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

    Also popular now: