Two common options for joining electrical wires are Wago connectors and traditional wire nuts. Both are up to code but work differently and shine in different situations.
Wherever you call home, it probably didn't come wired up for that most precious of home utilities: internet access. Sometimes wireless networking can only take you so far. Guerrilla network wiring ...