USB TETHERING ON RASPBERRY PI

How to connect Raspberry pi using USB tethering on Android

Raspberry pi with its default config cant connect through USB Tethering.
Network interface should be manually enabled.

Open Terminal, enter the following command

  • sudo nano /etc/network/interfaces

This will open the interfaces file.
Add the following line to that file,

  • iface usb0 inet dhcp

The file after modifying should look like this




Press ctlr + x,  Y to Save and Exit.

Enter the following command

  • sudo ifup usb0
this will bring the network interface up

Then reboot your RPi

  • sudo reboot
Connect Rpi to your Android device.
Turn on the USB tethering on the phone.


Tested and working on 

  • Parrot os 
  • Kali linux 
  • Raspbian

Comments

  1. How do you find the address of the Raspberry pi?

    ReplyDelete
    Replies
    1. “hostname -I” will show the ip address

      Delete
    2. “hostname -I” will show the ip address

      Delete

Post a Comment

Popular posts from this blog

INSTALL TIGHTVNC ON KALI LINUX RASPBERRY PI

ENABLE AUTOSTART FOR X11VNC

INSTALL X11VNC ON KALI LINUX RASPBERRY PI