Joachim Schipper wrote:
my openbsd machine is conected to a windows machine. the windows machine has
a wireless connection and gets its ip using dhcp. the openbsd machine gets
its ip from the windows machine also by using dhcp on boot.

is there a way to automatically retrieve the ip address of the windows
machine and set up DISPLAY variable in the login script on openbsd machine?
also, how to handle ip renewals?

I wonder if you could misuse traceroute to do this somehow? Traceroute to a known "outside" host that you know will have to traverse the Windows gateway, with a low max-hops value, and then parse the output of traceroute to see what the n'th hop was.

--
     Chris 'Xenon' Hanson | Xenon @ 3D Nature | http://www.3DNature.com/
 "I set the wheels in motion, turn up all the machines, activate the programs,
  and run behind the scenes. I set the clouds in motion, turn up light and 
sound,
  activate the window, and watch the world go 'round." -Prime Mover, Rush.

Reply via email to