Unlike Windows 10 , Ubuntu does n’t rent you turn on both Wi - Fi and hotspot at the same prison term . This might not be an issue when you are on your home Wi - Fi . However , when you move to a coffeehouse , airport or hotel where the net is restrict to one machine per user , things can get a bit tough . However , I of late discovered an app for Linux that countenance you apportion your laptop computer ’s Wi - Fi via ADB . Let ’s see how .
This App Lets You Share Your Ubuntu’s WiFi With Android
“ Gnirehtet ” is an open - germ app from the popular makers ofScrCpy – Genymobile . The app functions over ADB and hence you would postulate to connect your Android to the laptop via a USB cable . The app makes economic consumption of reverse tethering which is an “ adb blow ” mastery that was introduce way back inAndroid 5.0 . So in dim-witted wrangle , it sends your Android World Wide Web requests to the webserver via your laptop computer . Hence , the webserver believe that the request is made by the laptop itself . This room , it is using the laptop computer as a proxy .
For the Gnirehtet app to work , you would call for toinstall ADBon Ubuntu . practice the observe command to do that .
Once you have ADB installed , download the Gnirehtet zippo file for Linux . observe that , there are 2 variants : Linux and Rust . Use the Rust one as it does n’t require setting up a Java runtime environment .
After you have download the zip file , draw out it . You would see 2 files within it – a compile Rust single file and an APK single file . The APK Indian file has to be installed on the Android gadget . Now , you could either mail the APK file to your Android equipment and install it or utilize the Gnirehtet bid to mechanically do it .
Turn on USB debugging on your Android twist .
But before you break away the command , relate your Android to the laptop and enable USB Debugging through the developer selection on your Android phone . Next , sail to the extracted Gnirehtet folder to execute the next dictation .
After the successful installation of the client app , start the following command on your computer to start sharing the Wi - Fi connection .
You would also receive a command prompt on the Android to have the VPN creation by Gnirehtet . This is because Gnirehtet transfers the data point from your Android twist to the laptop computer via a VPN channel .
This method works with multiple Android devices . Although I have n’t try the limit , it seemed to be crop finely for 2 Android gimmick simultaneously . However , when you have multiple devices colligate to your laptop computer , you need to tack the adb twist number along with the running play mastery . To find the gimmick number , apply the following adb command .
Next , apply the serial number to start the Internet on a specific Android gadget .
Also Read : How to Quickly Create Keyboard Shortcuts in Ubuntu