PDA

View Full Version : [ubuntu] LANing two PCs that access internet over same WLAN-AP wihtout using VPN+dyndns?



dreamer84
November 6th, 2008, 03:47 PM
hello,
sorry if it's already been asked, but I don't know how to ask more specifically:

I have two PCs with WLAN-access to the internet using the same AP. Is there any way to let them share files without them having static IPs? My current solution is openvpn + dyndns, but that of course only works if the internet connection is not interrupted. Can I make them connect using their MACs?

thanks,
tobias

superprash2003
November 6th, 2008, 05:25 PM
if they are connected from the same AP.. then why cant you share files via LAN..

dreamer84
November 6th, 2008, 06:16 PM
because they get their IPs via DHCP from the broadband modem, so I can't have them automatically know each others IP. or can I?
A related problem is that the AP (old D-Link) only forwards the modems DHCP which is configured by my provider so I can't change it and I therefore cannot use the AP whithout internet (I have a flatrate, so that's usually no problem here, but still, sometimes the internet is down, and using dyndns to let one PC know the others IP is definitely an unnecessary risk)

or can each PCs single WLAN-adapter connect to both the AP for internet and directly to the other PC?

superprash2003
November 10th, 2008, 04:51 PM
it should work using the local hostnames of the pcs