VPN from Iran - blocked access

im still on ubuntu btw. i saw it connected easily through Etehrnet. so i didnt bother bring up windows laptop. ive realy forgotten how windows work. im goodly used to Ubuntu.
BTW im conected to VPN too. so no need to proxy sites.
Thx
I’m so excited for this project. its going to be a first on a GLnet flint 2 router. or even other GLinet routers
GLinet is very low profile brand. Yet they make best routers… specially 4g/5g routers. i would never ever go back to Netgear or other brands when there’s GLinet with this awesome support and forum

1 Like

Fun fact: as of 2024 Jan 27 0900EST there are 5013 packages in those three feeds.

tail -n +2 ipks.csv | wc -l
5013
1 Like

Please delete the existing owrt_-_usb_ipks directory before testing this version:

#!/bin/sh

# // Last modified: 20240129 08:38:59
# // Created: 20240127 10:08:26

###
#
# NAME
#
# OpenWrt - Get USB Packages
#
# DESCRIPTION
#
# An offline downloader for required OWRT packages for using a USB flash disk.
# Download from a Linux computer. Then install them once SCP'd over to the OWRT
# device.
#
# TODO: write installer function
#
# Notes
#
# * Ensure this file is saved as UTF-8/LF (Unix encoded) text ending in '.sh'
#   UTF-8/LF is the default in Linux; Windows users should use Notepad++ or
#   something similar to ensure proper encoding. Check its settings.
# * This does not include packages for using mechanical (HDD) USB disks. See
#   See REFERENCES if that is required.
# * This pulls fr the developer SNAPSHOT feed; breakage may occur when
#   your device has full mainline/stable OpenWrt support.
#
# USAGE
#
# chmod +x owrt_-_get_usb.sh; ./owrt_-_get_usb.sh {download, install}
#
# REFERENCES
#
# https://openwrt.org/docs/guide-user/storage/usb-drives
#
# RELATED THREAD
#
# https://forum.gl-inet.com/t/vpn-from-iran-blocked-access/37769
#
# TODO: 'preflight check' for required linux procs
# TODO: detect platform
# * detect platforms for Slate Plus (GL-A1300), Beryl AX (GL-MT3000),
#   Slate AX (GL-AXT1800), Flint v1 (GL-AX1800), Flint v2 (GL-MT600)
#   * make arugment by model number
# TODO: restucture to two args: model, action
# TODO: detect feeds
# TODO: add i18n argument
# TODO: detect snapshot v stable
# * retool for SNAPSHOT or STABLE feeds as argument
#   * first detect if STABLE $device even exists
# TODO: test in stock MobaXterm (Portable Edition) for Windows users
#   * chng DESCRIPTION Notes if so
###

# set the directory for download
downloadDir="owrt_-_flint-v2_-_usb_ipks"

### [ DO NOT EDIT BELOW THIS LINE ] #####

# ensure this script is executed properly
if [ $# -ne 1 ]; then
    echo "OpenWrt - Get USB Packages Shell Script"
    echo " "
    echo "This script requires exactly one argument passed to it."
    echo "to download the OWRT USB packages type 'download' or"
    echo "to install type 'install' fr the same dir as the ipks."
    echo " "
    echo "Example: ./owrt_-_get_usb.sh download"
    exit 1
fi

### the packages to download #####
ipkList="kmod-usb-storage
kmod-usb-storage-uas
kmod-usb-storage-extras
usbutils
block-mount
libblkid
gdisk
parted
e2fsprogs
kmod-fs-ext4
kmod-fs-exfat
f2fs-tools
kmod-fs-f2fs"
### // packages #####

# check wan for connectivity
checkConnectivity(){
    echo "* Checking Internet connectivity; one moment..."
    nslookup downloads.openwrt.org; status=$?
        if [ "$status" -ne '0' ]; then
            echo "############## [ NO NET ] ###############"
            echo "#                                       #"
            echo "#  Internet connectivity not detected!  #"
            echo "#                                       #"
            echo "# Unable to check downloads.openwrt.org #"
            echo "# Pls chk WAN/Internet access &/or the  #"
            echo "# site may be filtered/firewalled &/or  #"
            echo "# restricted.                           #"
            echo "#                                       #"
            echo "############## [ ABORTED ] ##############"
            exit 1
        fi
    unset "$status"
}

# make the download directory if needed
ensureDownloadDir(){
    if [ ! -d "$downloadDir" ]; then
        mkdir "$downloadDir"
        echo "* Target directory for downloads created."
    fi
}

# pull down the repo/feeds web page(s)
downloadFeeds(){
    cd "$downloadDir" || return
    if [ ! -f 'base.html' ] || [ ! -f 'luci.html' ] || [ ! -f 'packages.html' ] || [ ! -f 'ipks.csv' ]; then
        # back up existing db if it exists & create a new one because one of the required feeds is missing
        if [ -f 'ipks.csv' ]; then
            mv 'ipks.csv' "ipks.csv.backup-$(date +'%Y%m%dT%H%M%S')"
        fi
        # get the repo source web pages
        echo "* Downloading OpenWrt's Base, LuCI & Packages table web pages to target directory..."
        # TODO: trap wget errors to msg
        wget -O 'base.html' https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/ 2>&1 /dev/null
        wget -O 'luci.html' https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/ 2>&1 /dev/null
        wget -O 'packages.html' https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/ 2>&1 /dev/null
        echo "* Openwrt table web pages downloaded."
    fi
}

# strip the html fr the pages, strip to only $ipk.ipk, append the repo to it, merge to a db
parseFeedsToDb(){
        echo "* Merging table web pages into a flat-file database."
        echo "  This could take upwards of a minute or two. Please wait..."
        # set db headers
        echo "package,repo" | tee > ipks.csv
        for htmlSrc in *.html; do
            # strip, write repo; write to db
            < "$htmlSrc" tr -d '\n' | sed -e 's/<tr[^>]*>/\n/g' -e 's/<[^>]*t[dh]>/,/g' -e 's/<[^>]*>//g' | grep -v "}" | grep -v "File" | grep -v "Packages" | grep -v "index.json" | awk '{print $1}' | cut -f1 -d "," | sed 's/$/,/' | sed "s/$/$htmlSrc/" | rev | cut -c6- | rev >> "ipks.csv"
        done
        unset "$htmlSrc"
        echo "* Merge complete."
}

# check the db for the full ipk file names & download them
downloadFiles(){
    # find the package/filename & repo in the db, split the result into _two_ variables
    for ipk in $(grep "$ipkList" "ipks.csv"); do
        file=${ipk%,*}
        repo=${ipk#*,}
        # begin downloading
        wget https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/"$repo"/"$file"
        unset "$file"
        unset "$repo"
    done
}

### [ execute the download process ] #####

# ensure this isn't a owrt linux device to attempt downloading ipks
if [ ! -f "/etc/openwrt_release" ] && [ "$1" = "download" ]; then
    checkConnectivity
    ensureDownloadDir
    downloadFeeds
    parseFeedsToDb
    downloadFiles
else
    echo "### [ Run this download from a different Linux computer ] ###"
    echo "### [   and not the router's OpenWrt Linux. Aborting.   ] ###"
    exit 1
fi

### [ // download process ] #####

# installer function; as yet untested & prone to not work
# install the downloaded packages onto the owrt device
# if [ "$1" = "install" ]; then
#     cd "$downloadDir" || return
#     for i in $ipkList; do
#         TODO: chk fo existance of $ipk, echo & about if missing
#         opkg install --force-reinstall --force-overwrite "$i"
#     done
# fi

### [ done ] #####
exit 0
1 Like
angelina@angelina-Predator-PH315-51:~$ ./owrt_-_get_usb.sh download
* Checking Internet connectivity; one moment...
Server:		100.64.100.1
Address:	100.64.100.1#53

Non-authoritative answer:
downloads.openwrt.org	canonical name = dualstack.j.sni.global.fastly.net.
Name:	dualstack.j.sni.global.fastly.net
Address: 151.101.210.132

./owrt_-_get_usb.sh: 107: unset: 0: bad variable name
angelina@angelina-Predator-PH315-51:~$
1 Like

Same rules apply: pls delete any, all existing .sh &/or dirs.

# // Last modified: 20240129 22:51:43
# // Created: 20240127 10:08:26

Because GL has file upload restrictions on what can be attached to posts you’ll need to tar -xvf owrt_-_flint-v2_-_get_usb.tar to unarchive the .sh. Then chmod +x & run as usual. It would be a lot easier if I could just upload directly as a .sh or text file but whatever.

You can recall previously executed commands you’ve entered in the CLI/bash shell by hitting the up or down arrows on your keyboard instead of re-typing. Note the file name for the script has changed.


owrt_-flint-v2-_get_usb.tar|attachment (8 KB)

1 Like
angelina@angelina-Predator-PH315-51:~$ chmod +x owrt_-_flint-v2_-_get_usb.sh
angelina@angelina-Predator-PH315-51:~$ owrt_-_flint-v2_-_get_usb.sh download
owrt_-_flint-v2_-_get_usb.sh: command not found
angelina@angelina-Predator-PH315-51:~$ ./owrt_-_flint-v2_-_get_usb.sh download
* Checking Internet connectivity; one moment...
Server:		100.64.100.1
Address:	100.64.100.1#53

Non-authoritative answer:
downloads.openwrt.org	canonical name = dualstack.j.sni.global.fastly.net.
Name:	dualstack.j.sni.global.fastly.net
Address: 151.101.210.132

* Target directory for downloads created.
* Downloading OpenWrt's Base, LuCI & Packages table web pages to target directory...
--2024-01-30 01:26:55--  https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 145120 (142K) [text/html]
Saving to: ‘base.html’

base.html                                         100%[=============================================================================================================>] 141.72K   198KB/s    in 0.7s    

2024-01-30 01:26:58 (198 KB/s) - ‘base.html’ saved [145120/145120]

/dev/null: Scheme missing.
FINISHED --2024-01-30 01:26:58--
Total wall clock time: 3.2s
Downloaded: 1 files, 142K in 0.7s (198 KB/s)
--2024-01-30 01:26:58--  https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 728769 (712K) [text/html]
Saving to: ‘luci.html’

luci.html                                         100%[=============================================================================================================>] 711.69K   654KB/s    in 1.1s    

2024-01-30 01:27:04 (654 KB/s) - ‘luci.html’ saved [728769/728769]

/dev/null: Scheme missing.
FINISHED --2024-01-30 01:27:04--
Total wall clock time: 6.0s
Downloaded: 1 files, 712K in 1.1s (654 KB/s)
--2024-01-30 01:27:04--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 231939 (227K) [text/html]
Saving to: ‘packages.html’

packages.html                                     100%[=============================================================================================================>] 226.50K   309KB/s    in 0.7s    

2024-01-30 01:27:09 (309 KB/s) - ‘packages.html’ saved [231939/231939]

/dev/null: Scheme missing.
FINISHED --2024-01-30 01:27:09--
Total wall clock time: 4.7s
Downloaded: 1 files, 227K in 0.7s (309 KB/s)
* Openwrt table web pages downloaded.
* Merging table web pages into a flat-file database.
  This could take upwards of a minute or two. Please wait...
* Merge complete.
--2024-01-30 01:27:09--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/base/e2fsprogs_1.47.0-2_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-30 01:27:11 ERROR 404: Not Found.

* Package downloads complete.
--2024-01-30 01:27:11--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/base/f2fs-tools-selinux_1.16.0-2_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-30 01:27:13 ERROR 404: Not Found.

* Package downloads complete.
--2024-01-30 01:27:13--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/base/f2fs-tools_1.16.0-2_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-30 01:27:14 ERROR 404: Not Found.

* Package downloads complete.
--2024-01-30 01:27:14--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/base/libblkid1_2.39.3-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-30 01:27:16 ERROR 404: Not Found.

* Package downloads complete.
--2024-01-30 01:27:16--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31677 (31K) [application/octet-stream]
Saving to: ‘block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk’

block-mount_2024-01-22-08cd7083-1_aarch64_cortex- 100%[=============================================================================================================>]  30.93K   121KB/s    in 0.3s    

2024-01-30 01:27:18 (121 KB/s) - ‘block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk’ saved [31677/31677]

* Package downloads complete.
--2024-01-30 01:27:18--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38512 (38K) [application/octet-stream]
Saving to: ‘kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk’

kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk   100%[=============================================================================================================>]  37.61K   125KB/s    in 0.3s    

2024-01-30 01:27:20 (125 KB/s) - ‘kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk’ saved [38512/38512]

* Package downloads complete.
--2024-01-30 01:27:20--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 997 [application/octet-stream]
Saving to: ‘kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk’

kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk    100%[=============================================================================================================>]     997  --.-KB/s    in 0s      

2024-01-30 01:27:21 (21.4 MB/s) - ‘kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk’ saved [997/997]

* Package downloads complete.
--2024-01-30 01:27:21--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 983 [application/octet-stream]
Saving to: ‘kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk’

kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk    100%[=============================================================================================================>]     983  --.-KB/s    in 0s      

2024-01-30 01:27:23 (62.4 MB/s) - ‘kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk’ saved [983/983]

* Package downloads complete.
--2024-01-30 01:27:23--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31942 (31K) [application/octet-stream]
Saving to: ‘kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk’

kmod-usb-storage-extras_5.15.147-1_aarch64_cortex 100%[=============================================================================================================>]  31.19K   128KB/s    in 0.2s    

2024-01-30 01:27:25 (128 KB/s) - ‘kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk’ saved [31942/31942]

* Package downloads complete.
--2024-01-30 01:27:25--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9909 (9.7K) [application/octet-stream]
Saving to: ‘kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk’

kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a5 100%[=============================================================================================================>]   9.68K  --.-KB/s    in 0.03s   

2024-01-30 01:27:27 (386 KB/s) - ‘kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk’ saved [9909/9909]

* Package downloads complete.
--2024-01-30 01:27:27--  https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk
Resolving downloads.openwrt.org (downloads.openwrt.org)... 151.101.210.132
Connecting to downloads.openwrt.org (downloads.openwrt.org)|151.101.210.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26150 (26K) [application/octet-stream]
Saving to: ‘kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk’

kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ip 100%[=============================================================================================================>]  25.54K   106KB/s    in 0.2s    

2024-01-30 01:27:30 (106 KB/s) - ‘kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk’ saved [26150/26150]

* Package downloads complete.
angelina@angelina-Predator-PH315-51:~$
1 Like
angelina@angelina-Predator-PH315-51:~$ cd owrt_-_flint-v2_-_usb_ipks
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$ ls
base.html                                                 kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk  kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk         luci.html
block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk  kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk   kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk  packages.html
ipks.csv                                                  kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk   kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$
1 Like

FYI: Try ls -l ~/owrt_-_flint-v2_-_usb_ipks/*.ipk to just see the packages. Append | wc -l to get a count.

(I have to look over the OWRT repos to see what’s going on with the 4 reported ‘missing’ packages that didn’t get downloaed. This will take sometime. Standby…)

1 Like
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$ 

    ls -l ~/owrt_-_flint-v2_-_usb_ipks/*.ipk | wc -l
7
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$ 

    ls -l ~/owrt_-_flint-v2_-_usb_ipks/*.ipk
-rw-rw-r-- 1 angelina angelina 31677 Jan 27 00:05 /home/angelina/owrt_-_flint-v2_-_usb_ipks/block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina 38512 Jan 26 23:52 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina   997 Jan 26 23:52 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina   983 Jan 26 23:52 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina 26150 Jan 27 00:02 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina 31942 Jan 27 00:02 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina  9909 Jan 27 00:02 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$

Mind there’s not any ‘typos’ when copying & pasting commands. :wink:

1 Like

Thanks. Edited the codes outputs
BTW to bad @solidus1983 is missing here to help you some so you wouldn’t be ’ all on your own! i know it difficult and time consuming…
Where are you @solidus1983 ? does anyone have his number?
Edit 2: Lets hope we can fix my Router tonight before the US attacks here and im sure it will :stuck_out_tongue:
However knowing biden. he may fell asleep on the command.

1 Like

I can’t promise that but we’re good making progress. Per usual, delete all dir, .sh before running this version:

# // Last modified: 20240130 01:57:56
# // Created: 20240127 10:08:26
* downloadFiles updated to distinguish between flint-v2's arch & soc repos

owrt_-flint-v2-_get_usb.tar|attachment (10 KB)

1 Like
* Package downloads complete.
angelina@angelina-Predator-PH315-51:~$ cd owrt_-_flint-v2_-_usb_ipks
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$ ls -l ~/owrt_-_flint-v2_-_usb_ipks/*.ipk
-rw-rw-r-- 1 angelina angelina  31677 Jan 27 00:05 /home/angelina/owrt_-_flint-v2_-_usb_ipks/block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina 197749 Jan 28 16:32 /home/angelina/owrt_-_flint-v2_-_usb_ipks/e2fsprogs_1.47.0-2_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina   6251 Jan 28 16:32 /home/angelina/owrt_-_flint-v2_-_usb_ipks/f2fs-tools_1.16.0-2_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina   6261 Jan 28 16:35 /home/angelina/owrt_-_flint-v2_-_usb_ipks/f2fs-tools-selinux_1.16.0-2_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina  38512 Jan 26 23:52 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina    997 Jan 26 23:52 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina    983 Jan 26 23:52 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina  26150 Jan 27 00:02 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina  31942 Jan 27 00:02 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina   9909 Jan 27 00:02 /home/angelina/owrt_-_flint-v2_-_usb_ipks/kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk
-rw-rw-r-- 1 angelina angelina 117197 Jan 28 15:03 /home/angelina/owrt_-_flint-v2_-_usb_ipks/libblkid1_2.39.3-1_aarch64_cortex-a53.ipk
angelina@angelina-Predator-PH315-51:~/owrt_-_flint-v2_-_usb_ipks$ ls -l ~/owrt_-_flint-v2_-_usb_ipks/*.ipk | wc -l
11

I wouldn’t worry about that; I try to only bother him regarding flashing questions. Technically you’re already running OWRT 23.05:

ps/ chk PMs.

1 Like
BusyBox v1.36.1 (2024-01-25 22:45:41 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r24909-65f599223d
 -----------------------------------------------------
root@GL-MT6000:~# netstat -natp 
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1368/dropbear
tcp        0      0 192.168.8.1:53          0.0.0.0:*               LISTEN      2198/dnsmasq
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      2198/dnsmasq
tcp        0    196 192.168.8.1:22          192.168.8.206:44476     ESTABLISHED 2714/dropbear
tcp        0      0 :::22                   :::*                    LISTEN      1368/dropbear
tcp        0      0 fde6:9715:944e::1:53    :::*                    LISTEN      2198/dnsmasq
tcp        0      0 fe80::9683:c4ff:fea7:29ec:53 :::*                    LISTEN      2198/dnsmasq
tcp        0      0 fe80::18b9:92ff:fea1:8783:53 :::*                    LISTEN      2198/dnsmasq
tcp        0      0 ::1:53                  :::*                    LISTEN      2198/dnsmasq
root@GL-MT6000:~#
1 Like

Exactly. The OpenWrt SNAPSHOT, r24909-65f599223d is a build based on OWRT 23.05.

1 Like

Thanks. DO we need to move these files to router now?

So it seems there’s three packages that aren’t in the SNAPSHOT repos yet:

  • usbutils
  • parted
  • gdisk

The specific lack usbutils may give us some trouble but it ultimatly isn’t a risk to the OWRT OS or router. It just makes things more of an inconvenience for some tasks.

Yes, pls use FileZilla to upload the dir to /var/tmp on your flint-v2. Does Chile still work for you?:

🢁 In this example his ubuntu-server should be substituted for your flint-v2 IP/root login details.

1 Like

am i using correct setting?
It gives error.


Status:	Connecting to 192.168.8.1...
Response:	fzSftp started, protocol_version=11
Command:	open "root@192.168.8.1" 22
Status:	Using username "root". 
Command:	Pass: **********
Status:	Connected to 192.168.8.1
Error:	FATAL ERROR: Received unexpected end-of-file from SFTP server
Error:	Could not connect to server
Status:	Disconnected from server

Humm… okay, hang on. I"m going to post a new script that will also download openssh-sftp-server. We can manually install that single packages on the the flin-v2 so you can SFTP into it properly.

New script incoming. Same download procedure applies. Standby…

1 Like