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.
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.
I need a small shell based program that prints the mac address of physical ethernet adapter from it's firmware. I need this utility for license generation and appliance activation. I have tried several example but none of them is flawless, The easiest method I have found is to parse the output of "ifconfig" command but it has also some drawbacks.
1. Firstly program should differentiate between physical and virtual adapters. Physical means installed on board(wired or wireless) or installed additionally. Virtual adapters are those created by VPN or created by virtualization apps such as VirtualBox/VMWare etc. I am not interested in virtual ones.
2. In case of more them one physical adapters(wired and wireless), it should print the mac address and description(name & vendor) of both/all adapters.
3. If media is disconnected then also it should be able to read the mac address and description(name, vendor) of card.
4. This one is bit complex. I know that 'ethtool' can show you the universal mac address but it's limited to use only 2 types of drivers and won't work in all cases.
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
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.
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.
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?
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)
When I try to access at physical address (0xD0000), we known that it is necessary to convert physical address to virtual address using function IOREMAP(0xD0000, 1024) and return me 0xC00D0000.
Now our doubt is when I have a board with I/O in address 0x150, is it necessary to convert this address to other virtual address??? or with inb(0x150) return me state of I/O in this address? How can I known where is this I/O address in my map memory?
im REALLY new with linux and ive downloaded and installed Ubuntu...now heres the question.how do i set up WLAN internet use? ive tried using ipconfig/all on windows command but im not sure which info to use where save for the Physical Address going towards the MAC Address info
I have a usb device that is setup to use a networking interface. When I connect the usb device, ifconfig automatically shows a new interface "usbX", and it has an assigned IP address, e.g. "192.168.X.1" - yes, the "X" is the same number between the address and the interface name. Each time I connect the usb device, it gets a different ip address...
192.168.9.1, 192.168.10.1, etc (actually the device address ends in .2, the PC is .1) How do I configure this device to always have the same address? Or maybe it's more accurate to ask, how do I configure linux to always assign the network address with this device?
I had had my internet connection working using PPPoE, but after I did some tweaking and configuring on the machine (configuring Samba), I wasn't able to connect to the internet and on the syslog said:Code:Cannot determine ethernet address for proxy ARPI'm using dynamic IP address on my internet account. Is this problem related to Samba server configuration that is running?
have a doubt about the multicast address.I have read that IP and ethernet multicast address have the same last 23 bits. While an ethernet multicast address always starts with 01:00:5E. Changing the last 23 bits of the IP address into hexadecimal form and "adding" them to the first 24 bits we find the ethernet address but what about the missing bit??? For istance I have: 230.11.111.10 = 11100110.00001011.01101111.00001010 So converting the last 23 bits I have b:6f:a The final ethernet address will be 01:00:5E:b:6f:a . And what about the missing bit?
Is it possible to create virtual network adapter on the same physical network adapter? or How to give or have multiple MAC Address to the same adpater? I m working on centos 5.3.
Installed CentOS 5.5 on VMware ESXi server running vsphere 4.1. Installed fine and picked the E1000 network adapter. But can't get the adapter to become active and pick up an IP address. Has anyone done this before? I can't get it to work. When i was testing CentOS out i used VirtualBox and worked fine using bridged networking but just can't seem to get this network card working.I've put some pictures of the config i've got.http:[url]....
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.
One of the tasks I want to do is to read/write from/to any physical address. My question is how do I get a physical address on my Linux desktop. I was thinking of using some utility to dump my BIOS settings, and modify a "not so important" memory address there? Is this possible. Otherwise is there any other physical address I can read/write
A process is trying one access to memory, for example through an array (ex.: vect[0]=123. What happens?
Here below what I guess but I'm not sure and accept any comment (please, distinguish between "the system" and "the CPU" in case).
Let's suppose swapping to disk disbled.
We have two scenarios: without and with cache.
If no cache is present in the system: 1. The CPU must discover the phys addr of vect[0] virtual addr. To do that, has to read from 3 (or 2 depending on the system?) pages tables, stored in memory as well. 2. The CPU writes to the final address.
These mean 4 memory accesses.
If cache is present: 1. Like above but, if the pages tables are in cache, we have 3 accesses to that. 2. If the req. page is not in cache, it's reads from ram and transferred to it. Afterwards, cache is written. In the best case we have 4 cache accesses.
I allocated a chunk of memory using kmalloc in a Device Driver. Kmalloc provides a pointer to the allocated memory. This is one of my first few drivers.
I assume that the address returned is a Virtual address. I need to find the physical address of the memory location. I am working on an Intel 64 bit Fedora machine. I used the virt_to_phys() routine present in <asm/io_64.h>. I found that this routine returns an unsigned long value (32 bit) instead of an unsigned long long value (64 bit). Moreover, it seems that it simply returns the address - OFFSET instead of extracting the value in the page tables.
So is there any function / system call in Linux which will allow me to see the actual physical address on the Intel 64 arch.
As i undertsand - out of 1GB of the virtual Address space for Kernel from 3GB to 4GB of the process address space, Kernel image (code, data, bss, stack, heap) resides staring @0x0 address. Vmalloc area starts either at the end of Physical ram size or at 896M. This 896M cap is mandated to ensure that minimum of 128MB is reserved as vmalloc_reserve for vmalloc,kmap etc.
Is the understanding correct? Now trying to map Physical Zones into this 1GB address space
Initial 16MB is mapped to ZONE_DMA 16MB - 896MB is mapped to ZONE_NORMAL 896MB - 1024MB is mapped to ZONE_HIGHMEM
Does this mean that Kernel image is residing in ZONE_DMA area? Any call to vmalloc() in kernel code will return address beyond 896M? insmod of any LKM will internally invoke vmalloc() to obtain contiguous area - where will this code physically located along with rest of kernel code in ZONE_DMA or in ZONE_HIGHMEM?
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?
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.
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.
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?