In openSUSE with KDE, KNetworkManager disconnects from WiFi when a pda is connected and odccm starts the connection.

To stop this from happening, a configuration file can be added to /etc/sysconfig/network to stop KNetworkManager from handling the connection when the device rndis0 is connected:

Add a file ifcfg-<devicename> to /etc/sysconfig/network with the following:

BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
USERCONTROL='yes'

In my case with openSUSE 10.3 and synce installation from SVN, I added /etc/sysconfig/network/ifcfg-rndis0.

On different distributions, the directory could be /etc/sysconfig/network/interfaces/

The settings were taken from http://www.nabble.com/Moto-Q9m-td15113094.html

Fedora

To stop this from happening, a configuration file can be added to /etc/sysconfig/network-scripts/ to stop NetworkManager from handling the connection when the device rndis0 is connected:

Add a file ifcfg-<devicename> to /etc/sysconfig/network-scripts/ with the following:

TYPE=Ethernet
DEVICE=rndis0
BOOTPROTO=dhcp
ONBOOT=no
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
NM_CONTROLLED=no

In my case with Fedora 9 and SynCE installation from YUM, I added /etc/sysconfig/network-scripts/ifcfg-rndis0.

If you have multiple devices you should add as many ifcfg-<devicename>. Change the line "DEVICE=<devicename>" accordingly.

Do not forget to configure the FirewallPorts.

For Fedora 9 (earlier releases should work as well) you can also disable the Network Manager AS A LAST RESORT using

chkconfig NetworkManager off && chkconfig network on

then reboot. DO NOT take this step if you depend on NM for your wireless (or other) connections. For a normal desktop with a hard ethernet connection, it's fairly safe to disable NM.

Gentoo

On Gentoo, in order to use NetworkManager, and after following SynceInstallation/Gentoo, I first off renamed my interface to rndis1 in udev/rules.d/70-persistent-net.rules :

# USB device 0x0bb4:0x0b51 (rndis_host)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="80:00:60:0f:e8:00", ATTR{type}=="1", KERNEL=="eth*", NAME="rndis1"

Then, I had to block NetworkManager from the rndis connections by adding the following line to /etc/conf.d/rc :

RC_PLUG_SERVICES="!net.rndis*"

After I did this, and following the above guide with 0.11.1 version of synce, I:

/etc/init.d/odccm restart
/etc/init.d/NetworkManager restart

Then, I plugged in my T-mobile DASH (S620/Excalibur) and my connection worked by doing a quick pls test command.

StopNetworkManagerInterfering (last edited 2008-10-05 15:19:42 by LudovicLange)