Prevent student from surfing the internet during class

The school has a total of 38 MacPro running Mac OS X 10.5.8. Students were surfing the internet while the Lecturer was teaching in my computer labs.

The Lecturer would like the IT department to come out with a way to disconnect or connect the network on 37 Macintosh workstation at a touch of a button.

We found 2 UNIX commands to do just that:
a) ifconfig eth0 down
b) ifconfig eth0 up

The suggestion is for him to send this UNIX command via ARD but he found it too technical. Can anyone tell me how to write an Applescript to tell ARD to down/ up these 37 workstation network card from the Lecturer’s machine ?

Or do you have any other solution beside this ? Thank you.

Set them up with managed accounts. No Admin rights to install or alter much. Set Parental Controls for Safari to on. Add bookmarks to this app while logged into this account from which they are allowed to navigate.

Don’t tell them I mentioned this don’t want stones through my window. :smiley:

else down grade the MacPros to note books of the paper variety.:lol:

You can tell the remote machine to do the shell script. I don’t know if that will work due to the broken feature in 10.6.3 – Telling a remote machine. :frowning:

Your machines are running 10.5.8, so you might want to look around this site for more information about sending remove events.

Note: If you don’t know applescript, to do a shell script, it goes like this:

do shell script "ifconfig eth0 down"