Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
wifi ap
View previous topic :: View next topic  
Author Message
scottbyr
Junior Member


Joined: 26 Apr 2015
Posts: 4
Location: Western Australia

PostPosted: Mon Apr 27, 2015 4:41 am    Post subject: wifi ap Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Mon Apr 27, 2015 7:50 am    Post subject: Reply with quote

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



hostapd-2.4-i486-1sms.txz
 Description:

Download
 Filename:  hostapd-2.4-i486-1sms.txz
 Filesize:  402.74 KB
 Downloaded:  948 Time(s)


_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
scottbyr
Junior Member


Joined: 26 Apr 2015
Posts: 4
Location: Western Australia

PostPosted: Mon Apr 27, 2015 1:09 pm    Post subject: Reply with quote

Saved me alot of brain teasing thankyou
Back to top
View user's profile Send private message
scottbyr
Junior Member


Joined: 26 Apr 2015
Posts: 4
Location: Western Australia

PostPosted: Tue Apr 28, 2015 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Tue Apr 28, 2015 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
scottbyr
Junior Member


Joined: 26 Apr 2015
Posts: 4
Location: Western Australia

PostPosted: Thu Apr 30, 2015 9:21 am    Post subject: Reply with quote

Any ideas why hostapd will only allow connection to stay up for 20 seconds befor droping
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional