Is it possible to share internet from usb WiFi to lan port on R1?
I have a working usb WiFi dongle, using amp_r12 no gui.
I connect to my router with:
- Code: Select all
wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dwext
ifconfig wlan0 192.168.178.66 netmask 255.255.255.0
route add default gw 192.168.178.1
After this i get ping reply from google.com but i must enter those three commands manualy.
Where should i add those commands to start and connect WiFi automaticaly?
How can i now share this internet to lan port?
Thanks!