D-Link N300 on Warry 5.5

Post Reply
Message
Author
s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

D-Link N300 on Warry 5.5

#1 Post by s243a »

I'm trying to use the D-Link Wireless N300 USB Adapter (Version 5.11) on an older computer, running Warry 5.5. There is supposed to be an option to load the drive from a windows .inf file. I tried installing the drive located in /WinXP2k/net8192su.inf on the CD which contains the following:

Code: Select all


[Version]
Signature	= "$Chicago$"
Compatible	= 1
Class		= Net
ClassGUID	= {4d36e972-e325-11ce-bfc1-08002be10318}
Provider	= %DLink%
CatalogFile.NT	= net8192su.cat		;; for WHQL certified
DriverVer = 08/05/2009,1084.12.0805.2009

[Manufacturer]
%Dlink% = Dlink,NTx86


[ControlFlags]
ExcludeFromSelect = *

;;****************************************************************************
;; IDs for X86
;;****************************************************************************

[Dlink.NTx86]
%DWA-130C2.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3302
%DWA-130E1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3300
%DWA-131A1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3303


;;****************************************************************************
;; IDs for X64
;;****************************************************************************

[Dlink.NTamd64]
%DWA-130C2.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3302
%DWA-130E1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3300
%DWA-131A1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3303


;;****************************************************************************
;; Windows 2000/XP
;;****************************************************************************
;;----------------------------------------------------------------------------
;; default installation
;;----------------------------------------------------------------------------
[RTL8192su.ndi.NT]
AddReg			= RTL8192su.nt5.reg, RTL8192su.common.reg, RTLWLAN.reg
Characteristics	= 0x84
BusType			= 15 
CopyFiles		= RTL8192su.CopyFiles

[RTL8192su.ndi.NT.Services]
AddService		= RTL8192su, 2, RTL8192su.nt5.Service, RTL8192su.nt5.EventLog



;;----------------------------------------------------------------------------
;; RTL8192su Parameters
;;----------------------------------------------------------------------------
;;****************************************************************************
;; Windows 2000/XP parameters
;;****************************************************************************
[RTL8192su.nt5.reg]
HKR, Ndi\Interfaces,	UpperRange, 0, "ndis5,mdcwifi"
HKR, Ndi\Interfaces,	LowerRange, 0, "ethernet"
HKR, Ndi,		Service,    0, "RTL8192su"

[RTL8192su.nt5.Service]
DisplayName    = %RTL8192su.DeviceDesc.DispName%
ServiceType    = 1		; %SERVICE_KERNEL_DRIVER%
StartType      = 3		; %SERRVICE_DEMAND_START%
ErrorControl   = 1		; %SERRVICE_ERROR_NORMAL%
ServiceBinary  = %12%\RTL8192su.sys
LoadOrderGroup = NDIS

[RTL8192su.nt5.EventLog]
AddReg = RTL8192su.nt5.AddEventLog.reg

[RTL8192su.nt5.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported  , 0x00010001, 7

;*******************************************************************************
; RTL8192su common paramters
;*******************************************************************************
[RTL8192su.common.reg]
HKR,defaults,		   AH_BcnIntv, 	0, "1000"
HKR,Ndi\params\AH_BcnIntv, default, 	0, "100"
HKR,Ndi\params\AH_BcnIntv, ParamDesc, 	0, %AH_BCNINTV_STR%
HKR,Ndi\params\AH_BcnIntv, type, 	0, "int"
HKR,Ndi\params\AH_BcnIntv, min, 	0, "20"
HKR,Ndi\params\AH_BcnIntv, max, 	0, "1000"
HKR,Ndi\params\AH_BcnIntv, step, 	0, "1"

;;----------------------------------------------------------------------------
;; WLAN NIC parameters
;;----------------------------------------------------------------------------
[RTLWLAN.reg]
HKR,,Channel,0,"10"

HKR,Ndi\params\Dot11dEnable,        ParamDesc,  0, %DOT11_ENABLE_STR%
HKR,Ndi\params\Dot11dEnable,        type,       0, "enum"
HKR,Ndi\params\Dot11dEnable,        default,    0, "0"
HKR,Ndi\params\Dot11dEnable\enum,   "0",        0, %DISABLE_STR%
HKR,Ndi\params\Dot11dEnable\enum,   "1",        0, %ENABLE_STR%
HKR,defaults,Dot11dEnable,0,"0"
HKR,,Dot11dEnable,0,"0"

; For PSP XLink mode, 2006.09.04, by shien chang.
HKR,Ndi\params\PSPXlinkMode,        ParamDesc,  0, %PSP_XLINK_STR%
HKR,Ndi\params\PSPXlinkMode,        type,       0, "enum"
HKR,Ndi\params\PSPXlinkMode,        default,    0, "0"
HKR,Ndi\params\PSPXlinkMode\enum,   "0",        0, %DISABLE_STR%
HKR,Ndi\params\PSPXlinkMode\enum,   "1",        0, %ENABLE_STR%
HKR,defaults,PSPXlinkMode,0,"0"
HKR,,PSPXlinkMode,0,"0"

HKR,Ndi\params\WirelessMode, 		ParamDesc, 	0, %WL_MODE_STR%
HKR,Ndi\params\WirelessMode, 		type, 		0, "enum"
HKR,Ndi\params\WirelessMode, 		default, 	0, "8"
HKR,Ndi\params\WirelessMode\enum, 	"2", 		0, %IEEE_802_11B_STR%
HKR,Ndi\params\WirelessMode\enum, 	"4", 		0, %IEEE_802_11BG_STR%
HKR,Ndi\params\WirelessMode\enum, 	"8", 		0, %IEEE_802_11BGN_STR%
HKR,defaults,WirelessMode, 0, "8"
HKR,,WirelessMode, 0, "8"

HKR,,LedCtrl,0,"1"

HKR,,DefaultKeyID,,"0"
HKR,,DefaultKey0,,""
HKR,,DefaultKey1,,""
HKR,,DefaultKey2,,""
HKR,,DefaultKey3,,""



;*******************************************************************************
; Destination Directory
;*******************************************************************************
[RTL8192su.CopyFiles]
RTL8192su.sys,,,2

[DestinationDirs]
RTL8192su.CopyFiles	= 12

;;****************************************************************************
;; Source Files
;;****************************************************************************
[SourceDisksFiles]
RTL8192su.sys = 1

[SourceDisksNames]
1=%DISKNAME%,,,

;*******************************************************************************
; Strings
;*******************************************************************************
[Strings]
SSID_STR			= "SSID"
CHANNEL_STR			= "Channel"
NETWORK_TYPE_STR		= "Network Type"
LED_CONTROL_STR			= "LED Control" 
POWER_SAVE_STR			= "Power Save Mode"
WIFI_IBSS_STR			= "IBSS Default 11b Mode"
RATE_ADAPTIVE_STR		= "Rate Adaptive"
QOS_STR				= "QoS"
WMM_APSD			= "WMM APSD"
CCX_RM_STR			= "CCX Radio Measurement"
CCX_OFF_LINE_DUR_UP_LIMIT_STR	= "CCX Max Off-Line Measurement (0: unlimited)"
FORCE_PRIORITY_STR		= "Forced Priority"
HW_PARA_STR			= "Init from HwParaFile"
THREE_WIRE_MODE_STR		= "Three Wire Programming Mode"
BOARD_TYPE_STR			= "Board Type"
PROTECTION_MODE_STR		= "Protection Mode"
TPC_STR				= "Transmit Power Control"
TPC_POLARITY_STR		= "TPC Polarity Select"
HIGH_POWER_STR			= "High Power Mechanism"
INIT_GAIN_STR			= "Initial Gain State"
CW_MAX_MIN_STR			= "Contention Window"
PSP_XLINK_STR			= "PSP XLink Mode"
DLink				= "D-Link Corporation"
DOT11_ENABLE_STR 		= "802.11d"
AH_BCNINTV_STR 			= "Beacon Interval"
DISABLE_STR 			= "Disable"
ENABLE_STR 			= "Enable"
WL_MODE_STR			= "Wireless Mode"
IEEE_802_11B_STR 		= "IEEE 802.11b"
IEEE_802_11BG_STR 		= "IEEE 802.11b/g"
IEEE_802_11BGN_STR 		= "IEEE 802.11b/g/n"

;; Source disk name
DISKNAME			= "Realtek RTL8192SU Wireless LAN 802.11n USB 2.0 Network Adapter Driver Disk"
DWA-130C2.DeviceDesc		= "D-Link DWA-130 Wireless N USB Adapter(rev.C2)"
DWA-130C2.DeviceDesc.DispName	= "D-Link DWA-130 Wireless N USB Adapter(rev.C2)"
DWA-130E1.DeviceDesc		= "D-Link DWA-130 Wireless N USB Adapter"
DWA-130E1.DeviceDesc.DispName	= "D-Link DWA-130 Wireless N USB Adapter"
DWA-131A1.DeviceDesc		= "D-Link DWA-131 Wireless N Nano USB Adapter"
DWA-131A1.DeviceDesc.DispName	= "D-Link DWA-131 Wireless N Nano USB Adapter"
I'm able to load the drive r (8192s.usb was given in the message box as an alternative drive). When the drive was loaded it told me that 07D1: 3300 was present
However, Warry was not able to detect the drive interface. I know the USB port works because it works with a flash drive.

-------

On a related note on another linux form someone (post #246) is saying how to install the driver from source, for ubuntu. Could I do something like this on Warry? What should I read learn how to do this?

http://ubuntuforums.org/showthread.php? ... 36&page=25


--------------
on another note it listed 8192s.usb as an alternative drive. I did not see this alternative drive as one of the options of drives that I can load.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Your adapter appears to be a D-Link DWA-130-E1 [07D1:3300]. In Wary 5.5, it is supported by the r8192s_usb driver. But this driver has been replaced by the stable r8712u in newer kernels like in Racy 5.5.

So it is unclear if your problem is due to the old driver or your network manager. Try the following.

1. Unplug/replug your adapter.

2. Run the command: lsmod. Is r8192s_usb loaded?

3. Run iwconfig. Is an interface like wlan0 listed?

4. Run ifconfig wlan0 up What happens?

5. Run iwlist wlan0 scan What happens?

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

Re: D-Link N300 on Warry 5.5

#3 Post by s243a »

s243a wrote: On a related note on another linux form someone (post #246) is saying how to install the driver from source, for ubuntu. Could I do something like this on Warry? What should I read learn how to do this?

http://ubuntuforums.org/showthread.php? ... 36&page=25
Hmmm...I round this thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=88335

could be useful.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#4 Post by s243a »

rcrsn51 wrote:Your adapter appears to be a D-Link DWA-130-E1 [07D1:3300]. In Wary 5.5, it is supported by the r8192s_usb driver. But this driver has been replaced by the stable r8712u in newer kernels like in Racy 5.5.

So it is unclear if your problem is due to the old driver or your network manager. Try the following.

1. Unplug/replug your adapter.

2. Run the command: lsmod. Is r8192s_usb loaded?

3. Run iwconfig. Is an interface like wlan0 listed?

4. Run ifconfig wlan0 up What happens?

5. Run iwlist wlan0 scan What happens?
Thankyou :) That worked. I ran your commands, and then once I realized that wlan0 was up, I went back to the connection wizard. I then went to the manual configuration wizard, and configured wlan0 with the right password and stuff.

Post Reply