Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add markdown version of install instructions #10

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

warnes
Copy link

@warnes warnes commented Feb 5, 2022

.. so that I can add comments / suggestions / questions.

warnes added 21 commits February 5, 2022 15:55
* Add explicit checks for raspberry pi & appropriate code.
* Stop on error
* Pass `-y` to `apt` commands to prevent user prompting.
* Reduce size of git clones using `--depth=1` when possible
* Replece explicit paths to BUILD_DIR with variable.
* Install FX3 firmware
* Remove leftover code
* Only remove modules and devices that are actually present.
* Don't try to unload cfg80211 since it is used by other 802.11 drivers.
* Add variable to specify the name of the wlan device.
* Preserve existing value of BUILD_DIR from environment.
* Exportt BUILD_DIR to environment
* Attempt to determine the correct wlan interface # as the number of existing interfaces (counting from 0).
* Use `pkill` instead of killall to terminate programs.
* Terminate all launched programs

start-bladeRF-wiphy.sh
* Use `x-terminal-emulator` to avoid assumptions about windowing system
* Unload existing modules before loading the new ones.
* Start dhcpd in a terminal
* Check for presence of nmcli before running it.
* Properly determine detected MAC address.
* Temporarily disable ip forwarding

install.sh:
* Use `apt` intead of `apt-get`.
* Check for Raspberry Pi vs 'standard' debian & use the correct kernel header package.
* Download standard `hosted` firmware as well as FX2 and wlan firmware.
* Correct installation of firmware.
* Limit git clones to depth=1 to avoid unecessarily large downloads.
* Use correct git branch for Kernel version based on whether VENDOR='Raspbian'
* Replace some remaining fixed paths with ${BUILD_DIR}
of `/usr/share/Nuand/bladeRF`.
* Use `/tmp` instead of `${HOME}` for the build dir.
* Delete build dir at start of install
* Modify `dhcpd.conf` and `hostapd.conf` when starting to match the wlan device name we're using.
* Remove extraneous use `env nmcli`.
* Use the last two digits of the ethernet mac address for the mac
address assigned to the bladeRF to avoid collisions.
* Add a prompt after commands in launched terminals to prevent
them from closing before any message are viewed
* Use the dhcp service instead of calling dhcpd directly.
* Set the frequency after bringing up wlan link to prevent error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant