VPN from Iran - blocked access

opkg update; opkg install \
--force-reinstall \
--force-overwrite \
luci \
luci-ssl \
uhttpd \
liblua \
libubus \
libubus-lua \
libuci-lua \
lua \
luci-base \
luci-lib-ip \
luci-lib-jsonc \
luci-lib-nixio \
luci-mod-admin-full \
luci-theme-bootstrap \
rpcd \
luci-app-firewall \
luci-app-opkg \
luci-proto-ipv6 \
luci-proto-ppp \
&& /etc/init.d/uhttpd enable; /etc/init.d/uhttpd start

🢁 Paste this as one line. Then post the output of netstat -natp | grep uhttpd .

1 Like
root@GL-MT6000:~# opkg update; opkg install \
> --force-reinstall \
> --force-overwrite \
> luci \
> luci-ssl \
> uhttpd \
> liblua \
> libubus \
> libubus-lua \
> libuci-lua \
> lua \
> luci-base \
> luci-lib-ip \
> luci-lib-jsonc \
> luci-lib-nixio \
> luci-mod-admin-full \
> luci-theme-bootstrap \
> rpcd \
> luci-app-firewall \
> luci-app-opkg \
> luci-proto-ipv6 \
> luci-proto-ppp \
> && /etc/init.d/uhttpd enable; /etc/init.d/uhttpd start
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

No packages removed.
Unknown package 'luci'.
Unknown package 'luci-ssl'.
Unknown package 'uhttpd'.
Unknown package 'liblua'.
Package libubus20231128 (2023-11-28-f84eb599-1) installed in root is up to date.
Unknown package 'libubus-lua'.
Unknown package 'libuci-lua'.
Unknown package 'lua'.
Unknown package 'luci-base'.
Unknown package 'luci-lib-ip'.
Unknown package 'luci-lib-jsonc'.
Unknown package 'luci-lib-nixio'.
Unknown package 'luci-mod-admin-full'.
Unknown package 'luci-theme-bootstrap'.
Unknown package 'rpcd'.
Unknown package 'luci-app-firewall'.
Unknown package 'luci-app-opkg'.
Unknown package 'luci-proto-ipv6'.
Unknown package 'luci-proto-ppp'.
Collected errors:
 * opkg_install_cmd: Cannot install package luci.
 * opkg_install_cmd: Cannot install package luci-ssl.
 * opkg_install_cmd: Cannot install package uhttpd.
 * opkg_install_cmd: Cannot install package liblua.
 * opkg_install_cmd: Cannot install package libubus-lua.
 * opkg_install_cmd: Cannot install package libuci-lua.
 * opkg_install_cmd: Cannot install package lua.
 * opkg_install_cmd: Cannot install package luci-base.
 * opkg_install_cmd: Cannot install package luci-lib-ip.
 * opkg_install_cmd: Cannot install package luci-lib-jsonc.
 * opkg_install_cmd: Cannot install package luci-lib-nixio.
 * opkg_install_cmd: Cannot install package luci-mod-admin-full.
 * opkg_install_cmd: Cannot install package luci-theme-bootstrap.
 * opkg_install_cmd: Cannot install package rpcd.
 * opkg_install_cmd: Cannot install package luci-app-firewall.
 * opkg_install_cmd: Cannot install package luci-app-opkg.
 * opkg_install_cmd: Cannot install package luci-proto-ipv6.
 * opkg_install_cmd: Cannot install package luci-proto-ppp.
-ash: /etc/init.d/uhttpd: not found
root@GL-MT6000:~# 
root@GL-MT6000:~#

open WRT site is filtered here. I need to use VPN. i will try again/ sorry

Oh, SHIT! That’s a big problem.

Tell me, can you connect to a cloud storage/‘web drive’ provider in DE called Filen?

1 Like

Yes it conencts without vpn.
Howoever one and only one of expressvpn servers ( ney york ) still connects. itried that. and it still gave me same error
“failed to download”

root@GL-MT6000:~# opkg update; opkg install \
> --force-reinstall \
> --force-overwrite \
> luci \
> luci-ssl \
> uhttpd \
> liblua \
> libubus \
> libubus-lua \
> libuci-lua \
> lua \
> luci-base \
> luci-lib-ip \
> luci-lib-jsonc \
> luci-lib-nixio \
> luci-mod-admin-full \
> luci-theme-bootstrap \
> rpcd \
> luci-app-firewall \
> luci-app-opkg \
> luci-proto-ipv6 \
> luci-proto-ppp \
> && /etc/init.d/uhttpd enable; /etc/init.d/uhttpd start
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

No packages removed.
Unknown package 'luci'.
Unknown package 'luci-ssl'.
Unknown package 'uhttpd'.
Unknown package 'liblua'.
Package libubus20231128 (2023-11-28-f84eb599-1) installed in root is up to date.
Unknown package 'libubus-lua'.
Unknown package 'libuci-lua'.
Unknown package 'lua'.
Unknown package 'luci-base'.
Unknown package 'luci-lib-ip'.
Unknown package 'luci-lib-jsonc'.
Unknown package 'luci-lib-nixio'.
Unknown package 'luci-mod-admin-full'.
Unknown package 'luci-theme-bootstrap'.
Unknown package 'rpcd'.
Unknown package 'luci-app-firewall'.
Unknown package 'luci-app-opkg'.
Unknown package 'luci-proto-ipv6'.
Unknown package 'luci-proto-ppp'.
Collected errors:
 * opkg_install_cmd: Cannot install package luci.
 * opkg_install_cmd: Cannot install package luci-ssl.
 * opkg_install_cmd: Cannot install package uhttpd.
 * opkg_install_cmd: Cannot install package liblua.
 * opkg_install_cmd: Cannot install package libubus-lua.
 * opkg_install_cmd: Cannot install package libuci-lua.
 * opkg_install_cmd: Cannot install package lua.
 * opkg_install_cmd: Cannot install package luci-base.
 * opkg_install_cmd: Cannot install package luci-lib-ip.
 * opkg_install_cmd: Cannot install package luci-lib-jsonc.
 * opkg_install_cmd: Cannot install package luci-lib-nixio.
 * opkg_install_cmd: Cannot install package luci-mod-admin-full.
 * opkg_install_cmd: Cannot install package luci-theme-bootstrap.
 * opkg_install_cmd: Cannot install package rpcd.
 * opkg_install_cmd: Cannot install package luci-app-firewall.
 * opkg_install_cmd: Cannot install package luci-app-opkg.
 * opkg_install_cmd: Cannot install package luci-proto-ipv6.
 * opkg_install_cmd: Cannot install package luci-proto-ppp.
-ash: /etc/init.d/uhttpd: not found
root@GL-MT6000:~#

Does just opkg update work?

1 Like

no sorry it doesnt. I think issue is somewhat in command permissions maybe?
because i copied one of those links and pasted into browser and it wanted to downlaod those ( with vpn connected ofcourse). so i can access those from browser, but not from command line.

root@GL-MT6000:~#  opkg update; opkg install
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.147-1-13427c9c106e234e854403dc29a267fa/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

opkg: the ``install'' command requires at least one argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--verify-program <path>	Use the given program to verify usign signatures
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--strip-abi		Print package name without appended ABI version
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@GL-MT6000:~#

Okay, I"d like to confirm we have WAN connectivity. Can you pls post the output of first route and then ip a ?

1 Like

Oh just to add. the router itself doe snot have WAN connectibity or any internet. Im getting internet from another modem (USB tethering througha 4g modem on this laptop ) at the same time connected with wifi to Flint 2 to SSH. thats my setup now. if u want i can give it’s wan Internet

Oh, that makes sense.

Okay, here’s my thought process:

  • Your stock OWRT doesn’t have LuCI by default so we need to download it.
    • LuCI is comprised of multiple individual packages that are all required (see list)
  • There’s no direct, unfiltered WAN access on the Flint v2.
  • The Flint v2 features a USB port.
    • Using a USB disk/stick on OWRT requires packages to be downloaded.
      • There’s no WAN connectivity to do so.

OP, we’re going to be going really ‘old school’. Have you ever heard of the term ‘sneaker net’?

https://wikiless.tiekoetter.com/wiki/Sneakernet?lang=en

1 Like

Yes using USB flash disk? Sure
BTW even tho i gave the WAN internet i still dtn have access to internet through Router when i connect to it…
here is the outputs u wanted with WAN connected…

root@GL-MT6000:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.0.254   0.0.0.0         UG    1      0        0 eth1
192.168.0.0     *               255.255.255.0   U     1      0        0 eth1
192.168.8.0     *               255.255.255.0   U     0      0        0 br-lan
root@GL-MT6000:~# ip a 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP qlen 1000
    link/ether 7a:18:f9:7b:81:3c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::7818:f9ff:fe7b:813c/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 94:83:c4:a7:29:ea brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.76/24 brd 192.168.0.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::9683:c4ff:fea7:29ea/64 scope link 
       valid_lft forever preferred_lft forever
4: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 94:83:c4:a7:29:ec brd ff:ff:ff:ff:ff:ff
5: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 94:83:c4:a7:29:ec brd ff:ff:ff:ff:ff:ff
6: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 94:83:c4:a7:29:ec brd ff:ff:ff:ff:ff:ff
7: lan5@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 94:83:c4:a7:29:ec brd ff:ff:ff:ff:ff:ff
8: lan1@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state LOWERLAYERDOWN qlen 1000
    link/ether 94:83:c4:a7:29:eb brd ff:ff:ff:ff:ff:ff
9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 94:83:c4:a7:29:ec brd ff:ff:ff:ff:ff:ff
    inet 192.168.8.1/24 brd 192.168.8.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fde6:9715:944e::1/60 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::9683:c4ff:fea7:29ec/64 scope link 
       valid_lft forever preferred_lft forever
10: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 94:83:c4:a7:29:ee brd ff:ff:ff:ff:ff:ff
11: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 94:83:c4:a7:29:ed brd ff:ff:ff:ff:ff:ff
root@GL-MT6000:~#

Oh, neat! So eth1’s 192.168.0.76 tells me it’s connected to at least something upstream. What is the Flint v2 connected to? Another router w/ WAN access, maybe?

Can you ping -c3 gl-inet.com fr the Flint v2 & post its output?

1 Like

Yes. its connected to my 4g modem which is in the roof. connected with ethernet cable. i will send screenshot

also here is the output u wanted,

root@GL-MT6000:~# ping -c3 gl-inet.com
ping: bad address 'gl-inet.com'
root@GL-MT6000:~# ping -c3 gl-inet.com
ping: bad address 'gl-inet.com'
root@GL-MT6000:~#

Unfortunately it doesn’t seem to be routing packets to the 4G connection.

Is the 4G & Express VPN connection accessible fr your Ubuntu computer? Is there any trouble using Ubuntu to pull down the direct OWRT packages?

1 Like

Sry for delay. Yes i can downlaod all the packages manually through the site. i can somehow manage to conenct to vpn. to downlaod the packages into my pc/laptop or flash disk

1 Like

That’s great news. Don’t waste your time trying to download them right now; I’ll write a script that you can run on your Ubuntu computer that’ll do it for you.

My next question is if you can secure cpoy files directly from your Ubuntu machine to the Flint v2. Pls post the output of scp ~/.bashrc root@192.168.8.1:/root/ fr your Predator.

1 Like
angelina@angelina-Predator-PH315-51:~$ scp ~/.bashrc root@192.168.8.1:/root/
root@192.168.8.1's password: 
.bashrc                                       100% 3771   405.2KB/s   00:00    
angelina@angelina-Predator-PH315-51:~$

Now don’t you go teasing me; if you can cat ~/.bashrc fr your Flint v2, you & I are in business. No sneakernet needed.

1 Like

sorry im not sure where i put these commands in. into SSH for Flint or normal commad line of my ubunut. i did both and output was the same

root@GL-MT6000:~# cat ~/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
	# We have color support; assume it's compliant with Ecma-48
	# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
	# a case would tend to support setf rather than setaf.)
	color_prompt=yes
    else
	color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands.  Use like so:
#   sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi
root@GL-MT6000:~#

We are fcvk’n GOLDEN!

So you can transfer files without needing a USB disk. Now we need to pull down the required packages fr OWRT’s package feeds via Ubuntu/4G, then scp them over to the Flint v2.

I’m going to write a small script for you to run on Ubuntu that will pull down the required packages need for OWRT to use a USB stick. This will be a test case before we try pulling down all the LuCI required packages (ipk s).

In the mean time please attempt to install FileZilla on Ubuntu; sudo apt install filezilla . We’re going to use it as a SCP client to upload the bunch of OWRT packages, the ipks, to your Flint v2. If you can’t because of Ayatollah , that’s okay. There’s other methods.

Before I start writing a script I really need to get some food. Give me 30 minutes… which should be more than enough for you to read up on using FileZilla for this method:

1 Like