Page 1 of 1 1
Topic Options
#120076 - 2004-05-25 02:01 AM Kix and network connections
FreakySpook Offline
Lurker

Registered: 2004-05-25
Posts: 4
Hi, I am new to kix, I would like to know if kix can determine a successful network connection, I have a notebook that works on both a domain & a home dial-up account, I want to be able to determine if the domain is present & load up the internet proxy settings at startup, or load up settings for the dial up account.
Is this possible?
Help would be much appreciated.

Top
#120077 - 2004-05-25 02:07 AM Re: Kix and network connections
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well... I'm going to go out on a limb and say that KiX natively cannot but KiX can use WMI which can. Take a look at how WMI is used here.
Trigger Your Logon Script - WMI
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#120078 - 2004-05-25 02:16 AM Re: Kix and network connections
FreakySpook Offline
Lurker

Registered: 2004-05-25
Posts: 4
Thanks for that, it gave me an idea, if at logon it finds the domain, the network id would be the same, if there is no domain present, I get no IP address.
If I just get kix to check the network ID that should do it shouldn't it?

Top
#120079 - 2004-05-25 02:23 AM Re: Kix and network connections
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I must be missing something... If you logon to a domain through a LAN connection, would not the logon script run where you could do whatever you need to? That just leaves the dialup connection which is covered by the topic I pointed to.

As far as proxy goes, would they not be the same for both? ...unless you are doing VPN over a dialup {yuck} to an ISP.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#120080 - 2004-05-25 02:34 AM Re: Kix and network connections
FreakySpook Offline
Lurker

Registered: 2004-05-25
Posts: 4
Its for a staff members lap top, when she is at work she plugs into the network & kix maps her network drives, sets all her internet settings and authenticates itself on the proxy server and intranet settings, when she is at home she doesn't want those settings to load so her family can use their dial up internet account. I suggested to her just have a local user account, but she didn't want that.
Top
#120081 - 2004-05-25 03:06 AM Re: Kix and network connections
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I still don't get it. The proxy settings for a dialup connection are separate from a LAN connection so once it is setup, it sticks. The only issue is if the home ISP connection is over the same LAN connector (DSL, not dialup). Instead of relying on IE proxy settings, install the proxy client that can easily be turned on and off at will.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#120082 - 2004-05-25 03:14 AM Re: Kix and network connections
FreakySpook Offline
Lurker

Registered: 2004-05-25
Posts: 4
Oh yeah, I get you now, yeah your right. Thanks for that, I would have gone in circles.
Top
#120083 - 2004-05-25 10:02 AM Re: Kix and network connections
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Alternatively, set IE for auto-detection of proxy settings and set up an internal WPAD site at the office to set the configuration.

This works pretty well, and when you need to update the proxy rules for any reason it can be a life saver.

Obviously, when she is at home there is no WPAD site, so the default configuration (no proxy) is used, which I think is appropriate from what you have said.

Top
#120084 - 2004-05-25 04:01 PM Re: Kix and network connections
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
This works to set a machine to Auto-Detect like Richard mentioned. It has to be run with administrative priviledges though since it is located in HKLM.

Code:
$null = WriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections","DefaultConnectionSettings",
"3c00000008000000090000000000000000000000000000000100000000000000b04dd550b533c401010000000a006c300000000000000000",REG_BINARY)


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.058 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org