# I'm unable to connect Magni to my wifi network

**URL:** <https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576>\
**Category:** Uncategorized\
**Created:** [July 3, 2020, 3:09pm UTC](https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576 "2020-07-03T15:09:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![inmoov](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/inmoov/32/473_2.png) [@inmoov](https://forum.ubiquityrobotics.com/u/inmoov)\
**Post date:** [July 3, 2020, 3:09pm UTC](https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576/1 "2020-07-03T15:09:17Z")

</div>

Hi All,

I’m unable to connect Magni to my local wifi network,

when I do a pifi list seen , it returns nothing,

 ![image](https://frm.ubiquityrobotics.com/uploads/default/original/1X/df019d72927fae816118d1113888ad2b94982a15.png)

Tried instructions here:  
[https://learn.ubiquityrobotics.com/connect\_network](https://learn.ubiquityrobotics.com/connect_network)

Do I have to change the hostname and also password first? in order for Magni to connect to my local wifi ?

Thanks,  
Kind Regards,  
Roger

---

<div class="post-metadata">

**Author:** ![MoffKalast](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/moffkalast/32/214_2.png) [@MoffKalast](https://forum.ubiquityrobotics.com/u/MoffKalast)\
**Post date:** [July 3, 2020, 4:23pm UTC](https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576/2 "2020-07-03T16:23:13Z")

</div>

Yeaah that function’s currently broken to my knowledge, but as long as you know your wifi’s name and password it’s a superfluous.

You don’t have to change the robot’s password, just change the hostname using:

```auto
sudo pifi set-hostname robotname

```

then

```auto
sudo pifi add networkname password

```

And it should work after a reboot. If it doesn’t then the robot probably doesn’t get enough signal from the network to connect. The Pi’s PCB antenna is rather weak anyhow.

---

<div class="post-metadata">

**Author:** ![inmoov](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/inmoov/32/473_2.png) [@inmoov](https://forum.ubiquityrobotics.com/u/inmoov)\
**Post date:** [July 4, 2020, 2:15am UTC](https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576/3 "2020-07-04T02:15:56Z")

</div>

Hi @MoffKalast

My network name has two words and a space in between , is this allowed in the command? you mentioned ,

Thank you

---

<div class="post-metadata">

**Author:** ![MoffKalast](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/moffkalast/32/214_2.png) [@MoffKalast](https://forum.ubiquityrobotics.com/u/MoffKalast)\
**Post date:** [July 4, 2020, 11:23am UTC](https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576/4 "2020-07-04T11:23:28Z")

</div>

Ah yes indeed that does require you to put the name in quotes, like so:

`sudo pifi add "network name with spaces" password`

That’s just how bash scripting works in general.

---

<div class="post-metadata">

**Author:** ![inmoov](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/inmoov/32/473_2.png) [@inmoov](https://forum.ubiquityrobotics.com/u/inmoov)\
**Post date:** [July 4, 2020, 1:53pm UTC](https://forum.ubiquityrobotics.com/t/im-unable-to-connect-magni-to-my-wifi-network/576/5 "2020-07-04T13:53:45Z")

</div>

I got it working, thank you for your help
