Posts

Showing posts from September, 2013

WDS Bridging - Wireless Routers/Acces Points

Image
Notes: - IP Address of Both Wire less Routers/ APs must be in the same address class. - If WDS is configured be tween two wireless routers, then both might have to be different SSIDs , otherwise they might not work. (this point needs to be confirm more from other resources too). - for same SSID (called roaming) , there should be a combination of one wireless router and one Access point.   Primary - Wireless LAN Router/AP configuration Secondary - Wireless LAN Router/AP configuration - which needs to be WDS bridged with the Primary Wireless Router/AP. 

Configuring Samba File (smb.conf) for sharing linux folders into windows KVM

Default Path of Samaba in Redhat Enterprise linux 6: /etc/samba/ Default Samba file (smb.conf) contains the following in my linux Machine: [global]     ## OPENCLIENT GLOBAL KVM CONFIG ##         workgroup = LINUXKVM         server string = Samba Server Version %v         interfaces = lo virbr0         log file = /var/log/samba/log.%m         max log size = 50         security = share         load printers = yes         cups options = raw [shared_ammar_rasheed]     ## OPENCLIENT SHARE KVM CONFIG ##         comment = Temporary file space         path = /home/ammar_rasheed         read only = no         public = yes         guest ok = yes         guest only = yes         browseable = yes         force user = ammar_rasheed         create mask = 0777         directory mask = 0777         guest ok = Yes         # OPENCLIENT RECYCLER         vfs object = recycle:recycle         recycle:subdir_mode = 0770         recycle:repository = Recycle Bin         recycle:keeptree = Yes         recy

Mount KVM Virtual Drive to a folder in Redhat Linux

Default Path for KVM Images (in Redhat Enterprise linux 6): /var/lib/libvirt/images/<Kvm_filename.qcow2> Command Format: guestmount --rw -a <source image path> -i <destination image path> Example: guestmount --rw -a /var/lib/libvirt/images/Windows_7_-KVM.qcow2 -i /media/Ammar/mount/

Finding All Hosts On the LAN - Windows/linux

Finding All Hosts On the LAN From Linux / Windows Workstation Linux: @ Root Prompt type: for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq 0 ] && echo "192.168.1.$ip UP" || : ; done Output: 192.168.1.1 UP 192.168.1.1 UP 192.168.1.2 UP 192.168.1.5 UP ...... ... .. 192.168.1.254 UP Windows:   c:> for /L %I in (1,1,254) DO ping -w 30 -n1 192.168.1.%I | find "Reply" or FOR /L %i IN (1,1,254) DO ping --a --n 1 10.0.1.%i | FIND /I "Reply">> c:\lanipaddresses.txt