# Ubuntu Connected mode not working

**URL:** <https://forums.developer.nvidia.com/t/ubuntu-connected-mode-not-working/207236>\
**Category:** Mellanox OFED\
**Tags:** cat, vi\
**Created:** [February 11, 2018, 12:04pm UTC](https://forums.developer.nvidia.com/t/ubuntu-connected-mode-not-working/207236 "2018-02-11T12:04:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kedzior](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@kedzior](https://forums.developer.nvidia.com/u/kedzior)\
**Post date:** [February 11, 2018, 12:04pm UTC](https://forums.developer.nvidia.com/t/ubuntu-connected-mode-not-working/207236/1 "2018-02-11T12:04:38Z")

</div>

Hello I have Connectx-4 VPI (2 port) , I install OFED for Ubuntu and I would like to change port to Connected mode, I done changes in interface file but when I restarted I get :

ib1: Setting Connected Mode failed, not supported by this device

Can somebody can help me with this ?

---

<div class="post-metadata">

**Author:** ![billb](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@billb](https://forums.developer.nvidia.com/u/billb)\
**Post date:** [October 7, 2018, 11:52am UTC](https://forums.developer.nvidia.com/t/ubuntu-connected-mode-not-working/207236/2 "2018-10-07T11:52:33Z")

</div>

From what I can tell this no longer works with Ubuntu 18.04. When I try this solution, during boot I get:

[4128.198929] ib\_ipoib: unknown parameter ‘ipoib\_enhanced’ ignored

I tried with the native 18.04 drivers and after installing mlnx-en-4.4-2.0.7.0-ubuntu18.04-x86\_64.tgz

---

<div class="post-metadata">

**Author:** ![samerka](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/samerka/32/367020_2.png) [@samerka](https://forums.developer.nvidia.com/u/samerka)\
**Post date:** [February 25, 2018, 11:40am UTC](https://forums.developer.nvidia.com/t/ubuntu-connected-mode-not-working/207236/3 "2018-02-25T11:40:22Z")

</div>

Hi Adam,

In order to set up connected mode, please try first disabling IPoIB enhanced mode to do so please follow the procedure below:

1. Disable “ipoib\_enhanced”:

#vi /etc/modprobe.d/ib\_ipoib.conf

Add the following entry:

options ib\_ipoib ipoib\_enhanced=0

1. Stop and start openibd service:

#/etc/init.d/openibd stop

#/etc/init.d/openibd start

1. Verify parameter is disabled: (The value should be 0)

#cat /sys/module/ib\_ipoib/parameters/ipoib\_enhanced

1. Verify the mode:

#cat /sys/class/net/ib0/mode

Once disabled please go ahead and enable connected mode.

Thanks,

Samer
