Questions tagged [hostapd]

User space daemon for access point and authentication servers.

Filter by
Sorted by
Tagged with
1
vote
2answers
52 views

Using Linux machine to wirelessly connect to printer's browser interface

I'm trying to use a raspberry pi (that factor shouldn't make it any different than any other linux box, but may make the application make a bit more sense) to remotely view a website. For example, if ...
0
votes
1answer
1k views

Hostapd and nl80211

I have some troubles with hostapd and nl80211, when I try to launch hostapd, this is what I got : # /etc/init.d/hostapd start Starting HOSTAP Daemon: Configuration file: /etc/hostapd.conf nl80211: ...
1
vote
0answers
115 views

Share socks5 connection to a 2nd NIC system wide

I'm trying to accomplish the following: I have a server with two NICs. One is wireless (wlan0) made as an access point (using hostapd) and the other one (eth0) is connected to a network that doesn't ...
1
vote
1answer
561 views

Which are the “Mode” requirements for a wireless card to work with hostapd?

I need to transform a Linux box to an Access Point via hostapd. I've already tested it with an Atheros AR9485 wireless card, which supports AP Mode and Master Mode, and it works great. ...
3
votes
0answers
4k views

hostapd multiple SSIDs with one BSSID

I have a wl12xx wifi adapter that unfortunately does not seem to support creating multiple access points. If I run iw list it outputs this line: interface combinations are not supported If I run ...
3
votes
0answers
156 views

Configuring a Linux Wi-Fi access point to redirect a one-word URL to http://192.168.42.1:8888

I've created a Wi-Fi access point on a Linux box (thanks to hostapd). I'm trying to make it easy for clients to access the Freenet service that's running on said box. Ideally, the user would be able ...
1
vote
2answers
278 views

Why can't devices connected to my wlan0 interface communicate with eth0 devices?

I'm trying to set up a Raspberry Pi running Raspbian Jessie with the following configuration: DHCP Server (isc-dhcp-server) WLAN Access Point (hostapd) Application Server (HTTP server on port 80) My ...
2
votes
0answers
2k views

Determine signal quality or signal strength through hostapd or iw

I would need to retrieve the signal strength through hostapd or iw of my Access Point (AP) device which I am using with Linux. I don't know how to do so through hostapd because the dump_file has been ...
4
votes
0answers
566 views

HOSTAPD fails without stopping and drops clients

I am not the strongest Linux admin. I just thought I would throw that out there. I have a Linux wireless access point with HOSTAPD and DNSMASQ. I have been working on this for quite some time and I ...
1
vote
0answers
264 views

Hostapd - no internet on server

I have setup local "hotspot" on my machine running Debian Jessie. I followed some instructions after which neither of tutorials worked for me. In the end I discovered I had a whitespace (I think) in ...
2
votes
0answers
61 views

Hostapd Daemon for two Wireless Adaptors on same board

I am working on a wireless Adaptor APIs using C++. I want to set two APs (two wireless adaptors on same board) configuration by running two different hostapd daemon using two different hostapd.conf ...
1
vote
1answer
255 views

Simple access point for remote electronics project

I need to get a way to communicate to a Raspberry Pi which is acting as the brain of a project. The missing piece is the wireless TCP/IP link. There are some tutorials for setting up a router with ...
0
votes
3answers
126 views

Service not found for newly created binary

I am running a Raspbian box, I ran a make cmd for a package I wished to compile - hostapd After compiling I saw no errors and was left with a binary, I assume I must move this binary into /usr/sbin/ ...
0
votes
0answers
810 views

Ip Forwarding: wlan0 <=> eth0: without NetworkManager?

I enabled ip-forwarding between my interfaces wlan0 and eth0 : in /etc/sysctl.conf sh "echo 1 > proc/etc..." 3 iptables rules. IpTables rules: sudo iptables -t nat -A POSTROUTING -o eth0 -j ...
2
votes
1answer
949 views

Hostapd captive portal detection on Android

I already looked at all related questions, and also at the Chromium project. I have a working hostapd access point, and a working Captive Portal (works perfectly on ios and mac osx, windows and linux)....
6
votes
2answers
33k views

Hostapd error nl80211: Could not configure driver mode

Hostapd keeps giving me this error: nl80211: Could not configure driver mode nl80211 driver initialization failed. hostapd_free_hapd_data: Interface wlan0 wasn't started I'm on Debian 8. I ...
1
vote
0answers
403 views

Howto configure linux router to allow clients to use maximum bandwidth?

The problem is that I'm always limited on the final client machine to about 1/3 (one third,about 200/300kb) of the internet hotspot bandwidth when testing download speed with wget. I have configured ...
1
vote
1answer
61 views

How to Connect Different WiFi interfaces : 1 for external 1 for internal

I've built a Wireless Access point using hostapd and udhcpd. I have 2 WiFi dongles, one is used as wlan0 other is used as wlan1, I connected one of them to internet and other is keeping working as an ...
2
votes
1answer
666 views

Access Point offers itself IP if used as DHCP Server?

I'm trying to use an raspberrypi (OS=raspbian 4.0.7) I had flying around so I researched a little bit and everything seems to work more or less fine. I am using hostapd in combination with an wifi ...
0
votes
1answer
722 views

Linux Mint, is there a captive-portal software for?

Does Linux Mint 17+ has a software for doing captive portal? Amongst the provided list here, it seems none is mint-compatible.
1
vote
0answers
815 views

When connecting my WiFi, how to open browser automatically?

I made my Linux computer providing WiFi access. This is only to browse its local website. As one does for a captive portal, I want to force the browser to display and direct to my homepage : - you ...
4
votes
2answers
7k views

Captive portal detection, popup implementation?

Based on hostapd, I am building a captive portal. My Linux Machine provides Wifi access. iPad's and Android clients-tablets connect to this Wifi. Generally, any client OS checks if a URL is ...
0
votes
2answers
2k views

Captive portal [HostApd] detection by the browser?

I'm using hostApd to develop a captive portal. My machine provides à Wifi (password free), and I plan the clients to get a popup saying "hello". You know, like the popup of wifi providers, asking for ...
1
vote
0answers
351 views

ath0 wi-fi connection breaks

Can't hold wi-fi connection in hostapd mode. Sometimes it's good, sometimes not, yesterday all day wi-fi works, today no chance even to connect. % more /etc/rc.conf wlans_ath0="wlan0" ...
1
vote
1answer
493 views

How to broadcast two access points?

How do I broadcast two access points with two WiFi cards with hostapd? Most tutorials don't work since udhcpd doesn't work with two access points. Example tutorial: http://elinux.org/RPI-Wireless-...
0
votes
0answers
560 views

Installing hostapd via apt-get and dpkg results in different boot behaviour

I am trying to set up a Wifi hotspot on Debian 7.6. After reading a few tutorials, I have managed to get the Wifi working by installing and configuring hostapd. I need to install and configure this ...
2
votes
1answer
286 views

Debian network disappearing

I'm running Debian v8 (systemd purged and systemV installed ... works fine). It is a clean installation (Debian v7 used to be on this machine) The harddrives failed after numerous power failures on 1 ...
0
votes
1answer
163 views

dhclient giving weird address when hostapd and dnsmasq are installed but not running

I'm trying to set up a script so that I can switch between wlan0 being an AP and being a client at certain times, but I hit a snag. Hostapd and dnsmasq both start up fine and appear to work normally, ...
0
votes
1answer
1k views

Debian WiFi crash problem

Sorry for my bad english. On a distribution debian wheezy I configured a router AP. I set up a bridge between a VLAN eth0.102 and wlan wlan0. For configuring WiFi I installed the drivers for the ...
2
votes
0answers
582 views

Privoxy - Annoying Error Used IPTables

I'm running privoxy off a machine that also has hostapd installed, I am trying to run all http traffic from hostapd through privoxy i have already tried this: iptables -t nat -A PREROUTING -p tcp --...
1
vote
1answer
566 views

WiFi cycle with hostapd

I'm using hostapd to broadcast my wireless network. I'm cycling through a list of config files. I'm able to create a wireless network the first time, but as soon as I'm trying to cycle to the next one ...
2
votes
0answers
428 views

Getting to work Hostapd with RTL8192CU chipset on IPFire

I've got IP Fire set up on my RPi and despite the RTL8192CU chipset working with a bit of tweaking from a guide I found, it doesn't seem to work with hostapd on IPFire. The TP-Link USB dongle flashes ...
1
vote
1answer
1k views

Using tee or pipe to log console output will cause my program not to start [duplicate]

I'm running hostapd on my raspberry PI to let it function as an accesspoint. It's working fine with the following command: sudo hostapd /etc/hostapd/hostapd.conf This will start hostapd and log all ...
2
votes
0answers
783 views

Maximum clients with USB hotspot

I made a small access point using Hostapd, Dnsmasq and Debian Wheezy. I'm using an USB dongle, how could I know the maximum number of clients allowed? Can I change it? How can I manage (disconnect, ...
2
votes
1answer
2k views

“nmcli nm wifi on” stops hostapd

I have ubuntu 14.04 installed on a computer with a built-in wifi and also a usb wifi. I want to run hostapd on built-in wifi to act as an access point though no connection will be established with it. ...
6
votes
4answers
7k views

hostapd on Debian Linux opens WLAN Hotspot, but I can't connect to it

I have a Debian Wheezy machine with hostapd running. I want it to make a WPA2-PSK secured WLAN Hotspot. I can see the Hotspot from my Android phone, but every time I try to connect to it, it shows "...
0
votes
1answer
2k views

Cannot start Wifi Hotspot from Fedora 20 - MATE but works on GNOME

I cannot start the Wifi Hotspot on Fedora 20 Mate Desktop Environment from NetworkManager. But when i log off and login to GNOME i am able to start it. I read some stuffs about hostapd but couldn't ...
0
votes
0answers
2k views

Optimize hostapd for highest range

I have an Alfa Wifi dongle. This dongle should have a sensitivity of -100 dbi at 1 MBit speed. Is it enough to set hw_mode to "a" to get highest range? Are there other settings which have to get ...
1
vote
0answers
47 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
1
vote
1answer
2k views

Ho to bridge wlan0 in AP mode and eth0 so that eth0 is static and wlan0 uses DHCP?

I have a router that provides internet access. Connected to this router is a desktop PC that has working eth0 (static IP address) and wlan0. Also connected to the router is a laptop which I use to ...
6
votes
2answers
24k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd /etc/hostapd....
19
votes
8answers
100k views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what I ...
12
votes
2answers
1k views

AP randomly gets unreachable for the clients while hostapd is running

I set up an old PC as a router using Debian Wheezy, hostapd, dhcpd etc. It has 3 NICs and 1 WiFi PCI card (TP-Link L-WN751ND). The problem is that AP randomly gets unreachable for the clients while ...
9
votes
1answer
5k views

“nl80211: 'nl80211' generic netlink not found” when starting hostapd

I have been trying to get my Ubuntu 11.10 laptop to make an access point to connect my blackberry playbook . hostapd gave error Configuration file: ./hostapd-minimal.conf nl80211: 'nl80211' ...

1
2