diff --git a/doc/installing-from-source.md b/doc/installing-from-source.md index 976d570..c7a81f3 100644 --- a/doc/installing-from-source.md +++ b/doc/installing-from-source.md @@ -3,7 +3,7 @@ Building Rayhunter from source, either for development or because the install script doesn't work on your system, involves a number of external dependencies. Unless you need to do this, we recommend you use our [compiled builds](https://github.com/EFForg/rayhunter/releases). * Install [nodejs/npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), which is required to build Rayhunter's web UI - * Make sure to build the site with `cd bin/web && npm install && npm run build` before building Rayhunter. If you're working directly on the frontend, `npm run dev` will allow you to test a local frontend with hot-reloading (use `http://localhost:5173` instead of `http://localhost:8080`). + * Make sure to build the site with `pushd daemon/web && npm install && npm run build && popd` before building Rayhunter. If you're working directly on the frontend, `npm run dev` will allow you to test a local frontend with hot-reloading (use `http://localhost:5173` instead of `http://localhost:8080`). * Install ADB on your computer using the instructions above, and make sure it's in your terminal's PATH * You can verify if ADB is in your PATH by running `which adb` in a terminal. If it prints the filepath to where ADB is installed, you're set! Otherwise, try following one of these guides: * [linux](https://askubuntu.com/questions/652936/adding-android-sdk-platform-tools-to-path-downloaded-from-umake) diff --git a/doc/tmobile-tmohs1.md b/doc/tmobile-tmohs1.md index e568e4a..c4d93b5 100644 --- a/doc/tmobile-tmohs1.md +++ b/doc/tmobile-tmohs1.md @@ -4,9 +4,9 @@ The Tmobile TMOHS1 hotspot is a Qualcomm mdm9607-based device with many similari ## Hardware Cheap used versions of the device can be found easily on Ebay, and also from these sellers: -- https://www.amazon.com/T-Mobile-TMOHS1-Portable-Hotspot-Connect/dp/B0CD9MX232 -- https://www.walmart.com/ip/T-Mobile-TMOHS1-Portable-Internet-4G-LTE-WIFI-Hotspot/3453542421 -- https://www.metrobyt-mobile.com/hotspot-iot-connected-devices/t-mobile-hotspot +- +- +- Rayhunter has been tested on: diff --git a/installer/src/orbic.rs b/installer/src/orbic.rs index a09e7af..563b04f 100644 --- a/installer/src/orbic.rs +++ b/installer/src/orbic.rs @@ -362,7 +362,7 @@ async fn adb_serial_cmd(adb_device: &mut ADBUSBDevice, command: &str) -> Result< /// Sends an AT command to the usb device over the serial port /// -/// First establish a USB handle and context by calling `open_orbic() +/// First establish a USB handle and context by calling `open_orbic()` pub async fn send_serial_cmd(interface: &Interface, command: &str) -> Result<()> { let mut data = String::new(); data.push_str("\r\n"); diff --git a/lib/src/gsmtap.rs b/lib/src/gsmtap.rs index d7c465d..0503edd 100644 --- a/lib/src/gsmtap.rs +++ b/lib/src/gsmtap.rs @@ -1,4 +1,4 @@ -//! The spec for GSMTAP is here: https://github.com/osmocom/libosmocore/blob/master/include/osmocom/core/gsmtap.h +//! The spec for GSMTAP is here: use deku::prelude::*; use num_enum::TryFromPrimitive; diff --git a/lib/src/hdlc.rs b/lib/src/hdlc.rs index 6ffa8f4..6fc5a81 100644 --- a/lib/src/hdlc.rs +++ b/lib/src/hdlc.rs @@ -1,7 +1,7 @@ //! HDLC stands for "High-level Data Link Control", which the diag protocol uses //! to encapsulate its messages. QCSuper's docs describe this in more detail //! here: -//! https://github.com/P1sec/QCSuper/blob/master/docs/The%20Diag%20protocol.md#the-diag-protocol-over-usb +//! use bytes::Buf; use crc::Crc;