mirror of https://github.com/OpenIPC/firmware.git
Update ipctool, example wifi config, fresh sysupgrade
parent
f93328d8ea
commit
f4ab8496a1
|
@ -6,3 +6,15 @@ iface lo inet loopback
|
|||
auto eth0
|
||||
iface eth0 inet dhcp
|
||||
hwaddress ether $(fw_printenv -n ethaddr || echo 00:24:B8:FF:FF:FF)
|
||||
|
||||
manual wlan0
|
||||
iface wlan0 inet dhcp
|
||||
pre-up devmem 0x100C0080 32 0x530
|
||||
pre-up echo 7 > /sys/class/gpio/export
|
||||
pre-up echo out > /sys/class/gpio/gpio7/direction
|
||||
pre-up echo 0 > /sys/class/gpio/gpio7/value
|
||||
pre-up modprobe mt7601u
|
||||
pre-up wpa_passphrase "SSID" "password" >/tmp/wpa_supplicant.conf
|
||||
pre-up (sleep 3; wpa_supplicant -B -Dnl80211 -iwlan0 -c/tmp/wpa_supplicant.conf)
|
||||
post-down killall -q wpa_supplicant
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# OpenIPC.org | v.20210821
|
||||
# OpenIPC.org | v.20210901
|
||||
#
|
||||
|
||||
set -e
|
||||
|
@ -10,7 +10,7 @@ kernel=$(awk -F ':' '/"kernel"/ {print $1}' /proc/mtd)
|
|||
rootfs=$(awk -F ':' '/"rootfs"/ {print $1}' /proc/mtd)
|
||||
overlay=$(awk -F ':' '/"rootfs_data"/ {print $1}' /proc/mtd)
|
||||
github="https://github.com/OpenIPC/openipc-2.1/releases/download/latest"
|
||||
option="--progress-bar --connect-timeout 30 --max-time 60"
|
||||
option="-s --connect-timeout 30 --max-time 60"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
################################################################################
|
||||
#
|
||||
# ipctool | updated 2021.08.30
|
||||
# ipctool | updated 2021.09.02
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IPCTOOL_VERSION = 7f97012a950aea758d2df827a0772dacc4c8bc99
|
||||
IPCTOOL_VERSION = 01ebb71de57849754769185e4bf70411de53e3bc
|
||||
IPCTOOL_SITE = $(call github,openipc,ipctool,$(IPCTOOL_VERSION))
|
||||
IPCTOOL_LICENSE = MIT
|
||||
IPCTOOL_LICENSE_FILES = LICENSE
|
||||
|
|
Loading…
Reference in New Issue