+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 36
Scripts Thread, Kids keep disconnecting the LAN cable ! in Coding and Web Development; right, this is my first block i've met and I have battled with it for a long time basically, i ...
  1. #1

    Join Date
    Sep 2009
    Location
    Walsall
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Post Kids keep disconnecting the LAN cable !

    right, this is my first block i've met and I have battled with it for a long time
    basically, i want a script that logs the computer off when the LAN connection to my server is stopped (and incidentally saving username, time and any open programs), cause the students keep removing the LAN cable and are then unable to reconnect to the network, and consequently unable to save then they have a need for me to keep coming and reconnect them and save their work to my laptop as we log them off and re log the in! this is getting a real pain as im still struggling to repair what the previous admin has left behind!

  2. #2
    mortstar's Avatar
    Join Date
    Jan 2007
    Location
    Oxford
    Posts
    341
    Thank Post
    13
    Thanked 29 Times in 18 Posts
    Rep Power
    21
    Quote Originally Posted by WARLORDTF View Post
    right, this is my first block i've met and I have battled with it for a long time
    basically, i want a script that logs the computer off when the LAN connection to my server is stopped (and incidentally saving username, time and any open programs), cause the students keep removing the LAN cable and are then unable to reconnect to the network, and consequently unable to save then they have a need for me to keep coming and reconnect them and save their work to my laptop as we log them off and re log the in! this is getting a real pain as im still struggling to repair what the previous admin has left behind!
    First of all, stop doing this!

  3. #3

    Join Date
    Sep 2009
    Location
    Walsall
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by mortstar View Post
    First of all, stop doing this!
    when i say 'my laptop' i mean a guest logged school laptop XD (im quite possesive) XD

  4. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,614
    Thank Post
    648
    Thanked 1,618 Times in 1,448 Posts
    Rep Power
    421
    Still don't do it though.

    If disconnecting the connection means they can't save then it's their own fault.

    Plus it's classroom management that's required not a technical solution.

    Ben

  5. #5


    Join Date
    Sep 2008
    Posts
    1,769
    Thank Post
    323
    Thanked 259 Times in 212 Posts
    Rep Power
    120
    I think the point he was making is that by saving their work constantly doesn't address the actual problem which is pupils pulling the cables out. If you tell them that the work they have done will be lost because they haven't checked that the network is available maybe the pupils will be a bit more carefull when they log on.

    Train the teacher to advise the pupils to check that they are logged on properly BEFORE they start doing any work and if there is a problem, they can log off and on again without lossing work and without creating more work for you. I dont see it as a technical problem, but more as a behaviour problem.

  6. #6

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    Interesting little program thinking about it - setup a loop that monitors a connection - [ say with a ping every 10 seconds ] then if the ping fails, log the username, machine & time and dump it to a log file on the local PC......
    Quite straight forward to do with AutoIT - something similar to my no ping script.....
    Too busy at the moment though.....maybe in future.

  7. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,763
    Thank Post
    3,273
    Thanked 1,053 Times in 974 Posts
    Rep Power
    365
    Think there is a group policy that you can apply that will stop them from logging in should the network cable be unplugged but not sure if that applies before they log out whilst there logged in or before they are logged in.

    But mutual feelings with suggestions above as in don't do it if they are un plugging the network connection and losing work then its there own doing

  8. #8
    tonyd's Avatar
    Join Date
    Mar 2006
    Location
    Kent (Sometimes), UK
    Posts
    163
    Thank Post
    17
    Thanked 42 Times in 31 Posts
    Rep Power
    25
    Just a stab in the dark, but would using super mandatory profiles (Mandatory User Profiles) help? Or maybe this thread- students unplugging network cable

  9. #9

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,614
    Thank Post
    648
    Thanked 1,618 Times in 1,448 Posts
    Rep Power
    421
    If there is no network connection to a pc here pupils cannot log on at all.

    If they log on and then unplug the cable that's their look out.

    Ben

  10. #10

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,055
    Thank Post
    209
    Thanked 429 Times in 309 Posts
    Rep Power
    144
    If you cut the little tab shorter on the RJ45 plugs, they can't get them out. Sure it means you need a little screwdriver in order to do it yourself, but it saves a lot of hassle - we do that on some of our PCs here.

    But has been said, it's a classroom control and discipline problem, and not a technical one, raise it with you line manager and make it quite clear that you won't be going out of your way to rescue kids work if they do this.

    Mike.

  11. 5 Thanks to maniac:

    Coopeh (7th March 2011), jdavies (7th January 2011), JJanisch (30th April 2012), mac_shinobi (17th February 2012), rad (11th September 2009)

  12. #11
    PEO
    PEO is offline
    PEO's Avatar
    Join Date
    Oct 2007
    Posts
    2,093
    Thank Post
    457
    Thanked 150 Times in 95 Posts
    Rep Power
    71
    Its all about the circle of trust

  13. #12

    Join Date
    Sep 2009
    Location
    Walsall
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    thanks guys, the link to the other forum had a VBS on it. and yes i shall badger the staff, but even though the teachers get paid 10x what i do they still expect me to do thei menial tasks :S

  14. #13
    rad
    rad is offline
    rad's Avatar
    Join Date
    Jan 2009
    Location
    Middlesex
    Posts
    2,484
    Thank Post
    335
    Thanked 308 Times in 236 Posts
    Rep Power
    109
    Quote Originally Posted by maniac View Post
    If you cut the little tab shorter on the RJ45 plugs, they can't get them out. Sure it means you need a little screwdriver in order to do it yourself, but it saves a lot of hassle - we do that on some of our PCs here.

    Mike.
    Cool idea, might do that on some of mine, hate been called cos the kiddy winks have doen this.

  15. #14
    DrPerceptron's Avatar
    Join Date
    Dec 2008
    Location
    In a house
    Posts
    922
    Thank Post
    34
    Thanked 134 Times in 114 Posts
    Rep Power
    41
    Quote Originally Posted by mattx View Post
    Interesting little program thinking about it - setup a loop that monitors a connection - [ say with a ping every 10 seconds ] then if the ping fails, log the username, machine & time and dump it to a log file on the local PC......
    Quite straight forward to do with AutoIT - something similar to my no ping script.....
    Too busy at the moment though.....maybe in future.
    PRobably entirely naive of me... but rather than flooding your network with ping traffic... why not wait for the network card to tell you its been disconnected?.

    Incidentally... as a whole, with a generic software solution you may end up annoying a LOT of people should whatever you chose to ping, or a switch etc have a mini-fit that you could fix before the end of a lesson...

  16. #15

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    Quote Originally Posted by DrPerceptron View Post
    PRobably entirely naive of me... but rather than flooding your network with ping traffic... why not wait for the network card to tell you its been disconnected?.

    Incidentally... as a whole, with a generic software solution you may end up annoying a LOT of people should whatever you chose to ping, or a switch etc have a mini-fit that you could fix before the end of a lesson...
    Ping traffic causing a flood ? 32 bytes ? Errrrrrrrr - don't think so.

    I'm all for the card having the facility, but if not, then knocking something up in a script is much more fun.
    Last edited by mattx; 12th September 2009 at 11:36 PM.

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 2nd November 2008, 08:59 PM
  2. Wireless connection keeps disconnecting
    By callumtuckey in forum Wireless Networks
    Replies: 11
    Last Post: 27th June 2007, 07:32 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •