Fāxiàn yǒurén cèngwǎng yǐhòu, tā gěi lùyóuqì shè le mìmǎ.
After he found someone using his Wi-Fi, he put a password on the router.
Tips
usage
蹭 "to rub against" also means getting something free by tagging along: 蹭饭 a meal, 蹭热度 someone else's buzz. The two halves can be split: 蹭邻居的网 "to use the neighbours' Wi-Fi".