I
IntruderEvil
Jungspund
alhost release]# make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.20-8/include/
-DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_pci_init.o r8180_pci_init.c
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.20-8/include/
-DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_if.o r8180_if.c
--- Generate open part open_part.o ---
--- Generate rtl8180 linux driver rtl8180_24x.o on 2.4.20-8 ---
So wer kann mir sagen ob bis jetzt alles passt so? was kommt danach mit Wlan tools weiter oder?
Danke für Info
MfG IntruderEvil
hier noch auf wunsch dir readme
RTL8180 Linux Driver version 1.2 readme file for driver running on station mode.
< Component >
The driver is composed of several parts:
(1)source code
driver module initialization and interface between rtl8180 driver and system call.
r8180_pci_init.c driver module initialization and register/unregister network device
r8180_pci_init.h include file
r8180_if.c interface between rtl8180 driver and system call
r8180_if.h include file
r8180_type.h type definition for rtl8180 driver
r8180_export.h exported function name from rtl8180 driver
(2)object code
rtl8180 driver
priv_part.o rtl8180 driver object code
(3)Default driver
rtl8180_24x.o default driver module compiled in kernel 2.4.18.
(4)Makefile
PLEASE SPECIFY INCLUDEPATH CORRECTLY ACCORDING TO YOUR LINUX ENVIRONMENT.
FOR EXAMPLE, " INCLUDEPATH=-I /usr/src/linux-2.4.18-3/include/ " in RedHat7.3.
FOR EXAMPLE, " INCLUDEPATH=-I /usr/src/linux-2.4.18-14/include/ " in RedHat8.0.
(5)wlanup/wlandown
simple script file to activate/shut_down wireless lan.
< Installation >
Please try to load linux_24x.o first by "insmod -f rtl8180_24x.o".
If it doesn't work, you are suggested to compile loadable driver module following the steps as:
(0)Make sure the C-compile version. Run "gcc -v".
If gcc version is 2.xx, use release driver RTL8180_24x_RH73.zip.
If gcc version is 3.xx, use release driver RTL8180_24x_SuSE.zip.
(1)Modify macros in Makefile. For example, KERNELRELEASE, IO_FLAGS, ENDIAN_FLAGS, INCLUDEPATH
and RTL8180_TARGET which represent kernel release version, pci I/O space mapping,
big/little endian, rtl8180 driver name.
(2)Check pci module initialization and system call interfaces in the provided source code,
r8180_pci_init.c ....etc.
(3)Run 'make' to generate new driver module.
(4)Load driver by "insmod xxx.o"
After driver being loaded successfully, set Wireless LAN specific parameters as follows
and enable wlan device by "iwpriv wlan0 enable" manually.
Or modify script files, wlanup/wlandown, to activate/shut_down wireless lan.
< Set wireless lan MIBs >
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.
Current driver supports "iwpriv", manipulate driver private ioctls, to set MIBs.
iwpriv wlan0 wlan_para [parameters]=[val]
where
parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Set channel number channel {1~14}
Set basic rates basicrates {bit0 = 1Mbps, bit1 = 2Mbps, bit2 = 5.5Mbps, bit3 = 11 Mbps}
Set operational rates oprates {bit0 = 1Mbps, bit1 = 2Mbps, bit2 = 5.5Mbps, bit3 = 11 Mbps}
Set authentication type authtype {opensystem, sharedkey, both<only AP mode>}
Set desired ssid to scan ssid2scan {0~z, less than 32 characters}
Set RTS threshold rtsthres {256~2304}
Set fragment threshold fragthres {256~2304}
Set preamble mode preamble {short,long,auto}
Set network type networktype {infra,adhoc,auto}
Set WEP mode wepmode {off,wep40,wep104}
Set WEP default key ID wepdkeyid {0~3}
Set 1st WEP40 key value wepkey40_1 {0~f, total 10 characters}
Set 2st WEP40 key value wepkey40_2 {0~f, total 10 characters}
Set 3st WEP40 key value wepkey40_3 {0~f, total 10 characters}
Set 4st WEP40 key value wepkey40_4 {0~f, total 10 characters}
Set 1st WEP104 key value wepkey104_1 {0~f, total 26 characters}
Set 2st WEP104 key value wepkey104_2 {0~f, total 26 characters}
Set 3st WEP104 key value wepkey104_3 {0~f, total 26 characters}
Set 4st WEP104 key value wepkey104_4 {0~f, total 26 characters}
Print help message help
For example:
iwpriv wlan0 wlan_para channel=1
iwpriv wlan0 wlan_para basicrates=0xf
iwpriv wlan0 wlan_para oprates=0xf
iwpriv wlan0 wlan_para authtype=opensystem
iwpriv wlan0 wlan_para ssid2scan=testssid
iwpriv wlan0 wlan_para fragthres=512
iwpriv wlan0 wlan_para preamble=long
iwpriv wlan0 wlan_para wepmode=off
iwpriv wlan0 wlan_para wepdkeyid=0
iwpriv wlan0 wlan_para wepkey40_1=0123456789
iwpriv wlan0 wlan_para wepkey104_1=01234567890123456789012345
iwpriv wlan0 wlan_para networktype=infra
iwpriv wlan0 wlan_para help;
Also, you could set more than one parameter at the same time. For example:
hier noch was
root@localhost release]# iwconfig wlan0
Warning: Driver for device wlan0 has been compiled with version 0
of Wireless Extension, while this program is using version 15.
Some things may be broken...
wlan0 IEEE 802.11-DS ESSID:off/any Nickname:""
NWID:off/any Frequency:infGHz Access Point: FF:BF:21:00:00:00
Bit Rate=-1.07375e+06kb/s Tx-Power=-1073745980 dBm Sensitivity=1162167625/0
Retry:on RTS thr=-1073745980 B Fragment thr=-1073745980 B
Encryption key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000
Power Management0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000:on
was heist das genau?
iwpriv wlan0 wlan_para basicrates=0xf,authtype=opensystem,ssid2scan=testssid
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.20-8/include/
-DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_pci_init.o r8180_pci_init.c
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.20-8/include/
-DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_if.o r8180_if.c
--- Generate open part open_part.o ---
--- Generate rtl8180 linux driver rtl8180_24x.o on 2.4.20-8 ---
So wer kann mir sagen ob bis jetzt alles passt so? was kommt danach mit Wlan tools weiter oder?
Danke für Info
MfG IntruderEvil
hier noch auf wunsch dir readme
RTL8180 Linux Driver version 1.2 readme file for driver running on station mode.
< Component >
The driver is composed of several parts:
(1)source code
driver module initialization and interface between rtl8180 driver and system call.
r8180_pci_init.c driver module initialization and register/unregister network device
r8180_pci_init.h include file
r8180_if.c interface between rtl8180 driver and system call
r8180_if.h include file
r8180_type.h type definition for rtl8180 driver
r8180_export.h exported function name from rtl8180 driver
(2)object code
rtl8180 driver
priv_part.o rtl8180 driver object code
(3)Default driver
rtl8180_24x.o default driver module compiled in kernel 2.4.18.
(4)Makefile
PLEASE SPECIFY INCLUDEPATH CORRECTLY ACCORDING TO YOUR LINUX ENVIRONMENT.
FOR EXAMPLE, " INCLUDEPATH=-I /usr/src/linux-2.4.18-3/include/ " in RedHat7.3.
FOR EXAMPLE, " INCLUDEPATH=-I /usr/src/linux-2.4.18-14/include/ " in RedHat8.0.
(5)wlanup/wlandown
simple script file to activate/shut_down wireless lan.
< Installation >
Please try to load linux_24x.o first by "insmod -f rtl8180_24x.o".
If it doesn't work, you are suggested to compile loadable driver module following the steps as:
(0)Make sure the C-compile version. Run "gcc -v".
If gcc version is 2.xx, use release driver RTL8180_24x_RH73.zip.
If gcc version is 3.xx, use release driver RTL8180_24x_SuSE.zip.
(1)Modify macros in Makefile. For example, KERNELRELEASE, IO_FLAGS, ENDIAN_FLAGS, INCLUDEPATH
and RTL8180_TARGET which represent kernel release version, pci I/O space mapping,
big/little endian, rtl8180 driver name.
(2)Check pci module initialization and system call interfaces in the provided source code,
r8180_pci_init.c ....etc.
(3)Run 'make' to generate new driver module.
(4)Load driver by "insmod xxx.o"
After driver being loaded successfully, set Wireless LAN specific parameters as follows
and enable wlan device by "iwpriv wlan0 enable" manually.
Or modify script files, wlanup/wlandown, to activate/shut_down wireless lan.
< Set wireless lan MIBs >
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.
Current driver supports "iwpriv", manipulate driver private ioctls, to set MIBs.
iwpriv wlan0 wlan_para [parameters]=[val]
where
parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Set channel number channel {1~14}
Set basic rates basicrates {bit0 = 1Mbps, bit1 = 2Mbps, bit2 = 5.5Mbps, bit3 = 11 Mbps}
Set operational rates oprates {bit0 = 1Mbps, bit1 = 2Mbps, bit2 = 5.5Mbps, bit3 = 11 Mbps}
Set authentication type authtype {opensystem, sharedkey, both<only AP mode>}
Set desired ssid to scan ssid2scan {0~z, less than 32 characters}
Set RTS threshold rtsthres {256~2304}
Set fragment threshold fragthres {256~2304}
Set preamble mode preamble {short,long,auto}
Set network type networktype {infra,adhoc,auto}
Set WEP mode wepmode {off,wep40,wep104}
Set WEP default key ID wepdkeyid {0~3}
Set 1st WEP40 key value wepkey40_1 {0~f, total 10 characters}
Set 2st WEP40 key value wepkey40_2 {0~f, total 10 characters}
Set 3st WEP40 key value wepkey40_3 {0~f, total 10 characters}
Set 4st WEP40 key value wepkey40_4 {0~f, total 10 characters}
Set 1st WEP104 key value wepkey104_1 {0~f, total 26 characters}
Set 2st WEP104 key value wepkey104_2 {0~f, total 26 characters}
Set 3st WEP104 key value wepkey104_3 {0~f, total 26 characters}
Set 4st WEP104 key value wepkey104_4 {0~f, total 26 characters}
Print help message help
For example:
iwpriv wlan0 wlan_para channel=1
iwpriv wlan0 wlan_para basicrates=0xf
iwpriv wlan0 wlan_para oprates=0xf
iwpriv wlan0 wlan_para authtype=opensystem
iwpriv wlan0 wlan_para ssid2scan=testssid
iwpriv wlan0 wlan_para fragthres=512
iwpriv wlan0 wlan_para preamble=long
iwpriv wlan0 wlan_para wepmode=off
iwpriv wlan0 wlan_para wepdkeyid=0
iwpriv wlan0 wlan_para wepkey40_1=0123456789
iwpriv wlan0 wlan_para wepkey104_1=01234567890123456789012345
iwpriv wlan0 wlan_para networktype=infra
iwpriv wlan0 wlan_para help;
Also, you could set more than one parameter at the same time. For example:
hier noch was
root@localhost release]# iwconfig wlan0
Warning: Driver for device wlan0 has been compiled with version 0
of Wireless Extension, while this program is using version 15.
Some things may be broken...
wlan0 IEEE 802.11-DS ESSID:off/any Nickname:""
NWID:off/any Frequency:infGHz Access Point: FF:BF:21:00:00:00
Bit Rate=-1.07375e+06kb/s Tx-Power=-1073745980 dBm Sensitivity=1162167625/0
Retry:on RTS thr=-1073745980 B Fragment thr=-1073745980 B
Encryption key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000
Power Management0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000:on
was heist das genau?
iwpriv wlan0 wlan_para basicrates=0xf,authtype=opensystem,ssid2scan=testssid
Zuletzt bearbeitet: