Recently i acquired an electroencephalograph (EEG) and started to experiment with it, and i need some way to write or send a couple of Hex numbers to the EEG so it will start working, and then to save the data on text file, or at the very least see the output on the terminal using C or C++, i found some programs around the forums but none seem to work properly and more often than not, The EEG is recognized as /dev/ttyUSB0 has a baud rate of 921600.
How can I program my PIC micro controller through the USB port using Piklab or Ktechlab IDE? I have already installed gputils,SDCC and Piklab!!
how to interface with the PIC boards ICSP through the USB port??( Db9 is not a choice for me as I have a Db15 pin in my laptop hence the need to work thru the USB)
I have been thinking of a USB to Serial along with a serial to ICSP converter but it turns out to be very slow!
Code: crw-rw---- 1 root dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0 How can I get permanently Code: crw-rw---- 1 root uucp,dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0
im running a wireless modem under ubuntu (10.10) now, when i first plug in the modem, and run the command wvdial everything is OK. BUT if i plug out the modem and try to plug in again and run the 'wvdial' command i can the error:
Code: "wvdial: cannot open ttyUSB0: no such file or directory.
i recently installed apache2 mysql php exc. to run a realtime stat site for my servers.the only thing is that the buttons/ images are not showing up.i checked that my GD was up to date and installed perl5 GD. dont know what else to check.my site with problems go to:http://24.20.177.228/stats_public
i have been able to get on line running other linux os using the terminal first i type sudo modprobe -r usbserial & enter followed by sudo modprobe usbserial vendor=0x1199 product=0x120 & enter the last command is sudo dmesg|grep -i ttyusb. I have done this for years and it always has got me on line after the above i open kppp and select for modem /dev/ttyusb0 and click to verify kppp recognizes my sierra wireless usb modem and that is all i have ever had to do, plug in the usb modem type the three commands it comes back with confirmation the modem is attached to ttyusb0, ttyusb1 & ttyusb2 in kppp i click /dev/ttyusb0 and click quarry and get on line with suse11.1 it is not so the first command sudo modprobe -r usbserial comes back with a fatal error but the second and third command give me the same results saying i have attached the usbmodem to ttyusb0,1 & 2. but i cannot configure it in kppp.
i have tried researching on line but cannot find a similar thread. I believe the way i described above has worked on lindows 5.0, and it is how i do it with Mint which i can get on line with today. so i hope one of the wonderful millions of linux users will direct me as to what i am doing wrong. i am running amd 785 4 gb ram msi mainboard ms-7549 my modem is sierra wierless modem 595u (vendor=0x1199 product=0x120) connecting through Sprint pcs which requires no user name or password.
I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.
[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2 [ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200 [ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
I have install 5.5 kernel in rhel and after rebooting got the error to control+d to continue or rootpassword. I have done the same but df -h not showing the lvm filesystem.I have tried to remounnt but showing resource busy.I have rebooted on the previous kernel but getting the same issue.Its a VM.df -h showing only/dev/ mapper/ vg_osdata-lv_root /
In my server java based application is running and java usage showing some time 300% of usage in top command. on that time java application is getting some types errors. at that time i checked vmstat and sar commands also but they showing the free CPU. My server configuration as given below
Having one issue with evolution not showing html websites showing up in email like verizon sending a promo. I have gone to edit, preferences, mail preferences, html messages and have always load images from the internet chosen. I have also added sender to contacts. Even if I right click message and tell it to dload images it doesn't.
I would like to know when usb inserted, its showing cant mount when i clicked details its showing bad blocks in beginning , and smething in /dev/sd6. Can i knw why usb drive cant be mounted automatically , even if its set to do so, and to cope the error mentioned above
When I try to connect a projector to my laptop (already running) and hit the fn+f7 (the designated button for switching screen), nothing happens. I see "no source found" on projector screen and my laptop screen works perfectly. Now if I restart the laptop with the projector connected, I see all the intial booting messages on the projector screen (not on my laptop), then the gnome login screen appears on both the projector screen and laptop (when the login screen appears on laptop it looks like it has lower resolution than my usual laptop resolution). But immediately after I log in, my laptop screen goes blank, and projector screen becomes the only active screen.
If I restart without the projector, again all normal operation on laptop screen is restored.
I feel like I am missing some very silly options. Any help is appreciated.
Here is the output of xrandr when the laptop is connected:
Im setting up a local home server for my development. I have downloaded the wireless card drivers and burnt them to a DVD disc (as dont have any CDs) I have it in the DVD drive on the Server, and i dont know how to access the DVD via the console.
Iam comparing 2 filesystem using the below command.rsync -navrz --exclude=logs/* /opt/otm/ glrrd@105.78.7.100:/opt/otm/The output showing the files which are same in size and timestamp that are to be sync.Iam using rsync 2.6.3 version so i dont have itemize changes option to debug the problem.Is there anyway i can find the how rsync is finding the difference between the 2 filesytemEx: filesystem1
-rw-rw-r-- 1 glog glog 39132 Nov 26 2009 FinJ-code_2003-10-22_12h17_CEST+0200.jar -rw-rw-r-- 1 glog glog 39132 Nov 26 2009 finj.jar -rw-rw-r-- 1 glog glog 954987 Nov 26 2009 jakarta-taglibs-standard-1.1.2.zip
I have recently installed Fedora F11 with a Samba server. The smb.conf seems fine but I cannot see any of the files in the share from a Windows machine. I am probably missing something unbelievably simple but driving me nuts!
I can see the machine and share from windows
When logged in as the user fred I can see all the files in Linux - most are owed by fred.
smbuser: Code: # x_name = SMB_name1 SMB_name2 ... root = administrator admin nobody = guest pcguest smbguest fred = fred smb.conf: Code: [global] workgroup = Workgroup server string = Samba Server Version %v
netbios name = MachineName
hosts allow = 127. 192.168.0. ......... [Docs] comment = Main Documents path = /mnt/documents read only = no browseable = yes valid users = fred ......... The other thing I find a bit odd is that Code: service smb restart does not effect the way that the windows machine sees Samba. It appears that you need a full restart to get the changes to show properly.
how to disable or modify the email headers showing the internal IP and hostname of the server when using sendmail. I want this removed or change to just a domain name.
I have a VERY simple setup, or so I think. 1 VirtualHost that it's only purpose is to list some files and directories, now under the DocuemntRoot there is 1 named clients. Insdide clients there are 4 folders, you guessed it, one for each client. I setup simple .htaccess for each one of these folders so each one has it's own auth.
Now on the vHost I have this: Code: <VirtualHost *:443> ServerName vpn.domain.com ServerAlias vpn.domain.lan ServerAlias vpn DocumentRoot /var/www/vpn #ErrorLog /var/log/apache2/http-vpn.log #LogLevel error .....
Now the weird part, with the AllowOverride AuthConfig those 4 directories for each client are not being displayed, if I set AllowOverride all, then the directories inside clients are not listed, if I set it to none.... then the server lists them but ignores the .htaccess.
I have 4 virtual disk on AX4-5i. RHEL for some reason shows 16 partitions in /proc/partitions. I got lot-lot of IO errors in dmesg. Some of those 16 partitions "work", others just give (on using fdisk for example): Unable to read /dev/sdb. On EMC I have 4 ports, so it might be somehow releated to this.
[root@db ~]# /etc/init.d/iscsi restart Logging out of session [sid: 1, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260] Logging out of session [sid: 2, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260] Logging out of session [sid: 3, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260] Logging out of session [sid: 4, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260] Logout of [sid: 1, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260]: successful Logout of [sid: 2, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260]: successful Logout of [sid: 3, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260]: successful Logout of [sid: 4, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260]: successful Stopping iSCSI daemon: iscsid dead but pid file exists [OK] Starting iSCSI daemon: [OK] [OK] Setting up iSCSI targets: Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260] Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260] Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260] Logging in to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260] Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a0, portal: 192.168.10.101,3260]: successful Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b0, portal: 192.168.10.103,3260]: successful Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.a1, portal: 192.168.10.102,3260]: successful Login to [iface: default, target: iqn.1992-04.com.emc:cx.sl7e2101800014.b1, portal: 192.168.10.104,3260]: successful [OK] [root@db ~]#
I've googled and read docs but got no idea what to do. Any experiences with EMC/RHEL/iSCSI - I just don't understand where those 16 (and half of them not working/giving lotof errors) come from? For example Citrix Xen on similar network conf can see/use same EMC thoughr iSCSI nicely. SO there should'nt be network/auth issues (not using CHAP btw). I got feeling that problem is on RHEL iscsi conf side.
My httpd error_log says the following error while running the htpasswd.pl [Thu Jun 24 08:25:54 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Jun 24 08:25:54 2010] [notice] Digest: generating secret for digest authentication ... [Thu Jun 24 08:25:54 2010] [notice] Digest: done [Thu Jun 24 08:25:54 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Thu Jun 24 08:26:01 2010] [error] [client 117.204.119.181] (2)No such file or directory: exec of '/var/www/cgi-bin/htpasswd.pl' failed [Thu Jun 24 08:26:01 2010] [error] [client 117.204.119.181] Premature end of script headers: htpasswd.pl
Also the apache shows this error in the webpage. Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.3 (CentOS) Server at 59.93.43.183 Port 8284
I am using the htpasswd.pl script dwoloaded from net. I can run the perl file using the command line and gets the sytax OK message. The contents of te htpasswd file is as follows: #! /usr/local/bin/perl -T # htpasswd.cgi by David Efflandt (efflandt@xnet.com) 8/97 # Last update 10/4/99 # Update password file from the web for use with user authentication. # Stores each line in the format: username:crypted_password .....
I am running FTP server using vsftpd 2.0.5-12 on Centos 5.3 64bit with default settings, annonymous access enabled. Each night new files are created and moved into a FTP subdirectory (/var/ftp/spectra) by a script. The files are owned by a local user/group, not root, and the same holds for the /var/ftp/spectra subdirectory. The new files are not visible via FTP. Only visible are files that were created the same day when I made the directory /var/ftp/spectra. Also files that are created "in place", e.g. by vi, are visible until I change their owner/group. This is the situation when vsftpd is runned as a system service (/etc/init.d/vsftpd start).
When I start the vsftpd directly using the command /usr/sbin/vsftpd (both without or with the configuration file specified), all files are visible and normally accessible via FTP.
I have an apache2 php5 on an ubuntu 10.04 it was working fine except today and does not open web site now. I tried to open phpinfo.php but it takes long time and at the end it loads php informations just until date module. I installed php5-cli to find out what does not work properly then I used:
Quote:
# php5 -i PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib
I'm having a problem accessing files via nfs where an iso has been mounted through the loop device on the nfs server. Basically what I am attempting to do is access the 6 CentOS 5.2 ISO's via NFS from one of my client machines. The client is able to mount the share and see its sub directories leading up to the mount point of the ISO, but the contents of the mounted ISO image are simply not visible (on the client, they are visible on the server).