|
i am using 1Gb D-link Lan cards on my PC's but it shows 100Mb connectivity .... i'v looked into the options there are some like
10 Mb Half Duplex
10 Mb Full Duplex
100 Mb Half Duplex
100 Mb Full Duplex
but there's no 1000Mb option ... anyways i have selected the "Auto Negotiation" option in both but still they connect at 100Mb while m using a cross cable CAT5e between the two.
|
|
|
|
|
They both have to be set to Auto Negotiation to get Gigabit. I've never done a cross connect cable on Gigabit, but, it looks like the quality of the cable is what's going to limit your speeds here. Gigabit requires good Cat5e or Cat6 or better cable. Cat3, 4 and 5 isn't going to do it.
Also, how long is the cable you're using? It should be a minimum of 3 feet and not hanging a bunch of noisy power sources.
|
|
|
|
|
FYI, crossover-cables need to have all 4 pairs crossed for 1000-Base-TX. So, he probably has the wrong kind of cable, which makes the NIC default back to 100-Base-TX
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
You need a Gigabit crossover cable, since Gigabit ethernet uses all 4 pairs. If you are using a normal crossover cable, only 1/3 and 2/6 are crossed, whereas Gigabit requires 1/3, 2/6, 4/7, 5/8 to be crossed.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
I need to find an easy to set up, fair priced, wireless router with a good range, i.e. one office in ex garage, one office on opposite side of house, one office on the house. Probably 50m radius max. I need to install in yesterday already, so my prime requirement is to be able to quickly set it up for a secure network. I have a Proxim Orinoco at home, and still haven't waded into the 200 page manual to do this because it's not well documented, i.e. "How to secure your network".
I also need a wireless transceiver for a Sahara NB 610 laptop. I don't know which is the best route here; PMCIA or USB, but I also need to procure and install before 09h00 tomorrow.
MOD: BTW, the laptop I need a plug-in device for is running Linux. Any caveats there regarding makes and models with poor Linux support? Last modified: 4hrs 51mins after originally posted --
Do not believe in anything simply because you have heard it. Do not believe in anything simply because it is spoken and rumored by many. Do not believe in anything because it is found written in your religious books. Do not believe in anything merely on the authority of your teachers and elders. Do not believe in traditions because they have been handed down for many generations. But after observation and analysis, when you find anything that agrees with reason and is conducive to the good and benefit of one and all, then accept it and live up to it. (Siddhartha Gautama - The Buddha), 563-483 B.C.
|
|
|
|
|
I can't recommend any specific hardware, but for securing it just use WPA with a good password. Nothing less is sufficient, and any of the extras in a consumer grade setup won't meaningfully improve it (not broadcasting SSID, mac filtering, and WEP are all trivially bypassable).
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Suggest you check out this list of routers that support the DD-WRT open router software. Find the cheapest / most available router and update the router with DD-WRT.
http://www.dd-wrt.com/wiki/index.php/Supported_Devices[^]
DD-WRT exposes all the router capabilities in a consistent interface including allowing you to adjust the router output power. Do read the cautions about the legality of increasing the power.
There are two parts to getting the best range – the router and the computer device. A high power router may not help if the computer device does not have the range to talk back to the router.
For best range on the computer end you may need a WiFi device with an external antenna. That will give you the option of using an antenna cable to relocate the antenna in a better location, or replacing the standard antenna with a more sensitive one or using a directional antenna to improve the range.
There are DIY directional antenna instructions here:
http://www.seattlewireless.net/index.cgi/DirectionalAntenna[^]
As noted above, use WPA protection, but avoid the TKIP implementation. It has recently been at least at least partially cracked. You can use WEP to prevent the casual hacker, but it is totally and quickly crackable if one has the software & hardware.
Good Luck
|
|
|
|
|
Dear everybody,
I really want to simulate a device such as Printer, USB storage.
So i dont know where i could start
In fact, i have used DSF (Device simulation Framework) of microsoft, but something is not stable as i thought.
I'd like appreciate your help.
xuanthinh
|
|
|
|
|
Hi,
I have some new hard disk with capacity of 500 giga.
I separate this hard disk to two part (one with 100 giga and other with 400 giga ).
I want to install the operation system on the part with the 100 giga and for some reason the installation of the windows ( win xp pro ) was install on the other partition.
How can i remove all the operation system from one partition to the other ( without install all the windwos from the start ) ?
( i can use Norton ghost or something like that ... ? )
Thanks for any help.
|
|
|
|
|
It would certainly involve copying the partition, change the boot.ini and the drive-letter assigned to the drive - after copying, try using the recovery mode for the windows installation CD, or the recovery console (if you can reach it).
Other than this, one should always install Windows on the only partition in the system, then add partitions and hard-drives later on. That way, the only existing partition will be the one that Windows suggests when you choose "install to existing partition".
Same thing happened to me once, but I had other problems, and so I was unable to fix it. If you succeed, do post your solution, please.
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Hi
I need to get - programatically - the graphic display's properties (specifically the x and y physical dimensions).
I found that using GetDeviceCaps(HORZSIZE) returns erroneous answers.
Is there any other way to get the info (maybe by communicating directly with the device), short of asking the user to measure the screen ?
Thanks
alex
'Architecture is music frozen in space.'
|
|
|
|
|
|
Thank you for answering.
As I wrote, I need the physical screen size (in milimeters), and GetSystemMetrics(SM_CXSCREEN) returns pixels.
The problem is GetDeviceCaps(HORZSIZE/VERTSIZE) is supposed to return the screen size in milimeters, but gives incorrect answers.
That's why I'm looking for the way to directly get the data from the hardware.
alex
'Architecture is music frozen in space.'
|
|
|
|
|
public class WinAPI
{
[DllImport("gdi32.dll")]
private static extern Int32 GetDeviceCaps(IntPtr hdc, Int32 capindex);
[DllImport("user32.dll")]
public static extern IntPtr GetDC(IntPtr ptr);
private const int DRIVERVERSION = 0x00;
private const int TECHNOLOGY = 0x2;
private const int HORZSIZE = 0x4;
private const int VERTSIZE = 0x6;
private const int HORZRES = 0x8;
private const int VERTRES = 0xA;
private const int BITSPIXEL = 0xC;
private const int PLANES = 0xE;
private const int NUMBRUSHES = 0x10;
private const int NUMPENS = 0x12;
private const int NUMMARKERS = 0x14;
private const int NUMFONTS = 0x16;
private const int NUMCOLORS = 0x18;
private const int PDEVICESIZE = 0x1A;
private const int CURVECAPS = 0x1C;
private const int LINECAPS = 0x1E;
private const int POLYGONALCAPS = 0x20;
private const int TEXTCAPS = 0x22;
private const int CLIPCAPS = 0x24;
private const int RASTERCAPS = 0x26;
private const int ASPECTX = 0x28;
private const int ASPECTY = 0x2A;
private const int ASPECTXY = 0x2C;
private const int SHADEBLENDCAPS = 0x2D;
private const int LOGPIXELSX = 0x58;
private const int LOGPIXELSY = 0x5A;
private const int SIZEPALETTE = 0x68;
private const int NUMRESERVED = 0x6A;
private const int COLORRES = 0x6C;
private const int VREFRESH = 0x74;
private const int DESKTOPVERTRES = 0x75;
private const int DESKTOPHORZRES = 0x76;
private const int BLTALIGNMENT = 0x77;
public static void GetLogPixels(IntPtr hDC, ref int logPixelsX, ref int logPixelsY)
{
logPixelsX= GetDeviceCaps(hDC , LOGPIXELSX );
logPixelsY= GetDeviceCaps(hDC , LOGPIXELSY );
}
public static void GetResolution(IntPtr hDC, ref int horzPixels, ref int vertPixels)
{
horzPixels = GetDeviceCaps(hDC, HORZRES);
vertPixels = GetDeviceCaps(hDC, VERTRES);
}
public static void GetScreenMM(IntPtr hDC, ref int horzMM, ref int vertMM)
{
horzMM = GetDeviceCaps(hDC, HORZSIZE);
vertMM = GetDeviceCaps(hDC, VERTSIZE);
}
public static void GetCalculatedScreenMM(IntPtr hDC, ref int horzMM, ref int vertMM)
{
int logX = 0;
int logY = 0;
int resX = 0;
int resY = 0;
double inchesX = 0.0d;
double inchesY = 0.0d;
GetLogPixels(hDC, ref logX, ref logY);
GetResolution(hDC, ref resX, ref resY);
inchesX = resX / logX;
inchesY = resY / logY;
horzMM = (int)(inchesX * 0.0394d);
vertMM = (int)(inchesY * 0.0394d);
}
}
IntPtr dc = WinAPI.GetDC(this.Handle);
int horzMM = 0;
int vertMM = 0;
WinAPI.GetCalculatedScreenMM(hDC, ref horzMM, ref vertMM);
int xMM = 0;
int yMM = 0;
WinAPI.GetScreenMM(hDC, xMM, yMM);
Well, what do you know!? My calculated mm millimeter resolution is 444x277, and calling the DeviceCaps function with (HORZSIZE, VERTSIZE) returned 470x293!
Anyway, there's your calculation for determining the width/height in millimeters.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
The values you compute are based on the results of GetLogPixels() which returns pixels/inch.
On my machine it seems I get 96dpi no matter what I do (i.e. no matter the screen resolution), so the result of the calculation is (very close to) what the system reports.
1. It seems there is a problem with the results of GetLogPixels(): it always returns 96. Look it up on the web.
2. What I am interested in is to interrogate the display device (EDID data) directly.
Even so, it seems that the EDID data is sometimes erroneous or even completely missing (fault of manufacturer). Again, see the web.
alex
'Architecture is music frozen in space.'
|
|
|
|
|
Most of the time, the DPI *is* 96 on a normal Windows desktop. But you can set your DPI to be higher (120 DPI) by using "large fonts".
If you want to verify that GetDeviceCaps is returning accurate info regarding size in mm, you could try setting the DPI to 120 and it *should* come back with the same mm size that was reported with normal fonts.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I set the display to large fonts and it still says 96 dpi.
>it *should* come back with the same mm size that was reported with normal fonts
It does, but the reported size is wrong.
alex
'Architecture is music frozen in space.'
|
|
|
|
|
On windows versions prior to vista DPI scaling was so fubar that if hardware didn't lie and claim 96 DPI everything was a mess. Vista's better, but anytime it has to scale an app bitmap image instead of a vector image it still sucks.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Hi all,
do value of index of the ethernet cards and also wireless adapters in pc have any definite range?
|
|
|
|
|
Indeex range?? What are you talking about?? Where are you looking that shows you an Index?
|
|
|
|
|
Each network adapter has an ip address,subnet mask attached with it,right?Similarly,an network adapter also has an index associated with it,through which we can bind a scoket to it.the ethernet adapter that i have has index 2.so,i am asking whether there is some range for index of an network adapter?
|
|
|
|
|
OK. The range you're talking about is technically 0 to Int32.Max. Though, system resources limits that to probably a few thousand adapters.
|
|
|
|
|
I didn't get your answer.see i have to develope an application in which i have to distinguish out of the network adapter cards available in the system,which one is ethernet and which one is wireless.Its easy to know which one is ethernet but for wireless i am not getting anything.But one think that I have noticed is index number for ethernet is genearlly 2,3etc and for wireless its 65530 etc.I was thinking to distinguish both referring to the index number.I hope u now understand what my problem is.Pls help if u have any answer to it.Thanks...
|
|
|
|
|
an89 wrote: number for ethernet is genearlly 2,3etc and for wireless its 65530
That's the wrong way to go about it. You have to query each adapter to get it's type.
You don't say what you're using to get the adapters list. I'll suggest using WMI to make it real easy to tell the difference. Check out the Win32_NetworkAdapter[^] class.
|
|
|
|
|
I have used GetAdapterAddress and GetAdapterInfo which are part of win32 API to get list of interfaces.But the problem is that for ethernet everything is showing fine.But for wireless adapter the type it is returning is "ethernet".But it is returning all other information correctly about the wireless adapter such as ipaddress,index and name.I don't know why its happening.and I can't use WMI.
|
|
|
|
|