-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix startup order of tap device creation and basestation start - Update firmware config script - Update Readme Fixes #5
- Loading branch information
1 parent
34351fa
commit 8606154
Showing
7 changed files
with
51 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
# Networking: create tap devices | ||
# Note: this has to be done before the lldp service is started (S60) | ||
TAP_IP_ADDR=`fw_printenv -n hnap_tap_ip` | ||
|
||
tunctl -t tap0 | ||
ifconfig tap0 $TAP_IP_ADDR | ||
ifconfig tap0 up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# Configure pluto platform so that the waveform can be started | ||
# Name of the custom FIR filter | ||
FILTER=AD9361_256kSPS.ftr | ||
|
||
|
||
# Config Link Layer Discovery Protocol to broadcast callsign | ||
# This has to be done after lldp is started (S60) | ||
CALLSIGN=`fw_printenv -n hnap_callsign` | ||
lldpcli configure lldp tx-interval 60 | ||
lldpcli configure system description $CALLSIGN | ||
lldpcli resume | ||
|
||
# Install custom FIR filter | ||
cat /root/$FILTER > /sys/bus/iio/devices/iio:device1/filter_fir_config | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters