View Full Version : How to delect Modem/Lan?
Borisu
09-13-2002, 03:33 AM
Anybody have an idea how to write a script to detect if surfer use modem or LAN connection?
Thanks
Fatalspeed
09-13-2002, 09:29 AM
Try some script sites, or ask it on a webdesign / scripts msgboard if you can't find out.
ultra160
09-13-2002, 09:47 AM
If you use a lan to connect through a proxy server running through a firewall like smoothwall, you can still connect to the net through a modem. I'm not sure I understand your question. Are you trying to find connection speed? Some sites have special broadband links for higher res films if that's what you are looking for.
Groovy
09-13-2002, 10:09 AM
This is interesting, if you find something, please let me know!
Borisu
09-14-2002, 04:26 AM
I am speaking about the idea in general - I am not sure there are already made scripts, but it will be very useful - if you propose LAN surfer to use dialer you just loose traffic...
justsexxx
09-14-2002, 04:46 AM
It's possible, I had used that long time ago... But when I moved hosting I forgot to take that script as well(was some kind of javascript)
I will look again :)
Andre
ultra160
09-14-2002, 04:54 AM
What do you mean by a LAN surfer. LAN stands for "local area network" and doesn't include any outside links. The LAN itself can connect to other networks when it becomes a WAN "wide area network".
Do you mean multiple computers sharing one internet connection?
MichaelH
09-14-2002, 05:01 AM
LAN=broadband like cable where you share a network with others =)
lachiep
09-14-2002, 05:13 AM
maybe u could figure something with the hosts? or like something in network settings of the comp...
hard one..
ultra160
09-14-2002, 05:15 AM
I wish they wouldn't do that - I must be getting old.
No way is cable a LAN, but then people keep coming along and using a good descriptive word for the wrong thing and we lose the word for it's correct purpose.
What do we call a real LAN (local area network) now then.
MichaelH
09-14-2002, 05:27 AM
On a cable connection, you share a Local Area Network with other users... Your connection is being made possible by a network card connected to a cable modem which is connected to the cable network.
If you have a cable connection, and check on your network neighborhood, you will see that your connection is a LAN-connection. If you go to IE6 options->Connections. You will have to adjust (or not) your LAN settings in order to have connection to your cable LAN network.
Where is the word LAN being misused in here? A cable connection is simply a Local Area Network connection.
Should you not have a cable connection yet, i wouldn't recommend it to you, because of it's high security vulnerabilites, such as other LAN users very potentially being able to have access to your files and printer services, which could destroy your surfing experiences... just j/k mate :D
ultra160
09-14-2002, 05:52 AM
I know how connections work, it's just me being pedantic. I think the lan stops at the cable modem after that it become a WAN, but of course that doesn't sound so good.
LAN is local ie no modem in my book.
But then intercourse is any interaction between people, sexual intercourse is just one form, but who still uses intercourse to mean conversation.
Why can't we just call it cable and avoid the confusion.
Borisu
09-15-2002, 12:44 PM
Thanks everyone, especially to justsexxx
I find that it is easy to do with xml, but it works only with IE
Anyone interested read this help:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/reference/properties/connectiontype.asp
ultra160
09-15-2002, 01:59 PM
I still don't understand what you have gained by discovering that the browsing computer has a lan connection.
I have a variety of computers I use.
At the moment I have a 56k modem in this computer
One I use in Middlessex has a lan into a cable connection
One I use in Cobham has a lan into proxy with an ISDN link
Sometimes I use a LAN to link into a proxy with a 56k modem.
Surely the browser will report LAN for all except the first.
AzteK
09-15-2002, 03:12 PM
try loading a 100K image - based on the speed it loads for the person you can tell what kind of connection he/she has
I've seen this coded before...
how to code it, BEATS ME! hehe
ultra160
09-15-2002, 03:29 PM
I've seen a few sites that just ask the surfer.
They have a couple of buttons and let the guy choose.
If he's getting a demo movie he might want to download a broadband version and play it later even if he's on a modem.
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.