General :: /sys/class/net/ Is This Is The Correct Place For Eth Info

Apr 12, 2011

Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: Cannot Compile Vdrift-2009-06-15 - Warning: The Options Class Is Deprecated; Use The Variables Class Instead

Mar 12, 2010

I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module>
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
[Code]........

View 4 Replies View Related

Ubuntu :: Can't Install Update-info-dir File Is Missing From /var/lib/dpkg/info/?

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

General :: Class Getting Humility Lesson

Mar 2, 2011

I'm in Linux class getting a humility lesson as I type this.

View 2 Replies View Related

General :: Compile C++ Class In System?

May 25, 2010

I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...

now how to compile and run these classes

View 1 Replies View Related

General :: Sys/class/net/ethx/type - What Is It?

May 3, 2011

To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.

There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.

View 1 Replies View Related

General :: Smtp Class In Chrooted Directory

Jul 29, 2010

I am unable to send emails throught smtp class with auth server. Whenever i send the email even throught mybb smtp class in forum i see blank page and apache logs shows: Code: [Thu Jul 29 16:41:49 2010] [notice] child pid 23716 exit signal Segmentation fault (11) any idea what i have to add for proper work of this?

View 1 Replies View Related

General :: Using Centos 4 In Place Of RHEL 4?

Jun 12, 2010

I have a software program that when you try to install it on Centos it returns "This programs requires RHEL 4" Is there a work around to get the software to use the Centos software the same as it would RHEL 4?

View 6 Replies View Related

General :: Get The Wireless Networking In Place?

Mar 12, 2010

I have just installed slackware 13 on an old machine I am bringing back into use. As I have a spare Linksys wmp54g card I would like to try to get the wireless networking in place.From reading the forum the relevant advice seems to be fairly old (2004-2006). I wonder if anyone can advise me what the current steps would be?

View 3 Replies View Related

General :: Where To Place Xrandr Configuration

Aug 8, 2011

I have migrtaed from Arch, my first experience with linux for the past 2 months, to Debian and i'm currently setting up my system. I have a X61s Thinkpad with a cracked screen which i use with the ultrabase with an external monitor and keyboard. The monitor requires me to use fbset on console and xrandr for a graphical enviroment Whilst i was using Arch i used 'startx' to access openbox and placed my xrandr configuration in ~/.xinitrc but with debian i have wanted to use a login manager, Slim.

Because i am using KMS for my intel based system i don't have an xorg.conf and because i am using slim i am not using ~/.xinitrc I read somwhere that creating an ~/.xprofile file would solve this but i have not had any luck. So i am wondering where would be the best place to put the xrandr configuration?

View 1 Replies View Related

General :: Dual Boot Class Project Failed

Mar 19, 2010

Our A+ project was to set up a dual-boot using XP Pro & the Linux download of our choice. What we did:

1- We formatted a 38GB HD using the NTFS file system.
2- Two equal sized NTFS partitions were created.
- Partition 1 was a Primary.
- Partition 2 was an Extended.
3- Used Ubuntu CD.
4- Install Ubuntu choices were to format the HD, install side-by-side, use the the longest continuous space, etc. We chose side-by-side.
5- After the install there was no evidence of the 2d 18GB partition (which we planned to use for XP Pro).

When we booted to the XP install disc that program booted to another HD (C.

View 2 Replies View Related

General :: Convert Java Class Into Jar Archive In (Redhat)?

Jun 7, 2011

I need to know that how to convert a java class file into java archive (jar)

View 1 Replies View Related

General :: Find The Scope / Definitions Of A Class / Methods?

Feb 13, 2010

In Windows environment when I used Borlan for C/C++ compilation, I was used to find the the scope/definitions of the methods/classes by pressing

Code:
ctrl + F1

when the cursor was hovering on that method/class. How can I find the scopes/definitions in the GNU/Linux?

Code:
//atoi.cc
#include <iostream>
main(int argc, char* argv[]) {
float var_float = atof(argv[0]);

[Code]....

View 5 Replies View Related

General :: SuSe 11.3 - Could Not Find Main Class (OData)

Apr 20, 2011

I have installed suse linux 11.3. I have jdk 1.6.20.0 and oracle 10g 10.2.0. When I tried to connect to a database through thin driver ,it is giving me the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: odata
Caused by: java.lang.ClassNotFoundException: odata
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: odata. Program will exit.

View 3 Replies View Related

General :: Missing Windows Class In Wine - Fedora 12?

Sep 13, 2010

I am having a problem trying to install KindleForPc with wine in Fedora 12. Wine installs and runs but is missing a class needed by Kindle. Notepad, regedit, etc run but there is a problem when I run the Kindle Installer.Attempting to install Kindle I run

Code:
wine KindleForPc-installer.exe it runs to completion two windows appears they have a windows look, as it intiializes. Then it returns to the command line prompt. Shortly after it returns to the command line I get a series of error messages. Perhaps the installer finishes and then tries to start Kindle. I have typed their essence below:

Code:
fixme:system:SetProcessDPIAware stub!
class {6e4feb12-510a-4d40-9304-1da10ae9147c} not registered
CLSCTX_REMOTE_SERVER not suppported
no class server could be created for context 0x17

Kindle does not show up in the configuration utility and when I try to run it from the command line it complains that some classes are not registered. My understanding is that yum has a list of the component packages required by wine, and the person who prepared the list thought it had loaded all that was needed for wine, but it did not include the package that has the classes that I need. On the web there are a number of postings that tell how well Kindle works under Linux, and none of them deals with doing anything more than installing wine. I assume that in those cases the install procedure loaded the classes I need. My hope is that someone with more knowledge than I can give me a pointer on how to proceed.

View 2 Replies View Related

General :: Error Type: <class 'yum.Errors.RepoError'>

Feb 26, 2010

On a fresh install of Fedora 12: I am trying to do a software update and keep getting these errors. I am new to Fedora but have used Ubuntu for some time. An Internal system error has occurred:

Under more details it states:

Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main

[Code]...

View 1 Replies View Related

General :: Primary Point Of Converting Dll To Lib In First Place

Apr 15, 2010

I've been looking for a way to run windows-only vst plugins nativley on linux as well as to find a linux driver for my 1394 audio interface with little luck; I would like to do so without relying on wine, and have come across an idea to work out after stumbling on a utility that converts dll to lib (called dll2lib). The idea would be to convert the dll's for a proprietary fw audio dev and dependent MS libraries and manually change what's needed to make it compatible with linux env. is this possible; will I be able to achieve source code from this? if not, what is the primary point of converting a dll to lib in the first place.

View 2 Replies View Related

General :: If X Window System Is Not Used What Takes It's Place

Mar 22, 2011

If Linux is not in GUI mode, what application handles input and output?

View 6 Replies View Related

General :: Get UserName In Place Of UID In The Process Check?

Apr 17, 2010

I add a user in my linux machine using the command 'useradd' as shown below. # /usr/sbin/useradd -c "Non Root User" -d "/home/testUser" -g root testUser "/etc/passwd" file shows that user created with uid '517'

cat /etc/passwd
ot:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin

[code]...

View 1 Replies View Related

General :: Best Place To Start To Learn System?

Jan 24, 2011

I am starting to dive into Linux after being a Microsoft geek for years. Where is the best place to start?

View 6 Replies View Related

General :: How To Place The Java Location In My $PATH

Sep 22, 2010

I have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:

Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location

I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.

Questions:

1) Where should java be installed to have system wide access to all programs?

2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?

3) Is there a way to ensure that the location where I intall java gets updates?

View 1 Replies View Related

General :: Grep - Searching For Class References In C++ Using Regular Expression?

May 28, 2010

I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp. I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working as I espected:

grep -E '^[^(/*)(//)].*[^a-zA-Z]ABCZ[]*[*(<:;,{& ]'

^[^(/*)(//)] don't math comments in the begging of the line ( // or /* )
.* followed by any character
[^a-zA-Z] do not accept any caracter before the one I'm searching (like defABCZ)
[]* any white space (I can have something like ABCZ var; )
[*(<:;,{& ] followed by ( * < : ; , & { (I cant get #define "ABCZ.h" or ABCZdef for example)

Well, I can get patterns like this:

class Test: public ABCZ{
class Test: public ABCZ {
class Test : public ABCZ<T>

[code].....

View 2 Replies View Related

General :: Initializing Drive Array Command For Class Lab On Fedora 12?

Feb 10, 2010

what command initializes a drive array on Fedora12? I'm trying to initialize the drive command for linear RAID and the command given in the textbook is for Fedora Core 2 (which I had problems with in Virtualbox).

View 4 Replies View Related

General :: Writing A Command (for Loop) That Would Ping A Class C Subnet?

Nov 4, 2010

how to write a command (for loop) that would ping a Class C subnet to make it so that it only replies once and does not show the statistics?

View 2 Replies View Related

General :: Configure VNC Server On Fedora 12 To Connect From Any Place

Feb 18, 2010

i want to configure VNC server on Fedora 12 to be able to connect from any place how to configure it i try Google to find instruction about it but i found alot on ways to configure and they are difference what you recommend

View 1 Replies View Related

General :: Place A Fire-started ,and Ports Come Disable?

Mar 15, 2010

I running ubuntu 9.04 server edition,I place a pci expressmodel PEX8S952 8 Port PCI Express Serial Card ,and ports are disable there is a place

View 4 Replies View Related

General :: Secure Motherboard And Chip Set To Place In Mini ATX

Jan 31, 2011

Looking to build the first computer system from scratch and I have chosen Linux as my system. Learning about Linux is a must as I would like to get away from MS. Also, building the system will better equip me when I pursue a business venture within the next year or two.I presently take course work in accounting for a bachelor degree, but will attain another degree in software engineering, both from Herzing University. My present skill level in programming?

View 5 Replies View Related

General :: Safest Place To Put Database Connection File?

Dec 8, 2010

When connecting to a database in a php script, where would be the safest place to store the connect.php file. I am thinking it should not be in public_html, but is it safe in sub folders or is there a method people generally use to keep such files secure and inaccessible.

The file I mean is one including the database name, user and password etc.

View 2 Replies View Related

General :: Setup A Named Server For A Class Room With 10 Imaginary Hosts?

Mar 30, 2011

I need to setup a named server for a class room with 10 imaginary hosts the sub domain managed by this name server is s123456.eca.edu.au where 123456 is to be replaced by your student id. The named server will forward unresolved queries to the dns server.

View 1 Replies View Related

General :: Place A Shell Script With Tail -f In The Back Ground?

Oct 6, 2010

Following script name is 123.sh and I need to put this in the background if I do 123.sh -bg this will not bring me back to the prompt but echoes what ever I put (using echo hello >> /tmp/123) in to the /temp/123 file. the only way that I have found doing this is to do "nohup 123.sh &" to put this in to the background. Is this okay or is there any better way of doing this?

#!/bin/bash
# file name is 123.sh
tail -f /temp/123 | while read line

[code]...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved