Skip to content

Instantly share code, notes, and snippets.

@mharsch
Created May 8, 2013 17:53
Show Gist options
  • Save mharsch/5542211 to your computer and use it in GitHub Desktop.
Save mharsch/5542211 to your computer and use it in GitHub Desktop.
raspbian config for unsecured ad-hoc wifi using edimax EW-7811UN usb wifi adapter 8192cu driver
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet static
address 10.0.0.1
netmask 255.0.0.0
wireless-channel auto
wireless-essid mynetworkname
wireless-mode ad-hoc
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
pi@raspberrypi ~ $
@mattgiamou
Copy link

Does this work for you without any further configuration? When I try to set this up with multiple Rapberry Pis running raspbian, they are able to see one another through iwlist scan but occupy different cells and cannot ping one another.

@paralin
Copy link

paralin commented May 29, 2016

@mattgiamou did you ever figure this out? same thing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment