Redhat 9 Rtl8180 log vom Treiber was nun

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
 
Zuletzt bearbeitet:
Die genaue Vorgehensweise steht eigentlich in der Readme-Datei, die in dem .tar.gz-Archiv dabei ist. :)
 
und noch ein log...

[root@localhost release]# cat /proc/rtl8180/status
************ Current driver status ************
rtl8180_pci_driver loaded.
MacAddr = 00:00:20:01:00:00
ioaddr = 0x4000
irq = 10


-- RTL8180 Link status --

Channel number = 0
beacon period = 100
BSSID = 0x00 0x11 0x22 0x33 0x44 0x55
SSID = 0x61(a) 0x70(p) 0x74(t) 0x65(e) 0x73(s) 0x74(t) 0x32(2)
Capability = 0x00
AID = 0x00
Operational rate = <1><2><5.5><11>Mbps
 
[
[root@localhost rtl8180]# cat /proc/rtl8180/status
---------------------------------------
Driver status
---------------------------------------

rtl8180_pci_driver version 1.5 loaded.
The Network is configured as Infrastructure mode.
MacAddr = 00:00:20:01:00:00
ioaddr = 0x4000
irq = 10


---------------------------------------
Wireless Link status
---------------------------------------

Link Fail!

Channel number = 0
beacon period = 100
BSSID = 0x00 0x11 0x22 0x33 0x44 0x55
SSID = aptest2
Capability = 0x00
AID = 0x00
Operational rates = <1><2><5.5><11>Mbps
Current TX operational rates = <1>Mbps
 
Mit Wireless Lan hab ich persönlich noch keine Ehrfahrung aber vielleich hilft dir DIESER LINK ja ein wenig weiter.
 
rtl8180_24x.o longshine 8531-R

Hi, hab die wireless pcmcia-card longshine 8531-R unter Redhat 9 kernel 2.4.20-31.9 am laufen !
Verschiedene rtl8180_24x.o - Module liefen alle nicht !
Aber mit ndiswrapper von: ( Windows - Treiber unter Linux nutzen ! )
http://ndiswrapper.sourceforge.net/
Und dem WindowsXP-treiber von:
http://www.realtek.com.tw/
läuft alles Prima !

Merkwürdigerweise muss ich beim selbstgemachten Kernel ( mit "orginal" .config ) die Module:
ds.o
yenta_sock.o
pcmcia_core.o "von Hand" nachladen !

Das ndiswrapper.o Modul arbeitet sehr gut mit dem rtl8180.sys - Treiber von Windows zusammen !
Redhat 9 hat automatisch eine /etc/sysconfig-network-scripts/ifcfg-wlan0 erstellt, diese kann man z.B. mit dem KDE Netzwerk-tool wg. ssid,key usw. bearbeiten.
Meine wlan.sh sieht so aus !
#!/bin/bash
modprobe ds
modprobe yenta_sock
modprobe pcmcia_core
modprobe ndiswrapper.o
iwconfig wlan0 key=MeinWebKey
iwconfig wlan0 ssid=MeineSSID
ifconfig wlan0 <MeineIP> up

Man kann das alles noch toller configen mit automatischem pcmcia hotplug aber das brauch ich nicht !

Hoffe es hilft !
 

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Akonadi startet nicht mehr

Windows clients können nicht mehr auf lange laufendes System zugreifen

NagiosGrapher 1.7.1 funktioniert nicht

Zurück
Oben