I'm testing to have one Raspberry Pi connected via WiFi-dongel and another Raspberry Pi via ethernet cable to the first, and network between them works because e.g. x2x works, but on the second (that without WiFi) I don't get Internet -- e.g. ping to google.com doesn't work, but that works on the first.
How should I do to get Internet to the second Pi?
The LAN have IP-numbers that starts with 169.254 and the WLAN's starts with 192.168.1.
One idea is to get the WiFi-router to give the LAN-interfaces IP-numbers, but I don't know how to do this. I would rather not use fixed IP-numbers because I want to be able to move the Pis to other networks without manual reconfiguration.