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/
User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pi as a WiFi access point does not work

Post by adafruit_support_mike »

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?

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

Re: Pi as a WiFi access point does not work

Post by adafruit_support_rick »

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

Also, please post the results from ifconfig -a

blubluh
 
Posts: 11
Joined: Tue Mar 12, 2013 5:38 pm

Re: Pi as a WiFi access point does not work

Post by blubluh »

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! :?

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”