ScrimpyCat
Unable to get eth0 or wlan0 working on an rpi1
I’ve been trying to setup networking on an rpi1 B+ model, either ethernet or wireless and have had no luck with either. According to nerves_system_rpi both ethernet and my wireless USB dongle should work.
The main issue I’m having is I’m not able to get either of those network interfaces to even become available or recognised. Nerves.NetworkInterface.interfaces only returns lo, the nerves SystemRegistry only contains entries for lo, :inet.getiflist only returns lo, :os.cmd 'ip a' only returns details on lo, etc.
I’ve been playing around with both nerves_init_gadget and nerves_network with no luck.
Not sure where I’m going wrong here/what step I’m missing. So any pointers would be very appreciated.
First Post!
ConnorRigby
This might be a bug. I haven’t tested a rpi1 b+ in a long time but one of a few things might be going on:
- a driver is not loaded
- a driver is crashing
- the rpi is faulty. (more likely than you might think)
Can you post us the output of :os.cmd('dmesg')?
Also are you getting access via a usb keyboard, or using a uart/tty cable?
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









