in reply to Re^2: Help with Lorcon XS library
in thread Help with Lorcon XS library
If all goes well, it should produce no output.use strict; use warnings; use Net::Lorcon2 qw(:subs); my $driver = "iwlwifi"; my $if = "wlo1"; my $drv = lorcon_find_driver($driver); if (! $drv) { print STDERR "[-] Unable to find DRV for [$driver]\n"; exit 1; } my $lorcon = lorcon_create($if, $drv); if (! $lorcon) { print STDERR "[-] lorcon_create failed\n"; exit 1; }
use strict; use warnings; use Net::Lorcon2 qw(:subs); my @cards = lorcon_list_drivers(); use Data::Dumper; print Dumper(\@cards);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help with Lorcon XS library
by Bpl (Scribe) on Jul 21, 2020 at 10:15 UTC | |
by syphilis (Archbishop) on Jul 21, 2020 at 11:41 UTC | |
by marto (Cardinal) on Jul 21, 2020 at 11:42 UTC | |
by Bpl (Scribe) on Jul 21, 2020 at 12:14 UTC | |
by Bpl (Scribe) on Jul 21, 2020 at 12:13 UTC | |
by syphilis (Archbishop) on Jul 21, 2020 at 12:38 UTC | |
by Bpl (Scribe) on Jul 21, 2020 at 12:47 UTC | |
|