View Full Version : Airview2 on Ubuntu 9.04
nvmtnlion
05-12-2009, 10:34 AM
No luck on Ubuntu 9.04 Jaunty. Sun Java 6 is installed. Continuously keeps searching for the airview module.
UBNT-Ramin
05-12-2009, 11:05 AM
No luck on Ubuntu 9.04 Jaunty. Sun Java 6 is installed. Continuously keeps searching for the airview module.
The AirView device locator uses Linux native command "find" to locate the device. Try running this at a shell prompt with the AirView device plugged into one of your USB ports:
find /sys -name ttyACM*
Let me know what output is returned. I've tested this with Ubuntu 8.04 and it worked fine.
nvmtnlion
05-12-2009, 03:24 PM
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/tty/ttyACM0
/sys/class/tty/ttyACM0
afalout
05-14-2009, 01:35 AM
Same here, and same on Suse 11, 10.3 and 10.1, several Ubuntu versions, and BackTrack 3 and 4 Beta.
As the device was advertised as Linux compatible, this is more then a bit disappointing.
Can we please have some debugging help/hints here? Or at lease some indication what is UBNT doing about this?
Regards,
Andrej Falout
UBNT-Ramin
05-15-2009, 01:11 PM
nvmtnlion and afalout,
I've sent each of you emails individually to try and diagnose this problem. Please reply back to the email and whatever the outcome of that diagnosis I'll post here for others to be aware of.
Thanks.
UBNT-Ramin
05-20-2009, 11:38 AM
First, thanks to nvmtnlion and afalout for their time spent helping me diagnose this on Ubuntu.
I've now confirmed that device detection, opening, and communication works fine on Ubuntu, at least as of 8.04, but you must do one very important thing: Make your user a member of group "dialout".
To be absolutely sure this happens
1. Edit /etc/group and include your user account (whichever one you use to run AirView) in the group "dialout".
2. Log OUT of X. You must do this, otherwise your group memberships will not be updated in the same session. I've even had someone tell me that they've had to completely reboot the machine if they're running Ubuntu as a VMWare VM.
3. Log back into X and verify that your user account is now ineed a member of "dialout". Open a shell and run the "groups" command. If dialout shows in the output, then you're ok to proceed.
4. Start AirView UI app by running the airview.sh command as before.
This should do it. Please let me know if this doesn't work for anyone running different versions of Ubuntu.
Thanks,
PS: The very same procedure needs to happen on RedHat/Fedora/Centos, except user must be member of 2 groups: uucp AND lock. Remember, membership in BOTH groups are required.
nvmtnlion
05-22-2009, 11:51 AM
Ramin got it working on Ubuntu 9.04 with less than 10 minutes of troubleshooting on the problem today! Thank you Sir!!
UBNT-Ramin
05-22-2009, 12:02 PM
Ramin got it working on Ubuntu 9.04 with less than 10 minutes of troubleshooting on the problem today! Thank you Sir!!
You're quite welcome nvmtnlion. Just glad to be of help and very glad it's finally working for you.
Everyone else, the issue with some Ubuntu distros is that some distro maintainers have removed the command udevinfo entirely. It's been replaced by udevadm, but even in that case they're supposed to symlink the old command to the new command for backward compatibility. udevinfo is required for AirView device discovery phase. Please refer to the Linux-related notes on the AirView Release Notes (http://www.ubnt.com/forum/showthread.php?t=8749) post on how to diagnose and fix this issue.
Thanks,
Dracos-Carazza
08-06-2009, 01:07 AM
Damn...
Two Minutes after registering with the forum, I found this Post and the hind with the symbolic link. Now it works perfect ;)
If someone interessts
OS: Ubuntu Linux 9.04
Kernel: 2.6.29-02062901-generic
Java: 1.6.0_14
First I have tried to get it working with Open-JDK, but this wasn't possible (for me ;))
With the right java jre and the symbolic link for udevinfo, there is no problem to use Airview on an Ubuntu 9.04 which is up to date :)
Greetings from Germany
Matze
grrr.... DID THIS GO THROUGH? I keep getting:
General Error
Failed sending email :: PHP ::
DEBUG MODE
Line : 234
File : emailer.php
I have an Airview 900MHz, and it works fine on my Vista.
However on the same PC, I can boot into Ubuntu 9.04. (all updates applied).
Then the Airview just sits there and "keeps searching for USB".
I have created and added a group "dialout" and in addition done a
ln -s /sbin/udevadm udevinfo
My groups are currently as follows:
aqk@aqk-laptop-ubuntu:~/av$ groups
aqk adm cdrom plugdev lpadmin admin sambashare dialout
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
Any ideas? :?:
Reason I am using Ubuntu for this, is that once I get it working on large laptop, I will later use it on my little ASUS eee which now has Ubuntu 9.04 installed on it...
Much more portable! :wink:
UBNT-Ramin
08-25-2009, 08:48 AM
grrr.... DID THIS GO THROUGH? I keep getting:
General Error
Failed sending email :: PHP ::
DEBUG MODE
Line : 234
File : emailer.php
Sorry for this trouble. We just switched forum software and we might still be going through a short-term configuration issues period. I've relayed it to our site admin and he'll look into it.
I have an Airview 900MHz, and it works fine on my Vista.
However on the same PC, I can boot into Ubuntu 9.04. (all updates applied).
Then the Airview just sits there and "keeps searching for USB".
I have created and added a group "dialout" and in addition done a
ln -s /sbin/udevadm udevinfo
My groups are currently as follows:
aqk@aqk-laptop-ubuntu:~/av$ groups
aqk adm cdrom plugdev lpadmin admin sambashare dialout
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
Any ideas? :?:
Reason I am using Ubuntu for this, is that once I get it working on large laptop, I will later use it on my little ASUS eee which now has Ubuntu 9.04 installed on it...
Much more portable! :wink:
Hmm... As you already saw on this thread there are several people who've gotten it working on both Ubuntu 8.04 and 9.04 and a couple of other Ubuntu offshoots. I worked through their issues and fixed them. So I know the software works on Ubuntu. But nonetheless, I'll help you figure it out.
It's a lot easier/cleaner for me to do this via email, figure out the issue, and post the results/resolution here on the forum. Please click on my username link on the left and choose "Send private message". Provide me with your email address and I'll get in touch with you about this.
Regards,
legkodymov
10-11-2009, 10:32 AM
Symlink to udevadm did not work in my case (Ubuntu 9.10)
I wrote small script:
#!/bin/sh
/sbin/udevadm info $1 $2 $3 $4 $5 $6 $7 $8
and put it to /sbin/udevinfo
Also, don't forget to chmod +x
Thank you!
chinnappan
10-20-2009, 05:32 AM
Dear all ,
I download in ubnt website Air-view-Spectrum-Analyzer-v1.0.09 .tar.gz but i cant install please guide me any one how to install in ubuntu 9.0.4
aadhar
10-21-2009, 08:04 PM
the device was advertised as Linux compatible, this is more then a bit disappointing.
UBNT-Ramin
10-23-2009, 10:03 AM
the device was advertised as Linux compatible, this is more then a bit disappointing.
The device and the UI application are very much Linux compatible, so I'm not sure where the disappointment comes from. There are scores of people running it on a variety of distros such as RHEL, several Ubuntu off-shoots, and OpenSuse. What trouble are you having with it?
UBNT-Ramin
10-23-2009, 10:17 AM
I download in ubnt website Air-view-Spectrum-Analyzer-v1.0.09 .tar.gz but i cant install please guide me any one how to install in ubuntu 9.0.4
chinnappan, I'm not sure what you mean by "guide me" because most folks who run Linux are familiar enough with how to unpack, install, and run scripts that are inside GZipped TARballs.
What are you having trouble with? Do you know how to unpack a .tar.gz file and run scripts?
In any case, have you read the AirView Release Notes (http://www.ubnt.com/forum/showthread.php?t=8749)? You should follow the instructions listed under v1.08, which introduced Linux support. Once you've done that let me know if there's any specific issues you need help with, otherwise it's just a matter of unpacking the .tar.gz file and running the executable script that's inside it.
Cheers,
pratishtha
10-26-2009, 06:29 AM
Can we please have some debugging help/hints here? Or at lease some indication what is UBNT doing about this?
UBNT-Ramin
10-26-2009, 11:00 AM
Can we please have some debugging help/hints here? Or at lease some indication what is UBNT doing about this?
What are you referring to? What issue? State your issue/problem clearly and perhaps then we can help you.
chinnappan
11-06-2009, 02:10 AM
Dear Ramin Akhbari
I am very sorry for this post ,i unpack the AirView-Spectrum-Analyzer-v1.0.09.tar.gz here 4 file here,airview.sh,airview-3rdpartylibs.jar,airview-o.jar,librxtxSerial.so then i am using this command ./airview.sh i am not get any error message, next what command i use ,i am new one of this so only i am ask you please guide me,
geekrebel
11-08-2009, 03:15 PM
Hi,
I had AirView working nicely on 9.04 Jaunty after creating the symlink to udevinfo.
However, this time the same trick no longer seems to work! AirView loads, but is stuck in "Searching for AirView USB device ..." splash screen.
Any help would be greatly appreciated!
UPDATE
Thanks to legkodymov, I managed to get it working rather quickly. I hardly ever do linux scripting, so here's a step-by-step beginners guide to get AirView working on Ubuntu 9.10 Karmic Koala:
1. In terminal, type:
sudo gedit /sbin/udevinfo
2. edit the file to look like this:
#!/bin/sh
/sbin/udevadm info $1 $2 $3 $4 $5 $6 $7 $8
and save it.
3. Make this script executable:
sudo chmod +x /sbin/udevinfo
4. Run 'which udevinfo'. It should return /sbin/udevinfo. If you created the symlink already, as described in the Release Notes, simply do 'sudo rm /usr/bin/udevinfo'
5. Now run airview:
sudo ./airview.sh &
chinnappan
11-10-2009, 10:48 AM
hi geekrebel
thanks for your help now it is work on ubuntu 9.04 ans 9.10
UBNT-Ramin
11-10-2009, 03:04 PM
Symlink to udevadm did not work in my case (Ubuntu 9.10)
and put it to /sbin/udevinfo
Also, don't forget to chmod +x
Sorry folks, I should have caught onto this earlier, but it looks like the version of udevadm bundled with Ubuntu 9.10 (Karmic Koala) doesn't accept the same params that the previous version did and that's why it fails with it.
legkodymov and geekrebel, thanks for your posts. I've actually fixed the problem in the AirView device detection code now and will be posting a new Linux build with that fix soon.
Regards,
jeeva
11-14-2009, 10:44 AM
hi dear geekrebel....
very nice it work on 9.10 ...i am very thank to u ...
same step is i followed now working find .i am personalty i am ask u i am very beginners in linux may i know meaning for this
1)udevinfo
2)#!/bin/sh
/sbin/udevadm info $1 $2 $3 $4 $5 $6 $7 $8
please send me mail to priya.prt@gmail.com
thank u
UBNT-Ramin
11-14-2009, 09:52 PM
Folks,
This issue is now fixed in v1.0.11. Read about the new version in the latest AirView Release Notes (http://www.ubnt.com/forum/showthread.php?t=8749) post, and download it from AirView downloads page (http://www.ubnt.com/airview/downloads.php).
I've tested it with standard ubuntu 9.10 (Gnome desktop) and Kubuntu 9.10.
Let me know if the new version works for those of you who had trouble with it previously. Make sure to erase/rename the work-around scripts you created because you no longer need them. And again, sorry for the delay in getting the fix.
Cheers,
westbywest
03-09-2010, 04:23 PM
I've tested it with standard ubuntu 9.10 (Gnome desktop) and Kubuntu 9.10.
I just started the latest version of AirView on Ubuntu Karmic on a 32bit x86 machine, w/o problem. Great work!
Since the download page stated that Sun JRE was required (as opposed to Open JDK), I ran the following commands (as suod/root) to replace the java environment:
apt-get -y install sun-java6-jre sun-java6-jdk
update-java-alternatives -s java-6-sun
Note that the Sun Java 6 packages require you enable the multiverse repository.
UBNT-Ramin
03-09-2010, 04:51 PM
I just started the latest version of AirView on Ubuntu Karmic on a 32bit x86 machine, w/o problem. Great work!
Thank you sir. It was a fun challenge developing it. I'm glad it's working well for you.
Ubuntu 9.10 (Frisky Fiesta ?)
root@SERVER2:/home/laptop1# find /sys -name ttyACM*
/sys/devices/pci0000:00/0000:00:03.2/usb4/4-1/4-1:1.0/tty/ttyACM0
/sys/class/tty/ttyACM0