Hello
Thanks for contacting TELTONIKA | Crowd-support forum.
Kindly be informed that RUT240 can connect to internet using Three types of WAN (Mobile, Wired and Wi-Fi), To choose your main WAN just check the desired option (wired, mobile or Wi-Fi) in the Main WAN column (first from the left). Please check the link below for more information.
https://wiki.teltonika-networks.com/view/RUT240_WAN#Operation_Modes
In case you want to set Wi-Fi as the main WAN, it’s necessary to configure RUT240 as a WiFi Station (client) to obtain an Internet connection from another WiFi AP. Please check the link below for more information.
https://wiki.teltonika-networks.com/view/RUT240_Wireless#Wireless_Station
You can set the main WAN via CLI as well, Here’s the commands:
You need to go to the /etc/config directory, use cd /etc/config
Use cat network to get the inside contents of "network" file in your screen
The output of these command would be similar to:
root@Teltonika-RUT240:# cd /etc/config
root@Teltonika-RUT240:/etc/config# cat network
config interface 'wan'
option ifname 'wwan0'
option proto 'dhcp'
option enabled '1'
config interface 'wan2'
option disabled '1'
option ifname 'eth1'
option proto 'dhcp'
option enabled '0'
In this case the main WAN is Mobile, in order to set Wired as the main WAN the network file should be modified via VI command
root@Teltonika-RUT240:/etc/config# vi network
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option enabled '1'
config interface 'wan2'
option disabled '1'
option ifname 'wwan0'
option proto 'none'
option enabled '0'
After modifying the network file type Ecs :wq and perform a reboot for the changes to take place.
I would recommend you to use the router’s WebUI since it does not require many modifications.
Additionally, if you need more than one LAN port, you can set up the WAN port as LAN port
Please check the link below for more information.
https://wiki.teltonika-networks.com/view/WAN_as_LAN
Should you need any additional information please let us know.
Best regards.