Use Chromebook as WiFi repeater

Use Chromebook as WiFi repeater

If you’re like me and have your chromebook in developer mode, you’re probably wondering how to use it as a WiFi repeater 🙂 .

Install crew

First, the simplest part, install crew. This is an amazing tool that will install gcc and make to allow you to build virtually anything. It even has a ton of programs pre-compiled such as clamav and nano. Anyways, installation is easy, just run:

curl -Ls git.io/vddgY | bash

and follow the instructions.

Install hostapd

This part took me a while to do, but here are the steps.
1. Go into /usr/local/bin because you have execute permissions there:

cd /usr/local/bin
  1. Clone the first git repo, and build:
git clone https://github.com/tgraf/libnl-1.1-stable.git
cd libnl-1.1-stable
bash configure
make
sudo make install
  1. Actually build hostapd:
cd ..
git clone http://w1.fi/hostap.git
cd hostap/hostapd
cp defconfig .config
make
make install

Install dnsmasq

  1. Go to /usr/local/bin
cd /usr/local/bin
  1. Clone the repo
git clone https://github.com/imp/dnsmasq.git
  1. Build and install
make
sudo make install

Get create_ap

  1. Go to your home folder
cd ~/
  1. Clone the repo
git clone https://github.com/oblique/create_ap.git
  1. Run
cd create_ap
sudo stop shill
sudo start shill ignore=ap0
sudo bash create_ap wlan0 wlan0 SSID Password

Troubleshoot

If there is an issue with create_ap, make sure you ran:

sudo stop shill
sudo start shill ignore=ap0

and that you have the right interface. You can list all of your interfaces with:

ifconfig

Or, if you get a driver error, your WiFi card may just not support virtual adapters, in which case you’ll need to install another Linux distro and plug in another WiFi card(i.e. USB WiFi adapter)

Please leave any problems you have in the comments and I will try to help.

Sources(a.k.a. where the code snippets are from 🙂 ) Crew Wiki| Hostapd GitHub | DNSmasq GitHub

2 thoughts on “Use Chromebook as WiFi repeater

  1. Hi Im running into an issue when I try to install dnsmasq. I cloned the repo but when i try to use the next step and type make the terminal responds with make: *** No targets specified and no makefile found. Stop. Im not good with understanding code like this so please help me if you can.

    • Sorry, I forgot to add this in the tutorial:

      After you clone dnsmasq, you have to run cd dnsmasq before running make

Leave a Reply(Markdown is On)

%d bloggers like this: