Linux + WiMAX 1.5.1 ? new stack version released!

Вышел новый стек Wimax 1.5.1 для Linux:

– подчищен код
– поправлена проблема с IA64
– убраны лишние warnings при компиляции
– поддержка WPA Supplicant >= 0.7.x

From: 	Inaky Perez-Gonzalez  

Release v1.5.1 of the Intel WiMAX stack has been posted to the
linuxwimax.org website.

This release works with Kilmer Peak (Intel? Centrino? Advanced-N +
WiMAX 6250) and Echo Peak (Intel? WiMAX/WiFi Link 5350 and 5150). The
software here is not meant for commercial use and should be treated as
experimental. WiMAX based devices typically need to go through
rigorous carrier certification tests to be endorsed. Please contact
Intel [linux-wimax@intel.com] if you need an officially supported
WiMAX product.

This release features:

  - cleanups in the user space code

  - builds against most architectures

  - compilation warning cleanup

- WPA Supplicant >= 0.7.x support

Thank you to everyone who submitted cleanups and patches!


These instructions are largely the same as for release v1.5; the only
addition is configure parameters to the wimax-network-service package
(for convenience)

The set of dependencies for using are non trivial; please follow the
following steps for installing:

- firmware: devices (5x5x and 6x50) need to load a 1.5 firmware,
  available from the http://linuxwimax.org/Download page. Download and
  install:

  $ tar xf i2400m-fw-1.5.0.tar.bz2
  # As root
  $ install -o root -g root -m 0644 i2400m-fw-1.5.0/*.sbcf /lib/firmware

- Needed packages to build (in a Fedora Core 12 machine, as an
  example):

  $ yum install gcc make libnl-devel openssl-devel git-core \
       rpm-build glib2-devel

- drivers: compile and build a kernel from the latest WiMAX tree
  (master branch) as of 5/12/2010.

  The drivers in every kernel up to and including 2.6.34 need bug
  fixes in order to be able to operate with the 1.5 firmware. These
  bug fixes are being submitted to the upstream Linux kernel for
  2.6.35. Please clone the tip of the WiMax Linux tree
  git://git.kernel.org/pub/scm/linux/kernel/git/inaky/wimax.git and
  build your kernel from there.

  These instructions are quite VERY generic; for doing this, it is
  very recommended that you know what you are doing or you might toast
  your system:

  $ git clone
git://git.kernel.org/pub/scm/linux/kernel/git/inaky/wimax.git
  $ cd PATH/wimax.git
  $ cp /boot/config-$(uname -r) .config
  $ yes "" | make oldconfig
  $ make
  # Create a set of kernel headers suitable for compiling wimax-tools
  # and the wimax daemon into PATH/wimax.git/usr
  $ make headers_install

  Steps for installing the kernel vary from distribution to
  distribution, so they are not covered here.

- wimax-tools: version 1.4.3 is recommended

  $ tar xf wimax-tools-1.4.4.tar.gz
  $ cd wimax-tools-1.4.4
  $ ./configure --with-linux=PATH/wimax.git/usr
  $ make
  # as root
  $ make install

- open source supplicant: building the libeap.so library

  To build the open source supplicant, you need to patch
  wpa-supplicant and rebuild. Download wpa-supplicant 0.7.2 from
  http://hostap.epitest.fi/; download the patch from
  http://linuxwimax.org/Download. Patch it and recompile. You will
  need the OpenSSL development packages installed (openssl-devel or
  openssl-dev in most distros):

  $ tar xf wpa_supplicant-0.7.2.tar.gz
  $ cd wpa_supplicant-0.7.2
  $ patch -p1 < PATH/wpa_supplicant-0.7.2-generate-libeap-peer.patch
  $ make -C src/eap_peer
  # As root
  $ make -C src/eap_peer install
  $ ldconfig

- WiMAX network service

  $ tar xf wimax-1.5.1.tar.gz
  $ cd wimax-1.5.1
  $ ./configure --prefix=/usr --with-linux=PATH/wimax.git/usr \
      --with-libwimaxll=/usr/local \
      --sysconfdir=/etc \
      -localstatedir=/var
  $ make
  # As root
  $ make install

Once all is installed, usage is as before:

- boot into the right kernel

- start the daemon on an Intel WiMAX device:

  $ wimaxd -i wmx0

- scan for networks

  $ wimaxcu scan
  Network found.
  NSP : CLEAR
  ID : 2
Signal : Good
RSSI : -72 dBm
CINR : 13 dB
Network Type: Home Network
Activated

  If other networks you are expecting should show up, force a wide
  scan (this is a known glitch):

  $ wimaxcu-wpa_cd scan wide
  Changing Scan mode to Manual Scan mode
  WARNING: Wide scan may take upto 2 minutes...
  NSP : CLEAR
  ID : 2
  Signal : Very Good
  RSSI : -66 dBm
  CINR : 22 dB
  Network Type: Home Network
  Activated.
  NSP : Time Warner Cable 4G
  ID : 51
  Signal : Very Good
  RSSI : -66 dBm
  CINR : 22 dB
  Network Type: Home Network
  Activated.
  NSP : Comcast
  ID : 48
  Signal : Very Good
  RSSI : -66 dBm
  CINR : 22 dB
  Network Type: Home Network
  Activated.
  NSP : SPRINT
  ID : 47
  Signal : Very Good
  RSSI : -66 dBm
  CINR : 22 dB
  Network Type: Home Network
  Activated.

- Connect to a network

  For connecting to the Sprint network detected above, for example:

  $ wimaxcu connect network 47

- Disconnecting from the network

  $ wimaxcu dconnect

Note that the wimax daemon requires integration with your
distribution's method for obtaining DHCP addresses in order to
properly support power saving modes. See file
/usr/share/wimax/dhcp_renew.sh.

PS Wimax 1.5.1 файлы - https://icelord.net/wordpress/archives/3794

Linux + WiMAX 1.5.1 ? new stack version released!: 19 комментариев

  1. olegon

    Помогите, пожалуйста, бьюсь с субботы, уж несколько дистрибутивов сменил.
    Сейчас все нормально скомпилилось, 1.5.1, wpa 0.7.3., ядро 2.6.32-25-generic i686
    при запуске wimaxd ругается на отсустствие libwimaxll.so.1, которого действительно нигде нет. Мог и потереть, но что это и где должно быть?

  2. Sergey.K

    При сборке wimax-driver выдает следующую ошибку:

    firmware/ihex2fw.c:266: warning: ignoring return value of ?write?, declared with attribute warn_unused_result
    WARNING: modpost: Found 5 section mismatch(es).
    To see full details build your kernel with:
    ‘make CONFIG_DEBUG_SECTION_MISMATCH=y’
    arch/x86/boot/compressed/mkpiggy.c: In function ?main?:
    arch/x86/boot/compressed/mkpiggy.c:65: warning: ignoring return value of ?fread?, declared with attribute warn_unused_result
    Root device is (8, 2)
    Setup is 14956 bytes (padded to 15360 bytes).
    System is 4304 kB
    CRC 4bb6e53d
    ERROR: “st_get_plat_device” [drivers/staging/ti-st/st_drv.ko] undefined!
    WARNING: modpost: Found 59 section mismatch(es).
    To see full details build your kernel with:
    ‘make CONFIG_DEBUG_SECTION_MISMATCH=y’
    make[1]: *** [__modpost] Ошибка 1
    make: *** [modules] Ошибка 2

    Кому удалось собрать, поделитесь пожалуйста опытом, как обойти

      1. Sergey.K

        @icelord,
        Ubuntu 10.10 32bit:

        Linux sergey 2.6.35-22-generic-pae #34-Ubuntu SMP Sun Oct 10 11:03:48 UTC 2010 i686 GNU/Linux

        Попробую с опцией CONFIG_DEBUG_SECTION_MISMATCH, но я думаю кроме доп. отладочной информации по ошибке я этим ничего не получу.

        1. Alexey Kakunin

          @Smusich, Под ubuntu 10.10 64 but даже с патчами Paul Donohue не заработало. wimaxsu scan выдает Segmentation Fault – в syslog-е:
          Oct 24 00:31:54 akakunin-laptop kernel: [ 3146.726406] wimaxcu[28599]: segfault at 304d99e0 ip 00007f3e327083bf sp 00007f3e30cd9d90 error 4 in libpthread-2.12.1.so[7f3e32700000+18000]
          Oct 24 00:31:57 akakunin-laptop kernel: [ 3150.005560] wimaxcu[28605]: segfault at ffffffffad8829e0 ip 00007f69afab13bf sp 00007f69ae082d90 error 4 in libpthread-2.12.1.so[7f69afaa9000+18000]

          1. Олекса

            @Alexey Kakunin,
            Такая же проблема. Причем 1.4.1 собирается нормально. Интересно, что ему необходимо от libpthread?… Может кто-то решил уже проблему?

    1. Безруков

      @Smusich, Та же фигня. С патчами Paul Donohue компилируется, сеть видит, но не коннектится. Йота раньше была # 15, стала 21. Что бы это значило? Может быть в файле с настройками коннекта к йоте надо что-то менять? Менял 15 на 21, не помогло. Подскажите, кто нашел решение.

Добавить комментарий

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.