curl 192.168.7.2
curl: (7) Failed to connect to 192.168.7.2 port 80 after 75015 ms: Network is unreachable
bela ide won't boot after plugging in bela mini
I'm also seeing errors when I use some basic terminal commands:
ls
channel 16: open failed: administratively prohibited: open failed
channel 16: open failed: administratively prohibited: open failed
If you have network sharing enabled for the board, then 192.168.7.2 should no longer work and you shouldn't try to force it with ifconfig/ipconfig. Rather, see if you can re-enable internet sharing from the host.
nickcamillo I'm also seeing errors when I use some basic terminal commands:
ls
channel 16: open failed: administratively prohibited: open failed
channel 16: open failed: administratively
This I've never seen. Are you out of space?
- Edited
giuliomoro I don't see why I would be. I've got a few megabytes of audio recorded and I've built the latest vim from source but that's about it. Does this seem reasonable?
df -H
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.6G 2.7G 710M 80% /
devtmpfs 256M 0 256M 0% /dev
tmpfs 256M 0 256M 0% /dev/shm
tmpfs 256M 9.7M 246M 4% /run
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs 256M 0 256M 0% /sys/fs/cgroup
/dev/mmcblk1p1 71M 4.3M 67M 7% /mnt/boot
As far as my mac is concerned, the bela has internet sharing enabled. I disabled and re-enabled it but I still can't git clone from ssh and the ide still wont load.
run ip a
on the board?
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether f4:b8:98:ae:69:4c brd ff:ff:ff:ff:ff:ff
3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether be:1a:98:ae:69:4e brd ff:ff:ff:ff:ff:ff
inet6 fe80::bc1a:98ff:feae:694e/64 scope link
valid_lft forever preferred_lft forever
4: usb1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether be:1a:98:ae:69:51 brd ff:ff:ff:ff:ff:ff
inet6 fe80::bc1a:98ff:feae:6951/64 scope link
valid_lft forever preferred_lft forever
Hmm it doesn't have an IPv4 on usb1
. On the board try:
echo > /var/lib/dhcp/dhclient.leases
dhclient usb1
possibly followed by a stop-sharing/start-sharing on the host.
didn't work. I am noticing that in the internet sharing ilst there are two entries for bela now, maybe because of also plugging in the bela mini at some point?
yes. Try sharing with both.
No luck
If it was just the IDE that wasn't working I'd at least be able to work in vim on-device, but without internet I can't configure a language server or use git
Scroll through that list a bit more , it may be that there are more "bela" entries?
- Edited
Try removing /Library/Preferences/SystemConfiguration/preferences.plist
on your computer after making a copy of it, then reboot and enable sharing again
Deleting the preferences list allowed me to enable Bela again, but it still has no connection
nickcamillo allowed me to enable Bela again,
What do you mean?
Btw an easier way to put a Bela online is by plugging in an ethernet cable to a home router
giuliomoro Plugging in ethernet made ide work again. Not necessarily ideal but at least I can get back to work. Thanks for all your help
Hey folks, restarting this. I'm having a (mostly) similar issue.
The Bela Mini in question is brand new. It boots and flashes like normal, and the drive mounts on my desktop, but I cannot open the IDE. I've tried both Chrome and Firefox, bela.local 192.168.7.2 and 192.168.6.2 , done everything on the troubleshooting page including trying to launch the IDE from terminal and updating the operating system. I am able to access the board through terminal, but cannot load the IDE in any browser.
Tried some of the suggestions above, got some different results:
make -C /root/Bela idestartup idestart got:
make: Entering directory '/root/Bela'
make: Warning: File 'libraries/Trill/build/Trill.d' has modification time 264393196 s in the future
Enabling the IDE at startup
Starting IDE...done
make: warning: Clock skew detected. Your build may be incomplete.
make: Leaving directory '/root/Bela'
journalctl --boot -fu bela_ide -n 3000
turned up:
-- Logs begin at Thu 2016-11-03 17:16:43 UTC. --
Nov 03 17:16:52 bela systemd[1]: Started Bela IDE Launcher.
Nov 03 17:17:01 bela node[377]: starting IDE from /root/Bela/
Nov 03 17:17:02 bela node[377]: setting pwd timeout
Nov 03 17:17:02 bela node[377]: listening on port 80
Nov 03 17:20:19 bela systemd[1]: Stopping Bela IDE Launcher...
Nov 03 17:20:19 bela systemd[1]: Stopped Bela IDE Launcher.
Nov 03 17:20:19 bela systemd[1]: Started Bela IDE Launcher.
Nov 03 17:20:25 bela node[515]: starting IDE from /root/Bela/
Nov 03 17:20:25 bela node[515]: setting pwd timeout
Nov 03 17:20:25 bela node[515]: listening on port 80