>
Ok, probacu to veceras, evo sta sam skinuop kako se instalira:
First make sure your kernel is 2.4.21 or below. No special revisions
needed. - Ja imam 2.6.8.12mdk
wlanup:
code:#Load module
/sbin/insmod -f rtl8180_24x.o
#Set SSID
iwpriv wlan0 wlan_para networktype=infra
iwpriv wlan0 wlan_para ssid2scan�fault
iwpriv wlan0 wlan_para wepmode=off
iwpriv wlan0 msglevel 1
#Enable wireless lan driver
/sbin/iwpriv wlan0 enable
#Configure wlan0 IP address within router bounds
#since my router's address is 192.168.0.1, it is
#any between 192.168.0.101 - ...168
/sbin/ifconfig wlan0 192.168.0.101
echo "$(/sbin/ifconfig wlan0)"
#change this ip address to the router address
route add default gw 192.168.0.1
If you use route, you need a /etc/resolv.conf file:
code:#the Xs stand for the gateway your router goes through
#you can find it in the router stats when you log into it
nameserver XXX.XXX.XXX.XXX
Last you need an /etc/sysconfig/network-scripts/ifcfg-wlan0 file:
code:DEVICE=wlan0
NETMASK%5.255.255.0
GATEWAY2.168.0.1
BOOTPROTO=dhcp
PEERDNS=yes
onBOOT=no
#change the gateway ip to the address of the router
Copy these files to their respective locations, modify the Makefiles to
match your kernel, then type make, and if all is well, type "sh wlanup".
you should see:
code:Warning: loading rtl8180_24x.o will taint the kernel: forced load
See
http://www.tux.org/lkml/#export-tainted for information about tainted
modules
Module rtl8180_24x loaded, with warnings
wlan0 Link encap:Ethernet HWaddr 00:40:F4:93:4A:38
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xd800
Don't worry about the warning (it's because the priv_part.o file is
compiled against another kernel). Type in dmesg, and if all is well again,
then the last lines should look like this:
code:RTL8180: Select a BSS and Join it at channel 6.
RTL8180: ----------------------------------------------------------
RTL8180: wlan0 Link status:
RTL8180: Channel number = 6
RTL8180: beacon period = 100
RTL8180: BSSID = 0x00:0x0d:0x88:0x9f:0xd1:0xd3
RTL8180: SSID = default
RTL8180: Capability = 0x21
RTL8180: AID = 0x01
RTL8180: Operational rate = 0x0F <bit 0~3 = 1~11 Mbps>
RTL8180: ----------------------------------------------------------
Jel ovako ide ili ? Ja sam podizao Modem pod linuxom i islo je mnooogo
lakse 4-5 linije!
Every program is either trivial or it contains at least one bug.