Ubuntu :: Get Hardware Specific Info About A /dev?
Nov 23, 2010
Is there a way to get hardware specific info about a /dev?I have added a data acquisition board, and, I don't know if it has shown up in the /dev list, or how to make it do so, or even if I want it to.It is located at address 0x300, but I don't know how to get that kind of information from something listed in /dev.I have a program that accesses the board and it is working fine, but I need to run the program as root (sudo acquire_program).I have been reading about groups and permissions and there may be a way to give access to a /dev/something to a program (or group)
View 1 Replies
ADVERTISEMENT
Mar 30, 2011
I'm trying to read our companies mssql ordertracking db using php's mssql_connect. I was able to make this work when using WAMP, and I had done so by adding the same user on both machines and then applying that user name to the WAMP service. Because of viruses and poor performance... I moved the site over to ubuntu server and I have to say i am very pleased, other than I cannot make a connection to mssql now. I installed sybase5 and can see mssql is available via phpinfo. It's using freetds. I know all my connection info is correct. I can ping the machine that has mssql from the new webserver. When i try to view a test php connection page it returns nothing but a null response, and my error log just says ERROR with no specific info. I did however find out that /tmp/freetds.log returns a bunch of jibberish. ubuntu forum isn't letting me submit the whole log, so i put it on sendspace here [URL]...
I did jack around with odbc_connect but still couldn't get it to work... I feel like I am close with mssql_connect but there is some user authentication problem. why it won't return any info from the mssql db. Also I was wondering if something similar can be done with ubuntu where i applied a user to the WAMP service on my windows machine which then was able to connect to the mssql db.
View 2 Replies
View Related
Jun 2, 2011
I am trying to use grep to only tell me files that include both words matching in a pattern file. However when i specify:
grep -f <pattern file> <file>
It pulls out anything that matches one or the other.
Not both.
how to get it to match AND not OR.
View 9 Replies
View Related
Sep 14, 2010
I have been reading about rescue CD's but haven't found out whether I can make one using my currently running Centos(centos-release-5-4.el5.centos.1 ).I tried to use a Centos cd we have here and it looks fine till it asks where the 'tree' structure is located, when I select cd it ejects it and asks the same question again. Do I need to build a rescue cd containing directory info of my specific system?This is related to wanting to fsck my file system.
View 3 Replies
View Related
Aug 6, 2010
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
View 9 Replies
View Related
Jun 8, 2010
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies
View Related
Jun 9, 2010
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies
View Related
Apr 8, 2010
I'm using ubuntu 10.04 beta 1. when I try to update & upgrade I get the following error:
Code:
Setting up install-info (4.13a.dfsg.1-5ubuntu1) .../etc/environment: line 4: LC-ALL=en_US.UTF-8: command not found dpkg: error processing install-info (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: install-info
View 4 Replies
View Related
Jul 24, 2010
I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
View 5 Replies
View Related
Dec 2, 2010
for example
else {
for fileDOC in $location/*.doc
do
[code]...
View 12 Replies
View Related
Oct 1, 2009
I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.
View 6 Replies
View Related
Jul 19, 2010
I want to replace specific character in a file after every specific line. example as follows.
O 000000000000000000
A 111111111111111111
C 222222222222222222
[code]...
View 2 Replies
View Related
Jul 1, 2009
I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log
src blacklist {
ip 10.0.0.5
}
[code]...
View 1 Replies
View Related
May 18, 2010
I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.
View 12 Replies
View Related
Jan 6, 2011
how do i get system info on desktop
View 1 Replies
View Related
Feb 2, 2010
I am using TB 3.0.1 on Karmic. I finally took a look at Evolution and I like the contact features. I have been looking for a replacement for ACT (I recently migrated from XP) and this looks like it might fit the bill. Is it possible to import all of my emails, contacts, folders etc from TB into Evolution. I would like to try it out and see if it works for me. I am in sales and need a program to keep track of leads.
View 2 Replies
View Related
Mar 7, 2010
I'd like to retrieve information from a website. It's a dictionary type of website, each page of the dictionary has a URL, i would like to get the content of each page automatically in RTF.
Here is an example: [URL]
Is there any program to do this?
View 2 Replies
View Related
Mar 13, 2010
All of a sudden, Firefox no longer remembers login information. For example, I log into Facebook and tell it to remember me. Then I close Firefox and come back a few hours later and I get prompted to log in again. It's not just Facebook. It happens with this forum, My Yahoo, and others. In Firefox preferences, I have Remember History and Remember Passwords checked. I have not run any kind of cleanup program or cleared my browsing history. This just started happening within the past couple of days.
View 9 Replies
View Related
May 30, 2010
Ubuntu 10.04 Gnome.I have a hpDeskjet 940c. It ran great since 8.04 and still works great on 10.04. However, I had to shut down the computer it is on to do some hardware repairs to the powersupply of the computer. So, I moved my printer to another Ubuntu 10.04 machine and discovered I didn't know the settings, such as baud rate, flow control, parity, etc. Ubuntu had never asked me for them....nor was I lucky at guessing them. I then found the hp installer which said it supported my printer and would automatically do the install job, but after trying it, I found it only supported USB and my printer has only a parallel connection.
I then moved the printer to a 9.04 Machine, thinking I only needed to drop back in time, since my printer worked great during that era also, and discovered the same problem! Evidently my printer hasn't been supported for some time! Yet it has happily worked with each new version of Ubuntu.This brought me to the realization there must be a file in my home directory which survives each new full install that I do, and that contains everything my printer needs to be automatically set up, as with each new version of Ubuntu, the wizard has worked great automatically setting it up.Does anyone know the name of that file, so that I can copy it to the new machine?
View 3 Replies
View Related
Sep 28, 2010
I am new to linux and just installed mythbuntu. I got everything configured and running smoothly, but I have some mistakes in metadata info that got imported in and need to delete that information so that I can get the correct information. Where is that information logged and how can I edit or delete it?
View 2 Replies
View Related
Dec 19, 2010
I am using ubuntu Version 10.10. I always apply all important security updates and recommended updates. When I checked the version of my software using the system->"About ubuntu" drop down, it tells me that I am using version 11.04 which "was" released on April 2011.
View 4 Replies
View Related
Jan 26, 2011
I am getting Kernel panic. I was getting is very frequently before, then I re-installed and it starts off fine then after a while it starts happening again.The problem is I have no idea what is causing it. The screen is completely frozen and won't respond to anything. The Alt sysreq combinations don't work, and I have to power off with the button.
View 2 Replies
View Related
May 12, 2010
I'm running Ubuntu 9.10 on an older Compaq Evo D310 and can't seem to find the Hardware Information in System/Preferences. Anyone know where it went in this version?
View 2 Replies
View Related
Jan 8, 2010
Is there any way to "unlock" file info in Koala to become visible in the properties of that file? For example, when opening an .mp3 in VLC and checking the information, I am able to see and edit extra info that I do not see when simply right clicking the file and selecting properties. Another example is that GIMP saves comments to images, but I have nowhere to view these comments once they are saved. I would like to see more info when checking the properties of a file, dare I say like Windows enables users to. So is there a terminal code or plugin that I can install?
View 2 Replies
View Related
Feb 1, 2010
what do i need to write to get the mediafile info from mplayer?
View 6 Replies
View Related
Feb 7, 2010
I am using Rythmbox for Ubuntu 9.10. I want to alter the tag info for certain songs because it is incorrect. but when I open the properties window to do so, it won't let me type in the field......I can highlight the text, but not change it
View 2 Replies
View Related
Feb 24, 2010
Is there an easy way/place to get more info on the updates that the Ubuntu (9.04) Update Manager presents to you? I know you can highlight one and look below at the "Changes" and "Description". But how can you find a real explanation of what the update is? To give one exampe: There's a 5.0MB update called: openoffice.org-writer It appears to be a new version of the Writer program?? or is it just security updates?? Should I install it if I'm happy with the current Writer version? bottom line: where can I get plain talk about what these updates are?
View 9 Replies
View Related
Mar 8, 2010
I'm trying to get my computer connected to the internet at work. how to set up a connect in ubuntu or any other Linux system. So I'm completely on my own. I went into windows to get my IP address, subnet Mask, gateway address, and DNS server. I put these in using sys>admin>network>wired connect | dns. Nothing works. I went to Network Tools and tried to ping the dns server and another address given from the Ubuntu help menu. Nothing. In network tools, I see two options under devices, loopback interface and ethernet (eth0). I can't do anything with loopback and it has the standard 127.0.0.1 255.0.0.0 showing (shadowed). So i skipped that and then clicked on the ethernet option and the "configure" button becomes active. The ip and such that I put in seem to be showing there, but when I click on "configure" I get something like "The interface doesn't exist". the network proxy setting is "direct internet connection". Seems that since I can connect when in Windows, I ought to just be able to get all the information I need and set it all up in Ubuntu. Maybe I don't have enough info from Windows, and maybe I'm not putting things in the right places in Ubuntu.
View 6 Replies
View Related
Apr 16, 2010
I've got an EeePC, running Jaunty, and I can use the Network-Manager to connect through my ibVPN account just fine. I want to also use this ibVPN account on my desktop running Hardy. I've tried to manually transpose all the configuration info, but it keeps coming up with errors (a number of errors, including sometimes "bad username/password"). So I thought: "Hey, why am I even bothering with all this manually transposition of credentials? I can just Export the account config info from the (working) Jaunty machine and then import them straight into the Hardy machine." Should be pretty simple, huh? Woulda, coulda, shoulda. I go to the VPN tag in the Network-Manager on Jaunty, select "ibVPN" (the working VPN account) and click Export. I tell it to save the info to a file called ibVPN (pptp).conf... and I get an error saying:
Code:
Cannot export VPN connection The VPN connection 'ibVPN' could not be exported to ibVPN (pptp).conf Error: unknown error You see that "Error: unknown error" crap? Means I don't even know what needs changing. Damn fool network-manager. I've tried jiggling stuff round, but nothing seems to make a difference.
View 2 Replies
View Related
May 11, 2010
I just upgraded to 10.04 with update manager and now I want to update skype. I need to know if my 10.04 is 32 or 64 bit, how do I find that info.?
View 3 Replies
View Related