private void getCardsInformation() throws Exception {
		out.println(nodeName);
		Enumeration<NetworkInterface> interfaces = NetworkInterface
				.getNetworkInterfaces();
		ArrayList<String> wlsMac = new ArrayList<String>();
		ArrayList<String> wlsName = new ArrayList<String>();
		while (interfaces.hasMoreElements()) {
			NetworkInterface n = interfaces.nextElement();
			System.out.println(n.getName());
			byte[] mac = n.getHardwareAddress();
			if (mac != null) {
				StringBuffer macAddress = new StringBuffer();
				for (int i = 0; i < mac.length; i++) {
					macAddress.append(String.format("%02X%s", mac[i],
							(i < mac.length - 1) ? ":" : ""));
				}
				System.out.println(macAddress.toString());
				if (n.getName().equals("eth0"))
					out.println(macAddress.toString());
				else {
					wlsName.add(n.getName());
					wlsMac.add(macAddress.toString());
				}
			}
		}
		out.println(wlsMac.size());
		for (int i = 0; i < wlsMac.size(); i++) {
			out.println(wlsName.get(i));
			out.println(wlsMac.get(i));
		}
		out.close();
	}