====== Project Lyta Configuration ====== this is a page to collection information about how the lyta installation is configured. ===== control board setup ===== ==== finding boards ==== the easiest way for us to find new control boards is to search for them with nmap. new boards from merlin tend to be on the 192.168.1.0/24 subnet (and often 192.168.1.199). fortunately, the mac-mini is currently on this subnet, as well as being on the 192.168.2.0/24 subnet where we would like the boards to be. so, first, plug the new board into the hub that is connected to the macmini. make sure only one new board is connected at a time, otherwise it will detect them both, which could be confusing. once connected, do a scan of all hosts on the 192.168.1.0/24 subnet with nmap, as root: nmap -S 192.168.1.17 -sP -PA99 192.168.1.0/24 the -S 192.168.1.17 is only because nmap gets confused by the fact that the mac-mini is on multiple subnets which will give you output like this: #nmap -S 192.168.1.17 -sP -PA99 192.168.1.0/24 WARNING: If -S is being used to fake your source address, you may also have to use -e <iface> and -P0 . If you are using it to specify your real source address, you can ignore this warning. Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-08-30 18:23 CEST Host 192.168.1.1 appears to be up. MAC Address: 00:11:92:06:AD:69 (Cisco Systems) Host 192.168.1.2 appears to be up. MAC Address: 00:0D:93:01:B6:45 (Apple Computer) Host 192.168.1.22 appears to be up. MAC Address: 00:30:1B:AE:EC:47 (Shuttle) Host 192.168.1.23 appears to be up. MAC Address: 00:30:1B:B3:FE:07 (Shuttle) Host 192.168.1.34 appears to be up. MAC Address: 00:0D:93:83:66:FA (Apple Computer) Host 192.168.1.35 appears to be up. MAC Address: 00:0D:93:89:A6:E4 (Apple Computer) Host 192.168.1.36 appears to be up. MAC Address: 00:30:BD:F1:EF:B8 (Belkin Components) Host 192.168.1.39 appears to be up. MAC Address: 00:50:E4:C5:FB:4C (Apple Computer) Host 192.168.1.42 appears to be up. MAC Address: 00:0A:95:F2:00:43 (Apple Computer) Host 192.168.1.100 appears to be up. MAC Address: 00:0A:59:00:9E:F3 (HW server) Nmap finished: 256 IP addresses (10 hosts up) scanned in 4.981 seconds the MAC addresses are for the host mentioned in the line above. the boards should have MAC addresses in the 'HW server' class. so the address we are interested in here is 192.168.1.100. ==== script ==== there is now a [[http://f0.am/darcs/lyta/config/board_setup.sh|script]] to configure a board given that you know it's current IP address. following the example above, you would run the script like this: sh board_setup.sh 192.168.1.100 192.168.2.107 with the second ip address replaced by one not already allocated in the table below. ==== manually ==== if things go haywire, you can try your luck with doing it manually. to do this you connect to port 99. hitting return gives you a display of the current setup. here is a sample output from a working board. *** HW-group.com HW 6.0 SW 2.O #01 *** *** PortBox I/O *** MAC Address 00:0A:59:00:9E:EC =========== IP Setup ============ I: Address 192.168.2.104 J: Port 23 M: Mask 255.255.255.0 G: Gateway 0.0.0.0 ===== In IP access filter ====== W: Address 0.0.0.0 N: Mask 0.0.0.0 X: Port 0.0 Y: Port Mask 0.0 == Active (Client/Server) mode == S: Send to IP 192.168.2.1 U: Port 5555 T: IP mode UDP E: Erase buffer on None A: Max. Packet Length 250 ========= Serial Setup ========== &B: Speed 115200 &D: Data bits 8 &P: Parity NONE &V: Variable Parity Off &S: Stop bits 1 &C: Flow Control NONE &R: RS485/RS422 control RTS = On [+8V] &T: Serial Line Timeout 0 - Off &G: Char. Transmit Delay 0 - Off &H: Tx Control Tx FULL duplex %S: TCP/IP setup On ======= Trigerring Setup ======== *L: Trigger Length 1 *P: Post Trigger Length 0 *S: Start Trigger Pattern 60.0.0.0 *M: Start Trigger Mask 255.0.0.0 *X: Stop Trigger Pattern 62.0.0.0 *Y: Stop Trigger Mask 255.0.0.0 *E: Max. Start-Stop Length 999 ============ Other ============ D: Load/Save Settings from/to Flash R: Reboot ===== Control board addresses ===== | MAC | IP | wall | stack | | :99:37 | 192.168.2.98 | - | Ê | | :99:52 | 192.168.2.99 | - | Ê | | :9E:F3 | 192.168.2.100 | - | Ê | | :9E:EF | 192.168.2.101 | 0 | 3 | | :9B:72 | 192.168.2.102 | 1 | 2 | | :9E:F2 | 192.168.2.103 | 1 | 1 | | :9E:F3 | 192.168.2.104 | 1 | 3 | | :9E:F8 | 192.168.2.105 | 0 | 0 | | :9E:EA | 192.168.2.106 | 0 | 1 | | :9E:F5 | 192.168.2.107 | 0 | 2 | | :9B:82 | 192.168.2.108 | 1 | 0 | -- [[nik gaffney]] - 17 May 2006 | replacement boards 2006.05.05 | | :9E:E7 | currently 192.168.1.199 | to replace damaged boards in phaeno | | :9E:E9 | currently 192.168.1.199 | to replace damaged boards in phaeno | -- [[nik gaffney]] - 06 May 2006