The user is not able to figure out what he has. If you ask him he will tell you just yes, because he has ADSL. I was thinking if there would be a possibility to figure out what he has, by just let him go to our website. A PHP program could find the remote address and the remote proxy address. I guess a java program could find out what IP addresses the user has and what neighbor addresses the users has (arp) and the java program could make a DHCP request. If the user just submit his data (findings of the Java), than we would know, if he is using DHCP. Short is there something available, where the user can easy find out if he has DHCP? bye Ronald
Ronald Wiplinger wrote:> A PHP program could find the remote address and the remote proxy > address. I guess a java program could find out what IP addresses the > user has and what neighbor addresses the users has (arp) and the java > program could make a DHCP request. If the user just submit his data > (findings of the Java), than we would know, if he is using DHCP.That's a really bad idea. For example on a cable system the provider may allow only one DHCP request per mac address. The provider would then release the IP address that the user is using in favour of the new one, thus breaking his connection. (Actually, worse, it could break AUP by pretending to be more than one device connected to the cable modem). I'd be quite upset if a java program did this.> Short is there something available, where the user can easy find out if > he has DHCP?Why is this information relevant? It tells you nothing about the connection itself - certainly not whether the IP address is dynamic as DHCP can equally give out static addresses. And what if the connection is over PPP? This is not DHCP although it behaves like it in some ways. Your test would fail in that case. Tony
On 5/19/05, Ronald Wiplinger <ronald@elmit.com> wrote:> The user is not able to figure out what he has. If you ask him he will > tell you just yes, because he has ADSL. > > I was thinking if there would be a possibility to figure out what he > has, by just let him go to our website. > > A PHP program could find the remote address and the remote proxy > address. I guess a java program could find out what IP addresses the > user has and what neighbor addresses the users has (arp) and the java > program could make a DHCP request. If the user just submit his data > (findings of the Java), than we would know, if he is using DHCP. > > Short is there something available, where the user can easy find out if > he has DHCP?I'm no windows programmer, but I would think it would be a whole lot easier to just have a java program check if there is a valid dhcp lease. I'm assuming that's possible. Chris