View previous topic :: View next topic |
Author |
Message |
scottbyr Junior Member
Joined: 26 Apr 2015 Posts: 4 Location: Western Australia
|
Posted: Mon Apr 27, 2015 4:41 am Post subject: wifi ap |
|
|
Trying to create a wifi access point
Have checked my card with iw command and it does support ap mode
I am using hostapd 2.4 package to get it up and running
When making the config to compile the package there are a few reference to libs. On closer inspection the libs are not in the library.
Will there be any issue to install the librarys from slackware pkg's
The libarys are for the driver to create the AP
Libs needed
libnl3 (Netlink Protocol Library Suite version 3)
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Apr 27, 2015 7:50 am Post subject: |
|
|
Hi,
libnl3 exist in SMS by default so no need to install anything...
Anyway I attach hostapd build to give it a try...
gerasimos_h
Description: |
|
 Download |
Filename: |
hostapd-2.4-i486-1sms.txz |
Filesize: |
402.74 KB |
Downloaded: |
3477 Time(s) |
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
scottbyr Junior Member
Joined: 26 Apr 2015 Posts: 4 Location: Western Australia
|
Posted: Mon Apr 27, 2015 1:09 pm Post subject: |
|
|
Saved me alot of brain teasing thankyou
|
|
Back to top |
|
scottbyr Junior Member
Joined: 26 Apr 2015 Posts: 4 Location: Western Australia
|
Posted: Tue Apr 28, 2015 12:51 pm Post subject: |
|
|
I finally got it up and running with hostapd had a few issues with another AP and channels
Where would be the best place to put startup, iptables, bridge commands to work at boot.
Only other thing i have to nut out is how to add dhcp to the bridge without conflict to eth0
Eth0= isp dhcp br0= Eth1 wlan1
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Apr 28, 2015 1:41 pm Post subject: |
|
|
for dhcpd use the rc.dhcpd at
http://www.slackware.com/~alien/rc_scripts/other_rc_scripts/rc.dhcpd
place it in /etc/rc.d/ , make it executable and add your interfaces eth1 wlan0 in DHCPDD_OPTIONS
Put your startup commands including
Code: | if [ -x /etc/rc.d/rc.dhcpd ]; then
echo "Starting the DHCPd Server"
. /etc/rc.d/rc.dhcpd start
fi |
in
/etc/rc.d.rc.local
gerasimos_h
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
scottbyr Junior Member
Joined: 26 Apr 2015 Posts: 4 Location: Western Australia
|
Posted: Thu Apr 30, 2015 9:21 am Post subject: |
|
|
Any ideas why hostapd will only allow connection to stay up for 20 seconds befor droping
|
|
Back to top |
|
|