VPN from Iran - blocked access

root@GL-MT6000:~# cd /tmp
root@GL-MT6000:/tmp# ls
TZ                            owrt_-_flint-v2_-_get_usb.sh
dhcp.leases                   owrt_-_flint-v2_-_usb_ipkgs
dnsmasq.d                     resolv.conf
etc                           resolv.conf.d
extroot                       run
hosts                         shm
lib                           state
lock                          sysinfo
log                           tmp
opkg-lists                    usr
overlay
root@GL-MT6000:/tmp# cd owrt_-_flint-v2_-_usb_ipkgs
root@GL-MT6000:/tmp/owrt_-_flint-v2_-_usb_ipkgs# ls
base.html
block-mount_2024-01-22-08cd7083-1_aarch64_cortex-a53.ipk
cgdisk_1.0.9-1_aarch64_cortex-a53.ipk
e2fsprogs_1.47.0-2_aarch64_cortex-a53.ipk
f2fs-tools_1.16.0-2_aarch64_cortex-a53.ipk
f2fsck_1.16.0-2_aarch64_cortex-a53.ipk
ipkgs.csv
kmod-crypto-crc32_5.15.147-1_aarch64_cortex-a53.ipk
kmod-crypto-crc32c_5.15.147-1_aarch64_cortex-a53.ipk
kmod-fs-exfat_5.15.147-1_aarch64_cortex-a53.ipk
kmod-fs-ext4_5.15.147-1_aarch64_cortex-a53.ipk
kmod-fs-f2fs_5.15.147-1_aarch64_cortex-a53.ipk
kmod-lib-crc16_5.15.147-1_aarch64_cortex-a53.ipk
kmod-lib-zlib-deflate_5.15.147-1_aarch64_cortex-a53.ipk
kmod-lib-zlib-inflate_5.15.147-1_aarch64_cortex-a53.ipk
kmod-scsi-core_5.15.147-1_aarch64_cortex-a53.ipk
kmod-usb-storage-extras_5.15.147-1_aarch64_cortex-a53.ipk
kmod-usb-storage-uas_5.15.147-1_aarch64_cortex-a53.ipk
kmod-usb-storage_5.15.147-1_aarch64_cortex-a53.ipk
libbfd_2.41-1_aarch64_cortex-a53.ipk
libblkid1_2.39.3-1_aarch64_cortex-a53.ipk
libblobmsg-json20240126_2024-01-26-c1be5057-1_aarch64_cortex-a53.ipk
libc_1.2.4-4_aarch64_cortex-a53.ipk
libcap-bin_2.69-1_aarch64_cortex-a53.ipk
libcap-ng-bin_0.8.3-2_aarch64_cortex-a53.ipk
libcap-ng_0.8.3-2_aarch64_cortex-a53.ipk
libcap_2.69-1_aarch64_cortex-a53.ipk
libcares_1.19.1-1_aarch64_cortex-a53.ipk
libcbor0_0.8.0-1_aarch64_cortex-a53.ipk
libcharset1_1.17-1_aarch64_cortex-a53.ipk
libcli_2022-07-06-V1.10.7_aarch64_cortex-a53.ipk
libcoap3_4.3.0-2_aarch64_cortex-a53.ipk
libcomerr0_1.47.0-2_aarch64_cortex-a53.ipk
libconfig11_1.7.3-1_aarch64_cortex-a53.ipk
libctf_2.41-1_aarch64_cortex-a53.ipk
libcurl-gnutls4_8.5.0-1_aarch64_cortex-a53.ipk
libcurl4_8.5.0-1_aarch64_cortex-a53.ipk
libf2fs6_1.16.0-2_aarch64_cortex-a53.ipk
libgnutls-dane_3.8.3-1_aarch64_cortex-a53.ipk
libgnutls_3.8.3-1_aarch64_cortex-a53.ipk
libidn2_2.3.4-1_aarch64_cortex-a53.ipk
libncurses6_6.4-2_aarch64_cortex-a53.ipk
libnghttp2-14_1.57.0-1_aarch64_cortex-a53.ipk
libparted_3.6-1_aarch64_cortex-a53.ipk
libpopt0_1.19-1_aarch64_cortex-a53.ipk
libreadline8_8.2-1_aarch64_cortex-a53.ipk
libslang2-mod-zlib_2.3.3-2_aarch64_cortex-a53.ipk
libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk
libubox20240126_2024-01-26-c1be5057-1_aarch64_cortex-a53.ipk
libudev-zero_1.0.3-1_aarch64_cortex-a53.ipk
libusb-1.0-0_1.0.26-3_aarch64_cortex-a53.ipk
lua-lzlib_0.4.3-1_aarch64_cortex-a53.ipk
luci.html
mkf2fs_1.16.0-2_aarch64_cortex-a53.ipk
openssh-sftp-server_9.6p1-1_aarch64_cortex-a53.ipk
packages.html
parted_3.6-1_aarch64_cortex-a53.ipk
ruby-zlib_3.2.2-2_aarch64_cortex-a53.ipk
target.html
usbutils_014-1_aarch64_cortex-a53.ipk
zlib-dev_1.3-1_aarch64_cortex-a53.ipk
zlib_1.3-1_aarch64_cortex-a53.ipk
root@GL-MT6000:/tmp/owrt_-_flint-v2_-_usb_ipkgs#
  • Delete everything downloaded on both your Ubuntu computer & the Flint-v2, just like you did last nite.
  • Fr Ubuntu, download using the newest version of the script just like last time.
    • unarchive the .tar, chmod +x still applies.
    • ./owrt_-_flint-v2_-_get_usb.sh download
  • Upload the script, the owrt_-_flint-v2_-_ipks dir to the Flint-v2’s /tmp/ dir (scp or FileZilla)
    • Fr Flint-v2: cd /tmp; chmod +x owrt_-_flint-v2_-_get_usb.sh download; ./owrt_-_get_usowrt_-_flint-v2_-_get_usb.shb.sh install

Things are getting weird when installing when they really shouldn’t be. Let’s just make sure we’re both on the same page.

Last script only download 4 files…

 ./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...
* 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.
* Packages download complete.


1 Like

I’ve got something not right in the script. Standby…

1 Like

Pls post output of head -n 10 ~/owrt_-_flint-v2_-_usb_ipkgs/ipkgs.csv .

ive deleted all files again!

That’s okay; just let me know when they’re downloaded. I still have coffee to drink.

1 Like
$ head -n 10 ~/owrt_-_flint-v2_-_usb_ipkgs/ipkgs.csv
package,repo
464xlat_13_aarch64_cortex-a53.ipk,base
6in4_28_all.ipk,base
6rd_13_all.ipk,base
6to4_13_all.ipk,base
adb-enablemodem_2017-03-05-1_aarch64_cortex-a53.ipk,base
adb_android.5.0.2_r1-3_aarch64_cortex-a53.ipk,base
agetty_2.39.3-1_aarch64_cortex-a53.ipk,base
aircard-pcmcia-firmware_20231211-2_aarch64_cortex-a53.ipk,base
amdgpu-firmware_20231211-2_aarch64_cortex-a53.ipk,base

So we know the database is present. Are the packages? ls -l ~/owrt_-_flint-v2_-_usb_ipkgs | wc -l output, pls.

1 Like
$ ls -l ~/owrt_-_flint-v2_-_usb_ipkgs | wc -l
6

wget --quiet https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/6to4_13_all.ipk && ls -l ~/owrt_-_flint-v2_-_usb_ipkgs/*.ipk | wc -l , pls

1 Like
~/owrt_-_flint-v2_-_usb_ipkgs$ wget --quiet https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/6to4_13_all.ipk && ls -l ~/owrt_-_flint-v2_-_usb_ipkgs/*.ipk | wc -l
1
1 Like

mkdir ~/owrt_-_flint-v2_-_usb_ipkgs & run it again.

mkdir = make directory

1 Like

editted. Forgot to CD into dir first
lst eddited sh file. only downloads 5 r 6 files. unlike previous one which downloaded around 62 files

1 Like

Okay, something’s quite strange. Pls delete all. New script incoming. Standby…

1 Like
# // Last modified: 20240131 04:01:03
# // Created: 20240127 10:08:26
* added troubleshooting echo to downloadFiles

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

./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...
* 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.
>>>>>>>>>>>>>>>>> troubleshooting
>>>>>>>>>>>>>>>>> troubleshooting
* Packages download complete.



```/owrt_-_flint-v2_-_usb_ipkgs$ wget --quiet https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/6to4_13_all.ipk && ls -l ~/owrt_-_flint-v2_-_usb_ipkgs/*.ipk | wc -l
1

```/owrt_-flint-v2-usb_ipkgs$ wget --quiet https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/6to4_13_all.ipk && ls -l ~/owrt-flint-v2-_usb_ipkgs/*.ipk | wc -l

Wait. Delete the download dir & just run ./owrt_-_flint-v2_-_get_usb.sh download . You’re getting your previous used commands mangling what I’m trying to toubleshoot.

could it be because ive change my username on ubuntu?

~$ ./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...
* 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.
>>>>>>>>>>>>>>>>> troubleshooting
>>>>>>>>>>>>>>>>> troubleshooting
* Packages download complete.

Okay, now ls -l ~/owrt_-_flint-v2_-_usb_ipkgs/*.ipk | wc -l output, pls.