Previous | Linux Wireless Access Point HOWTO |
Next |
[root@accesspoint root]# wget http://www.cat.pdx.edu/~baera/redhat_hostap/kernel-2.4.20-13.9.HOSTAP.i686.rpm |
--01:53:18-- http://www.cat.pdx.edu/%7Ebaera/redhat_hostap/kernel-2.4.20-13.9.HOSTAP.i686.rpm
=> `kernel-2.4.20-13.9.HOSTAP.i686.rpm.2' Resolving www.cat.pdx.edu... done. Connecting to www.cat.pdx.edu[131.252.209.97]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 14,131,783 [audio/x-pn-realaudio-plugin] 0% [ ] 25,096 33.07K/s ETA 06:56 |
[root@accesspoint root] rpm -ivh kernel-2.4.20-13.9.HOSTAP.i686.rpm |
Preparing... ########################################### [100%]
1:kernel-2.4.20.13.9.HOSTAP ########################################### [100%] |
[root@accesspoint root]# cat <<END_ENTRY >> /etc/modules.conf
alias wlan0 hostap_pci END_ENTRY |
[root@accesspoint root]# cat <<END_ENTRY > /etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE=wlan0 ONBOOT=yes BOOTPROTO=static IPADDR=10.1.2.1 NETMASK=255.255.255.0 END_ENTRY |
[root@accesspoint root]# cat <<END_ENTRY >> /etc/rc.local
/sbin/iwconfig wlan0 ESSID "simon.akld.nzwireless.org" echo "1" >/proc/sys/net/ipv4/ip_forward END_ENTRY |
[root@accesspoint root]# shutdown -r now |
[root@accesspoint root]# cat <<END_ENTRY >> /etc/rc.local
/sbin/iwpriv wlan0 prism2_param 8 2 /sbin/iwpriv wlan0 prism2_param 14 1 /sbin/iwpriv wlan0 prism2_param 27 4 /sbin/iwconfig wlan0 channel 3 END_ENTRY |
[root@accesspoint root]# cat /proc/interrupts |
11:   840839   XT-PIC   usb-uhci, eth0, wlan0 |
[root@accesspoint root]# lsmod |
Module   Size   Used by   Not tainted
hostap_pci   49300   1 hostap       86148   0   [hostap_pci] hostap_crypt   2992    0   [hostap] |
[root@accesspoint root]# insmod hostap_pci |
[root@accesspoint root]# /sbin/iwconfig wlan0 |
wlan0   IEEE 802.11b ESSID:"simon.akld.nzwireless.org"
             Mode:Master Frequency:2.422GHz Access Point: 00:40:05:AE:99:21              Bit Rate:11Mb/s Tx-Power:3 dBm Sensitivity=1/3              Retry min limit:8 RTS thr:off Fragment thr:off              Encryption key:off              Power Management:off              Link Quality:0 Signal level:0 Noise level:0              Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0              Tx excessive retries:0 Invalid misc:117146 Missed beacon:0 |
[root@accesspoint root]# /sbin/ifconfig wlan0 |
wlan0   Link encap:Ethernet HWaddr 00:40:05:AE:99:21
             inet addr:10.1.2.1 Bcast:10.10.10.255 Mask:255.255.255.0              UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1              RX packets:783821 errors:0 dropped:2543 overruns:0 frame:0              TX packets:4 errors:0 dropped:0 overruns:0 carrier:0              collisions:0 txqueuelen:100              RX bytes:0 (0.0 b) TX bytes:288 (288.0 b)              Interrupt:11 Memory:c48b6000-c48b7000 |
Previous | Home | Next |