Unable to create Wifi hotspot with raspberry pi

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
swhobbs
 
Posts: 6
Joined: Sat Mar 01, 2014 5:41 am

Unable to create Wifi hotspot with raspberry pi

Post by swhobbs »

I have bought a USB WiFi (802.11b/g/n) Module: For Raspberry Pi and more and tried to create a Wifi hotspot on the Rasp pi (Raspberian) with static IP address. I have setup my interfaces using SUDO as follows (http://www.raspberrypi.org/forums/viewt ... 91&t=31003) and have assigned a static ip (192.168.1.3) to my wireless connection on my windows 7 laptop. I can view the network on windows but am unable to connect. Putty fails to work. I think there may be a problem with this dongle. Any help would be greatly appreciated:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface home_static inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by adafruit_support_rick »

Let's go back to basics. Try the dongle with DHCP and an unmodified /etc/network/interfaces. See if it gets an address and can communicate with the network.

swhobbs
 
Posts: 6
Joined: Sat Mar 01, 2014 5:41 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by swhobbs »

Thank you for advice. I do not have a wifi router or internet connection at all. There is no network for it to connect to that I have.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by adafruit_support_rick »

Are you following our tutorial? Have you installed hostapd?

https://learn.adafruit.com/setting-up-a ... t/overview

SomeOtherMattT
 
Posts: 3
Joined: Fri May 23, 2014 6:48 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by SomeOtherMattT »

I had good luck using the configuration script below. Just whack in the three commands below, follow the prompts and let it do its thing.

Code: Select all

wget "http://raspberry-at-home.com/files/ap_setup.sh"
chmod +x ap_setup.sh
sudo ./ap_setup.sh

swhobbs
 
Posts: 6
Joined: Sat Mar 01, 2014 5:41 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by swhobbs »

thank you for responses.

I tried following this adafruit tutorial. After bootup I received an error saying that the wireless network could not start. I could not connect to it via windows. I tried the tutorial twice without success.

I also tried running the script. My windows laptop detected the network. I entered my password but after a long while windows said it could not connect to the network. I have tried rebooting the pi and the windows laptop, changing the wifi dongle to another port without success. Windows network diagnostics found nothing.

BTW does trying the Adafruit tutorial affect the sript? If so how? When it asks to provide a network interface should it be wlan0 or eth0?

I still have no network connection

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by adafruit_support_rick »

We still need to determine if your wifi adapter is working.
If you plug the wifi adapter into your computer, does it work there?

swhobbs
 
Posts: 6
Joined: Sat Mar 01, 2014 5:41 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by swhobbs »

I have installed the wifi drivers and tried plugging the adapter into my windows laptop. I am unable to view any networks or get any IP address for the adapter.

I have now tried no less than five different tutorials on setting up a wifi hotspot and they all fail to connect from my windows laptop. Ifconfig and iwconfig fail to show any IP addresses. I have reimaged my Raspberian from the card twice.

BTW I would gladly buy an SD card with a wifi hotspot already set up that I could connect to via putty.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Unable to create Wifi hotspot with raspberry pi

Post by adafruit_support_rick »

let's replace the wifi adapter
Please email [email protected] with a link to this thread for a replacement

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”