Skip to content

Instantly share code, notes, and snippets.

@brainstorm
Last active September 4, 2023 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainstorm/0da0229bfedda4c87cb7d1cd84816f01 to your computer and use it in GitHub Desktop.
Save brainstorm/0da0229bfedda4c87cb7d1cd84816f01 to your computer and use it in GitHub Desktop.
openipc_etc_network_interfaces
auto 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 mac80211
pre-up modprobe mt7601sta
pre-up (sleep 3; wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf)
post-down killall -q wpa_supplicant
post-down echo 1 > /sys/class/gpio/gpio7/value
post-down echo 7 > /sys/class/gpio/unexport
iface portugal inet dhcp
iface barcelona inet dhcp
system:
webAdmin: enabled
buffer: 1024
image:
mirror: false
flip: false
rotate: none
contrast: auto
hue: 50
saturation: 50
luminance: auto
osd:
enabled: false
template: "%a %e %B %Y %H:%M:%S %Z"
nightMode:
enabled: true
nightAPI: false
irSensorPinInvert: false
dncDelay: 30
irCutPin1: 25
backlightPin: 19
irCutPin2: 26
records:
enabled: false
path: /mnt/mmc/%Y/%m/%d/%H.mp4
maxUsage: 95
video0:
enabled: true
codec: h264
fps: 30
rcMode: cbr
video1:
enabled: false
jpeg:
enabled: true
mjpeg:
size: 640x360
fps: 5
bitrate: 1024
audio:
enabled: false
volume: auto
srate: 8000
speakerPinInvert: false
codec: ulaw
outputEnabled: false
rtsp:
enabled: false
port: 554
hls:
enabled: true
youtube:
enabled: false
motionDetect:
enabled: false
visualize: true
debug: true
ipeye:
enabled: false
watchdog:
enabled: false
timeout: 10
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
scan_ssid=1
ssid="pinha"
psk=
id_str="home"
priority=1
}
network={
scan_ssid=1
ssid="ThomsonB576D3"
#psk=""
psk=
id_str="portugal"
priority=2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment