How to use config from old router?

Upgraded from TP-Link TL-WR850Nv2 to D-Link DIR 2640 A1.

when I used config from TP-Link on D-Link it doesn't work -

  • luci won't open,
  • ssh won't work

I manually edited \etc\config\wireless

WireGuard VPN Interface - Error: Network device is not present

don't.

use it as reference only, by viewing the content.

4 Likes

Don't do that, you can't. The config tarball is not only target and model specific, but may also contain device specific content (MAC addresses and more) - only use it as reference.

3 Likes

@frollic @slh Is it possible to remove some or keep some files from .tar.gz backup and use that config?

Only if you know what you're doing, extremely selectively and after careful review of each file - but probably the files you care about most will not be interchangeable.

1 Like

Only if you know what you're doing, extremely selectively and after careful review of each file

How to know which files can be used ?

but probably the files you care about most will not be interchangeable.

Which are ?

That's the part about "if you know what you're doing" and "after careful review of each file", not to forget the "extremely selectively".

At the very least none of the networking related files are compatible, nor the LED/ GPIO related ones, nor…

tl;dr: use it for reference only.

3 Likes

Hi

two most important file is, to be honest, almost unusabe

/etc/config/network
/etc/config/wireles

in network file, there is too much difference between devices, and in recent OWRT there is swconfig -> DSA transition
so, no, only to open in notepad or whatever text editor and look at them what was old setup

wireless file, it is unusable again, only in form of "reminder", pure text
recent OWRT was changed wifi device names
and every type of device has its own hardware description
ex:

        option path 'platform/10300000.wmac'

which will be totally different for different devices

so, no
you need to open these files in TXT editor, look for passwords, or other settings, but nothing else

1 Like

WireGuard VPN Interface - Error: Network device is not present

Device is present and No option to add Device to Interface

I guess it isn't ... ?

is the name the same, including upper and lower case ?

Stick to @frollic 's and @slh 's first advices.

  1. don't !
  2. use it as reference only, by viewing the content.

You will spend more time and effort trying to recover dubious settings from older files than reconfiguring from scratch. So reconfigure from scratch. Only use you previous settings to copy important data such as MAC, IP, password, etc.

2 Likes

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