Wireless-Devices:WRAP-Board: Difference between revisions

From
Jump to navigation Jump to search
(howto enable USB in the Bios)
 
(52 intermediate revisions by 4 users not shown)
Line 2: Line 2:
Daughterboard: USB Extension<br/>
Daughterboard: USB Extension<br/>
Enclosure: WRAP-BOX-2A1E<br/>
Enclosure: WRAP-BOX-2A1E<br/>
Wireless Card: Wistron CM9<br/>
Wireless Card: Routerboard (10.12.x.x IPs), Wistron CM9 (10.86.x.x IPs)<br/>
Pigtail<br/>
Pigtail<br/>
2 Antenna<br/>
2 Antenna<br/>
Line 8: Line 8:
CF-Card: [http://www.kingston.com/flash/cf_standard.asp?id=2 Kingston CF 1GB]<br/>
CF-Card: [http://www.kingston.com/flash/cf_standard.asp?id=2 Kingston CF 1GB]<br/>


= Enabling USB =
= BIOS setups =
== WRAP-Boards with 5V Input ==
== Enabling USB ==
=== WRAP-Boards with 5V Input ===
Normally the WRAP-Boards have 12V Input. Anyway, we have one device where the input voltage has been changed to 5V. To enable USB support for this device you must:
Normally the WRAP-Boards have 12V Input. Anyway, we have one device where the input voltage has been changed to 5V. To enable USB support for this device you must:
# connect USB adapter board to the WRAP-Board
# connect USB adapter board to the WRAP-Board
Line 17: Line 18:
## Press "Q" to quit and the answer Yes to save the settings.
## Press "Q" to quit and the answer Yes to save the settings.


=== Example ===
==== Example ====
Here the USB is disabled in the BIOS, because it is enclosed by Brackets (press U to change this):
Here the USB is disabled in the BIOS, because it is enclosed by Brackets (press U to change this):
<code>
<code>
Line 28: Line 29:
(X) Xmodem upload (Q) Quit
(X) Xmodem upload (Q) Quit
</code>
</code>

== Upgrading BIOS ==
Goal: After the upgrade of the BIOS the WRAP-Board will have the following order of devices it will try to boot from:
# If a CF card is inserted, then boot from this
# Otherwise try to boot from Network (PXE / Netboot)

BEWARE: A failed/wrong BIOS upgrade might brick the WRAP-Board -- so use at your own risk!!!

On Debian Etch 4.0 (probably the same for Ubuntu) you need the following packages for this: <code>minicom lrzsz</code> It probably also works with any other terminal program that supports sending files with xmodem. Here is a [http://www2.informatik.hu-berlin.de/~nachtiga/seismo/pxe/minirc.wrap.conf minirc.wrap.conf] for minicom (save as /etc/minicom/minirc.wrap.conf and start minicom with <code>minicom wrap.conf</code> to connect):
# press "S" during memory test when the WRAP-Board boots up to enter the BIOS
# press "X" to send the new BIOS via xmodem
# press CTRL+A then S to get to the Upload menu of minicom. Select "xmodem".
# select the file wrap2.upd (can be found [http://www2.informatik.hu-berlin.de/~nachtiga/seismo/pxe/wrap2.upd here], md5sum is at [http://www2.informatik.hu-berlin.de/~nachtiga/seismo/pxe/wrap2_upd.md5sum wrap2_upd.md5sum]. Hint: press space bar twice to navigate into directories within minicom)
# wait until file upload completed
# Remember to enable USB and Etherboot thereafter! Then press "Q" to quit and save the options.

= List of Nodes (outdated) =

Note: When built into the chasing, wifi0 is on the lower side and wifi1 on the upper side of the board, wifi1 is on the same side as the compact flash card.

{| border="1" cellspacing="5"
| <center>'''No'''</center>
| <center>'''eth0-MAC'''</center>
| <center>'''eth0-IP'''</center>
| <center>'''0<sup>th</sup> wifi MAC'''</center>
| <center>'''0<sup>th</sup> wifi IP (ath1)'''</center>
| <center>'''1<sup>st</sup> wifi-MAC'''</center>
| <center>'''1<sup>st</sup> wifi IP (ath2)'''</center>
| <center>'''misc'''</center>
| <center>'''BIOS upgraded?''' (Don't forget to enable Network Booting and USB afterwards)</ref></center>
| <center> Location </center>

|- bgcolor="#FFFF00"
| 1
| 00:0D:B9:07:61:98
| 192.168.3.211
|
| 10.12.133.214
| 06:0B:6B:56:FD:AA
| 10.12.133.211
|
| Y
| Björn's place (H3/326) [Socket B19]

|-
| 2
| 00:0D:B9:07:67:60
| 192.168.3.212
| 06:0B:6B:09:EF:23
| 10.9.239.35
|
|
|
| Y
|


|-
| 3
| 00:0D:B9:07:61:A4
| 192.168.3.213
| 06:0C:42:0C:85:A8
| 10.12.133.168
|
|
|
| Y
|

|- bgcolor="#FFFF00"
| 4
| 00:0D:B9:07:67:54
| 192.168.3.214
| 06:0B:6B:56:FF:B8
| 10.86.255.184
|
| 10.86.255.6
|
| Y
| Sebastian's place window (H3/326) [Socket H07]

|- bgcolor="#FFFF00"
| 5
| 00:0D:B9:07:67:78
| 192.168.3.215
| 06:0B:6B:57:01:2B
| 10.87.1.43
|
| 10.86.255.5
|
| Y
| Sebastian's place cupboard (H3/326) [Socket H08]

|-
| 6
| 00:0D:B9:07:67:7C
| 192.168.3.216
| 06:0C:42:0C:74:18
| 10.12.116.24
|
|
|
| N
|

|-
| 7
| 00:0D:B9:07:67:88
| 192.168.3.217
| 00:0C:42:0C:74:2F
| 10.12.116.47
| 00:0C:42:0C:85:9C
| 10.12.133.156
|
| Y
|

|-
| 8
| 00:0D:B9:05:B4:08
| 192.168.3.218
| 06:0C:42:0C:74:1B
| 10.12.116.27
| 00:0C:42:0C:85:BB
| 10.12.133.187
| 5 V device with USB
| Y
|

|-
| 9
| 00:0D:B9:07:67:5C
|
| 06:0B:6B:56:FF:22
| 10.86.255.34
| 00:0B:6B:09:F3:3D
| 10.9.243.61
|
| Y
|

|- bgcolor="#FFFF00"
| 10
| 00:0D:B9:07:61:94
| 192.168.3.220
|
| 10.12.133.190
|
| 10.12.133.216
|
| Y
| Besprechungsraum (H3/328) [Socket C10 BRN-Switch]

|- bgcolor="#FFFF00"
| 11
| 00:0D:B9:07:67:64
| 192.168.3.221
|
| 10.12.116.81
|
| 10.12.133.241
|
| Y
| Pool room (H3/201)

|- bgcolor="#FF0000"
| 12
| 00:0D:B9:07:67:6C
| 192.168.3.222
|
|
|
|
|
| Y
| (*Björn, ready for deployment*)

|- bgcolor="#FFFF00"
| 13
| 00:0D:B9:07:61:A0
| 192.168.3.223
|
| 10.12.116.6
|
| 10.12.116.76
|
| Y
| Factory Gandre (H3/206)

|- bgcolor="#FFFF00"
| 14
| 00:0D:B9:07:61:28
| 192.168.3.224
|
| 10.12.116.10
|
| 10.12.116.7
|
| Y
| Matthias Kurths room (H3/325)

|- bgcolor="#FFFF00"
| 15
| 00:0D:B9:07:67:50
| 192.168.3.225
|
| 10.12.116.8
|
| 10.12.134.68
|
| Y
| Jeschkes room (H3/324)

|- bgcolor="#FFFF00"
| 16
| 00:0D:B9:07:61:68
| 192.168.3.226
|
| 10.12.133.165
|
| 10.12.133.172
|
| Y
| Franks room (H3/308) [Socket E10]

|- bgcolor="#FFFF00"
| 17
| 00:0D:B9:07:61:A8
| 192.168.3.227
|
| 10.12.133.221
|
| 10.12.133.195
|
| Y
| Markus Scheidgens room (H3/310)

|- bgcolor="#FFFF00"
| 18
| 00:0D:B9:07:67:94
| 192.168.3.228
|
| 10.12.133.185
|
| 10.12.116.32
|
| Y
| SAM pool room (H3/306) [Socket H16]

|- bgcolor="#FF0000"
| 19
| 00:0D:B9:07:67:84
| 192.168.3.229
|
| 10.12.116.70
|
| 10.12.116.21
|
| Y
| (*Björn, ready for deployment*)

|- bgcolor="#FF0000"
| 20
| 00:0D:B9:07:61:CC
| 192.168.3.170
|
| 10.12.116.48
|
| 10.12.133.204
|
|
| (*Björn, Node with GPS/Sensor*)

|}

(yellow nodes belong to the test bed)
(nodes boot from nfs-student:/seismo-openwrt-rootfs/openwrt-*, for detailed boot configuration see nfs-student:/home/wgtroot/boot/pxelinux.cfg/, kernels are under nfs-studnet:/home/wgtroot/boot)


05/28/2008:
All nodes but three packaged for the GFZ, the only nodes at HU are now:

{| border="1" cellspacing="5"
| <center>'''No'''</center>
| <center>'''eth0-MAC'''</center>
| <center>'''eth0-IP'''</center>
| <center>'''0<sup>th</sup> wifi MAC'''</center>
| <center>'''0<sup>th</sup> wifi IP (ath1)'''</center>
| <center>'''1<sup>st</sup> wifi-MAC'''</center>
| <center>'''1<sup>st</sup> wifi IP (ath2)'''</center>
| <center>'''misc'''</center>
| <center>'''BIOS upgraded?''' (Don't forget to enable Network Booting and USB afterwards)</ref></center>
| <center> Location </center>

|- bgcolor="#FFFFFF"
| 10
| 00:0D:B9:07:61:94
| 192.168.3.220
|
| 10.12.133.190
|
| 10.12.133.216
|
| Y
| Besprechungsraum (H3/328) [Socket C10 BRN-Switch]



|- bgcolor="#FFFFFF"
| 19
| 00:0D:B9:07:67:84
| 192.168.3.229
|
| 10.12.116.70
|
| 10.12.116.21
|
| Y
| (*Björns desk*)

|- bgcolor="#FFFFFF"
| 20
| 00:0D:B9:07:61:CC
| 192.168.3.170
|
| 10.12.116.48
|
| 10.12.133.204
|
|
| (*Björn, Node with GPS/Sensor, at the window*)

|}


= HU Testbed (2009-03-12) =
(locations and ath1 addresses are accurate, not all eth0 addresses checked, in brackets are old ips from other subnets)

{| border="1" cellspacing="5"
| <center>'''No'''</center>
| <center>'''eth0-MAC'''</center>
| <center>'''eth0-IP'''</center>
| <center>'''0<sup>th</sup> wifi MAC'''</center>
| <center>'''0<sup>th</sup> wifi IP (ath1)'''</center>
| <center>'''1<sup>st</sup> wifi-MAC'''</center>
| <center>'''1<sup>st</sup> wifi IP (ath2)'''</center>
| <center>'''BIOS'''</center>
| <center>'''Location'''</center>
| <center>'''Version'''</center>

|- bgcolor="#FFFFFF"
| SB96C
| 00:0D:B9:05:B9:6C
| 192.168.3.230
|
| 10.86.255.6
|
| 10.86.255.184
| Y
| Matthias Kurth Fensterbrett (3.325)
| CF 0.2-rc3

|- bgcolor="#FFFFFF"
| SB408
| 00:0D:B9:05:B4:08
| 192.168.3.218
|
| 10.86.253.170
|
| 10.86.255.0
| Y
| Tutorenraum/Plötz (3.324)
| CF 0.2-rc3

|- bgcolor="#FFFFFF"
| S61B0
| 00:0D:B9:07:61:B0
| 192.168.3.232
|
| 10.12.133.173
|
| 10.12.116.45
| Y
| 3.201 lab
| CF 0.2-rc3

|- bgcolor="#FFFFFF"
| S61B8
| 00:0D:B9:07:61:B8
| 192.168.3.234
|
| 10.12.116.46
|
| 10.12.133.245
| Y
| Besprechungsraum (3.328)
| CF 0.2-rc3

|-
| S6760
| 00:0D:B9:07:67:60
| 192.168.4.198 (192.168.3.212)
|
| 10.12.116.22
|
| 10.12.133.206
| Y
| Björn Tisch rechts (3.326)
| CF 0.2-rc3

|-
| S67A8
| 00:0D:B9:07:67:A8
| 141.20.23.212 (192.168.3.235)
|
| 10.12.116.24
|
| 10.12.116.20
| Y
| Ingmar (3.308)
| CF 0.2-rc3

|-
| S6774
| 00:0D:B9:07:67:74
| 192.168.4.188 (192.168.3.236)
|
| 10.12.133.213
|
| 10.12.116.68
| Y
| Bjoern links (3.326)
| CF 0.2-rc3

|}


= Links =
= Links =

Latest revision as of 12:15, 12 March 2009

Board: PC-Engines WRAP.2E-128
Daughterboard: USB Extension
Enclosure: WRAP-BOX-2A1E
Wireless Card: Routerboard (10.12.x.x IPs), Wistron CM9 (10.86.x.x IPs)
Pigtail
2 Antenna
PoE Adapter
CF-Card: Kingston CF 1GB

BIOS setups

Enabling USB

WRAP-Boards with 5V Input

Normally the WRAP-Boards have 12V Input. Anyway, we have one device where the input voltage has been changed to 5V. To enable USB support for this device you must:

  1. connect USB adapter board to the WRAP-Board
  2. enable USB support in the BIOS of the WRAP-Board:
    1. press "S" during memory test when the WRAP-Board boots up to enter the BIOS
    2. If the menu says "(U)" then this means USB is disabled. Brackets "(U)" mean disabled, and stars "*U*" mean enabled. Press "U" to enable (*U*).
    3. Press "Q" to quit and the answer Yes to save the settings.

Example

Here the USB is disabled in the BIOS, because it is enclosed by Brackets (press U to change this):

(9) 9600 baud *3* 38400 baud (5) 57600 baud
*C* CHS mode (L) LBA mode
(E) Etherboot enable
(U) USB enable
(D) Conservative DRAM timing
*R* Serial console enable
(X) Xmodem upload (Q) Quit

Upgrading BIOS

Goal: After the upgrade of the BIOS the WRAP-Board will have the following order of devices it will try to boot from:

  1. If a CF card is inserted, then boot from this
  2. Otherwise try to boot from Network (PXE / Netboot)
BEWARE: A failed/wrong BIOS upgrade might brick the WRAP-Board -- so use at your own risk!!!

On Debian Etch 4.0 (probably the same for Ubuntu) you need the following packages for this: minicom lrzsz It probably also works with any other terminal program that supports sending files with xmodem. Here is a minirc.wrap.conf for minicom (save as /etc/minicom/minirc.wrap.conf and start minicom with minicom wrap.conf to connect):

  1. press "S" during memory test when the WRAP-Board boots up to enter the BIOS
  2. press "X" to send the new BIOS via xmodem
  3. press CTRL+A then S to get to the Upload menu of minicom. Select "xmodem".
  4. select the file wrap2.upd (can be found here, md5sum is at wrap2_upd.md5sum. Hint: press space bar twice to navigate into directories within minicom)
  5. wait until file upload completed
  6. Remember to enable USB and Etherboot thereafter! Then press "Q" to quit and save the options.

List of Nodes (outdated)

Note: When built into the chasing, wifi0 is on the lower side and wifi1 on the upper side of the board, wifi1 is on the same side as the compact flash card.

No
eth0-MAC
eth0-IP
0th wifi MAC
0th wifi IP (ath1)
1st wifi-MAC
1st wifi IP (ath2)
misc
BIOS upgraded? (Don't forget to enable Network Booting and USB afterwards)</ref>
Location
1 00:0D:B9:07:61:98 192.168.3.211 10.12.133.214 06:0B:6B:56:FD:AA 10.12.133.211 Y Björn's place (H3/326) [Socket B19]
2 00:0D:B9:07:67:60 192.168.3.212 06:0B:6B:09:EF:23 10.9.239.35 Y


3 00:0D:B9:07:61:A4 192.168.3.213 06:0C:42:0C:85:A8 10.12.133.168 Y
4 00:0D:B9:07:67:54 192.168.3.214 06:0B:6B:56:FF:B8 10.86.255.184 10.86.255.6 Y Sebastian's place window (H3/326) [Socket H07]
5 00:0D:B9:07:67:78 192.168.3.215 06:0B:6B:57:01:2B 10.87.1.43 10.86.255.5 Y Sebastian's place cupboard (H3/326) [Socket H08]
6 00:0D:B9:07:67:7C 192.168.3.216 06:0C:42:0C:74:18 10.12.116.24 N
7 00:0D:B9:07:67:88 192.168.3.217 00:0C:42:0C:74:2F 10.12.116.47 00:0C:42:0C:85:9C 10.12.133.156 Y
8 00:0D:B9:05:B4:08 192.168.3.218 06:0C:42:0C:74:1B 10.12.116.27 00:0C:42:0C:85:BB 10.12.133.187 5 V device with USB Y
9 00:0D:B9:07:67:5C 06:0B:6B:56:FF:22 10.86.255.34 00:0B:6B:09:F3:3D 10.9.243.61 Y
10 00:0D:B9:07:61:94 192.168.3.220 10.12.133.190 10.12.133.216 Y Besprechungsraum (H3/328) [Socket C10 BRN-Switch]
11 00:0D:B9:07:67:64 192.168.3.221 10.12.116.81 10.12.133.241 Y Pool room (H3/201)
12 00:0D:B9:07:67:6C 192.168.3.222 Y (*Björn, ready for deployment*)
13 00:0D:B9:07:61:A0 192.168.3.223 10.12.116.6 10.12.116.76 Y Factory Gandre (H3/206)
14 00:0D:B9:07:61:28 192.168.3.224 10.12.116.10 10.12.116.7 Y Matthias Kurths room (H3/325)
15 00:0D:B9:07:67:50 192.168.3.225 10.12.116.8 10.12.134.68 Y Jeschkes room (H3/324)
16 00:0D:B9:07:61:68 192.168.3.226 10.12.133.165 10.12.133.172 Y Franks room (H3/308) [Socket E10]
17 00:0D:B9:07:61:A8 192.168.3.227 10.12.133.221 10.12.133.195 Y Markus Scheidgens room (H3/310)
18 00:0D:B9:07:67:94 192.168.3.228 10.12.133.185 10.12.116.32 Y SAM pool room (H3/306) [Socket H16]
19 00:0D:B9:07:67:84 192.168.3.229 10.12.116.70 10.12.116.21 Y (*Björn, ready for deployment*)
20 00:0D:B9:07:61:CC 192.168.3.170 10.12.116.48 10.12.133.204 (*Björn, Node with GPS/Sensor*)

(yellow nodes belong to the test bed) (nodes boot from nfs-student:/seismo-openwrt-rootfs/openwrt-*, for detailed boot configuration see nfs-student:/home/wgtroot/boot/pxelinux.cfg/, kernels are under nfs-studnet:/home/wgtroot/boot)


05/28/2008: All nodes but three packaged for the GFZ, the only nodes at HU are now:

No
eth0-MAC
eth0-IP
0th wifi MAC
0th wifi IP (ath1)
1st wifi-MAC
1st wifi IP (ath2)
misc
BIOS upgraded? (Don't forget to enable Network Booting and USB afterwards)</ref>
Location
10 00:0D:B9:07:61:94 192.168.3.220 10.12.133.190 10.12.133.216 Y Besprechungsraum (H3/328) [Socket C10 BRN-Switch]


19 00:0D:B9:07:67:84 192.168.3.229 10.12.116.70 10.12.116.21 Y (*Björns desk*)
20 00:0D:B9:07:61:CC 192.168.3.170 10.12.116.48 10.12.133.204 (*Björn, Node with GPS/Sensor, at the window*)


HU Testbed (2009-03-12)

(locations and ath1 addresses are accurate, not all eth0 addresses checked, in brackets are old ips from other subnets)

No
eth0-MAC
eth0-IP
0th wifi MAC
0th wifi IP (ath1)
1st wifi-MAC
1st wifi IP (ath2)
BIOS
Location
Version
SB96C 00:0D:B9:05:B9:6C 192.168.3.230 10.86.255.6 10.86.255.184 Y Matthias Kurth Fensterbrett (3.325) CF 0.2-rc3
SB408 00:0D:B9:05:B4:08 192.168.3.218 10.86.253.170 10.86.255.0 Y Tutorenraum/Plötz (3.324) CF 0.2-rc3
S61B0 00:0D:B9:07:61:B0 192.168.3.232 10.12.133.173 10.12.116.45 Y 3.201 lab CF 0.2-rc3
S61B8 00:0D:B9:07:61:B8 192.168.3.234 10.12.116.46 10.12.133.245 Y Besprechungsraum (3.328) CF 0.2-rc3
S6760 00:0D:B9:07:67:60 192.168.4.198 (192.168.3.212) 10.12.116.22 10.12.133.206 Y Björn Tisch rechts (3.326) CF 0.2-rc3
S67A8 00:0D:B9:07:67:A8 141.20.23.212 (192.168.3.235) 10.12.116.24 10.12.116.20 Y Ingmar (3.308) CF 0.2-rc3
S6774 00:0D:B9:07:67:74 192.168.4.188 (192.168.3.236) 10.12.133.213 10.12.116.68 Y Bjoern links (3.326) CF 0.2-rc3

Links

Kingston Flash Memory Guide