[[PageOutline]] = 9. GENI WiMAX Mobile Stations = == 9.1 Linux PC with Intel WiMAX Modem Card == === 9.1.1 Linux Laptop PC Platform === === 9.1.2 Intel 6250 WiMAX Modem Card === === 9.1.3 Installing Image === Samsung NC10 !NetBook[[BR]] The firmware, tools , network service and the patch were downloaded from [http://linuxwimax.org/Download LinuxWimax] 1. Compile a Linux Kernel to Version greater than 2.6.35 and reboot into that kernel.[[BR]] 2. Install the i2400m firmware[[BR]] Download the i2400 firmware 1.5.0 version.[[BR]] Untar the source , cd to the directory and [[BR]] {{{ install -o root -g root -m 0644 *.sbcf /lib/firmware }}} 3. Install the Wimax Tools[[BR]] First install libnl and libnl's development packages[[BR]] {{{ apt-get install libnl1 libnl-dev libglib2.0-0 libglib2.0-dev apt-get install build-essential pkg-config cd ~Download/wimax-tools-1.4.3 export I2400M=/lib/firmware/ ./configure make make install }}} 4. Build the libeap library[[BR]] To do that first install openssl libraries. [[BR]] {{{ apt-get install libglobus-openssl libglobus-openssl-dev libssl-dev }}} Download the Supplicant from [http://hostap.epitest.fi wpa-supplicant] Untar and unzip the download {{{ cd ~Downloads/wpa_supplicant-0.7.3 patch -p1 < PATH/wpa_supplicant-0.7.3-generate-libeap-peer.patch make -C src/eap_peer make -C src/eap_peer install ldconfig }}} Please do not forget to run '''ldconfig''' otherwise you will not be able to build the Wimax-Tools from Intel. 5. Build the Intel-Wimax-Tools Untar and unzip the downloaded source and cd ~Downloads/wimax-1.5.1[[BR]] Copy the [http://wimax.orbit-lab.org/downloads/NDnSAgentConfig_forDriver.xml NDnSAgentConfig_forDriver.xml] file to ./InfraStack/OSAgnostic/WiMax/Agents/NDnS/XML_Files or modify NSP_ID 51 in the file to look like [[BR]] {{{ 51 4451DB 1 AB ListFirst Strict ListFirst Strict AB 2590000 2590000 10000 ffffffffffffffffffffffffffffff 10000 1024 1 0 -1 -1 1 GENI -1 10 False EAP_TLS 13 13 www.geni.net False -1 False 0 http://wimax.orbit-lab.org GENI WiMAX Technical Support 1 http://www.geni.net GENI Portal }}} Update the .bin files source files located at ./InfraStack/OSAgnostic/Product/AppSrvInfra/ with the GENI files[[BR]] [http://wimax.orbit-lab.org/downloads/WiMAX_Def.bin GENI Definition File] [[BR]] [http://wimax.orbit-lab.org/downloads/WiMAX_DB.bin GENI Database File] Now configure the wimax service and install the service. {{{ ./configure --with-linux=/usr --with-libwimaxll=/usr --sysconfdir=/etc --localstatedir=/var --prefix=/usr --enable-instrument --with-wimax-db-bin=/var --with-ver-info-bin=/var make make install }}} This new configuration with the .bin enabled allows us now to modify the NDns parameters on the fly by modifying WiMAX_Def.bin and WiMAX_DB.bin files located in /var/lib/wimax directory. [[BR]] You can edit the file and restart the wimaxd service to see the changes. Connection and Scan Mode settings are set using the following commands[[BR]] {{{ wimaxcu connectmode connect manual wimaxcu connectmode scan semi }}} [[BR]] Instructions are Here === 9.1.4 Downloading Complete Image === Based on Ubuntu 10.04 with compiled Kernel .35 and the Intel WiMAX driver source compiled on 8/25/2010 and with the GENI configuration file; [http://wimax.orbit-lab.org/downloads/nc10-geni.ndz latest image] for NC10! === 9.1.5 Using the Service === 1. wimaxcu ron - Turn the Software Radio On [[BR]] 2. wimaxcu plist - Check to See Geni Profile is Available[[BR]] 3. wimaxcu scan wide - Scan all the available Base Stations [[BR]] 4. wimaxcu connect network Geni - Connect to the GENI wimax station [[BR]] 5. dhclient wmx0 - Obtain an IP address [[BR]] 6. wimaxcu -i wmxX -b - Start the wimax service in background [[BR]] 7. wimaxcu -i wmxX -k - Kill the wimax service == 9.1.6 Enable debugging on the client[[BR]] You can get enhanced debugging for the following parameters by increasing the verbosity level[[BR]] echo 3 > /sys/kernel/debug/wimax:wmx0/wimax_dl_stack [[BR]] echo 3 > /sys/kernel/debug/wimax:wmx0/wimax_dl_op_rfkill echo 3 > /sys/kernel/debug/wimax:wmx0/wimax_dl_op_reset echo 3 > /sys/kernel/debug/wimax:wmx0/wimax_dl_op_msg echo 3 > /sys/kernel/debug/wimax:wmx0/wimax_dl_id_table echo 3 > /sys/kernel/debug/wimax:wmx0/wimax_dl_debugfs == 9.2 Intel WiMAX Modem with USB Adaptor == === 9.2.1 Intel 6250 WiMAX Modem in USB Adaptor === === 9.2.2 PC Platforms === === 9.2.3 Installing Image ===