Pi as a WiFi access point does not work
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/

Re: Pi as a WiFi access point does not work

by adafruit_support_mike on Sun Oct 20, 2013 2:27 am

Following the tutorials literally will only work if you have exactly the same network setup as the one used in the tutorial.. a wired ethernet connection configured for a specific address. If you want to use a different network setup, you need to know enough about network management to be able to compensate for the new addresses.

What's your setup?
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 10218
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pi as a WiFi access point does not work

by adafruit_support_rick on Sun Oct 20, 2013 7:52 am

Can you be more specific on which errors you're seeing?

Also, please post the results from ifconfig -a

adafruit_support_rick
 
Posts: 13061
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Pi as a WiFi access point does not work

by blubluh on Mon Nov 04, 2013 11:50 am

I just thought I'd add in my two cents, since I too had much trouble getting things to work by following the instructions ("Setting Up Raspberry Pi as a WiFi Access Point" & "Onion Pi").

In my case, for reasons I haven't determined, the static IP address I assigned to wlan0 (192.168.42.1) kept "disappearing" before the dhcpd server started up, which led to it failing to start up, yada yada.

In my case, I followed the tutorial instructions verbatim, which is probably the root cause of my issues, at least according to some of the forum responses I've read.

FYI - my Onion Pi is wire-connected to a router that automatically assigns local IP addresses (192.168.0.XXX) via DHCP to attached devices, like my Onion Pi. The router, in turn, is connected to the cable modem, the IP address of which is assigned by the cable company.

My kludge (I won't dignify it by calling it a "fix") was to add an explicit "ifconfig" statement to the "start" and "restart" cases in the shell script: /etc/init.d/isc-dhcp-server.

One obvious problem with this "solution" is that it will mysteriously disappear should I ever run an update to the isc-dhcp-server Linux package which would likely overwrite that start-up script. The "sudden", resulting failure months from now (you know, Alzheimer's and all that) is certain to be a head-scratcher, for sure! :?
Regards,
blubluh
blubluh
 
Posts: 11
Joined: Tue Mar 12, 2013 5:38 pm
Location: nj