Let's try this again, but without all the snotty responses.
He asked an interesting question and the answers should be pretty straightforward, without all the attitude.
Raife - There are two types of power in your camper. 12 volt DC from your batteries powers things like your lights, fridge, brakes, etc. 110 AC power is what your wall outlets supply, but the source is from your shore power cord.
So the initial answer is no, your device won't work when you're driving down the road, because your wall outlets need shore power to be hot.
Luckily there's a solution. You can use a device called an inverter to change the DC power from your 12 volt batteries into 110 AC power for your device.
It's a bit of a Pandora's Box thiugh, because there are so many kinds of inverters.
Before you go to the trouble of researching and purchasing an inverter, experiment with your Wi-Fi switch and verify that the signal will extend reliably from your camper to your truck.
It might be easier to plug a small inverter into the cig outlet in your truck and put your Wi-Fi box in the truck while you drive.