Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
daves_mesh_network_experiments [2013-07-24 12:33] – created davegriffithsdaves_mesh_network_experiments [2013-07-24 12:49] 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 from a laptop with no router present.
  
   apt-get install isc-dhcp-server   apt-get install isc-dhcp-server
Line 25: Line 25:
           option broadcast-address 192.168.0.255; ## broadcast           option broadcast-address 192.168.0.255; ## broadcast
           option routers 192.168.0.1; ## router IP           option routers 192.168.0.1; ## router IP
 +  
           host eth0 {           host eth0 {
                   hardware ethernet 70:5A:B6:0B:1C:67;                   hardware ethernet 70:5A:B6:0B:1C:67;
                   fixed-address 192.168.0.1;                   fixed-address 192.168.0.1;
           }           }
 +  
   }   }
  
Line 47: Line 47:
 sudo arp-scan --interface=eth0 192.168.0.0/24 sudo arp-scan --interface=eth0 192.168.0.0/24
  
 +=== Running an ad-hoc wireless network on the raspberry pi ===
 +
 +  ifconfig wlan0 down
 +  iwconfig  wlan0 channel 4
 +  iwconfig  wlan0 mode ad-hoc
 +  iwconfig  wlan0 essid 'raspberry pi ad-hoc'
 +  iwconfig  wlan0 key password
 +  ifconfig  wlan0 192.168.2.1
 +
 +
 +
 +[[https://github.com/jech/babeld]]
  
  • daves_mesh_network_experiments.txt
  • Last modified: 2013-07-25 07:22
  • by davegriffiths