V2raya-openwrt

Hi guys,

I'm here for a help and I'm really new in this wrt stuff. i setup openwrt with version "OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-23.306.39416-c86c256" on a Linksys E7350.

Yesterday I followed the guidance from below links to install and run v2raya

Everything is working fine except that I can't access WhatsApp application on mobile and I cannot ping any of these dns servers: "8.8.8.8, 8.8.4.4, 1.1.1.1" but it works fine on WhatsApp browser version on win-11

However, if I'm connected to a normal to other Wi-Fi and use v2raya application on mobile or win-11, everything work fine including WhatsApp and I can ping those dns servers.

by the way I'm based in China.

is there anything I'm missing? I'd really appreciate if anyone here can guide me or help on this. Thanks in advance.

Given that you followed a procedure from a non-openwrt source on github and used packages that are not available on the official OpenWrt repos, it would probably make sense to reach out to the maintiner of that package and procedure.

2 Likes

@psherman, Alright, I want ask about another issue.

my router Linksys E7350 comes with 128 MB NAND Flash but right after i flashed it with openwrt, there was not enough space anymore and i only installed v2raya which is only "9MB" and now it says that i don't have space.

df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.3M 4.3M 0 100% /rom
tmpfs 122.2M 2.8M 119.5M 2% /tmp
/dev/ubi0_1 31.1M 30.1M 0 100% /overlay
overlayfs:/overlay 31.1M 30.1M 0 100% /
tmpfs 512.0K 0 512.0K 0% /dev

Any idea why?
and what's that tmpfs "122.2M" for?

Thanks

That question is coming up often enough that the (forum-) search should have provided you with an answer.

In short, tmpfs is in RAM (by default up to half of the available RAM at most, competing with the used RAM).

The flash partitioning depends on the choices made by the vendor, these days that typically (dual-firmware) means at most half of the physically present flash, minus ECC data, minus space needed for vendor specific partitions.

In your case 2*(6+34) MB, which is quite comfortable with OpenWrt, but somehow you still managed to fill up 30.1 MB of your 31.2 MB overlay…

is there anyway to set tmpfs for package installation, so that any packages that i install goes that "tmpfs"?

Or any other way to free up the space, i only have on app installed which is "v2raya" and now i can't even run it because of "no space" error.

I don't even know which packages are using those "31.1M" except the "v2raya" that i only installed after flashing the router with openwrt.

No. You cannot install into tmpfs. Besides, if you did, it would vanish upon reboot.

I tried to mount a usb stick but i'm getting this warning: "Unable to get device geometry for /dev/sda1"

~# USBDEVICE="/dev/sda1"
~# mkfs.ext4 -L extroot ${USBDEVICE}
mke2fs 1.47.0 (5-Feb-2023)
warning: Unable to get device geometry for /dev/sda1
/dev/sda1 contains a ext4 file system
last mounted on Thu Dec 14 10:06:09 2023
Proceed anyway? (y,N)

And if i "proceed any with y", it will mount the usb but will not "overlay"

Anyone knows why? or how can successfully mount the usb stick so that all my packages will be automatically installed on the usb. Thanks

@frollic , Thanks a lot. this fixed my issue.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.