aquaballoon

Wimax Install

May 24th, 2012
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.69 KB | None | 0 0
  1. # check the device
  2. lsusb
  3. # You should see Bus 00X Device 00X: ID 1076:7f00 GCT Semiconductor, Inc.
  4.  
  5. #Install Dependencies
  6. sudo apt-get update
  7. sudo apt-get install zlib1g-dev libssl-dev patch libusb-1.0-0-dev libdbus-1-dev
  8.  
  9. # Create a Working Directory & Download the files you need, WiMAX, WPA_Supplicant, PATCH
  10. mkdir ~/Wimax
  11. cd Wimax
  12. wget http://gctwimax.googlecode.com/files/wpa_supplicant-0.7.2-generate-libeap-peer.patch
  13. wget http://gctwimax.googlecode.com/files/gctwimax-0.0.3rc4.tar.gz
  14. wget http://gctwimax.googlecode.com/files/gctwimax-0.0.3rc4_libusb_context_fix.patch
  15. wget http://hostap.epitest.fi/releases/wpa_supplicant-0.7.3.tar.gz
  16. wget http://cgit.freedesktop.org/dbus/dbus/plain/dbus/dbus-arch-deps.h.in?h=dbus-1.0-branch
  17.  
  18. #fix DBUS missing file
  19. sudo cp dbus-arch-deps.h.in\?h\=dbus-1.0-branch /usr/include/dbus-1.0/dbus/dbus-arch-deps.h
  20.  
  21. #Extract patch and build the WPA supplicant
  22. tar xf wpa_supplicant-0.7.3.tar.gz
  23. cd wpa_supplicant-0.7.3
  24. patch -p1 < ~/Wimax/wpa_supplicant-0.7.2-generate-libeap-peer.patch
  25. make -C src/eap_peer
  26. sudo make -C src/eap_peer install
  27. sudo ldconfig
  28.  
  29. #Extract patch and build the gctwimax driver
  30. cd ~/Wimax
  31. tar xf gctwimax-0.0.3rc4.tar.gz
  32. cd gctwimax-0.0.3rc4
  33. patch -p1 < ~/Wimax/gctwimax-0.0.3rc4_libusb_context_fix.patch
  34. # to make without dbus uncomment the next line remove the CFLAGS option
  35. make CFLAGS=-DWITH_DBUS, or
  36. make
  37. sudo make install
  38.  
  39. sudo gedit /usr/share/gctwimax/gctwimax.conf
  40. use_nv=0
  41. ?anonymous_identity="<email address hidden>"
  42. identity="XXXXX"
  43. password="XXXXX"
  44. certnv=0
  45.  
  46. #test your login (normal and daemon mode)
  47. sudo gctwimax -C /usr/share/gctwimax/gctwimax.conf
  48. sudo gctwimax -C /usr/share/gctwimax/gctwimax.conf -d
Advertisement
Add Comment
Please, Sign In to add comment