close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 51 and Version 52 of Old/WiMAX/30


Ignore:
Timestamp:
Aug 16, 2013, 1:05:29 AM (11 years ago)
Author:
davide
Comment:

Updated Beceem driver installation procedure for Ubuntu 12.04

Legend:

Unmodified
Added
Removed
Modified
  • Old/WiMAX/30

    v51 v52  
    378378== 12.4 Installing the Beceem Driver for Linux-Airspan BS Compatibility ==
    379379
    380 Commands to be run as the root user have the '#' prompt, commands to be run as a normal user have the '$' prompt.
     380Commands to be run as the root user have the `#` prompt, commands to be run as a normal user have the `$` prompt.
    381381
    382382=== 1. Install Linux ===
     
    388388}}}
    389389
    390 This method was complete successfully on Ubuntu 11.10.
     390The following steps were completed successfully on Ubuntu 11.10 and Ubuntu 12.04.
    391391
    392392=== 2. Resources ===
     
    394394A WiMAX dongle with a Beceem chipset is required to use the driver to connect to a WiMAX network. An AWB US211 USB adapter was used when testing the netbook configured using this guide, although any dongle with a Beceem chipset should work.
    395395
    396 Files in the following tarball are required to install the driver: http://wimax.orbit-lab.org/downloads/BeceemSource.tar.gz . The tarball is quite large (100s of MB) and may take a few minutes or more to download.
     396Files in the following tarball are required to install the driver: http://wimax.orbit-lab.org/downloads/BeceemSource.tar.gz . The tarball is quite large (~150 MB) and may take a few minutes or more to download.
    397397
    398398It will be assumed that these files were downloaded to the ~/Downloads/ directory for the remainder of the guide. Extract the files:
     
    403403}}}
    404404
    405 The following packages should be installed using apt-get:
    406 
    407 {{{
    408 # apt-get install libglobus-openssl libglobus-openssl-dev libssl-dev  #Required to install libeap library
    409 # apt-get install linux-source linux-headers-$(uname -r) openssl unzip patch  #Required to install driver
     405The following packages must be installed via apt-get:
     406
     407{{{
     408# apt-get install libssl-dev linux-headers-$(uname -r) linux-source make patch unzip
    410409}}}
    411410
     
    421420$ make -C src/eap_peer
    422421# make -C src/eap_peer install
    423 # ldconfig
    424422}}}
    425423
     
    431429
    432430{{{
    433 $ cd /usr/src
    434 $ tar -xjvf linux-source-X.X.X.tar.bz2  #Where the kernel version number takes the place of X.X.X
    435 $ cd linux-source-X.X.X
    436 # make oldconfig
    437 # make prepare
    438 # make modules_prepare
    439 $ ln -s linux-sources-X.X.X linux
     431# cd /usr/src
     432# tar -xjf linux-source-X.Y.Z.tar.bz2  # where the kernel version number takes the place of X.Y.Z
     433# ln -s linux-sources-X.Y.Z linux
    440434}}}
    441435
     
    448442{{{
    449443$ cd ~/Downloads/BeceemSource/
    450 $ tar -xzvf Sprint4GDeveloperPack-1.6.1.2.2.tar.gz
     444$ tar -xzf Sprint4GDeveloperPack-1.6.1.2.2.tar.gz
    451445$ cd Sprint4GDeveloperPack-1.6.1.2.2
    452446# ./install.sh
    453447}}}
    454448
    455 The installer will prompt for various file paths, if the symlink was created in the last step then the default options should be correct.
     449The installer will prompt for various file paths, if the symlink was created in the previous step then the default choices should be correct.
    456450
    457451After the install finishes run the following commands to add the new driver to the startup modules, and verify success:
    458452
    459453{{{
    460 # insmod drxvi314.ko
    461 # dmesg -c
    462 }}}
    463 
    464 The dmesg command should output a line that includes "Initialized usbbcm" upon a successful kernel install.
    465 
    466 
    467 On some recent kernels, you will need to blacklist the {{{bcm_wimax}}} driver to prevent it from claiming the device. Run
    468 
    469 {{{
    470 echo "blacklist bcm_wimax" > /etc/modprobe.d/blacklist-bcm-wimax.conf
     454# modprobe drxvi314
     455# dmesg | grep usbbcm
     456}}}
     457
     458The last command should output a line that includes "Initialised usbbcm" upon a successful kernel install.
     459
     460On some recent kernels, you will need to blacklist the `bcm_wimax` driver to prevent it from claiming the device. Run
     461
     462{{{
     463# echo "blacklist bcm_wimax" > /etc/modprobe.d/blacklist-bcm-wimax.conf
    471464}}}
    472465