On Tuesday 17 April 2012, Anthony Carrico wrote: > It sounds like the bottom line is there is no problem to running more > than one access point with the same essid, but make sure the network > services and topology cooperate, and watch out for client side issues. > Thanks for all the tips. > I don't know if you'll find this helpful, but as I've been wrangling with wifi the past week, I thought I'd share a bit or byte:
Agree with 'Red' insofar as modularity and KISS. Dumber the WAP the better.
Know your WAP; many are not accessible but via windows for configuration,
either via pcmcia or wifi.
Despite the #SERP results of ppl controlling their
WAPS via linux + wifi-tools, things like assigning IP's etc... made doing stuff
like below difficult:
ap-mrtg -i ip -c community -t type [-b bssid ] [-v] [-r] [-h]
using linux+hostap|prism2 on a cable IF didnt give me good results.
OTOH, monitoring and adapting worked out pretty good
I was going for one in-house WAP another about 80' on top of Dish in Bridge-mode
for a 3rd at a hut in my woods. Nobody mentioned Ad-hoc and/or
Infrastructure(Managed),
or the expected load (users) vs degredation, but for me, its just me - one
enduser.
Ad-hoc mode proved problematic on my ME102, not so on my DLink-524; dunno why
yet.
And trying to get a host to talk to my WAP via SNMP failed badly so far.
In house I also have an N900 that does HEN and my hosts have no problem
recoginzing
the different subnets.
Omitting the pecadillo's of sys stuff, wicd and nm, drivers or lack thereof;
wpa_supplicant,
dhcp3/dhclient, etc.... I settled down and opted for rc.? and cli wherever
possible
when dealing with the enumerable probs; like REASON-3 REASON-6 type stuff.
When things work it was mostly a matter of simple
# ifconfig ethN hw ether X:X:X:X:X:X
or
# ip link set dev ethN address X:X:X:X:X:X
upping an iface and pinging good2go
OR:
disassociate from any existing network with "iwconfig ath0 essid any",
turn off WEP with "iwconfig ath0 key off",
scan for the subnet with "iwlist scan",
and finally connect to the network and grab an IP address
"iwconfig ath0 essid networkname" && "dhclient ath0".
some APs have problems with powersave mode that lead to dropped connections
iwconfig wlan0 power off
also, extending the MAXTIME to connect sometimes helps with dropped conns
Since you don't need/want to link a whole gang of WLANs with different BSSs
into a
bigger network you don't need to deal with ESS (Extended Service Set)
identifiers on each access point.
You didn't mention utils and I presume you know what i know if not more, but
here's
what fills my history enuf to wrap up:
A few wrappers:
#!/bin/bash
# sniff WLan
iwlist wlan0 scan | sed -ne 's#^[[:space:]]*\(Quality=\|Encryption
key:\|ESSID\)#\1#p' -e 's#^[[:space:]]*\(Mode:.*\)$#\1\n#p'
echo "DONE"
#!/bin/bash
# scan for attached hosts
[ $# -eq 0 ] && { echo missing argument, please provide an NIC port - like eth0
or wlan0; exit 1; }
# ip = $1
sudo arp-scan -l -I $1
echo "DONE"
#!/bin/bash
# find hosts on a subnet
[ $# -eq 0 ] && { echo missing argument, please provide a network to scan like
172.16.0.0/24 ; exit 1; }
sudo nmap -T4 -sP $1 && egrep "00:00:00:00:00:00" /proc/net/arp
echo "DONE"
#!/bin/bash
# portsused
sudo netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | sed s/::ffff:// | cut
-d: -f1 | sort | uniq -c | sort -n
echo "DONE"
#!/bin/bash
# what ports
# [ $# -eq 0 ] && { echo missing argument, please provide a hostname - default
is localhost; exit 1; }
time {
for i in {1..65534}; do
nc -zw2 localhost $i && echo "$i open";
done;
}
echo "DONE"
#!/bin/bash
# find broadcasters
for net in $(ip route show | cut -f1 -d\ | grep -v default); do ipcalc $net |
grep Broadcast | cut -d\ -f 2; done
echo "DONE"
Oft used commands:
cmd: /usr/sbin/ap-trapd -i wlan0 -u root
cmd: /etc/init.d/arpwatch start
cmd: iwlist scanning
cmd: ap-mrtg -b 00:30:AB:16:62:B5 -a 510
cmd: /usr/local/sbin/iwpriv
iwconfig <NIC> monitor 1 <CHANNEL>
tcpdump -i <NIC> -s0 -w <DUMPFILE>
(obvious shout to t|wire[shark])
cmd: aireplay-ng --arpreplay -b 00:30:AB:16:62:B5 wlan1
ap-gl
Show or configure a wireless interface
iwconfig # Show params for active interfaces
iwconfig wlan0 essid GOOB # Set the network name to GOOB
iwconfig wlan0 key 43224598a34bc2d457e2 # Specify a hex WEP key
iwconfig wlan0 key s:ThisIsAnAsciiPassphrase
iwconfig wlan0 mode monitor
iwconfig wlan0 channel 1
tools:
bengross.com/wireless.html
Useful apps in no significant order:
macchanger
amap
kismet
airmon-ng, airolib-ng, aircrack, airsnort
trafshow-002.pl
ssltunnel-1.0.pl
hotspotter
hunt
spectool_net
wifi-radar
wispy_curses
wap11gui-0.12
prismstumbler
easside-ng wesside-ng buddy-ng
Rion
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.drivers.html
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Best of luck, I hope you don't need it
And remember you are unique...just like everyone else.
web: http://dluz.com/
AIM/Jabber/MSN/: riondluz
Google: xmpp:[email protected]
email: riondluz_at_gmail.com
Phone: 802.644.2255
http://www.linkedin.com/pub/6/126/769
CLI forever!
L I N U X .~.
Choice /V\
of a GNU /( )\
Generation ^^-^^
POSIX
RULES
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
signature.asc
Description: This is a digitally signed message part.
