[[PageOutline]] = 12. GENI WiMAX Mobile Stations = == 12.1 Linux PC with Intel WiMAX Modem Card == === 12.1.1 Linux Laptop PC Platform === === 12.1.2 Intel 6250 WiMAX Modem Card === === 12.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 === 12.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! === 12.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 === 12.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 == 12.2 Intel WiMAX Modem with USB Adaptor == === 12.2.1 Intel 6250 WiMAX Modem in USB Adaptor === === 12.2.2 PC Platforms === === 12.2.3 Installing Image === === 12.2.4 Manufacturing USB Adaptor === ==== General Info ==== The WiMAX model USB adaptor is an 'open source' WINLAB designed board. This section provides links to the instructions and the files necessary to produce the board.[[BR]] Please note that the instructions and files provided meet the specifications and requirements set by [http://www.4pcb.com/ Advanced Circuits]. If using another vendor please be aware that the tolerances may be different. ==== Files Needed ==== The following files are needed to make the board and attached to this page. Additionally the schematic is also provided as a reference. * USB_mPCIx_Board.zip - These files describe the physical board. All fabrication houses should accept the gerber file format. * USB_MPCIX.TOP & USB_MPCIX.BOT - Top and Bottom copper gerber files, respectively. * USB_MPCIX.SMT & USB_MPCIX.SMB - Top and bottom soldermask gerber files, respectively. * USB_MPCIX.SST - Top silkscreen gerber file. * USB_MPCIX_thruhole.tap - Drill list gerber file. * USB_mPCIx_Pop.zip - These files describe the position of the components. * USB_MPCIX.AST - Assembly drawing of the board * USB_MPCIX.SPT - Top solderpaste gerber file, there is only components on the top side. * USB_MPCIX_BOM.xls - Bill of materials, provides links and vendors for parts being used. * USB_MPCIX_INSERT.TXT - mounting locations for the components on the board. ==== Fabrication and Population ==== The following set of instructions is specific to the production house WINLAB uses, [http://www.4pcb.com/ Advanced Circuits]. Other manufacturer may require additional information, however the process should be similar. [[BR]] To have a board made the fabricated you must provide 'USB_mPCIx_Board.zip' as it contains all the physical board information. Typically this can be sent directly to a sales representative for quoting. If you intend for the boards to be populated, some manufacturers (definitely Advanced Circuits) require minimum quantities and dimensions, so you may request for the board to be panelized to meet those conditions. WINLAB had them produced 4 boards to a panel to meet Advanced Circuit requirements. Some additional information that might be required is as follows: * Material Type: FR4 * Material Thickness: 0.031" * Number of Layers: 2 * First Dimension: 1.428" * Second Dimension: 2.668" * Finish Plating: LFSOLDER * First Array Dimension: 3.356" * Second Array Dimension: 5.836" * Array Up: 4 * Copper Outers: 1oz * Copper Inners: 0 oz * Smallest Hole Size: 0.012" * Top SMD Pads: 85 * Bottom SMD Pads: 0 * SMD Pitch: 0.025" * Solder Mask Sides: Both * Solder Mask Type: LPI * Solder Mask Color: Green * Silkscreen Sides: Top * Silkscreen Color: White * CNC Route Points: 4 * Trace width/Space: 0.007" * Tab Route: No * Scoring: Yes * Gold Fingers: None * Plated Slots: No * Plated Edges: No * Counter Sinks: No * Counter Bores: No * Dielectric: No * Impedance: No * ITAR: No