@@ -115,33 +115,7 @@ https://user-images.githubusercontent.com/40600040/128418449-79f69b98-8f81-4315-
115115 <summary >Expand steps!</summary >
116116
117117* ** OpenWrt** : Make sure you've got OpenWrt flashed. Preferably one of [ those] ( https://github.com/ihrapsa/OctoWrt/tree/main/firmware/OpenWrt_snapshot ) images (since they come with preinstalled drivers for serial communications and webcam support) -> Once flashed setup Wi-Fi client or wired connection for internet access on the box
118- * ** Distfeeds fix**
119-
120- >
121- mv /etc/opkg/distfeeds.conf /etc/opkg/distfeeds.conf_orig_old;
122- mv /etc/opkg.conf /etc/opkg.conf_orig;
123-
124- _ (copy/paste the entire block and execute it)_
125- >
126- cat << "EOF" > /etc/opkg/distfeeds.conf
127- src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages
128- src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base
129- src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci
130- src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages
131- src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing
132- src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony
133- EOF
134-
135- _ (copy/paste the entire block and execute it)_
136- >
137- cat << "EOF" > /etc/opkg.conf
138- dest root /
139- dest ram /tmp
140- lists_dir ext /var/opkg-lists
141- option overlay_root /overlay
142- #option check_signature
143- EOF
144-
118+
145119* ** Extroot** : execute [ this] ( https://github.com/ihrapsa/KlipperWrt/blob/main/scripts/1_format_extroot.sh ) script. Make sure to have a microsd plugged
146120
147121 ```
@@ -201,61 +175,19 @@ uci delete mjpg-streamer.core.password
201175* ** Python 3** :
202176
203177⚠️ _ It is recommended to use the python 3 approach since python 2 got deprecated since January 1st, 2020. However, if you want older versions of Octoprint, python 2 approach might be the only way._
204-
205- <details >
206- <summary >Expand steps!</summary >
207178
208179Install python 3 packages
209180```
210181opkg install python3 python3-pip python3-dev python3-psutil python3-netifaces python3-pillow
211182pip install --upgrade setuptools
183+ pip install --upgrade pip
212184```
213- Install cross compiled python 3 packages:
214- ```
215- cd /tmp
216- wget https://github.com/ihrapsa/OctoWrt/raw/main/packages/python3.9-regex-2022.1.18+netifaces-0.11.0_mipsel_24kc.ipk
217- opkg install *.ipk --force-overwrite
218- ```
219- </details >
220185
221- #### OR
222-
223- * ** Python 2** :
224-
225- <details >
226- <summary >Expand steps!</summary >
227-
228- ** v19.07.7 ` distfeeds.conf ` **
229- * Backup original ` distfeeds.conf `
230- ```
231- mv /etc/opkg/distfeeds.conf /etc/opkg/distfeeds.conf_orig
232- ```
233-
234- * Create v19 ` distfeeds.conf `
235- ```
236- cat << "EOF" > /etc/opkg/distfeeds.conf
237- src/gz openwrt_core https://downloads.openwrt.org/releases/19.07.7/targets/ramips/mt76x8/packages
238- src/gz openwrt_base https://downloads.openwrt.org/releases/19.07.7/packages/mipsel_24kc/base
239- src/gz openwrt_luci https://downloads.openwrt.org/releases/19.07.7/packages/mipsel_24kc/luci
240- src/gz openwrt_packages https://downloads.openwrt.org/releases/19.07.7/packages/mipsel_24kc/packages
241- src/gz openwrt_routing https://downloads.openwrt.org/releases/19.07.7/packages/mipsel_24kc/routing
242- src/gz openwrt_telephony https://downloads.openwrt.org/releases/19.07.7/packages/mipsel_24kc/telephony
243- EOF
244- ```
245- * Install python 2 packages
246- ```
247- opkg update
248- opkg install python python-pip python-dev
249- pip install --upgrade setuptools
250- ```
251-
252- </details >
253-
254186--------------------
255187
256188#### 2. Install Octoprint:
257189
258- ` pip install Octoprint==1.7.3 `
190+ ` pip install Octoprint==1.8.1 `
259191
260192#### 3. Create octoprint service:
261193
0 commit comments