Wireguard Guide / run a script in "root" dir

Hi,
I try to install Wireguard using this guide and i fail to start the script:
https://openwrt.org/docs/guide-user/services/vpn/wireguard/site-to-site

After i placed the script on the router in the "root" directory as adviced by the guide (via winscp) and tried to start it via PUTTY .. i already failed. Putty does not see any file. Putty tells me i am in the root directory .. but i wonder what "root" is meant. i put the file in the visible "root" dir .. and in the current visible folder that might be "root" as well.

i am aware this is a bloody beginner questions, but I did not find out the solution in my research in the forum. thank you

The file was not transferred (or if it was, it was put in the wrong place). This is not an openwrt issue, though. It would have to do with your winscp session.

Edit - it looks like it was transferred to the root, /, not /root/.

You can run it from /.

cd /

the root directory is just /

so:

cd /
ls -l (check if file is present
sh /s2s_combined.sh
1 Like

sorry guys.
i will delete the post, if i can.

Peter was right.

I have two routers, 192.168.0.195 and 192.168.0.194.
in WinSCP, I gave the 194 the label "195"

cant belive i did not find out myself i am on the wrong router ..
thx guys ..

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.