sharing internet connection, using my desktop as a wifi hotspot
hello. this is my first time posting in a forum, sorry if i'm being stiff. i'll try to post as much information as necessary and make clear my objective. also, as to my level of intellect with respect to linux, i hopefully see myself as leaving the newbie stage.
i have two computers:
- one is my desktop, running ubuntu. it has two NIC's one is wired (eth0), the other is wireless (wlan0).
- the other is my laptop, running archlinux. two NIC's as well (eth & wlan).
i would like to connect my desktop to my router via eth0 and connect my laptop to my desktop via wlan0, providing internet access to my laptop. i would like both computers to be able to use the internet simultaneously (not all packets would be forwarded).
any manner of doing this would be ok, but if this is a simple enough task to do it by simply configuring some files (e.g. /etc files) rather than installing some unnecessarily big application, then that would be wonderful!
also, not really as high a priority but if possible, i would like this to perhaps not be limited to my laptop. connecting any device (a psp or pda for example) to the internet this way (making it a hotspot in a sense) would be super! encrypting the connection (WEP for instance) would be ultra-mega!
my desktop uses dhcp to connect to the router, if that helps.
thank you very much in advance and "merry christmas"/"happy holidays"!
p.s. just realized i haven't asked a question... how would i do this?