General :: Get Physical Media Type Of Ethernet Adapter Using C++ ?

May 2, 2011

I am using this code to get some info about ethernet adapters.

Code:

How do I determine the media type of adatper? For example wireless, bluetooth, ethernet(802.3) etc.?

Another one which is based on getifaddrs is here:[url]

If it's easier to get media type using getifaddrs then I would use this method.

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Physical Address For Ethernet Adapter?

Aug 26, 2010

I've just arrived at uni and to set up my wifi apparently I need my "media access control which is listed as the phsyical address for ethernet adaptor local area connection." on windows you can find it by using the command ipconfig /all but that didn't work when i put it into terminal.

View 1 Replies View Related

General :: No Internet On OS 11.0 PC With BCM 755 Ethernet Adapter

Jan 18, 2010

I have opensuse 11.0 on a PC with Broadcom NetXtreme BCM 755 ethernet adapter. I am not able to connect to the internet. what could be the problems. how to solve it?

View 1 Replies View Related

General :: Debian 5.0.8 Won't Detect Ethernet Adapter

Jan 31, 2011

I'm installing Debian 5.0.8 on a Dell Latitude E6410 using the network install x86 CD.

Unfortunately, it won't detect my Ethernet adapter. Specifically, I get the error: No Ethernet card was detected. If you know the name of the driver needed by your Ethernet card, you can select it from the list.

lspci shows: 00:19.0 Ethernet controller: Intel Corporation Device 10ea (rev 05)

That should correspond to the e1000e driver. But, if I select it from the list, the install CD still fails to detect it.

Ubuntu 10.10 and Windows 7 are able to use this device with no problem.

Does anybody know what I can do to make Debian use/recognize my ethernet adapter?

Edit: Additional Info:

I think this is an Intel 82577LM Gigabit Ethernet chipset. If I switch from the graphical installer to the console and run lsmod, I see e1000e with a use count of 0.

View 2 Replies View Related

General :: Change Ethernet Adapter Name Eth0 To Eth1 And Vice Versa

Jan 29, 2010

i have just installed fedora core 12. my pc has 2 lan adapter. 1. onboard rhine. 2. intel card. os has given eth0 to onboard card and eth1 to intel but i want eth0 to intel card and eth1 onboard card.

View 9 Replies View Related

Ubuntu Networking :: Multiple External IP Addresses With Single Physical Ethernet Card And Virtualization

Feb 16, 2010

I recently installed Ubuntu Server 9.10 with the intent of using it as a platform for running a couple of Windows XP virtual machines along with Linux/Ubuntu.

I had no problems getting the server installed. Had no problems getting the network up and running so that I had access to both my internal network as well as external connectivity to the internet. Had no problems getting a VM installed and putting Windows XP inside of it. Had no problems setting up a bridge between the WinXP virtual machine and the physical ethernet card (eth0).

What Im having trouble with is figuring out how to bridge from multiple VMs AND Ubuntu natively through one physical ethernet card.

When I set up the bridge, it knocks out the static IP address of the ethernet card that was set up initially with Ubuntu when first installed before the VM was created and installed. Therefore, connectivity within Ubuntu natively is lost.

Similarly, am having trouble figuring out how the second VM (also going to be running WinXP) is going to get its connectivity since it doesnt seem to like me setting up 2 bridges to the same physical ethernet interface card.

I need all 3 machines to have static IP addresses and be visible/accessible from the external network for either web/mail/dns/etc servers on the Ubuntu side and for remote PC control functionality on the VM side.

I have tried setting up alias ethernet interfaces (eth0:1, eth0:2, eth0:3) with static addresses which work fine from native Ubuntu in presenting multiple IP addressees, but it seems that Im not permitted to bridge to these alias interfaces.

View 5 Replies View Related

Networking :: Creating A Virtual Ethernet Adapter?

Apr 14, 2010

I am trying to setup a VPN using OpenVPN to allow a secure connection between my smartphone and my LAN. I have been reading an OpenVPN book and some tutorials on how to setup the server side, but I'm stuck at how to create a virtual device. The OpenVPN book says when installing OpenVPN the installer (or aptitude to be more precise) should ask me if it should create a TAP/TUN device. The thing is, it doesn't ask me anything at all. It just installs, that's it.

Most tutorials simply tell me to create a new device in the network/interfaces file. Where is the difference? What should I do now? I like having options, that is one reason I like Linux, but this does confuse me. My second question is about the IP range of the virtual adapter. Should it be in the same range as my LAN, or should I use something entirely different?

View 1 Replies View Related

Networking :: PCI Device And Ethernet Adapter Relation?

May 20, 2010

I have two pci network adapters. I see them in pci device list (lspci). And I see them using ifconfig. How do I relate them - which pci device corresponds to ifconfig network adapter ? (I can't open my hardware and relate them using MAC stickers)

View 4 Replies View Related

Fedora Hardware :: Intel Ethernet Adapter Not Working

Dec 22, 2010

I recently got Fedora 14 installed and much to my dismay my Ethernet adapter (Intel 82566DC) didn't work. This is left me disconnected from the internet and made it impossible to install any packages. Googling and searching the forums got me these bits of information: [URL]. From what I gather, the 2.6.35 kernel is at fault. So I can solve this by installing the most recent e1000e ethernet drivers. Long story cut short, it didn't work too well for me. I couldn't simply make+make install it, which demanded other packages to be installed first. These in turn had other dependencies. After several failed attempts and ideas I'm at my wits and end and left with two options:

1. Installing an RPM (hopefully it shouldn't have any dependencies). Is there a site where I can download the driver RPM directly? I can't install and use rpmbuild, because I can't even connect to the internet.
2. Waiting for a newer version of the kernel. How long will I have to wait and how easy will it be to update it, without internet connectivity?

View 13 Replies View Related

Ubuntu Networking :: Ethernet Adapter - Connecting To The Internet

Dec 26, 2010

just recently I made the move back to Ubuntu from Windows. Upon re-installing I noticed a problem with me connecting to the internet. Previously on Windows I had updated my Ethernet Adapter driver, upon installing I would have to disable and re-enable the device to let my computer have access to the internet. My problem here is how would I go about fixing this on Ubuntu so I can have internet access on Ubuntu

View 1 Replies View Related

Ubuntu Networking :: HP Mini 210 Ethernet Adapter Not Connecting?

Jan 17, 2011

The Wired Internet adapter isn't working with Ubuntu 10.10, and without this working, I can't get my updates for the Broadcom WLAN adapter. I have a Realtek RTL8101E/8102E PCI-Expredd Fast Ethernet controller. I have looked for solutions, but haven't found any relating to my problem.

To be specific: Ubuntu 10.10 is recognizing the Ethernet adapter as eth0. When I try to manually connect after inserting an Ethernet cable connected to the Internet, it tries for a couple of minutes before telling me the adapter's been disconnected. The connector lights remain the same on the port as they always were.

View 1 Replies View Related

Ubuntu Networking :: USB Ethernet Adapter DAVICON Don't Work Out Of The Box?

Feb 12, 2011

I have this tread, for a ASIX USB ethernet adapter. Still don't work.Tody i bought a Davicom DM9601 USB 10/100 EthernetI read here about this work out of the box, since 2.6.21 kernel. I have Linux Mint (Ubuntu 10.10) with 2.6.35-x kernol version; lsusb detect it; dmesg, detect it; at configure, automaticly get the MAC address, but just didn't work; with ping command, i get network is unreachable.

View 1 Replies View Related

Slackware :: C-Media USB Audio Adapter And Snd_usb_audio Module

Apr 20, 2011

I want to use my C-Media USB Audio Adapter with Slackware 13.1

When I connect the device it is shown in lsudb:

Bus 003 Device 002: ID 0d8c:c C-Media Electronics, Inc. Audio Adapter

Do i need to have the snd_usb_audio kernel module. However when is call modprobe snd_usb_audio I get: Fata: Module snd_usb_audio not found.

I though that snd_usb_audio was not build with the kernel, so I did:

Without making any modifications the .config the file already has CONFIG_SND_USB_AUDIO=m . Does this mean that the current kernel has that module? If so why I cannot load it?

View 1 Replies View Related

CentOS 5 Hardware :: Belkin USB Gigabit Ethernet Adapter Not Recognized?

Aug 12, 2010

I have spent them with Fedora and liked it a lot. Today I decided to install CentOS as this looks like something I would like to be using in the future. However a problem I could not solve came right at me after the first boot.

I have one eth0 device which is onboard lan and that was correctly recognised and activated. The second device is F5D5055 Belking USB Gigabit ethernet adapter. There was no problem with it whatsoever under Fedora. According to all the info it should be automatically recognised on kernel 2.6.14 and later. However when I plug it into the USB port, I can see its correct name in the device manager but it is not recognised as a network device. I have configured my Fedora as a firewall/router for my lan and definitely want to use that interface.

Hopefully without needing to do anything in the realm of compiling kernel, cause that is where my half a day long attempt to fix the problem left me.

View 17 Replies View Related

CentOS 5 :: 5.3 Install -- What Type Of Media Contais The Packages To Be Installed?

Apr 2, 2009

Ok so I am doing a fresh install of 5.3 .... At the begning of the install after i get into it a get a screen that says "What type of media contais the packages to be installed?" with options... Local CDROM, HD, NFS Imahes, FTP, HTTP.I have a LG GH22NP20 that installed 5.2 fine on the system..... And can load the cd....?>

View 19 Replies View Related

Software :: Setting Association Between PLS File Type And A Given Media Player In Firefox?

Jun 11, 2011

Kernel 2.6.21.5, Slackware 12.0 When I click on some audio stream links in my web browser (Mozilla Firefox), the stream comes in a URL ending in .pls, usually listen.pls. As I want mplayer to play it and not the default player, I intend to make the first the default one. In Firefox (2.0.0.4) I can do Edit>Preferences>Content>File Types>Manage and change the actions associated with each file type. However, if the type is, say, PDF, I can can only change the action if a PDF file has anytime been downloaded. So, the same goes for a PLS file.

You have an example of the kind of link I talk about here: [URL] In the case of a radio broadcast audio stream, I am not downloading it, I think. At least, the Download window does not open. The Download window not having open itsef, the PLS type does not appear in the window Edit>...>File Types>Manage leads to. And so, I cannot change the action. The action would be 'Open them with this application': mplayer.

View 2 Replies View Related

Debian Installation :: Integrate Wireless Adapter Drivers To Install Media?

May 13, 2010

I downloaded from the following link: [url]... etinst.iso and i have a working flash drive Debian installer. I would like to be able to integrate driver support for my wireless adapter or my gprs phone for internet access during install so that I wont have to be connected via ethernet.

View 2 Replies View Related

Hardware :: Setting USB Network Controller (SR9600 USB To Fast Ethernet Adapter) On FC10?

Jun 25, 2009

I've an USB Network Controller product from China with no driver for Linux... It's seem in my FC10 not correctky fuctional... On Windows it worked as SR9600 USB To Fast Ethernet Adapter... here is my log...

Code:

[root@home ~]# dmesg | grep USB
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found

[code].....

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

Ubuntu Networking :: Realtek PCI-E Ethernet Adapter In "deep Sleep"?

Jul 6, 2010

I`ve got a dual boot of win 7 and ubuntu 10.04. After I put the system to sleep in win7, it was unable to start the ethternet adapter back (Now after system boot, the lights around the ethernet port blink for a few times and then turn off. This repeats in a while). Now it is disabled in ubuntu too. Is there any way to start it again? It is a Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller.

View 3 Replies View Related

Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related

Ubuntu Servers :: 9.10 2nd Ethernet PCIe Adapter Found Then Not Found?

Jan 24, 2010

During install of 9.10 server, both ethernet adapters were found. One is built-in to the motherboard, the second is on a PCIe slot. Selected the on-board adapter for eth0 during install, set fixed IP on the web, connected, updated, etc. w/ no problems. The second adapter is for the LAN.BUT, on first and subsequent reboots after installation complete the second adapter is not detected at all, as if it were not even plugged into the PCI or the driver not loaded. This happens on either of two slots, with two different adapters, Intel or Netgear, both pretty recent, and both of which are detected and work in a different box. 'Ethtool eth1' says device not found.This is a fairly recent motherboard 3N78EM).Since the adapter was found during installation I'm assuming that the problem is not with not the board. I've built several server systems with two or three ethernet adapters and have never run into this situation.

View 3 Replies View Related

Debian Configuration :: Error "mount Exited With Exit Code 1: Helper Failed With: Mount: Wrong Fs Type" Mounting Any External Storage Media

Feb 27, 2011

I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:

Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.

View 4 Replies View Related

General :: Install Windows 7 On Media Partition \ Keep Media Partition Completely Separate From Any OS?

Apr 24, 2010

I just bought a new hard drive so that I could convert my XP-only machine into an XP-Ubuntu-Windows 7 triple boot machine.Since the drive is absurdly huge (1 TB) I wouldn't mind throwing ReactOS into the mixtoo.I just found out that master boot records are limited to 4 entries, meaning 4 primary partitions. I had Windows XP set up on my old drive as a boot partition, a program files partition and a media partition. Since I really didn't want to install XP from scratch, I cloned this setup on my new drive.

This leaves me one MBR partition entry for installing Windows 7, Ubuntu and ReactOS. I'd like to avoid having to install XP from scratch like the plague, partly because it's supposed to be a safety net in case things go wrong with my other OS's and because I've invested a lot of time getting it set up exactly the way I like it.Here are the options I've considered and why I don't like them:Install Windows 7 on my media partition. This would work, but I prefer to keep my media partition completely separate from any OS, so that I can reformat an OS partition without affecting my media partition at all.

Use wubi or something to install Ubuntu in the same partition as something else. Again, this is brittle.Move all my media to a logical drive on an extended partition. Create another logical drive on this extended partition for Ubuntu. The problem here is that extended partitions are rather brittle--if you nuke one, it renders the rest useless.Just put the old drive back in my computer and run XP off it. Use the new one for the other OS's. The problem here is that the old drive is slower and uses extra power, generates extra heat, etc.

View 2 Replies View Related

General :: Configure Physical Memory Map?

May 18, 2010

I am trying to build and bring-up Linux (embedded) for a piece of hardware which have MIPS 74K proccessor 16MB Flash, 128MB DDR and network/usb support. How to configure/set into the kernel the exact addresses of the physical memory map? How does the kernel know where is the system ram, i/o memory, root FS? I have read some book and I found how the applications can go and read some special files like /proc/iomem to find out info about memory but what I need is how to set those addresses at the beginning when I build the kernel and FS in order to boot the kernel on my h/w.

View 3 Replies View Related

General :: Physical Drives Need To Use The Same Interface?

Feb 5, 2011

I understand the software RAID partition types on two physical drives that will be paired must be set to the same size. However,

1. Do the physical drives themselves need to be the same size?

2. Do the physical drives need to use the same interface?

e.g. Can I setup mirroring with one 80G SATA, and one 320G PATA? (And is this reliable/stable?). The use is for an asterisk server which came with the 80G, I can't find anything smaller than 320G for the 2nd drive, and the free connector inside is PATA.

View 1 Replies View Related

General :: Why Set Swap Space Twice Big As Physical Memory

Sep 12, 2010

When we want to setup a linux system, there is a common a suggestion like set the swap space as twice as big than your physical memory, I want to know why do we need this and how is this suggestion come from?

View 4 Replies View Related

General :: Extending Partition Into Another Physical Drive?

Oct 4, 2010

Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.

View 8 Replies View Related

General :: Get The Physical CPU Socket Count In RHEL?

Jun 30, 2011

We are working on our subscription renewal and now since Red Hat has changed their subscription model we need to give them the number of physical CPU sockets on each system.I have tried looking thru /proc/cpuinfo as well as tried to parse data out from dmidecode but both of those solutions count each individual core as a CPU.Is there a clean and easy way to determine the number of sockets on each system? We also use RHN Satellite to manage our systems but I believe that is pulling the same data from dmidecode

View 2 Replies View Related

General :: LVM Removing A Physical Volume Safely

Aug 7, 2010

Let's assume I have a volume group (VG) with six physical volumens (PV) - sdb1, sdb2, sdb3, sdc1, sdc2, sdc3..I want to remove one of the PVs from the group in order to use its space elsewhere - how can I know if it's safe? How can I do that without losing data and without first "pvmove"ing it elsewhere?Reading a bit more, my guess is using the result of pvscan, but I thought I'd ask before removing keeping it safe as I'm not an LVM expert.

View 4 Replies View Related







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