Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
network_protocol_programming_lab:8_smartrf [2022/04/18 16:44] – [4C Installation] fangenoorth | network_protocol_programming_lab:8_smartrf [2022/04/29 08:43] (current) – [4C Installation] fangenoorth | ||
---|---|---|---|
Line 14: | Line 14: | ||
To install //4C// several steps have to be done: | To install //4C// several steps have to be done: | ||
- | - Login as root to the BeagleBone Black and download | + | - Download |
- | - Go back to your PC or laptop. Download Version v14.16.0 of [[https:// | + | - Go back to your PC or laptop. Download Version v14.16.0 of [[https:// |
- | - Download //4C// as a ZIP-File from [[https:// | + | - Download //4C// as a ZIP-File from [[https:// |
- If not already done, open a your favorite terminal app (terminal in Linux or Mac OS X, Powershell in MS Windows) and change to directory '' | - If not already done, open a your favorite terminal app (terminal in Linux or Mac OS X, Powershell in MS Windows) and change to directory '' | ||
- Now open your Browser (remember: Chrome, Firefox or Safari) and go to the url: <code bash> | - Now open your Browser (remember: Chrome, Firefox or Safari) and go to the url: <code bash> | ||
+ | |||
+ | **If you work inside uni with your own machines the above setup will not work.** This is because the BeagleBones reside in their own subnet to which you don't have access from your laptops connected to eduroam for example. This issue arose already in the earlier steps. Back then we solved it by first sshing into the inna server (or via JumpHost) and then ssh into the BeagleBones. But now the situation is a bit different, because we cannot instruct our Webbrowser to do this. Instead we have to use a technique called //SSH port tunneling// | ||
+ | |||
+ | Luckily the command to set this up is quite easy. First execute steps 1 to 3 from the above. However in step 3 enter '' | ||
+ | <code bash> | ||
+ | ssh -N t27@inna.tkn.tu-berlin.de -L 4711:<IP of BBB>: | ||
+ | </ | ||
+ | This tells ssh to forward packets arriving on port 4711 on your local machine (from the node webapp) to port 4711 on the BeagleBones (to the cc1200 daemon) using the inna server as a intermediate Jump Host. Note that the terminal window needs to stay opened and this ssh call should not be terminated, otherwise the tunnel will be closed as well. | ||
+ | |||
+ | Now you can start and connect to the webapp as described in step 4 and 5. | ||
+ | |||
===== First Steps with 4C ===== | ===== First Steps with 4C ===== | ||