HostAP & Slackware (current) Setup - need feedback
Ok, since I'm still a novice with Linux (is it ever possible to get pass this stage? ><) and I wanted to use the HostAP drivers for the benefit of iwlist <> scan and the other features it offers over the orinoco drivers that come with Slack. So after doing a fresh install of Slackware Current after a botched attempt to install HostAP with kernel 2.4.28, I figured it would be easier to start from a clean install. This is what I came up with:
1.) Full install of Slackware Current, minus KDE/Gnome like always. 2.) Upgraded to kernel 2.6.9 (seem to have issues with 2.6.10 giving me a blank screen between bootup and starting X) 3.) Removed from the kernel configuration all the drivers for pcmcia cards, basically leaving it only to see the cardbus so I could use my NetGear MA401RA card. 4.) Installed the latest stable version of HostAP driver 0.2.6 and rebooted to make sure my laptop was loading the modules hostap, hostap_cs, hostap_crypt_wep, and ds (I assume this is also a hostap module but I am not completely sure). Everything before this point was simply installing these are my configuration scripts to get my card working. Firstly, thanks to eric.r.turner's guide to make a Slackware AP, I used his script to bring up wlan0 and suited it to my needs. This file I named rc.wlan0 and placed in /etc/rc.d/ directory with an exec property. Code:
#!/bin/sh This checks to see if rc.wlan0 has permission to be executed, it is placed directly before the MAIN area of the script: Code:
############ Now to make sure that wlan0 is called upon during the boot cycle and whenever /etc/rc.d/rc.inet1 start is called, I added a few lines into these spots: Code:
############ Thanks for the help. :) |
Oh, by the way, as I should add I guess if anyone uses this to setup HostAP on their laptop and is confused with wlan0 and wifi0 both being present--as the README for HostAP says--wifi0 will be started along with wlan0, but since wlan0 is the virtual device (think that was what it was called) that performs everything, there is no need to mess with wifi0.
|
here's my /etc/rc.d/rc.wlan0
here's my /etc/rc.d/rc.wlan0:
Code:
#!/bin/sh - perry ps. using dhcpcd 3.0.5 (the latest & greatest) under the 2.6.21.3 kernel with ndiswrapper 1.45 hope this helps /etc/rc.d/rc.M Code:
# Starting iptables firewall Code:
# Stopping wlan0 firewall |
the latest iptables
has anyone had much luck getting the latest iptables installed and working?
- perry |
slightly different version
Code:
#!/bin/sh - perry |
All times are GMT -5. The time now is 03:46 AM. |