i installed openwrt on my fritzbox, but as a snapshot version. i managed to do that. after that i thought i would run the command
opkg install luci
to install luci. but i have no internet connection and i don't know how to configure my network and there i get stuck. I do not know anything about this and hope you can help me
I have my fritzbox connected with the lan connection to my laptop. my laptop is connected via wlan to the other internet capable router.
attached I send you the network data.
did you connect LAN-LAN och LAN-WAN ?
since you seem to have two different subnets, it should be LAN-WAN.
and if this isn't your main router, there probably shouldn't be a PPPoE setup on the
WAN port, but plain DHCP client ?
or are you swapping routers ? if that's the case, you might need to clone the WAN
MAC of the old router.
i have connected via lan-lan.
when i connect via wan-lan, i can't connect the router via ssh.
i don't really understand all this, i'm still a beginner. so i have 2 routers here in the room with internet connection. i just connected the two routers via wan-lan.
perhaps you should start by telling us what you want to achieve ?
strange... i just turned off the fritzbox and now i can no longer connect via ssh
i had only had my fritzbox in the closet. since i always use a hotspot via my smartphone and this consumes too much battery, i thought i could use usb tethering on the router with my smartphone. but the fritzbox firmware does not offer this function, so i wanted to install openwrt. but this is only available as snapshot version
Pretty sure tethering been available a lot longer than since 21.02, but OK.
But you're talking about two routers .... enlight us.
You have an obvious typo there.
The device has IP from the 192.168.1.x subnet, but you have said that the gateway would be on 192.168.2.1 subnet, while at the same time setting subnet netmask as 255.255.255.0 meaning that 192.168.2.x is unreachable and effectively you have no gateway. (And DNS says 192.168.1.1)
Sounds right if you want to follow the "dumb AP" advice.
Assuming that your main router is 192.168.1.1 and you use LAN-LAN cable ebtween the two routers, you need to set here
- IP 192.168.1.11 (like now)
- netmask 255.255.255.0 (like now)
- gateway 192.168.1.1 (FIX THIS)
- dns 192.168.1.1 (like now)
Dumb AP advice:
But like frollic says, there is some confusion, as you mention mobile tethering and two routers...
The router with openwrt is a Fritzbox 7360 with an outdated firmware, so it did not work.
Now to the two routers. I have once an EasyBox and an Asus router. The EasyBox router is connected to the internet. From the EasyBox I have connected a LAN cable at the lan port with the Asus router at the wan port.
fix your typo 1st, and we'll take it from there
(good spotting hnyman!)
Thanks first of all. Now I am not here at the moment. I will get back to you in two hours
If the "main router" Easybox is conneted to the internet, then it should be the one with 192.168.1.1 as the address.
And the OpenWrt router should be connected with LAN-LAN to it and have 192.168.1.11 (or something like that)
If the Easybox has something else, like 192.168.55.1, you should modify the advice and make the OpenWrt router to be 192.168.55.11 and then point its DNS and gateway settings to the main router at 192.168.55.1
i can't log into the router via ssh now
using LAN cable on 192.168.1.11 ?
ok, i will reset openwrt first. i can't log in anymore. something i did wrong
my easybox router has the following ip and gateway:
IPv4 network 192.168.2.0/24
i have now set the following on openwrt
but it does not work yet
if the openwrt device isn't the ISP facing router, WAN shouldn't be PPPoE.
these are my current settings
I have also executed the command /etc/init.d/network restart.
but i still have no connection
and if i log in every time to the router with openwrt via ssh, then i have no wlan on the laptop, until i disconnect the lan cable between laptop and router again
That's pretty normal Windows behaviour.
is the openwrt router the 1st/primary router now ?
no, the easybox is still the main router