I work at a University and every year or every other year we get new computers for the campus. More often than not it is my job to document the mac address for each PC. I'm trying to save myself time when I have to do this again. Can I make a script to find the mac address on boot up? Or perhaps I should make a customized distro of linux? Booting off of usb would be ideal.
If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?
I am trying to find out the mac address of the eth0 port on linux probe. This port is controlled by kernal and hence I don't have control over it. How do I find out the mac address of this port ? Is there any system call which will take the ip address and will do the lookup on the linux's ip table to get the mac address ?
I have two computers one with Ubuntu Server (just for fun) and another with Ubuntu Desktop. I connected them with one LAN cable so there is no internet and what I want is to open firefox in Ubuntu Desktop and view the apache test page but I can't find IP address, ifconfig just displays the ipv6 one?
I don't really have a reason for this currently. I recognize all the MAC address on my DHCP client list and keep it rather well locked down. I was just wondering if there was something I could run on the terminal to get more information on a given MAC address on my network. Something kind of like whois for websites.
Is there any linux command to find out the BMC Controller's mac address? The tools like ipmitool provide ways to configure IP to the lan of BMC controller, but our goal is to find out the MAC address automatically using some commands/tools.
what would be the simplest way to find out device IP address? I don't know its factory set address, so my plan is to connect laptop directly to it with ethernet. it should respond to ping.
I have just upgraded to Ubuntu 10.4 and I need to get my Address Book and saved emails from earlier version.Can someone please tell me where they will be located
I desire to access a WD Netcenter network drive from Ubuntu 10.10 using NFS mounts.Several on line helps show how if you know the IP address of the drive. How can I discover the IP address of the drive. My Windows network is using DHCP, though I understand that the drive uses a static address. I know the MAC address of the drive. As a user (but not an administrator), I have much Unix experience.
We are running samba on a Fedora release 8 (werewolf). The samba server is located on a dmz subnet off of my Cisco ASA 5510 firewall. From my inside network I have no problems connecting to the samba shares. However when someone uses a VPN connection they cannot connect to the samba share. VPN users are assigned an address from a pool which has no problems getting to the dmz based samba server. All ports required are open on both firewalls (Samba server and PC with VPN connection.) I consistently get an error saying Windows cannot find the ip address of the samba server. I have looked at the samba logs in varlogssamba and found a complete list of connection attempts listed by ip address. These addresses match the pool addresses that are being assigned by the firewall when someone tries to connect using the vpn.
Each entry has this: lib/access.c:check_access(327) connection denied from (ip address that is assigned by firewall) smdb/process.crocess_smb(1062) connection denied from (ip address that is assigned by firewall) I checked the smb.conf to make sure the subnet the pool addreses is listed in the global section. It is.
I just installed Fedora core 11 and am trying to get httpd to start, but it gives me a [failed] message. When I run it with -e DEBUG, I get an error message like: "failure in name resolution, unable to find IPv4 address of 'uaserver'" In the httpd.conf I have my hostName set to localhost.
I installed it the standard way using emerge/portage, but it fails to start:
Code:
alpha skyer # /etc/init.d/apache2 start * Caching service dependencies ... [ ok ] * Starting apache2 ... apache2: apr_sockaddr_info_get() failed for alpha apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ] * ERROR: apache2 failed to start
I'm used to have Apache unable to find pc's FQDN, as I don't set it, and it works without it.
From /var/log/apache2/error.log
Code:
[Sat Jul 23 06:41:12 2011] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "alpha"
Computer has IPv4 address set. I suspect that the nature of the problem is in the fact, that alpha has two network interfaces (it is used as router also). I've checked Apache conf files, but didn't find any meaningful directives to set interface or something similar.
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.
I am accessing a remote DB using JDBC from inside a java program. is there any terminal command with which I can see the remote machine's ip/mac address?