2

I am trying to create wifi Ad-hoc network/ Hotspot in pi but no success.

I tried from following links

  • novitiate.co.uk/?p=183

  • lcdev.dk/2012/11/18/raspberry-pi-tutorial-connect-to-wifi-or-create-an-encrypted-dhcp-enabled-ad-hoc-network-as-fallback/

  • sirlagz.net/2013/02/10/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-3b/

Error are as follows:

Starting advanced IEEE 802.11 management: hostapdSegmentation fault

Debug : When I googled for the above error , some forums suggested to hardcode the path of wifi adapter driver. but when I hard-coded I am encountering the new error "Starting advanced IEEE 802.11 management: hostapdrmdir[ctrl_interface]: Operation not permitted Segmentation fault "

Conclusion : I am not able to start the hostapd service .

Ankith
  • 277
  • 2
  • 4
  • 13

2 Answers2

0

The above links you followed are supposed to work. I followed this link and my Wifi Hotspot was up in few minutes. I think your Wifi Adapter might not be supporting straight way

Suggestions to troubleshoot :-

1>Check /var/log/messages and /var/log/syslog

2>check the list of wifi adapters supported for RPi here

and make sure your configuration is correct as per the above tutorial.

slashRahul
  • 555
  • 5
  • 18
-1

I have a RTL8188CUS device, and installing the Jenssengers hostapd worked for me https://jenssegers.com/43/Realtek-RTL8188-based-access-point-on-Raspberry-Pi

All credits to Jenssegers.

Remove old hostapd

sudo apt-get autoremove hostapd

Download the Jenssegers solution

wget https://github.com/jenssegers/RTL8188-hostapd/archive/v2.0.tar.gz
tar -zxvf v2.0.tar.gz
cd RTL8188-hostapd-2.0/hostapd

Make and install

sudo make
sudo make install
sudo service hostapd restart