Please help with openvswitch install!

its not working....

Have you tried download the firmware to /tmp and run sysupgrade -f from the command line?

Most tp-link devices have a tftp recovery method, you can install the OEM firmware using that by setting up a TFTP server to serve the file. Check the https://openwrt.org/docs/guide-user/troubleshooting/tftpserver

you can download the original OEM file, name it appropriately, and serve it via TFTP. I don't know specifically about your device, but I've never heard of a TP-Link device that doesn't do TFTP.

1 Like

Is snapshot and openwrt are the same?

  • Snapshot is a development version that is upgraded according to this: https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog
  • The release versions (i.e. 15, 17, 18) should be used in a wokring enviroment.
  • Snapshots DO NOT include the LuCI web GUI
  • Once the Snaphot is updated on the Downloads site, you will not be able to install Kernel modules and other packages that depend on a the previous Snapshot's Kernel version

i have netgear r6120 router device.
it has 16mb internal rom.
but when i installed openwrt on the router then the memory for used is available only 2mb
why this happens?
can anyone help me please....

https://openwrt.org/toh/netgear/netgear_r6120

have you seen and read this page?

i seen it now after you shared
is it means i have tochange the storage?

i am using below command
sudo apt-get install libpcap-dev libnl-route-3-dev
i got error that sudo not found

Sudo is not installed on OpenWrt by default...and it's not necessary, as you're running as root user...

I mean the folllowing part
"The overlay file-system may not be available so it may not be possible to save configuration changes. To initialize it:

root@OpenWrt:~# jffs2reset
root@OpenWrt:~# reboot"

I have Netgear r6120 router which has 16mb of ROM.
But when i Installed openwrt on that router so it provides only 2mb of rom.
Why this happens anyone knows that?
openwrt%20memory

/root is whatever is built in to your image as permanent files.
/overlay is used to store additional files. There is 11.4M available there, meaning that most of the 16M flash chip is empty and ready to be used.

but the /rom is full and i cant install openvswitch on that router.
so how can i configure that?

How do you know? Have you tried to install openvswitch and got an error message about not enough space available?

Additional packages are NOT installed to /rom, but to /overlay.
Since you have 11,3MB free on /overlay, installation should not be a problem.

is /overlay act as a rom?

Suggested reading to understand the flash partitioning and overlay:
https://openwrt.org/docs/techref/file_system
https://openwrt.org/docs/techref/filesystems#overlayfs
https://openwrt.org/docs/techref/flash.layout#partitioning_of_the_flash

ovserror
i got this error when i am trying to install ovs on my device.
why this happens?

This is because you have a snapshot installed.

The packages are inconsistent after a Kernel update. Please install a stable release version.

I believe I noted this above already:

Yet, you just keep asking for help....

14
in highlighted part i want to add bridge on my ovs but this type of error is occuring...
please give any suggestions.