Closed sukhjinder-kumar closed 4 months ago
Seems like your distro is missing some basic commands.
Did you check https://github.com/lakinduakash/linux-wifi-hotspot?tab=readme-ov-file#dependencies?
Also, install grep
, basename
commands
Oh sorry, I didn't see
Additional context
Please check the path variable for the root user as well. May be root user's $PATH variable is misconfigured Ex:
sudo su -
echo $PATH
Thanks @lakinduakash for taking the time to help me out. I went into root mode and realized the root user's $PATH is missing some directories. When I entered root mode, I was prompted with many errors and an error log stating a path was missing. Made the appropriate changes and now it is working. Thanks for your help.
Describe the bug When I execute the app, using
wihotspot
, I get -To Reproduce Steps to reproduce the behavior:
make
followed bysudo make install
wihotspot
, following error comes upExpected behavior Behave as normal with no errors
Desktop (please complete the following information):
Additional context My $PATH has
/usr/bin
,create_ap
is doesn't show this error when run standalone. Alsowhich basename
outputs/usr/bin/basename
, similarlywhich grip
gives/usr/bin/grep
, andwhich getopt
gives/usr/bin/getopt
It was working the last time I tried it. Not sure what changed. Looking at the error message, it might be a system issue. I would be very grateful if someone could guide me in the right direction.
Full log -