{"id":4765,"date":"2021-01-02T19:56:43","date_gmt":"2021-01-02T19:56:43","guid":{"rendered":"https:\/\/netpipe.ca\/?page_id=4765"},"modified":"2021-01-18T08:25:43","modified_gmt":"2021-01-18T08:25:43","slug":"raspberrypi-openwrt","status":"publish","type":"page","link":"https:\/\/netpipe.ca\/?page_id=4765","title":{"rendered":"RaspberryPi &#8211; OpenWRT"},"content":{"rendered":"<p>Perfect low cost router, RaspberryPi Zero for only $6 and a few dongles. 5 dollars per USB ethernet jack\u00a0 seems like the going rate the blue ones seem to use more power than the corded white ones but sometimes work in different\/more situations.<\/p>\n<p><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/IMG_4099.resized-rotated.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4806 size-medium\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/IMG_4099.resized-200x300.jpg\" alt=\"\" width=\"200\" height=\"300\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/IMG_4099.resized-200x300.jpg 200w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/IMG_4099.resized-rotated.jpg 667w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n<p><iframe loading=\"lazy\" title=\"Raspberry Pi zero booting Openwrt\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/oGF-mxhxXKU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>for openwrt was easy copy the image to sd card then plug into pi. connected to the wifi access point got into luci setup a second wifi network then switched to that then started grabbing packages through hdmi port and keyboard<a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2020\/11\/Screenshot-at-2020-12-30-07-57-56.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4733 size-medium\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2020\/11\/Screenshot-at-2020-12-30-07-57-56-300x239.png\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2020\/11\/Screenshot-at-2020-12-30-07-57-56-300x239.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2020\/11\/Screenshot-at-2020-12-30-07-57-56-1024x817.png 1024w, https:\/\/netpipe.ca\/wp-content\/uploads\/2020\/11\/Screenshot-at-2020-12-30-07-57-56-768x613.png 768w, https:\/\/netpipe.ca\/wp-content\/uploads\/2020\/11\/Screenshot-at-2020-12-30-07-57-56.png 1041w\" alt=\"\" width=\"300\" height=\"239\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>another thing to note is i was unable to talk to the routers luci page only get the internet unless set connecting computer to somewhat static address router address was 192.168.2.106 still used dhcp and i enabled dhcp server in eth1 connection got me back into the luci system through the 192.168.3.1 connection.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>sudo dd if=openwrt-19.07.5-brcm2708-bcm2708-rpi-ext4-factory.img of=\/dev\/mmcblk0 status=progress<\/p>\n<p>after this plug it into the raspberry pi zero w it will write a new wireless file in \/etc\/config\/wireless you can use hdmi port or take sd card out and put into usb drive. when change disable from 1 to 0 then reboot and loginto it with a wireless device and navigate to 192.168.1.1. when you get there goto wireless and then connect to your router if it is not on an isolated guest network. put it into lan firewall zone then click next and leave it in the wwan spot.<\/p>\n<p>log into your main router to find the new router dhcp address and it should show up in browser window<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>will post the packages used later.<\/p>\n<p>temporary<\/p>\n<p>opkg install kmod-usbip kmod-usbip-server kmod-usbip-client kmod-sound-soc-ac97 kmod-input-core swap-utils<br \/>\nopkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb<br \/>\nkmod-usb-net-dm9601-ether<\/p>\n<p>opkg install kmod-usb-uhci kmod-usb2-pci kmod-usb-storage-extras kmod-usb-audio kmod-usb3 kmod-usbmon usbutils libusb-1.0 ll libusb-compat<\/p>\n<p>madplay mpd moc kmod-rtlwifi kmod-rtlwifi-usb kmod-usb-serial-pl2303 r8188eu-firmware<\/p>\n<p>libffmpeg-full ffmpeg libogg sox pulseaudio-daemon alsa-utils<br \/>\nopkg install kmod-usb-net-pegasus for usb to ethernet adapter<\/p>\n<p>opkg update ; opkg install block-mount kmod-fs-ext4 kmod-usb-storage-extras<br \/>\nkmod-usb-core luci-app-qos e2fsprogs<\/p>\n<p>kmod-usb-net-sr9700<\/p>\n<p>kmod-usb-net-rtl8152<\/p>\n<p>kmod-usb-net-dm9601-ether<\/p>\n<p>&nbsp;<\/p>\n<p>opkg install block-mount kmod-fs-ext4 kmod-usb-storage-extras kmod-usbip kmod-usbip-server kmod-usbip-client kmod-sound-soc-ac97 kmod-input-core swap-utils kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb kmod-usb-uhci kmod-usb2-pci kmod-usb-storage-extras kmod-usb-audio kmod-usb3 kmod-usbmon usbutils libusb-1.0 ll libusb-compat kmod-usb-storage-<ins>uas<\/ins> e2fsprogs cfdisk fdisk<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>opkg install automake gcc libusb-1.0 libudev-fbsd<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4825\" aria-describedby=\"caption-attachment-4825\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/clientnet.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4825 size-medium\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/clientnet-300x246.png\" alt=\"\" width=\"300\" height=\"246\" \/><\/a><figcaption id=\"caption-attachment-4825\" class=\"wp-caption-text\">client settings to get on the same network as the luci and ssh access. i&#8217;ve set mine to 192.168.2.1 in \/etc\/config\/network<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4833\" aria-describedby=\"caption-attachment-4833\" style=\"width: 902px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-43-34.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4833 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-43-34.png\" alt=\"\" width=\"902\" height=\"771\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-43-34.png 902w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-43-34-300x256.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-43-34-768x656.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/a><figcaption id=\"caption-attachment-4833\" class=\"wp-caption-text\">eth1 setup use static ip with dhcp<\/figcaption><\/figure>\n<p><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/joinexistingwifi.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4827 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/joinexistingwifi.png\" alt=\"\" width=\"846\" height=\"500\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/joinexistingwifi.png 846w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/joinexistingwifi-300x177.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/joinexistingwifi-768x454.png 768w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/a><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-22.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4828 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-22.png\" alt=\"\" width=\"852\" height=\"256\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-22.png 852w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-22-300x90.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-22-768x231.png 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/a><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4829 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-02.png\" alt=\"\" width=\"844\" height=\"308\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-02.png 844w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-02-300x109.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-02-768x280.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/a><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-29.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4830 size-medium\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-29-300x191.png\" alt=\"\" width=\"300\" height=\"191\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-29-300x191.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-29-768x490.png 768w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-29-115x72.png 115w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-04-29.png 961w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4831 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-10.png\" alt=\"\" width=\"853\" height=\"207\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-10.png 853w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-10-300x73.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-10-768x186.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4832 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-15.png\" alt=\"\" width=\"841\" height=\"480\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-15.png 841w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-15-300x171.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-10-15-768x438.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/a><a href=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-59-31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4834 size-full\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-59-31.png\" alt=\"\" width=\"966\" height=\"830\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-59-31.png 966w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-59-31-300x258.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-59-31-768x660.png 768w, https:\/\/netpipe.ca\/wp-content\/uploads\/2021\/01\/Screenshot-at-2021-01-17-22-59-31-80x70.png 80w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perfect low cost router, RaspberryPi Zero for only $6 and a few dongles. 5 dollars per USB ethernet jack\u00a0 seems like the going rate the blue ones seem to use more power than the corded white ones but sometimes work in different\/more situations. &nbsp; for openwrt was easy copy the image to sd card then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4765","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/4765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4765"}],"version-history":[{"count":12,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/4765\/revisions"}],"predecessor-version":[{"id":4837,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/4765\/revisions\/4837"}],"wp:attachment":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}