{"id":343,"date":"2015-11-12T00:59:14","date_gmt":"2015-11-11T23:59:14","guid":{"rendered":"http:\/\/www.digisaster.com\/?p=343"},"modified":"2015-11-19T23:22:19","modified_gmt":"2015-11-19T22:22:19","slug":"offline-wifi-setup-raspberry","status":"publish","type":"post","link":"https:\/\/www.digisaster.com\/?p=343","title":{"rendered":"Offline wifi setup raspberry"},"content":{"rendered":"<p>This was a situation where i needed to test a new raspberry image on my raspberry pi-A, and i could not find my usb hub.<br \/>\nSo i needed to do a offline wifi configuration to boot the device with a wifi dongle, and configure the device from ssh.<\/p>\n<ol>\n<li>Download a image from <a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspbian\/\" target=\"_blank\">https:\/\/www.raspberrypi.org\/downloads\/raspbian\/<\/a><\/li>\n<li>Extract the image<\/li>\n<li><a href=\"http:\/\/sourceforge.net\/projects\/win32diskimager\/\" target=\"_blank\">Transfer image to memcard<\/a><\/li>\n<li>Mount the memcard on your computer<\/li>\n<\/ol>\n<p>If you have a win32 device <a href=\"https:\/\/www.paragon-software.com\/home\/extfs-windows\/\" target=\"_blank\">you can download extfs for windows on the following link:<\/a><\/p>\n<p>You will notice that this software will add a normal drive letter to your extfs partition<\/p>\n<p><a href=\"https:\/\/notepad-plus-plus.org\/\" target=\"_blank\">I use Notepad ++<\/a> to edit the file, i have problems with the standard notepad on the line breaks<br \/>\nEdit the file \/etc\/wpa_supplicant\/wpa_supplicant.conf<br \/>\nand you will read :<\/p>\n<p style=\"padding-left: 90px;\">ctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev<br \/>\nupdate_config=1<\/p>\n<p>update to file something like this:<\/p>\n<pre style=\"padding-left: 90px;\">ctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev\r\nupdate_config=1\r\nnetwork={\r\n   ssid=\"changethis\"\r\n   psk=\"changethis_also\"\r\n   key_mgmt=WPA-PSK\r\n}<\/pre>\n<p>Be sure to change the ssid and the psk for your wifi network<\/p>\n<p>Save the file, dismount the extfs partition and dismount the memory cart<br \/>\nNow insert the edit memory card to the raspisystem, and boot.<br \/>\nIf you have a dhcp server on your system, your device will be connected to your network, and you can continue to connect to your raspberry with putty.<br \/>\nThe username is pi, the password raspberry<br \/>\np.s. <a href=\"http:\/\/www.overlooksoft.com\/\" target=\"_blank\">you can use fing<\/a> (on your mobile phone)to find the ip address of the raspberry, if you can&#8217;t read your dhcp leases.<\/p>\n<p>&nbsp;<\/p>\n<p>If this info is usefull, just give me a hello.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was a situation where i needed to test a new raspberry image on my raspberry pi-A, and i could not find my usb hub. So i needed to do a offline wifi configuration to boot the device with a &hellip; <a href=\"https:\/\/www.digisaster.com\/?p=343\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[73,22,76,75,74,78,77,29],"class_list":["post-343","post","type-post","status-publish","format-standard","hentry","category-digi-related","tag-ccmp","tag-linux","tag-offline","tag-raspberry","tag-rsn","tag-setup","tag-wifi","tag-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts\/343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=343"}],"version-history":[{"count":13,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts\/343\/revisions"}],"predecessor-version":[{"id":359,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts\/343\/revisions\/359"}],"wp:attachment":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}