Re: Cannot log in from BIOS to linux target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 15, 2020 at 08:07:59AM +0100, Hannes Reinecke wrote:
> On 1/15/20 6:15 AM, Zhu Lingshan wrote:
> > Hi Michal,
> > 
> > try demo mode for a experiment? Here is a guide
That's what I did.
> > http://www.linux-iscsi.org/wiki/ISCSI#Demo_mode
> > you can also find how to config username /password there.
No.
> > 
> > Thanks,
> > Zhu Lingshan
> > On 1/14/2020 12:51 AM, Michal Suchánek wrote:
> >> Hello,
> >>
> >> my system BIOS support booting from iSCSI.
> >>
> >> I set up readonly target with no authentication:
> >>
> >> targetcli shell version 2.1.fb49
> >>
> >> grub
> >> ..................................................................
> >> [/scratch/ISO/GRUB (1.8MiB) write-back activated]
> >>    | |   o- alua
> >> .................................................................................................
> >> [ALUA Groups: 1]
> >>    | |     o- default_tg_pt_gp
> >> .....................................................................
> >> [ALUA state: Active/optimized]
> >>
> >>   | | o- tpg1
> >> ................................................................................................
> >> [gen-acls, no-auth]
> >>    | |   |   o- mapped_lun0
> >> ...............................................................................
> >> [lun0 fileio/grub (rw)]
> >> The readonly flag does not seem to be
> >> honored                                                                                
> >> ^^^
> >>
> >> Anyway, the initiator cannot log in:
> >>
> >> 3,1360,2329588663878,-;Initiator sent zero length security payload,
> >> login failed
> >> 3,1361,2329588663897,-;iSCSI Login negotiation failed.
> >>
> >> How can I export a LUN without a password?
> >>
> >> Thanks
> >>
> >> Michal
> 
> It's actually not the password that's missing, it's the ACL.
> You have registered your iSCSI initiatorname with the target, right?
I did not initially but since the target insisted I changed the
initiator name to valid iqn and registered it.

So looks like the demo mode does not work.

Thanks

Michal



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux