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


ADVERTISEMENT

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

Fedora Installation :: Error Type: <class 'yum.Errors.ConfigError'>

May 2, 2009

i get this error when trying to update/install programs and fedora 10

Code:
Error Type: <class 'yum.Errors.ConfigError'>
Error Value: File contains no section headers.

i also get this when i run yum update:

Code:
bash-3.2$ yum update
Loaded plugins: protectbase, refresh-packagekit
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmfusion-nonfree.repo, line: 2
'protect=yes

[Code]...

View 4 Replies View Related

Fedora :: Update 12 On AO D250 - Error Type: <class 'yum.Errors.RepoError'>

Apr 5, 2010

I installed Fodora 12 on my aspire one EEEpc, I was trying to do a software update but i get an error: Code: An internal system error has occurred a problem that we were not expecting has occurred. Please report this bug in your distribution bugtracker with the error description more details: Error Type: <class 'yum.Errors.RepoError'>

[Code]...

View 2 Replies View Related

General :: Using Ifconfig Without Using 'ethX'

Jul 1, 2010

I'm a relatively inexperienced with Linux, coming from a Windows background, and I struggling to solve a troublesome issue attempting to set a static ip address to a Live Debian USB Key. I know it is possible to utilise the 'ifconfig' function to set a static ip address and use 'route' to set the gateway, e.g.

ifconfig eth0 10.0.0.40 up
route add default gw 10.0.0.130 eth0

..however in both cases I need to explicitly set the 'eth0' to point at the appropriate adapter. However, this is where my problem is...

I'm creating a persistent USB key using the Debian Live CD, I'm going to create an image and then duplicate that image to a load of other USB keys. Again, not a problem as such but there are cases where I need to specify a static IP address and gateway rather than using DCHP.

And here's where problem raises its head.

Because I've created the key on another machine it has allocated 'eth0' to a specific MAC Address (assigned in /etc/udev/70-persistent-net.rules) but when I place it into machine with a different network adapter it is assigning to 'eth1' (and this increments up).

a) call 'ifconfig' and 'route' without having to identify the adapter or

b) change the script that is creating '/etc/udev/70-persistent-net.rules' so it overwrites the 'eth0' entry with the only applicavle network adapter for the current hardware.

View 4 Replies View Related

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

General :: Fedora Ethernet File Locations For Auto Eth - X - Devices Missing Ifcfg-ethX Files

Jul 24, 2010

Missing ifcfg-eth[2-5] fileset for ZNYX 345Q Quad Port 10/100 cards. I have showing in the gui network device that my ports for my ZNYX ZX345Q Quad Port card my ports are Auto eth2, Auto eth3 etc. My Motherboard and Intel cards show as System eth0 and System eth1.

There ARE corresponding entries for those in my /etc/sysconfig/network-settings/ directory, but there are not ifcfg-eth[2-5] files to correspond to these adapters. Can I just write my own files and that will do it?

How does Fedora 12/13 load these drivers into the kernel without having these ifcfg files?

I'd love to know if there is another way Fedora controls NICs / other system resources.

View 1 Replies View Related

General :: Getting Content-type/Mime Type Of The File Using Shellscript

May 24, 2011

I am copying the file form one directory to another directory using shellscript.

Here i want to get the Mimetype/Content-type of the file.

How to i can get the MimeType.

View 9 Replies View Related

OpenSUSE Network :: Every Boot Requires New Ethx Config

Feb 27, 2010

new Install of 11.2 every time i boot i have to config network devices via Yast Control Center. I now have 8 eth configs for my one local net adapter. Why does the MAC address change each time? I cant use my routers built in MAC filter and MAC control functions if this keeps changing. So each time i boot i need to also go into my router and build a new MAC address profile based on the new MAC address before i get Internet access. Security to the point of no access...I hope this is just a bug in the system. I thought MAC addresses were firmware/device specific? What I need is one eth config that works each boot. And I need one MAC address that does not change between boots.

View 4 Replies View Related

Ubuntu Networking :: What's Relationship Between Ethx And Physical Net Cards

Apr 8, 2011

Do you know what's relationship between ethx and physical net cards? such as i have three net cards in the PC, named A, B, C. In which config file i could know that eth0 -> A, eth1 -> B, and eth2 -> C. Would the mapping relationship change after reboot? Is there any method i could change the mapping?

View 5 Replies View Related

Ubuntu :: How To Detect When EthX Interface Is Down From A Bash Script

Jun 11, 2011

I'm trying to write a small script and there's one part of it that makes me sick:

Code:

ifconfig eth$num down
sleep 6
ifconfig eth$num hw ether $mac
ifconfig eth$num up

The problem is that the ethX interface doesn't go down immediately after the first line is executed. So sometimes the change of MAC is called while ethX is up, no matter how big is the sleep time, which results in an error. Is there a way to make this work right?

View 1 Replies View Related

Red Hat / Fedora :: Distro Randomly Assigning Nic To Different Ethx After Each Reboot

May 22, 2010

how are nics assigned - eth0 - ethx I am having problem with my distro randomly assigning nic to different ethx after each reboot. Sometimes nice 1 is eth0 and sometimes is eth3.

View 4 Replies View Related

Red Hat :: Prevent Kudzu From Changing Ifcfg-ethX File?

Aug 31, 2010

Running Centos 5.5 64bit. Sometimes I boot this instalation in real machine, sometimas using vmware workstation. The problem is that these environments have different network interface cards - as soon as kudzu detects that network device changed it renames ifcfg-eth0 to ifcfg-eth0.bak and places new default ifcfg-eth0.

Is it possible to command kudzu to leave ifcfg-eth0 as it is ?

View 2 Replies View Related

Slackware :: UDev Playing Hide And Seek With EthX Device

Feb 24, 2010

Some times I boot up, and udev has labelled what is usually eth0 as eth1. Of course, my rc.inet1.conf is configured for seeing internet at eth0, so no connection, quite obviously. Then I reboot and the device label is back to "eth0". Actually I'm still not able to get connected, even at eth0, despite my nameservers being OK, and the default route gateway being all OK. PS. I have a static ip address.

View 3 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 :: 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 :: /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 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

Red Hat / Fedora :: RHEL 5 Dual Networking - Ethx (0,1) Devices Are Brought Up Be Changed At Boot Time

Jun 3, 2010

I'm having an issue with dual networking on RHEL 5. My initial question is can the order the ethx (0,1) devices are brought up be changed at boot time, so I could bring up eth1 before eth0?

Some background: eth0 is DHCP'd and using DNS, basically this is my primary network. eth1 is an isolated subnet, with a manually configured IP which has no connection to eth0 or the outside world. When I bring up networking it first brings up eth0 and then eth1, what happens is eth1 becomes the 'primary' network of the host and I lose my connection to DNS/NFS/NIS and the outside world.

If I login and manually bring up eth1 first, then eth0 everyone is happy and connections work. So, I'm looking for a solution to either bring up eth1 before eth0 or somehow make eth0 my primary IP and not have it be clobbered by eth1.

View 2 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 :: 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 :: Machine Boots W/ Grub > Command / Window Installed ASAP For A Class?

Jan 26, 2010

I had linux installed on dell latitude d600, I did fdisk and deleted the OS so I can install Xp. When I try to boot from the Window xp cd , I get LINUX grub command line . " grub>" and can't do anything.I need window installed ASAP for a class that I am taking .

View 2 Replies View Related

Ubuntu :: Changing File System Type To Another Filesystem Type - Does It Effect On Data?

Feb 4, 2011

In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5

previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal

After doing(changing the file system)this one ,i couldnt see the d:drive data

By doing that

1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.

2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.

Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)

I had very imp data in d:drive

View 1 Replies View Related







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