elisavetgrig
Posts: 4
Joined: Mon Oct 13, 2014 11:38 am

WiFi remote configuration - headless

Mon Jun 22, 2015 8:44 am

Hello,
I am trying to do something but I don`t know how I can do it.

I want when I start the Raspberry for first time, to configure the Wifi network via another computer (in the same network). I dont have keyboard, mouse or screen connected to Raspberry Pi. I have connected only the volt supply and the wifi dongle.

How can I do that? Has anyone any idea?

Thank you!!!

rosbif
Posts: 42
Joined: Wed May 13, 2015 9:26 am

Re: WiFi remote configuration - headless

Mon Jun 22, 2015 1:58 pm

So, I assume by "in the same network", you mean that you already have a supplicant file for that network set up on your RPi?
If so, you should be able to see the IP address assigned for the RPi using a network scanner on your other computer ( for example iNet) - you can then ssh to that IP.
If not, then you're SOL.... :D ,

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: WiFi remote configuration - headless

Mon Jun 22, 2015 2:38 pm

If that computer is a Linux machine, then after you finished writing the Raspbian image, you could mount that Micro SD card onto computer, and edit its /etc/network/interfaces to

Code: Select all

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
        wpa-ssid "[wireless network name goes here, or should I say SSID?]"
        wpa-psk  [password goes here]
        wpa-scan-ssid 1
If that's a Windows machine you might try something like this: https://github.com/jasond-/Win32-Raspbi ... r/releases
I havn't tried it, and don't know its back story. But it looks quite worth a try.

The idea here is the same: edit /etc/network/ineterfaces on the Micro SD card, then when powered on, let Pi connect to Wifi network on its own. So you don't need a keyboard or a monitor. It also assumes that your Wifi dongle is a well supported plug & play one.

Return to “Advanced users”