Commit Graph

325 Commits

Author SHA1 Message Date
Quentin Smith
da8880576a Remove no-longer-used os.cpp 2021-04-04 23:13:52 +01:00
Quentin Smith
2579437b57 Allow generating pcap files of Daynaport traffic
If rasctl is given a file to "attach" to a daynaport interface, rascsi
will generate a pcap file at that path containing all sent/received
packets.
2021-04-04 23:13:51 +01:00
Quentin Smith
5ef97b99db Use native ioctls to create/join bridge interface 2021-04-04 23:13:36 +01:00
akuker
6333d3aad5
Merge pull request #85 from akuker/phrax0-patch-1
Update controllers
2021-03-21 19:57:31 -05:00
akuker
fc93de581e
Merge pull request #86 from akuker/phrax0-patch-2
FIxing code and comment alignment
2021-03-21 19:47:19 -05:00
TomRBarber
2e64f28d9c
Merge pull request #88 from quentinmit/daynaport-cd
Fix CD support on DaynaPort branch

Tested last night and seems to work!
2021-03-19 14:16:13 -04:00
Quentin Smith
5f7a0a0d86 Fix CD support on DaynaPort branch
The CD device relies on SASIDEV.buf being at least 0x800 long.
2021-03-18 03:36:08 +00:00
Quentin Smith
cdf2b6b39f Initialize selevreq
selevreq was previously being passed to ioctl without being fully initialized.
2021-03-18 03:35:13 +00:00
TomRBarber
bae70f74bb
Merge pull request #84 from akuker/eric/easyInstallBranch
Stay on currently checked out branch for easy intall
2021-03-09 12:39:52 -05:00
PhrAx
6d79023a5c
FIxing code and comment alignment
going through the various files and putting comments on one line for easier reading.
2021-03-07 17:29:30 -08:00
PhrAx
1fb0269645
Update controllers
Includes comment alignment, and added RESERVE(6), RESERVE(10), RELEASE(6) and RELEASE(10) for SCSI, along with RESERVE(16) and RELEASE(17) for SASI.
2021-03-07 17:11:17 -08:00
Eric Helgeson
cbd7f17508 Stay on currently checked out branch for easy intall 2021-03-07 09:52:04 -06:00
Eric Helgeson
338e42060a
Merge pull request #83 from akuker/eric/oled_python3
OLED screen update + setup
2021-03-07 09:32:56 -06:00
Eric Helgeson
f4513ca87e Add start script to simplify oled install 2021-03-07 09:28:40 -06:00
Adrian Merwood
8b3cfed98c Updated oled script for Python3 2021-03-07 09:28:24 -06:00
Tony Kuker
d794f046dc #27 Files to configure the network bridge 2021-02-26 17:36:59 -06:00
Tony Kuker
9070903772 Temporarily remove MAC address filtering. It seems to cause issues 2021-02-26 17:26:24 -06:00
Tony Kuker
994e90abac Added error message if there is an error while reading the tap #27 2021-02-26 11:40:16 -06:00
Tony Kuker
33f09490be Remove magic number that was left over from debugging #27 2021-02-26 11:39:37 -06:00
Tony Kuker
0d25785f03 moved bridge setup into ctapdriver 2021-02-07 16:46:59 -06:00
Tony Kuker
99538d8225 Merged latest develop branch with the daynaport functionality 2021-02-07 13:00:48 -06:00
akuker
f0c618c3e4 Merge branch 'eric/web-dayna' into develop 2021-02-06 19:48:26 -06:00
akuker
0ef9ff72de merge in latest develop 2021-02-06 19:48:11 -06:00
akuker
852f4f11fd
Revert "Add Daynaport SCSI/Link Functionality" (#78) 2021-02-02 19:55:38 -06:00
Eric Helgeson
0b78f09f8d Add DaynaPORT config to web
Add bridge-utils

Minor fixes to easyinstall

Can now save config, detach all devices

Bridge script error out if any command fails
2021-02-01 19:48:56 -06:00
Eric Helgeson
943a9ab537 Black code formatting 2021-02-01 11:39:50 -06:00
TomRBarber
7c7175a0ef
Merge pull request #76 from akuker/daynaport2
Add Daynaport SCSI/Link Functionality
2021-01-31 21:52:41 -05:00
Tony Kuker
3bf6c3ecd0 Updated to use a multi-thread safe logger 2021-01-31 20:11:33 -06:00
akuker
50bb0664dd
Update scsi_daynaport.cpp
Missing semicolon when building non-debug build.
2021-01-30 16:02:21 -06:00
Tony Kuker
3a7674d47c Cleanup extraneous debug printouts 2021-01-30 14:12:29 -06:00
Tony Kuker
144abd4524 Cleanup extraneous debug printouts 2021-01-30 14:08:09 -06:00
Tony Kuker
f1f60f281f Updated ctapdriver to use the forked system call 2021-01-30 14:07:40 -06:00
Tony Kuker
04a2f46f51 added additional event loggin 2021-01-30 14:07:05 -06:00
Tony Kuker
bc561d65dd Changed system call to use fork/wait. Moved some disk functions out of the header 2021-01-30 12:36:18 -06:00
Tony Kuker
788b2a3b46 Added DaynaPort SCSI/Link emulation functionality 2021-01-27 15:16:52 -06:00
akuker
bac4f4a80b Change reported version back to development build 2021-01-25 13:27:21 -06:00
akuker
44ce6c96c0 Updated for new version number 2021-01-25 13:15:29 -06:00
akuker
350010462c
Scsimon improvements (#74)
* Updated scsimon to save data on a nano-second time scale, instead of micro-second

* Cleanup error messages and data types

Co-authored-by: Tony Kuker <akuker@gmail.com>
2021-01-25 10:07:49 -06:00
akuker
96673a44b0
Updated to match new versioning structure (#73)
* Updated to match new versioning structure

* fix version number

Co-authored-by: Tony Kuker <akuker@gmail.com>
2021-01-25 10:07:30 -06:00
akuker
acd3cb2722
Update README.md
Added reference to gitflow
2021-01-24 21:45:53 -06:00
Eric Helgeson
37f1166fd8
New Web Interface (#69)
* gitignore

* New Web Interface
Fixed spacing/tabs in easy install
Added migration check
Fix update web not actually updating

Migrating from https://github.com/erichelgeson/RaSCSI-web

* Allow user to select multiple types when creating images

* Show all devices even if nothing is attached.

* If attaching an iso to a cd device, dont detach, just insert

* UI feedback and restart rascsi service

* Check for any non-0 exit code for apache2 detection

* Pretty/informative 502

* Add confirms to some actions. Works in netscape 4.7

* Fix order of params for create_new_image

* Move non-route method to service

* Add method for getting logs

* Move settings to single file
add ability to mock commands for local dev
2020-12-30 19:39:32 -06:00
akuker
3536e8aa02
Added -DNDEBUG to disable the real ASSERT macro in production code (#67)
Co-authored-by: Tony Kuker <akuker@gmail.com>
2020-12-28 18:53:00 -06:00
Eric Helgeson
d63b27f7d1
Fix dir for update (#68) 2020-12-28 13:39:20 -06:00
Tony Kuker
4cd07f63ee Additional translation from Japanese to English 2020-12-27 20:13:21 -06:00
akuker
5ba4f0183c
Update README.md
Added link to Tindie
2020-11-14 14:14:15 -06:00
sonique6784
524f1c7826
improved HD creator with partioning and formatting Drive with HFS. (#51) 2020-11-07 18:10:09 -06:00
sonique6784
f907e85b55
added easy install script. helps setup your Pi/RaSCSI. (#47) 2020-10-25 18:55:53 -05:00
akuker
0491930970
Create README.md 2020-10-24 22:49:23 -05:00
akuker
1118c344cc
Issue #7 - implement a scsi monitor function for RaSCSI to log SCSI traffic (#46)
* #7 Re-merge scsimon functionality with latest master. The old scsimon branch was waaaaay too out of date

* #7 Re-merge scsimon functionality with latest master. The old scsimon branch was waaaaay too out of date

* Added libspdlog-dev as a required package

* Cleanup from master re-base

* Updated to use GCC version 8, to match the raspberry pi

Co-authored-by: akuker <akuker@gmail.com>
2020-10-19 07:31:06 -05:00
thewesker
3ddeac6180
Fix nothing displayed with no images mounted. (#45)
* Fix nothing displayed with no images mounted.

This fixes the issue where nothing would show on the display unless an image is mounted.

* Fixed the indent

* Fixes not working when image attached issue

Original commit caused the display not to work when an image was attached. This has now been fixed.

* Fixed multiple images attached not working

Forgot to remove testing code that caused multiple image displays to break.
2020-10-16 20:48:16 -05:00