I'm trying to configure an XBee with the X-CTU tool using Wine. I followed the steps given in this tutorial.

  • I plug the USB in and check the kernel logs to see on which serial devices it has been attached:

userk@dopamine:~/Programs/Matlab/bin$ dmesg | grep 'FTDI USB Serial Device converter now attached'

[474.287844] usb 3-4: FTDI USB Serial Device converter now attached to ttyUSB0

So the XBee is connected to /dev/ttyUSB0.

  • Then I create the corresponding softlink with: (this might be the problem)

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com5

  • I open X-CTU Add the COM5 port and click the Test Query button but the following window appears:

    enter image description here

I don't have any reset button on the explorer board I'm using to connect the Xbee to the PC. It's probably a mapping problem between the linux dev files and the wine com ports. This process works on Windows, but I prefer to use Ubuntu... Do you guys have any advice?

  • \$\begingroup\$ If you don't get help here, the SuperUser or Unix/Linux stack exchange sites may have a community more familiar with your error. \$\endgroup\$ Jun 14, 2014 at 12:42

2 Answers 2


Most probably, XCTU would not be able to get the correct COM port to which your Xbee is being attached or otherwise you might have bricked your Xbee.Iu would rather suggest to test you Xbee on windows and find out that you hadn't bricked it.

The other way is to use Hardware reset for your Xbee. You must probably short reset pin with that of VCC or GND (I am not very sure with respect to this.) But this is a sure short way to reset your Xbee.

You can also use a serial emulator for the same like minicom or screen.If using minicom, first find out to which port you had connected your Xbee, probably it will be something like /dev/ttyUSB0 (use dmesg to find out). The use sudo minicom -s , under Serial Port Setup --> A. Serial device , edit it to /dev/ttyUSB0 and change baud rate to 9600.Now save this, then Save as DFL, then exit. A new screen will open. with

Cntrl+a then z, turn Local Echo ON.

Then write "+++",and don't press enter, if it revert you back with OK,then your Xbee is still alive or otherwise, use hardware reset. Probably as per your provided info, i think, you might be doing something wrong in providing softlink.

Also have a look at this page: Recovery procedure for Digi RF products. It might help you out.

  • 1
    \$\begingroup\$ I had added some more relevant details. \$\endgroup\$
    – srj0408
    Jul 13, 2014 at 7:48

Updating an outdated question. The X-CTU software is now available on Linux and Wine is no longer required.

X-CTU is available for download from: https://www.digi.com/products/xbee-rf-solutions/xctu-software/xctu

  • \$\begingroup\$ @UserK can you mark this answer (or the other solution if you prefer) as correct? \$\endgroup\$
    – mallwright
    Oct 20, 2017 at 13:30
  • \$\begingroup\$ Need to check the software first. I have already upvoted you answer \$\endgroup\$
    – UserK
    Oct 20, 2017 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.