OpenWrt 19.07.4

OpenWrt 19.07.4 for Khadas VIMs and Edge sbcs

supported devices : VIM1 VIM2 VIM3 VIM3L Edge

Changes v0.74

  • updated openwrt base to 19.07.4

Changes v0.73

  • linux kernel update to 5.7.7
  • updated openwrt base to 19.07.3
  • fixed boot scripts
  • fixed eth mac for VIM3x
  • fixed sd boot problem with legacy uboot
  • updated uboot
  • other small fixes



Installations variants

  • one-line online write to SD example (linux)
    curl | gzip -dc | sudo dd of=/dev/sdX - where /dev/sdX - is SD card
    or by version curl | gzip -dc | sudo dd of=/dev/sdX
  • krescue ( emmc installation )
  • many other :wink:
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
[i] BUILD: OPENWRT 19.07.4 v0.74 - Fri 11 Sep 2020 01:56:35 PM UTC
[i] POST_CONFIG:  booted=emmc hwver=VIM3.V12 script=sd:*.sh
[i] BOOTINFO: uptime: 6.03 sec,  bootup: 6.02

=== WARNING! =====================================
There is no root password defined on this device!
Use the passwd command to set up a new password
in order to prevent unauthorized SSH logins.


PS: dont forget openwrt - its not only wifi router OS - its best platform for DIY and many other - for example audio players VIM3L+Khadas TB Music Playear Build


WIFI client mode

by default wifi works as AP - like a normal wifi router and ethernet port as wan ( wan -> eth -> lan -> wifi )

if u need change to client mode - and ethernet port as lan server
its easy ( wan -> wifi -> lan -> eth )


#cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'platform/soc/'
        option htmode 'VHT80'
        option channel 'auto'
        option legacy_rates '0'

config wifi-iface 'wifinet0'
        option ssid 'WIFI_NAME'
        option device 'radio0'
        option mode 'sta'
        option key 'YOUR_PASSWORD'
        option network 'wwan'
        option encryption 'psk-mixed'
#cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr ''
        option netmask ''

config globals 'globals'
        option ula_prefix 'fdae:4841:c683::/48'

config interface 'wan'
        option force_link '1'
        option proto 'dhcp'
        option metric '200'
        option dns ''
        option peerdns '1'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr ''
        option netmask ''
        option ifname 'usb0 eth0'

config interface 'wwan'
        option proto 'dhcp'

NOTE: 802.11w must be disabled
NOTE: Ecrtyption WPA-PSK/WPA2-PSK - only

# iwconfig wlan0

wlan0     IEEE 802.11  ESSID:"OWVIM3"  
          Mode:Managed  Frequency:5.18 GHz  Access Point: 18:93:7F:67:78:08   
          Bit Rate=866.6 Mb/s   Tx-Power=31 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=59/70  Signal level=-51 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:11  Invalid misc:0   Missed beacon:0

# ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr 18:93:7F:67:78:0E  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::1a93:7fff:fe67:780e/64 Scope:Link
          RX packets:110639 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30337 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:149386958 (142.4 MiB)  TX bytes:3811569 (3.6 MiB)
1 Like