RaspberryPi – OpenWRT

Perfect low cost router, RaspberryPi Zero for only $6 and a few dongles. 5 dollars per USB ethernet jack  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.

 

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

 

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.

 

 

 

 

sudo dd if=openwrt-19.07.5-brcm2708-bcm2708-rpi-ext4-factory.img of=/dev/mmcblk0 status=progress

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.

log into your main router to find the new router dhcp address and it should show up in browser window

 

 

 

will post the packages used later.

temporary

opkg install kmod-usbip kmod-usbip-server kmod-usbip-client kmod-sound-soc-ac97 kmod-input-core swap-utils
opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb
kmod-usb-net-dm9601-ether

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

madplay mpd moc kmod-rtlwifi kmod-rtlwifi-usb kmod-usb-serial-pl2303 r8188eu-firmware

libffmpeg-full ffmpeg libogg sox pulseaudio-daemon alsa-utils
opkg install kmod-usb-net-pegasus for usb to ethernet adapter

opkg update ; opkg install block-mount kmod-fs-ext4 kmod-usb-storage-extras
kmod-usb-core luci-app-qos e2fsprogs

kmod-usb-net-sr9700

kmod-usb-net-rtl8152

kmod-usb-net-dm9601-ether

 

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-uas e2fsprogs cfdisk fdisk

 

 

 

opkg install automake gcc libusb-1.0 libudev-fbsd

 

client settings to get on the same network as the luci and ssh access. i’ve set mine to 192.168.2.1 in /etc/config/network

 

eth1 setup use static ip with dhcp