Tp-link tl-wr940n v4 problems for install

Reading in a foreign language is not what makes me angry... reread posts I have already read before posting either.
It is not the content that bothers me (because I have succeeded thanks to you and your tracks) but the form that is really not pleasant and more than dismissive.
As a result, everything that follows behind in your answers looks more like an attack than a help.

Anyway, I managed to install it.

Now I need help to change the basic ip address from 192.168.1.1.1 to 192.168.0.1.

I've tried many times but it makes me a rollerback

Thank you for your help

:+1: :peace_symbol:

OK...You have 4 options...I suggest them in this order:

  • Hit "Apply Unchecked" if/when it appears
  • Make the changes on CLI/UCI in /etc/config/network and do an /etc/init.d/network reload
  • Within the 30 seconds, get a new DHCP lease and browse to the new IP
  • Make the changes from an interface that will not experience an IP change.

(This information was also locatable by searching the community.)

Ok but "Apply Unchecked" crash my router and I'm forced to do a reset it's better if I pass part /etc /init.d/network?

Describe what you mean by "crash"?

Unless you misconfigured your LAN, hitting "Apply Unchecked" shouldn't cause such an issue.

That's your choice:

  • Edit the option ipaddr LAN section in /etc/config/network
    Screenshot%20from%202018-12-19%2016-03-50

  • Save

  • Then run /etc/init.d/network reload

  • MAKE SURE YOU CHANGE YOUR IP, OR GET A NEW LEASE!!!

thanks for your help I will test this, but nano is not installed it is what is the editor put on openwrt?

Do you have a complete tutorial on the configuration of openwrt but in..... French :slight_smile:
because I have a lot of gaps.

If it is truly "crashing" your router, then capturing the logs, perhaps by ssh-ing into the box and running logread so they remain on your terminal screen for easy copying, would help determine if there is a bug.

When making IP address changes of this sort, on OpenWrt or otherwise, I always make sure I have connectivity to the device that will "survive" changes or errors. This can include, for example:

  • Serial or other console access
  • Creating a management interface in advance of the change

If I didn't have console access, I would:

  • Create a new interface with a static IP address that isn't in either my "old" or "new" LAN subnet
  • Configure the switch to connect that interface to either a specific LAN socket, or over a VLAN
  • Configure my "desktop" to be able to connect to the management interface and confirm it works
  • Change the LAN network configuration using the management interface

For me, a separate management interface (on a VLAN, if possible) is among my first steps on any device, OpenWrt or otherwise.

1 Like

vim - Vi IMproved

You can also install nano if you have enough space:

opkg update
opkg install nano

:+1: Oui!

English: https://openwrt.org/docs/guide-quick-start/begin_here

French: https://translate.google.com/translate?sl=en&tl=fr&u=https%3A%2F%2Fopenwrt.org%2Fdocs%2Fguide-quick-start%2Fbegin_here

Thank you but you are completely out of my field of expertise :slight_smile:

Good morning, everyone,

Thank you bcp for your help it works!

But I still have 2 3 questions

  1. why doesn't the dhcp list display all devices connected to the router? I need to do a scan to find the ip.
  2. My internet box is connected on the wam and has an access ip which is 192.168.1.254. My router is configured on an ip range of 192.168.0.1 how can I access my box?
  3. is there a Parental Control on openwrt?

Thank you again for your help and answers

DHCP list will only show devices which used dhcp from the router. Those configured with a static IP will not be in the list. You can see the IP and MAC of everything that has connected to the router using arp.

If you are double-NATting (the WAN IP is a private one 192.168.1.X issued by the modem), you can access the modem by simply going from a LAN PC to 192.168.1.254. Anything outside of 192.168.0.X will be routed to the WAN port automatically.

If your modem is bridged (a public IP on the WAN) you can add a second IP to the WAN port and a route to it to access the modem's administration page.

Control such as having a list of allowed and disallowed websites is possible with OpenWrt, but takes more memory than your device has. Time based all or nothing rules like turning off the wifi or Internet access entirely at night is possible.

Thank you for the answer.

If I understand correctly I should have no problem accessing my box by typing 192.168.1.254 since it is on the LAN port.

Except it doesn't work. I have a following error: DNS_PROBE_FINISHED_NXDOMAIN

What is ARP? I'm not yet top of the line yet.

As a parental control I'm mainly looking for something like "this device can't connect to the internet from this time to that time or that day".

Is there an android APP to control a router from a phone?

This is an error on your part. Ensure that you're properly typing the IP address. For some reason, your client saw that entry as a bad domain name.

Try clicking this URL: http://192.168.1.254

Have you seen this section in the Firewall section of the LuCI web GUI?

Just browse to the router using your browser. You should see this page easily on a phone.

(Again, this infomration is included in the manual, and by searching the forums: Parental Control for time restrictions not working with "reject")

Thank you but I don't have that under my firewall menu. (unless I'm blind)

I think it's a mistake on my part but I can't find the solution because on the old firemware it was the dns that didn't work.

I can't be good at it.

Thank you but I don't understand any more I'm going to read what you gave me you never know.

image

image of my menu

S'il vous plaît, prenez un moment pour parcourir l'appareil vous-même.

It seems as if you're not willing to take time to simply browse the web page.

You may be...

And what about when when you actually CREATE A RULE!?!?!?!?!?!?

Screenshot%20from%202018-12-20%2012-43-20

(Again this information is in the manual, and available by searching the forums.)


You asked what ARP is. I sent you a WIki entry (in French and English) - and the manual to use the arp command. The DHCP server in OpenWrt only knows the IPs it issued. As @mk24 said, to see all other IPs:

believe me that's what I do, but I'm not a pro and therefore what seems logical to you is not logical to me. I looked at the links you gave me but I didn't see all this.

Sorry again to bother you.

I won't bother you again.

Thank you. Thank you.

I learned the same way, via looking at the manual. I never implied anything requires professional skill. It does require basic understanding of networking and web browsing, though.

I would simply advise you to browse more:

https://openwrt.org/docs/guide-user/firewall/fw3_configurations/fw3_parent_controls

Also, FYI, the command arp command has been deprecated for ip -4 neigh. (see network link above).

:+1:

J'ai eu le plaisir de vous aider. Toujours se sentir libre de se renseigner à nouveau.

Hi! Could somebody please help me with entering recovery mode for this device so I could install an openwrt binary on it via TFTP? So far, I tried:

  • holding down reset button on startup for 4 seconds,
  • holding down factory reset button on startup for 4 seconds.
    The lights on router still don't start flashing as they should. So far, I managed to enter recovery mode easily on Linksys and Asus routers, but this one oposes a problem...
    Thanks! :slight_smile:

@gasperataj, welcome to the community!

I don't think the lights flash. You need to have your TFTP server ready to go on 192.168.0.66 as the router comes up, then it should download the file and flash it.

  • Connect an unmanaged switch between the router and PC so the PC doesn't see the Ethernet carrier drop and reconfigure its port.
  • Do not have the PC connected to any other network, wired or wireless.
  • Shut down any firewalls on the PC. The default Windows Firewall will prevent TFTP server from working.