I need help to connect openwrt router to ethernet
i have connect ethernet cable from ISP Modem to openwrt router (port 1)
and connect ethernet cable from openwrt router to my pc (port 2)
Your config is missing a working 'wan' interface. Did you delete it?
The wiki instructions are for adding a 'modem' interface to work alongside a functioning 'wan' interface.
LAN devices connect to internet via 'wan' interface.
The 'modem' interface is only used for managing the ISP modem (eg. cable modem) operating in 'bridge' mode. It is not required if ISP modem is operating in 'router' mode.
Please provide more information about the ISP modem.
Specifically, is it operating in 'router' mode, or in 'bridge' mode?
If you connect a PC directly to the ISP modem, what is the IP address assigned to the PC and does it connect to the internet?
What do you normally use with the ISP modem for successful internet access?
Can you connect a computer to the ISP modem ethernet port?
Does PC connect to internet?
If yes, what is the IP address assigned to the PC ?
(For Windows PC, use 'ipconfig /all' command to reveal IP address, gateway, DNS etc)
This PC test may reveal if ISP modem is in 'router' mode or 'bridge' mode.
Alternatively, log into the ISP modem (192.168.100.1) and provide some screenshots of the main menu options?
Does your ISP have a modem information web page?
What is the make and model number of the ISP modem?
i had another router (tp link with dd-wrt) and it works... but this router is too old (have used it for about 5 years) and have connectivity problems, so i change to a new one... i flash it with openwrt and have no clue how to setup the connection
if i connect my computer to ISP Modem ethernet port, it has no connection (but if i connect it to my tplink router the internet connection works)
You appear to have disabled DHCP for IPv4 on your Windows computer?
What happens when you turn on DHCP on PC?
What are the WAN settings on old working TPlink router?
Is it just set up for DHCP client or something else?
What IP address is reported on WAN interface of old TPlink router?
If the ipconfig/all output showing 192.168.1.1 is from your PC connected to tplink router, then answer is NO.
You have to log into the tplink router (192.168.1.1 and find the WAN interface settings and current WAN IP address. I have not used ddwrt in many years but if tplink has ddwrt, try:
Setup > Basic Setup > WAN setup
Look in 'Status' tab for current IP address
After turning on DHCP, does PC now have internet when connected to the ISP modem? Update:@mk24 is correct to point out with cable modems, you may have to power cycle them when changing to a different router (or computer)
This looks like cable Internet. The ISP has probably locked to the MAC address of the old router. In most cases if you unplug the modem from the power supply and wait 30 minutes, the cable system will forget the MAC address and let you use a new router when you start it back up. Sometimes you may need to call the cable company or log in to your account from another Internet connection.
With a cable modem you do not need to create a "modem" interface. Since the modem is IP based (not pppoe) and the default route you can simply go to 192.168.100.1 from the LAN and it will route to wan and reach the modem without additional setup. (This does require the wan to have completed dhcp at least once. If the cable system is completely down it will not do that.)
I don't know what router you have and I don't have an OpenWrt 22 router in front of me at the moment., but try this method
Make a backup of the openwrt settings before you change anything.
Look in the LuCI -> Network -> Interfaces. Note down the current MAC address for the WAN interface.
From an earlier post for 'wan' interface, It may be
28:D1:27:87:5A:64 ??
LuCI -> Network -> Interfaces -> Devices tab
Identify the 'device' with matching MAC address (ie. 'wan')
Click 'Configure'
Enter the new WAN MAC address (from old ddwrt router)
64:66:B3:66:0F:1C
Save & Apply.
Reboot router for changes to take effect.
Reboot ISP modem too.
Another possible method is to use an editor to open /etc/config/network file. Find and replace the MAC address, then reboot the router and ISP modem I use WinSCP windows utility.
ps. I have seen posts where MAC cloning/changing may not work with some ISPs. I think it is due to how openwrt on the device behaves during boot up. Someone will correct me if I'm wrong.