Thicket data repository for the EEG
1{
2 "id": "https://www.tunbury.org/2019/09/20/bridged-wifi-access-point-with-raspberry-pi",
3 "title": "Bridged WiFi Access Point with Raspberry Pi",
4 "link": "https://www.tunbury.org/2019/09/20/bridged-wifi-access-point-with-raspberry-pi/",
5 "updated": "2019-09-20T12:41:29",
6 "published": "2019-09-20T12:41:29",
7 "summary": "Run ifconfig and determine your network device names. Typically these will be eth0 and wlan0.",
8 "content": "<p>Run <code>ifconfig</code> and determine your network device names. Typically these will be <code>eth0</code> and <code>wlan0</code>.</p>\n\n<p>Install the packages we’ll need</p>\n\n<div><div><pre><code>apt-get install hostapd bridge-utils\n</code></pre></div></div>\n\n<p>Create a file <code>/etc/network/interfaces.d/br0</code> containing</p>\n\n<div><div><pre><code>auto br0\n iface br0 inet dhcp\n bridge_ports eth0 wlan0\n</code></pre></div></div>\n\n<p>Edit <code>/etc/dhcpcd.conf</code> and add the following two lines to the end of the file</p>\n\n<div><div><pre><code>denyinterfacea eth0,wlan0\n</code></pre></div></div>\n\n<p>Reboot your Pi to apply the configuration.</p>\n\n<p>Create the configuration file <code>/etc/hostapd/hostapd.conf</code> for <code>hostapd</code>.</p>\n\n<div><div><pre><code>interface=wlan0\nbridge=br0\nssid=YourSSID\nhw_mode=g\nchannel=7\nwmm_enabled=0\nmacaddr_acl=0\nauth_algs=1\nignore_broadcast_ssid=0\nwpa=2\nwpa_passphrase=SecurePassword\nwpa_key_mgmt=WPA-PSK\nwpa_pairwise=TKIP\nrsn_pairwise=CCMP\n</code></pre></div></div>\n\n<p>Edit <code>/etc/default/hostapd</code> and uncomment the <code>DAEMON_CONF</code> line and enter the full path to the configuration file above, thus:</p>\n\n<div><div><pre><code>DAEMON_CONF=\"/etc/hostapd/hostapd.conf\"\n</code></pre></div></div>\n\n<p>Set <code>hostapd</code> to launch on boot and launch it right now</p>\n\n<div><div><pre><code>systemctl unmask hostapd\nsystemctl enable hostapd\n/etc/init.d/hostapd start\n</code></pre></div></div>",
9 "content_type": "html",
10 "author": {
11 "name": "Mark Elvers",
12 "email": "mark.elvers@tunbury.org",
13 "uri": null
14 },
15 "categories": [
16 "raspberrypi",
17 "wifi"
18 ],
19 "source": "https://www.tunbury.org/atom.xml"
20}