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.
- 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
-
v51
|
v52
|
|
378 | 378 | == 12.4 Installing the Beceem Driver for Linux-Airspan BS Compatibility == |
379 | 379 | |
380 | | Commands to be run as the root user have the '#' prompt, commands to be run as a normal user have the '$' prompt. |
| 380 | Commands to be run as the root user have the `#` prompt, commands to be run as a normal user have the `$` prompt. |
381 | 381 | |
382 | 382 | === 1. Install Linux === |
… |
… |
|
388 | 388 | }}} |
389 | 389 | |
390 | | This method was complete successfully on Ubuntu 11.10. |
| 390 | The following steps were completed successfully on Ubuntu 11.10 and Ubuntu 12.04. |
391 | 391 | |
392 | 392 | === 2. Resources === |
… |
… |
|
394 | 394 | A 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. |
395 | 395 | |
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. |
| 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 (~150 MB) and may take a few minutes or more to download. |
397 | 397 | |
398 | 398 | It will be assumed that these files were downloaded to the ~/Downloads/ directory for the remainder of the guide. Extract the files: |
… |
… |
|
403 | 403 | }}} |
404 | 404 | |
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 |
| 405 | The 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 |
410 | 409 | }}} |
411 | 410 | |
… |
… |
|
421 | 420 | $ make -C src/eap_peer |
422 | 421 | # make -C src/eap_peer install |
423 | | # ldconfig |
424 | 422 | }}} |
425 | 423 | |
… |
… |
|
431 | 429 | |
432 | 430 | {{{ |
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 |
440 | 434 | }}} |
441 | 435 | |
… |
… |
|
448 | 442 | {{{ |
449 | 443 | $ 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 |
451 | 445 | $ cd Sprint4GDeveloperPack-1.6.1.2.2 |
452 | 446 | # ./install.sh |
453 | 447 | }}} |
454 | 448 | |
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. |
| 449 | The installer will prompt for various file paths, if the symlink was created in the previous step then the default choices should be correct. |
456 | 450 | |
457 | 451 | After the install finishes run the following commands to add the new driver to the startup modules, and verify success: |
458 | 452 | |
459 | 453 | {{{ |
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 | |
| 458 | The last command should output a line that includes "Initialised usbbcm" upon a successful kernel install. |
| 459 | |
| 460 | On 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 |
471 | 464 | }}} |
472 | 465 | |