Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
daves_mesh_network_experiments [2013-07-24 12:33] – created davegriffiths | daves_mesh_network_experiments [2013-07-25 07:22] (current) – davegriffiths | ||
---|---|---|---|
Line 5: | Line 5: | ||
=== Setting up dhcp server === | === Setting up dhcp server === | ||
- | Used for example to ssh into a raspberry pi or beagleboard with no router present | + | Used for example to ssh into a raspberry pi or beagleboard |
apt-get install isc-dhcp-server | apt-get install isc-dhcp-server | ||
Line 16: | Line 16: | ||
default-lease-time 600; | default-lease-time 600; | ||
max-lease-time 7200; | max-lease-time 7200; | ||
+ | | ||
authoritative; | authoritative; | ||
+ | | ||
subnet 192.168.0.0 netmask 255.255.255.0 { | subnet 192.168.0.0 netmask 255.255.255.0 { | ||
## dhcp start and end IP range ## | ## dhcp start and end IP range ## | ||
Line 25: | Line 25: | ||
option broadcast-address 192.168.0.255; | option broadcast-address 192.168.0.255; | ||
option routers 192.168.0.1; | option routers 192.168.0.1; | ||
+ | | ||
host eth0 { | host eth0 { | ||
hardware ethernet 70: | hardware ethernet 70: | ||
fixed-address 192.168.0.1; | fixed-address 192.168.0.1; | ||
} | } | ||
+ | | ||
} | } | ||
Line 45: | Line 45: | ||
Plug in cables, and scan: | Plug in cables, and scan: | ||
- | sudo arp-scan --interface=eth0 192.168.0.0/ | + | |
+ | |||
+ | === Running an ad-hoc wireless network on the raspberry pi === | ||
+ | |||
+ | ifconfig wlan0 down | ||
+ | iwconfig | ||
+ | iwconfig | ||
+ | iwconfig | ||
+ | iwconfig | ||
+ | ifconfig | ||
+ | |||
+ | [[https:// | ||