modify eggsh to always open /dev/REG which can be symlinked to the actual
[debian/gcpegg] / debian / README.debian
1 The upstream source assumes you will use a traditional hard-wired serial
2 port, but those are getting rare.  Rather than refactor the code, I've just
3 made the Debian package always open the device /dev/REG.  All you need to
4 do is symlink this to whatever your actual serial port is with something like:
5
6         cd /dev
7         ln -s ttyUSB0 REG
8
9 The 'port' field in the REG line of the eggrc file will be ignored, so just
10 leave it set to '0'.
11
12                         - - - - -
13
14 If the EGG computer is behind a firewall, it must be programmed
15 to allow UDP packets on port 2510 outgoing packet and UDP port
16 1105 for an incoming connection.
17
18 This allows the bidirectional communication required for the data
19 to be transmitted. What happens is that your program sends an
20 "awake" packet when it has unsent data. The server in Princeton
21 responds with a "data request" packet, and then the EGG program
22 will send the data.
23