Hi,
Is it okay if I ask questions here or should I mail you directly?
Ah! Well then the same bug is in the manual, because I checked my configuration against
that :)
https://manual.bibliotecha.info/#configure-network-interfaces
<
https://manual.bibliotecha.info/#configure-network-interfaces>
I ran the installation script again and the file was fixed :)
So, to fix your setup, if you edit the
/etc/network/interfaces.d/enxb827eb2917af file and change "eth0" to
"enxb827eb2917af" then you should check that it works by running "ifup
-a" and then finally "systemctl restart networking". Your networking
service should be running then, you can check with "systemctl status
networking". I would then try "systemctl restart hostapd" and check that
hostapd comes up with "systemctl status hostapd".
So, my guess is, that when the pi rebooted and the networking service failed, the wlan0
interface also failed to come up. This means that even though hostapd is running smoothly,
there is no interface for it to link with. You may also want to restart your pi and check
that the networking service comes up successfully at start so things go smooth if a
restart happens again.
Let me know! We can still try to debug further if things are not working. Feel free to
email!
This worked!
Not at first, but then I saw that the Pi was connecting to the wifi because I had setup a
wpa_supplicant.conf in the beginning while troubleshooting.
When I deleted that and restarted hostapd the wifi came up.
I have one more question though if I may.
When I connect now a captive networking window appears and I can see that the devices that
connect get an IP in the 10.0.0.x range. But the button to close captive network window
never changes from ‘cancel’ to ‘done’. Problem with this is that we can’t download/save
files from that window, only read them in that browser window.
From tail -f /var/log/syslog I can see the dhcpcd is giving out ip addresses so that seems
to work okay.
But systemctl status dnsmasq.service gives two warnings:
Ignoring nameserver 10.0.0.1 - local interface
And:
No servers found in /run/dnsmasq/resolv.conf
Too few arguments.
Could this be the reason?
Thanks for your patience
Heerko
Thanks for your patience on this, very cool to work together on this
:)
Luke
On 0, Heerko van der Kooij via Bibliotecha <bibliotecha(a)we.lurk.org> wrote:
> Hi,
> I hope I can bother you once more. I have followed the instructions on a
> Rpi 3.
> The install script ran without problems, but during boot there is a error
> Failed to raise network interfaces.
> The access point does not appear, even though hostapd does not have
> errors.
> $ systemctl status hostapd
> ● hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP
> Authenticator
> Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor
> preset: enabled)
> Active: active (running) since Wed 2020-02-12 14:47:26 GMT; 19min ago
> Process: 668 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B
> $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUCCESS)
> Main PID: 683 (hostapd)
> Tasks: 1 (limit: 2200)
> Memory: 1.8M
> CGroup: /system.slice/hostapd.service
> └─683 /usr/sbin/hostapd -B -P /run/hostapd.pid -B
> /etc/hostapd/hostapd.conf
> Feb 12 14:47:25 tetem01 systemd[1]: Starting Advanced IEEE 802.11 AP and
> IEEE 802.1X/WPA/WPA2/EAP Authenticator...
> Feb 12 14:47:26 tetem01 hostapd[668]: Configuration file:
> /etc/hostapd/hostapd.conf
> Feb 12 14:47:26 tetem01 hostapd[668]: wlan0: Could not connect to kernel
> driver
> Feb 12 14:47:26 tetem01 hostapd[668]: Using interface wlan0 with hwaddr
> b8:27:eb:7c:42:fa and ssid "Bibliotecha"
> Feb 12 14:47:26 tetem01 hostapd[668]: wlan0: interface state
> UNINITIALIZED->ENABLED
> Feb 12 14:47:26 tetem01 hostapd[668]: wlan0: AP-ENABLED
> Feb 12 14:47:26 tetem01 systemd[1]: Started Advanced IEEE 802.11 AP and
> IEEE 802.1X/WPA/WPA2/EAP Authenticator.
> Running "systemctl status networking.service” gives:
> ● networking.service - Raise network interfaces
> Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor
> preset: enabled)
> Active: failed (Result: exit-code) since Wed 2020-02-12 14:47:17 GMT;
> 14min ago
> Docs: man:interfaces(5)
> Process: 288 ExecStart=/sbin/ifup -a --read-environment (code=exited,
> status=1/FAILURE)
> Main PID: 288 (code=exited, status=1/FAILURE)
> Feb 12 14:03:54 tetem01 systemd[1]: Starting Raise network interfaces...
> Feb 12 14:03:54 tetem01 ifup[288]: ifup: unknown interface eth0
> Feb 12 14:47:17 tetem01 systemd[1]: networking.service: Main process
> exited, code=exited, status=1/FAILURE
> Feb 12 14:47:17 tetem01 systemd[1]: networking.service: Failed with result
> 'exit-code'.
> Feb 12 14:47:17 tetem01 systemd[1]: Failed to start Raise network
> interfaces.
> Eth0 does not exist in /etc/network/interfaces.d/
> $ ls /etc/network/interfaces.d/
> enxb827eb2917af wlan0
> Hope someone can help me once more.
> As I said, eventually I would like to run it on a Rpi zero w, but the
> install script immediately quit because there is no Eth0 on the zero. So
> that’s for later maybe.
> Thanks, heerko
>
> On 11 Feb 2020, at 21:04, Heerko van der Kooij via Bibliotecha
> <[1]bibliotecha(a)we.lurk.org> wrote:
> Thank you both Roel and Luke!
> The new version of the manual looks very extensive. I think I will just
> start over tomorrow and follow the instructions from scratch.
> I ended up on the old version by following the Manual link on the
> Bibliotecha site: [2]https://bibliotecha.info/blog/
> Hackers & Designers is organising an exposition at Tetem in
> Enschede: [3]https://hackersanddesigners.nl/s/Events/p/BodyBuilding (feel
> free to drop by!)
> We would like to create a repository of articles and background
> information on the works of each of the participating artists.
> Bibliotecha seems like a great fit for that.
> I will let you know how it all turns out.
> Thanks for the help!
> Heerko
>
> On 11 Feb 2020, at 16:34, Roel Roscam Abbing
> <[4]lists(a)roelroscamabbing.nl> wrote:
> Dear Heerko,
>
> We've indeed recently updated the manual and it can be found here now:
> [5]https://manual.bibliotecha.info/ (the source for that manual in
> case of
> issues: [
6]https://git.vvvvvvaria.org/varia/bibliotecha-manual)
>
> greetings,
> Roel
>
> On 2/11/20 2:36 PM, Heerko van der Kooij via Bibliotecha wrote:
>
> Hi,
>
> I would like to setup Bibliotecha on a Raspberry Pi zero W, but the
> instructions on site seem out of date.
> I have tried combining the instructions
> here: [
7]https://gitlab.com/bibliotecha/bibliotecha/-/wikis/Manual but
> with
> using Raspbian Buster Lite instead of Minibian.
> But after fetching the bibliotheca repository the wifi doesn’t work
> anymore and I can’t get it back up. Also there are a lot of errors
> generated by Lighttpd not starting up.
>
> Are there updated instructions somewhere that I could follow?
>
> Hope someone can help!
>
> Best, Heerko
>
> _______________________________________________
> Bibliotecha mailing list -- [8]bibliotecha(a)we.lurk.org
> To unsubscribe send an email to [9]bibliotecha-leave(a)we.lurk.org
>
> _______________________________________________
> Bibliotecha mailing list -- [10]bibliotecha(a)we.lurk.org
> To unsubscribe send an email to [11]bibliotecha-leave(a)we.lurk.org
>
> _______________________________________________
> Bibliotecha mailing list -- [12]bibliotecha(a)we.lurk.org
> To unsubscribe send an email to [13]bibliotecha-leave(a)we.lurk.org
>
> References
>
> Visible links
> 1. mailto:bibliotecha@we.lurk.org
> 2.
https://bibliotecha.info/blog/
> 3.
https://hackersanddesigners.nl/s/Events/p/BodyBuilding
> 4. mailto:lists@roelroscamabbing.nl
> 5.
https://manual.bibliotecha.info/
> 6.
https://git.vvvvvvaria.org/varia/bibliotecha-manual
> 7.
https://gitlab.com/bibliotecha/bibliotecha/-/wikis/Manual
> 8. mailto:bibliotecha@we.lurk.org
> 9. mailto:bibliotecha-leave@we.lurk.org
> 10. mailto:bibliotecha@we.lurk.org
> 11. mailto:bibliotecha-leave@we.lurk.org
> 12. mailto:bibliotecha@we.lurk.org
> 13. mailto:bibliotecha-leave@we.lurk.org
> _______________________________________________
> Bibliotecha mailing list -- bibliotecha(a)we.lurk.org
> To unsubscribe send an email to bibliotecha-leave(a)we.lurk.org
_______________________________________________
Bibliotecha mailing list -- bibliotecha(a)we.lurk.org
To unsubscribe send an email to bibliotecha-leave(a)we.lurk.org