Can't install network manager


#1

I’m trying to install resin-wifi-connect and i’m having trouble. i can’t seem to install network-manager. i’m getting a can’t fetch several files and getting a 404 file not found.


#4

Hello, it seems to me this is due to some network issue – did you retry? Did it work?

But, what did you try to install and got this output – can you please paste the exact command you’re running? Where are you running this command – on the host or your app container?


#5

running the command “apt-get install network-manager” on the app container.


#9

@maoie, you do not have to install network-manager in the application container for the WiFi Connect to run there. The only needed dependency is dnsmasq, since it is used as a subprocess. WiFi Connect itself is available for download from Github Releases of the repo: https://github.com/resin-io/resin-wifi-connect/releases

Please check our example Dockerfile.template for more information on how to include WiFi Connect in your project: https://github.com/resin-io/resin-wifi-connect/blob/master/Dockerfile.template

Please, let me know if you have any questions.


#11

ok. thanks. btew,
if i’m using the rpi3, do i use the armv7hf or the rpi?


#12

btw, looking at the raspbian-install.sh script. https://github.com/resin-io/resin-wifi-connect/blob/master/scripts/raspbian-install.sh. there’s a line there that activates networkmanager.


#20

Hi @maoie

if i’m using the rpi3, do i use the armv7hf or the rpi?

For a pi 3 it’s armv7hf - rpi is for older versions of the raspberry pi & pi zero.

btw, looking at the raspbian-install.sh script. https://github.com/resin-io/resin-wifi-connect/blob/master/scripts/raspbian-install.sh. there’s a line there that activates networkmanager.

That’s only for vanilla Raspbian. On ResinOS, the host already contains network manager, so you don’t need it installed inside the container (and in fact if you do so, they can fight and cause trouble). Instead, on ResinOS resin-wifi-connect uses dbus to talk to the existing network manager directly.


#25

Ok. Thanks! :slight_smile: