mant01 Posted October 1, 2008 Posted October 1, 2008 We have an issue here where staff have laptops that are on our schools domain and when they take it home they cannot access the internet (not that i particulary keen on them using internet on schools laptop). The only way we can get them talking to there own ISP is to remove the laptop from the domain. Does anyone know the reason why this might be, I can only think of a group policy somewhere but I cant seem to find it. Cheers all Tony
rush_tech Posted October 1, 2008 Posted October 1, 2008 beat me to it:) Yes is the laptop getting proxy settings from GP? If so maybe use another browser for home
mant01 Posted October 1, 2008 Author Posted October 1, 2008 Not the proxy, i made sure that was unticked. Thanks Tony
mant01 Posted October 1, 2008 Author Posted October 1, 2008 beat me to it:) Yes is the laptop getting proxy settings from GP? If so maybe use another browser for home I took proxy settings out of internet options. I also tried firefox, still no joy. I will try again tonight with another browser. Thanks
LeMarchand Posted October 1, 2008 Posted October 1, 2008 (edited) I agree with Mcshammer_dj - there's probably a better way around it, but I use "Proxy Switcher Lite". It's free and sits in the system tray: a right-click can switch between "School" (proxy) and "Direct Connection". Most of the teachers even understand it! (Though I have had to set up a "Direct Connection" called "Home" for a couple ). Sorry, too slow. Edited October 1, 2008 by LeMarchand Too many bits of typing happening at the same time. 1
R.M.B Posted October 1, 2008 Posted October 1, 2008 Rather than something that staff have to remomber to set, how about using a pac file to set the proxy? Something like to following could be used so that the user does not have to do anything.. Pac File - function FindProxyForURL(url, host) { i = myIpAddress() /* get ipaddress of PC */ /* If in School Local Subnet - Use Local Proxy */ if (isInNet(i,"1.2.3.0","255.255.255.0")) { return "PROXY 192.168.1.1:8080"; } return "DIRECT"; } End of file. The above needs to be changed so that the isInNet has the appropriate address and mask for the school network so that it can tell if address 'i' is in school. The 192.168.1.1 becomes the school proxy address, and the 8080 the port number. If not is school, the browser will use 'DIRECT' - ie no proxy. The above could be extended to multiple proxies for multiple address ranges. To use the proxy it must be specified in the LAN Settings as an Automatic Configuration Script. It should have the syntax file://c:\dir\proxy.pac which says it is a file with the relevent filepath. Hope that is useful 1
FN-GM Posted October 1, 2008 Posted October 1, 2008 Good script. The only problem i see if a member of staff happens to have the same address range as your at home. I would make the script ping something if there is no replies then set the proxy. Z
kmount Posted October 1, 2008 Posted October 1, 2008 Static IP? Statically declared DNS Server addresses?
mant01 Posted October 1, 2008 Author Posted October 1, 2008 I will try all the above suggestions and thank you for all your input. I have removed all proxy settings and the ip settings are all set to get addressess automatically, there must be something deep in the registry that is stopping it. ipconfig /all shows all of my home details and not schools Cheers for now all!!
kmount Posted October 1, 2008 Posted October 1, 2008 Run nslookup and query a site you've NOT visited on the laptop. See where it looks for the answer.
mant01 Posted October 1, 2008 Author Posted October 1, 2008 Ok this is weird. I installed the proxy switcher and still no joy and then I tried installing firefox to try that and all of a sudden it works. I uninstalled firefox and proxy switcher and it still works....strange!!
LeMarchand Posted October 2, 2008 Posted October 2, 2008 Rather than something that staff have to remomber to set, how about using a pac file to set the proxy? Does that set every protocol to the same proxy? (Which is what we need) I would make the script ping something if there is no replies then set the proxy. Don't suppose that you could elaborate? Not very good at this scripting stuff.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now