7141 questions

8568 answers

13830 comments

10608 members

0 votes
102 views 13 comments
by

Hello,

I've been trying to add  "strongswan preshared_keys" section using SMS UCI utilities on a RUT230 latest FW but every time I tried to commit, nothing happened.

The section is not created in /etc/config/strongswan 

When doing it using CLI, it works ...

by
Hello,

May i know if you are able to get status of the device from the number you are trying ?  Just for testing purpose.

Is this number in the list of allowed numbers to perform any actions ?

Did you tried to commit on CLI if it works ?

Thanks .
by

"May i know if you are able to get status of the device from the number you are trying ?" Yes

"Is this number in the list of allowed numbers to perform any actions ? Yes

"Did you tried to commit on CLI if it works ?" When doing the command on CLI, it works, we tried on two RUT230, we tried multiple FW, still the same.

by

Hello,

You already mentioned in the beginning that you are using the latest firmware but could you please double check if you are on the latest over here i.e RUT2XX_R_00.01.14 .

Thanks

1 Answer

0 votes
by
Any ideas ? It's seems like "add" command is lock by sms
by
Hello,

Can you double check if the uci API is enabled in the sms rules.

https://wiki.teltonika-networks.com/view/RUT240_SMS_Utilities#UCI_API_rule

If you are able to do it with CLI , it should work with sms utilities also.

What commands you are using to make it work on CLI and sms ?

Thanks
by

Uci API is set on "by router admin password".

I'm able to do it with CLI. 

It doesn't work with sms utilities but only for the command "uci add". With "uci set" it works well by sms.

Commands I tried with sms : password uci set strongswan.TECSOL.keylife='28800s' -> Replaced existing value strongswan.TECSOL.keylife='28800s' 

uci add strongswan preshared_keys -> nothing happened, nothing in "uci changes", nothing happened in strongswan conf file.

by
Hello,

Thanks for updating.

Will get back to you.

Regards,
by
Hello,

The issue is replicated on our side and is also reported to  R&D.

Will update you once there is a news.

Thanks
by
Ok, Thank you !
by
Do you have any news ?
by
Hello,

The case already with R&D.

I will update once there is news from their side.

Thanks
by
Did you find a solution ?  Thanks
by
Hello,

Sorry for the delay.

I will update you once there is a news.

Thanks for your patience.
by
Hello,

After confirmation with R&D i received that uci add is not implemented overall .

For UCI API on sms is only for set and get.

https://wiki.teltonika-networks.com/view/RUT240_SMS_Utilities#UCI_API_rule.

Thanks.

Regards,

Ahmed