I don't think that rebuilding the card is the solution to the problem (Why do I think that? I've rebuilt mine 3 times). Rather, I'm 98% certain that there is something hinky between the instructions in the tutorial (which I am using as well) and the current version of Raspbian (and driver &| hostapd).andrewstillie wrote:Should re-build my SD card and start again?
It's not a good idea to, use zero at the end, the tutorial suggests also, to use a "one" at the end.Interfaces:
iface wlan0 inet static
thanks so much for posting this .. it worked!
maybe it is looking for "192.168.42.1/24"gdt wrote:It all breaks here "dhcpd: Not configured to listen on any interfaces!". The question is why?
"iface wlan0 inet static/address 192.168.42.0/netmask 220.127.116.11" tries to set the wlan0 interface's IPv4 address to an invalid value. Remember in IPv4 addressing that the lowest address in a subnet is the null address (sends to no machines on the subnet) and the highest address in the subnet is the broadcast address (sends to all machines on the subnet). A router's IP address is just like any other host's IP address, so it needs to be a valid. In IPv4 using either the lowest or the highest valid address in the subnet is traditional (in IPv6 using the lowest address is traditional).
"iface wlan0 inet static/address 192.168.42.1/netmask 18.104.22.168". Edit the file. "ifup wlan0". Check results with "ifconfig wlan0". Note that this will come up as an unauthenticating wireless client (with no SSID to connect with), not as an access point. In all seriousness, NetworkManager is by far the simplest way to bring up a host acting as an access point.
Let's have a quick look at the DHCP daemon configuration. That looks right.
Worked like a a charm, thanks a lot!!!
Code: Select all
Code: Select all
Code: Select all
auto wlan0 iface wlan0 inet static address 192.168.42.1 netmask 255.255.255.0
I agree! I followed your instructions and got my Pi access point working right away. I was using the isc-dhcp-server package but was having all sorts of problems after updating to the latest Raspian. Dnsmasq also seems to work with more different types of WiFi dongles.SurferTim wrote: ↑Wed Nov 22, 2017 12:41 pmI've used this and dnsmasq, and dnsmasq seems easier to set up. Just my opinion.
https://github.com/SurferTim/documentat ... s-point.md
to go to this file and edit it according to the guide, it said the file is unwritable.nano /etc/default/ifplugd
Trymonapi wrote: ↑Thu Aug 09, 2018 6:15 amhello!
i want to make pi works as an access point but when i i use isc-dhcp-server start command it fails.
i want to use http://sirlagz.net/2013/02/10/how-to-us ... r-part-3b/ guide to solve this error.
but i dont know how!
when i useto go to this file and edit it according to the guide, it said the file is unwritable.nano /etc/default/ifplugd
should i format the SD card or i should remove the files and follow the tutorial again from the start?
although i have this error and dhcp didnt start, i connect to the AP and get ip from it with my phone and pc but after one day it does'nt work.
please help me.
Any specific reason you're using a tutorial that's more than 5 years old?monapi wrote: ↑Wed Aug 08, 2018 11:45 amHi!
I want to use the guide in the link http://sirlagz.net/2013/02/10/how-to-us ... r-part-3b/
But when i open the file with nano it says the /etc/default/ifpluged is not writable
My question is how can i edit the file?
And when i open this file it is empty? Does it have any problem?
And when i use this way i cant use wifi of pi3 and i should only use the ethernet?? I cant undrestand it can someone help me?
Are you trying to share internet from your phone to the Pi? If so this is probably the wrong way to do it, you would do better setting your phone as a hotspot and then connecting the pi to that.