dougy147 / mcbash

bash script to find valid MAC addresses on some IPTV platform
GNU General Public License v3.0
88 stars 34 forks source link

Running on Windows linux subsystem? #22

Open stzokev opened 6 months ago

stzokev commented 6 months ago

Hey,

I'm occasional linux user and currently do not have any linux available besides the linux subsystem on Windows 10. When I ran sudo make install I got the following error: mkdir -p /usr/local/bin sh build.sh

If I run the same command again sudo make install it now results in following error:

mkdir -p /usr/local/bin sh build.sh

The linux subsystem installed in Ubuntu. Thanks for any help!

stzokev commented 6 months ago

Ok definitely not an error with my linux subsystem, I get the same error when I run sudo make install in a console under MacOS.

dougy147 commented 6 months ago

Hi @stzokev, I've changed build.sh for better compliance with different shells, there's a chance for it to work on your machines !

stzokev commented 6 months ago

@dougy147 Thanks a lot, I can confirm it now installs on Ubuntu subsystem successfully and the app itself works as advertised (tested on a couple of servers). Big thanks!

stzokev commented 6 months ago

Ok I've just noticed something strange, so better to ask here and if we manage to formulate/explain it, then we could log it as separate issue? On one of the servers I tested, EVERY single mac address is reported as expired, I've reached 16k and all are reported as expired. This is hardly the case, there must be something specific here that fools mcbash to report every single mac as expired. Here is the server for you to test if you wish Dougy => Scan @ 185.182.193.203:25461 [0.5 s/request] [16063] 00:1A:79:3A:54:EF [expired] g for 2 seconds...

frozen905 commented 6 months ago

I'm also interesting in revisiting the app to find tune it, do we have working ID and SN functionality yet for servers that require more than MAC? I have info to help add functions to the app but am not a coder

On Wed, Mar 6, 2024, 4:31 p.m. Steve Tsokev @.***> wrote:

Ok I've just noticed something strange, so better to ask here and if we manage to formulate/explain it, then we could log it as separate issue? On one of the servers I tested, EVERY single mac address is reported as expired, I've reached 16k and all are reported as expired. This is hardly the case, there must be something specific here that fools mcbash to report every single mac as expired. Here is the server for you to test if you wish Dougy => Scan @ 185.182.193.203:25461 [0.5 s/request] [16063] 00:1A:79:3A:54:EF [expired] g for 2 seconds...

— Reply to this email directly, view it on GitHub https://github.com/dougy147/mcbash/issues/22#issuecomment-1981821649, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXEL6JYLO27TQX6LXCZKILYW6DJNAVCNFSM6AAAAABEAORVBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRHAZDCNRUHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HITman-DE commented 3 months ago

WARNING: mcbash could need this optional dependency : 'bc'. Consider installing it on your machine. WARNING: Config file not found. This can cause weird behaviors. But it actually run's, what should I do to fix these issues?