A CGI script isn't going to be able to change the IP address of computers which access it (unless you really want to get into weird stuff with setuid scripts and net hacking). You want to work through existing protocols, such as DHCP, to do that sort of thing. It's going to be a lot less painful that way, too. :)
Is the goal to let people use your home network temporarily? It's better to start by telling us what you need to do rather than how you're trying to solve it. :)
Perhaps you want something like NoCatAuth. It provides a captive portal through which users can authenticate and then gain network access. It's even built into some routers already.
Update: It seems to me that you have some reading to do about network administration. If your goal is to track users, grab the MAC when they get an address. The MAC uniquely identifies the computer. You might also suggest to your boss to get someone to help you set it up. Again, focus on the goal and not the method :)
In reply to Re: assigning ip on internet users on my network
by brian_d_foy
in thread assigning ip on internet users on my network
by eko_hermiyanto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |