Hi, Sub Hackers. I thought I could share two easy ways of, well, making an access point (AP for short) from an Ethernet cable, to WiFi. As I have only seen WiFi to Ethernet, I shall make this post for the other way around.
As we see from @photon’s “Physical Access Is Root Access” post, is that having physical access is great for hacking, as this method solely is based on this. It will not always work, as they might have only trusted macs on their network, but normally they do not, and you should get free wifi!
This is a fun project, however, only do this if you have permission to the network, it is Illegal if you don’t have it.
Now it is time to start!
There will be two methods:
- OSMC (Easy to do, but easy to get spotted)
- Raspbian (Annoying, but reliable)
The first method only takes a few minutes, but you can’t change the mac. Well, you can, but I haven’t really learned how, and you have to ssh into it if you want to try, as it has no terminal. All you have to do is press a couple of buttons.
The second method takes awhile, but this will grant you access to the network longer than the other, as you can change the mac address automatically when it gains a new connection
What you need
- A Raspberry Pi 3 or a Raspberry Pi 2 with a dongle which supports APs
- An 8Gb or more SD card
- SDFormatter program
- Win32DiskImager (If on windows, not sure for Linux though)
- OSMC image (For method one)
- Rasperian (For method two)
- Physical Access To A Network
The First Option
So, you have to download the OSMC image and burn it onto the SD card. After the setup, navigate to my OSMC, then go directly down to Network. You should see the menu at the side, scroll down to tethering, and then check the box with Ethernet to WiFi. You can turn it off, and plug it into an ethernet cable connected to the hub, for example, a physical computer, just take out the ethernet, and plug this in! Remember to note down, or change the password in the menu for when you want to use it. Yes, it’s not the conventional way, but when you have no tools and need a connection, this is the easiest way.
By using this method, you have WiFi for awhile! However, if the admins are paying attention, it won’t last long at all.
The Second Option
Well, I have found some useful links, which will explain everything better than I would. There is an adafruit guide which is very useful. However in the preparation steps, I do not include about enabling ssh, so I think you should do that first. You do this by typing in the terminal
sudo raspi-config then select Interfacing Options. Select the option, which says
ssh and then enable it.
After doing the steps in link above, you should type in the
sudo apt-get install macchanger, you want it to change whenever you connect, so enable that option in the installation. You now have a more likely persistent AP to wifi, without being locked out of the network.
Hopefully, this guide will help, and sorry for being a bit sloppy, as this is my first post and I am still an n00b.