General :: Run The Testusb Test Application In Ubuntu Pc?
Dec 7, 2010
I was trying to run the testusb test application in my Ubuntu pc. I have plugged a USB stick into my PC. and ran "testusb -a". But it says like "no test devices recognized". Here is my /proc/bus/usb/devices
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
[Code].....
View 4 Replies
ADVERTISEMENT
May 21, 2010
I am driving Fedora 12 and need to test an application GUI with Python 2.4, 2.5 and 2.6. Python2.6 is native in F12 at /usr/lib... and I have alt-installed 2.4 and 2.5 at /usr/local/lib... Site-packages directories for 2.4 and 2.5 are empty. I have tried different tricks to install gtk-2.0 and pygtk in the site-packages of 2.4 and 2.5. But could not find a working solution.
My latest trial was to download Fedora 7 live and copy from its python2.5 gtk-2.0 and pygtk.* to F12:/usr/local/lib/python2.5/site-packages. Results were as follows:
Python 2.5.5 (r255:77872, May 13 2010, 17:15:51)
[GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
Traceback (most recent call last):
[Code]...
View 2 Replies
View Related
Mar 26, 2011
I have created mobility of 20 nodes and vbr traffic using following attached script I executed the file as ns234 vbr.tcl I got the vbr.tr and vbr.nam but I was unable to load the graph using matlab <trgraph> I thought problem with is vbr.tcl script.
View 1 Replies
View Related
Jun 22, 2011
Strange one. Just upgraded my mother-in-law's computer from 8.04 to 10.04 via the update manager. All seems to be working beautifully except ...
* When I run gstreamer-properties and do an output test I get a test sound through the headphones plugged into the front audio socket of the machine using the 'Analogue Headphones' setting in Sound Preferences. (This rules out dead headphones.)
* When I try to play audio through any app I get no sound through the headphones, but if I change the setting to 'Analogue Output' in Sound Preferences I get audio loud and clear through the speakers which are plugged into the audio socket at the rear of the machine. how the gstreamer-properties test is getting audio to the front socket I guess I'd be getting somewhere.
View 2 Replies
View Related
Mar 15, 2010
I am trying to install mysql 5.1.44..so i downloaded the binary package, i extracted it and then followed the instructions that were in the manual but i keep getting this error when running this command
Code:
scripts/mysql_install_db --basedir=/home/mosty/mysql
the error is
Code:
Installing MySQL system tables...
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
[code]....
You can try to start the mysqld daemon with:
shell> /home/mosty/mysql/bin/mysqld --skip-grant &
and use the command line tool /home/mosty/mysql/bin/mysql to connect to the mysql database and look at the grant tables:
shell> /home/mosty/mysql/bin/mysql -u root mysql
mysql> show tables
View 1 Replies
View Related
Apr 8, 2009
I have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).
The questions are:
1) I am trying to test antivirus scan using eicar test virus
Code:
And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using
Code:
Where is my mistake?
2) Should I update clam and how I can do it?
3) Is spamassassin enabled by default in amavis (I have started daemon)?
4) Where configuration files of spamassassin is stored?
View 1 Replies
View Related
Apr 14, 2010
So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...
[url]
I untar the pack, and launch the application calling a script, from within the untarred folder,
Code:
This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.
Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )
My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,
Code:
Code:
I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from
Code:
Code:
no avail,
Code:
even after adding /usr/local/Impact/bin to PATH... won't go...
I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...
View 4 Replies
View Related
Jun 25, 2010
What is the best way to test a distro? As a newbie, I am trying out several different distro's. I run them from a live CD and see if they are easy for me to set up my wireless, can be configured to multiple monitors, corectly recognize my hardware. I then connect to the internte and see if it plays videos or needs codecs downloaded, then connect to the reository and download any needed codecs, or pick a random program and see how easy it is to download and install.
Is this a reasonable way to check out a distro, or should I be looking at something else? Keep in mind, I am a newbie who is a user, not a hacker, and know nothing of the commandline yet.
View 3 Replies
View Related
May 30, 2011
I want to test something with my JMX console. I need to use the twiddle.sh script (because of a plugin).But when i execute this:
Code:
/opt/jboss-5.1.0.GA/bin/twiddle.sh -s localhost get jboss.system:type=ServerInfo ActiveThreadCount
i get this error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.jboss.console.twiddle.Twiddle
[Code]...
View 1 Replies
View Related
Jun 16, 2010
I am trying to test an rpm by doing a yum install. It should not install and report a dependency conflict as there is deliberately another package installed it should conflict with but it is installing over the existing package. When I do this via an rpm -i it correctly does not install.
Detail below -
The SPEC file has the conflicts below
Conflicts: test_DEV = 1-0, test_UAT = 1-0, test_PRD = 1-0
If test_DEV is already installed for 1-0 and I try and install 1-1 via rpm is correctly conflicts -
rpm -qa | grep -i test
test_DEV-1-0
rpm -i test_DEV-1-1.noarch.rpm
error: Failed dependencies:
test_DEV = 1-0 conflicts with test_DEV-1-1.noarch
Yet when I install both via yum it allows me to install 1-1 over 1-0 which I don't want.
View 1 Replies
View Related
Oct 27, 2010
how to test the AES Encryption in the openSuSE 11.3
View 1 Replies
View Related
Aug 11, 2011
I am trying to set up a web page for the business and we have had the website or domain for a while but no one has put anything on it. I have never done anything like this before so i typed in the website and got the apache test page saying that i should add this: /var/www/html/
1) i'm not really sure what to add it to
2) i've tried adding it to the website url and that comes up with invalid page
3) could someone please explain in simple terms how i can get on to the webpage so i can start adding content to it?
View 1 Replies
View Related
Mar 25, 2011
I found that this tests if a give filename is a directory or not:
Code:
-d "$FILENAME"
But what test for not a directory? I tried
Code:
-D "$FILENAME"
But this doesnt work?
View 1 Replies
View Related
Jul 7, 2011
is there anyway i can speedtest.net with ssh access into my server ?
View 3 Replies
View Related
Feb 21, 2010
I was looking at this line in an init file:
Code:
test -f /etc/default/postfix && . /etc/default/postfix
Which I understand to mean test that files /etc/default/postfix AND etc/default/postfix exist. Two things
[code]....
View 2 Replies
View Related
Jun 20, 2010
Bought computer 11 months ago, immediately there were problems. What would happen is, when I logged in after a long period of shut down, the system would BSOD. Then I would restart and everything would be fine, until the next time I shut down for a long time (8ish hours) and got back on. I sent the laptop in (a couple times) and they eventually replaced the RAM and the BSODs went away. This is all on Windows 7 (well started on Vista, switched to Windows 7).
I recently set up a dual boot with Windows 7 and Ubuntu 10.04. I'm experiencing crashes on Ubuntu (the whole system just freezes, can't operate mouse, keyboard, or anything) and the behavior is similar. When I log on after a long period of shut down, the system will crash, but if I restart (actually I have to wait 10 minutes before I restart, if I restart immediately it will crash again) then it is fine, until the next period of long shutdown.
So I'm thinking it's bad RAM, so I downloaded Memtest and am testing each of my sticks (they are each 2GB) individually in the same connector thing (don't know what it is called, whatever the sticks attach to). The test for the first one passed with flying colors. However, the second one is having problems. On test #2, the memtest repeats itself, continuously looping through 0-32767 errors on the right side.
My laptop is an Asus G50VT
The 2 most interesting lines...
Highest Error Address: 000fffffffc - 4095.9 MB // does this make sense? 4095.9 MB on a 2GB stick?
Test 2: 32767 // the 32767 loops back around to 0 and repeats
View 1 Replies
View Related
Nov 28, 2010
I have fifteen Audio CDs - an Audiobook - that I haven't used in ages.
I would like to pass them on, but before doing that, I want to check whether they still work flawlessly.
Is there a Windows or Linux program that I can use to quality test a CD? Is possible, with a detailed explanation of any errors it may find, and whether they will cause problems listening to the CD?
View 1 Replies
View Related
Apr 9, 2010
I've recently been experimenting with glxgears, but found people saying this is not an ideal benchmark tool as there are many variants; for example resizing the window affects the FPS tremendously.
I'm interested in testing the difference between using the proprietary ATI driver and the open source driver and also the performance under various distributions.
What's the best software to benchmark graphics cards?
View 4 Replies
View Related
Feb 17, 2011
I have a four-cores machine (core1,core2, core3, core4 ). I want to test the communication or latency between two cores (for example, core1 and core2; core3 and core4). Does anyone know how to write a code to test it under linux operating system?
View 1 Replies
View Related
Sep 4, 2009
I was wondering why
Code:
Is echoing NO even though
Code:
View 2 Replies
View Related
Aug 5, 2010
What will be the output of the following Shell Script?
Code:
a="1245"
[-n $a]
[code]...
View 5 Replies
View Related
Sep 16, 2009
When I create a folder in the system, it's created successfully
Code:
[test@localhost localhost ]$ cd test/
-bash: cd: test/: Permission denied
drw-rw-r-- 2 test testinstall 4.0K Sep 16 18:51 test
View 5 Replies
View Related
May 16, 2011
I need to check if my DIMMs are working fine on my server.
View 4 Replies
View Related
Mar 6, 2010
I build a new test machine where i need to bring data from live machine. the data is kind of flat files and some propreitary application axigen mail server.
now what i am suffering from, which commands to do first practise. there is remote site with 1mps speed of wireless between live and test machine. on daily basis aprox 14gb .tar.gz files it need to move it.
i found scp,rcp,rsync,sftp etc. which is fastest way to replicate or copy to remote machines.
the data is on live machine /var/opt/application and on remote same directory too /var/opt/application
i try using scp it take aprox 8-10 hours to copy single 14gb file.
if possible where to see such commands logs results, if anything get down error discontinue while copying.
View 3 Replies
View Related
Jul 6, 2011
program to measure speed of sending file from one computer to another
View 1 Replies
View Related
Jul 1, 2010
I am in the middle of trying to write my first script. I have created a command using sed and grep to grab a list of ftp hosts from a host file. Now I want to test the ftp connection of the hosts that have been returned after running the command.
grep host config.xml | sed 's/<//g;s/>//g;s/host//g;s/[/]//g' | sort | uniq -d | ftp ftp.hostname.com
I get the below error
Unknown AUTH type.
Unknown AUTH type.
KERBEROS_V4 rejected as an authentication type
Password:Name (ftp.hostname.com:username):
View 7 Replies
View Related
Jul 7, 2011
I want a program that can be installed in two pc and measure speed of transfering files from one to another or any data measured in Mega bit
View 1 Replies
View Related
Aug 4, 2010
I'm learning via baptism by fire method here, and need to test PHP connectivity to a local postgresql 8.3.9 setup. (CentOS 5.5 x86_64). I have got PHP and Postgres both working; I can pull up a test PHP page via web browser, and I can login to postgres via the command line. What I can't figure out is how to test PHP connectivity to the local DB.
I found this test script:
Code:
<?php
$conn = pg_connect ('dbname=template1');
?>
Which I've named, testdb.php - when I run ./testdb.php from the CLI though, I get:
Code:
./testdb.php: line 2: ?php: No such file or directory
./testdb.php: line 3: syntax error near unexpected token '"dbname=template1"'
./testdb.php: line 3: `$database=pg_connect ("dbname=template1");'
I've seen a LOT of pages describing the internal code of the PHP file, but as a newb to this, I don't know how to execute this test. I've ran chmod 755 against the file to verify permissions, but this didnt effect the results. I've also done a "chmod +x testdb.php"
Code:
PHP 5.1.6 (cli) (built: Mar 31 2010 02:39:17)
I realized I wasn't doing this:
Code:
php testdb.php
but when I do, I get this error message now:
"PHP Fatal error: Call to undefined function pg_connect() in /var/www/html/testdb.php on line 3"
View 9 Replies
View Related
Aug 6, 2010
would this script not work?
Code:
#!/usr/bin/perl
#PERL module
use Mysql;
#CONFIG VARIABLES
[Code].....
I clearly have a lot to learn, but I have done about 10 Google searches trying to find out how to test connectivity b/t mod_perl and mysql.. maybe I'm confused on how this works.
I have this in httpd.conf
Code:
Perlrequire /etc/httpd/conf/perl-startup.pl
PerlWarn On
PerlModule Apache::DBI
I have this in perl-startup.pl
[Code]....
View 4 Replies
View Related
Dec 6, 2010
If you do, after the completing the test - it will eject the CD.
and how are you going to reinsert the CD to complete your install? you're remote remember ??
View 2 Replies
View Related