-
Notifications
You must be signed in to change notification settings - Fork 4
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
Can't set IP address when attaching DaynaPort device #75
Comments
@fdanapfel This only happens when you attach the device with s2pctl, but not when launching s2p with the respective parameters? |
@fdanapfel I see what's wrong. s2pctl works similar to scsictl (piscsi): Where in s2p/piscsi you pass a filename/parameters, in s2pctl you have to use the "-f" option. This means in your case the correct command is:
|
@uweseimet Ah, OK. With
I tried to use your example from #64 (comment) where the Maybe you could add a message that notifies users in case they try to give extra parameters without putting |
@fdanapfel I think it's better that if there is a free parameter but no -f option, to use the free parameter as if it had been specified with -f. I will apply this change for the next builds. |
@fdanapfel Development builds with the change mentioned above are now available. It's your turn to test whether it works and does not have any unwanted side-effects ;-).
or the filename for devices with image file, e.g.
|
@uweseimet Just tested with the latest development build, and as far as I can see it works as expected:
|
When creating a new ticket please provide information on your environment.
The Pi type:
Zero 2 W
The Pi OS version (output of 'lsb_release -a' and 'uname -a'):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Linux bookworm 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
The SCSI2Pi release or git revision:
scsi2pi_3.1_devel_c4bc4ca_bookworm_arm64-1.deb
The computer/sampler connected to the RaSCSI/PiSCSI board:
N/A
Describe the issue
When attaching the DaynaPort and trying to set the IP address the IP address is ignored and 10.10.20.1/24 is always used instead:
The text was updated successfully, but these errors were encountered: