--- Log opened Mon Aug 30 00:00:56 2004 14:55 -!- rxr_ [~rene@p213.54.244.79.tisdip.tiscali.de] has joined #t2 14:55 -!- Topic for #t2: t2 - the upcomming rl successor ... 14:55 -!- Topic set by rxr_ [] [Thu Aug 12 02:15:41 2004] 14:55 [Users #t2] 14:55 [ mnemoc] [ rxr] [ rxr_] [ valentin] 14:55 -!- Irssi: #t2: Total of 4 nicks [0 ops, 0 halfops, 0 voices, 4 normal] 14:55 -!- Channel #t2 created Sun Aug 8 21:15:33 2004 14:55 -!- [freenode-info] help freenode weed out clonebots, please register your IRC nick and auto-identify: http://freenode.net/faq.shtml#nicksetup 14:55 -!- Irssi: Join to #t2 was synced in 11 secs 15:03 -!- rxr [~rene@p213.54.192.243.tisdip.tiscali.de] has quit [Read error: 110 (Connection timed out)] 15:43 -!- You're now known as rxr 20:39 < mnemoc> rxr: do you know any tool to auto-choose the best wifi cell available? i coded a iwlist scan parser but sucks 20:49 < rxr> ouhm 20:49 < rxr> you have questions ... 20:49 < rxr> no idea - I wouls parse the iwlist, too ... 20:53 < mnemoc> :( 20:54 < rxr> use clifford hyper inteligent rocknet hack I commented on two months ago ... 20:55 < rxr> altough it does not give you the signal detection you want ;-) 20:55 < rxr> btw, what is you use-case? University? 20:57 < mnemoc> university, home, work 20:58 < mnemoc> univeristy is splited in four wifi networks 20:58 < mnemoc> two of them with many APs 21:00 < rxr> but @ home and work you do not have that many cells, .. I guess? 21:01 < mnemoc> nope, only one :p 21:01 < rxr> what is the problem with parsing the iflist output ? Just that the parser get's ugly? 21:01 < rxr> iwlist even 21:01 < mnemoc> i'm not good on awk, then my parser is 100% bash 21:01 < mnemoc> but works 21:01 < mnemoc> ifplugd is using it at the moment 21:02 < mnemoc> choosing the first cell fount :| 21:02 < mnemoc> but i collect info so, someday i can compare cells before choosing 21:02 < rxr> don't you get those, too: 21:02 < rxr> Quality:50/92 Signal level:-49 dBm Noise level:-99 dBm 21:03 < rxr> should be easy to just chose the best qulity value or so .. 21:03 < mnemoc> yeah 21:04 < rxr> coding a state-machine in bash to lock on the eth*\tScan completed : lines should be trivial ... ;-) 21:05 < mnemoc> my problem is with the 'context' 21:05 < rxr> I once did a handy statemachine that parsed logged USB traffic by USB snoop in bash *g* 21:05 < mnemoc> which cell -> essid 21:05 < mnemoc> awk? or just bash? 21:05 < rxr> just bash 21:06 < mnemoc> don't you feel tempted to code one for iwlist? :p 21:06 < rxr> you will not join #t2 when I do? 21:06 < rxr> ok - I quickly do one anyway ... 21:06 < rxr> are you in the university to test it? 21:11 < mnemoc> yep 21:11 < mnemoc> i'm going to macroeconomy now 21:11 < rxr> are you reachable there? 21:11 < rxr> need some 4-5 minutes ... 21:11 < mnemoc> i'll wait you then =) 21:11 < rxr> wait now - or await there? 21:12 < mnemoc> here 21:12 < mnemoc> the professor feels 'unconfortable' with computers opened on the class 21:12 < rxr> I hope you'll not get late then ... 21:13 < mnemoc> code code code 21:16 < rxr> opk 21:16 < rxr> ok even 21:19 < rxr> paste in query 21:19 < rxr> pasted even 21:19 < rxr> in final testing 21:20 < rxr> $ ./iwlist-parse 21:20 < rxr> "pandamon2" 57 21:20 < rxr> using it 21:20 < rxr> "pandamon3" 67 21:20 < rxr> using it 21:20 < rxr> "pandamon4" 7 21:20 < rxr> $ ./iwlist-parse 21:20 < rxr> "pandamon2" 57 21:20 < rxr> using it 21:20 < rxr> "pandamon3" 67 21:20 < rxr> using it 21:20 < rxr> "pandamon4" 7 21:20 < rxr> finally: "pandamon3" 67 21:22 < rxr> got quite state-less anyway - my usb parser was a real state machine ... 21:31 < mnemoc> FUCK, it got frozen again 21:31 < rxr> ouch 21:31 < rxr> maybe due to iwlist scan ... 21:32 < mnemoc> can it be? 21:32 < mnemoc> can be ifplugd? 21:33 < rxr> duno - whatever you changed last 21:33 < rxr> here iwlist works fine - even while typing in this ssh seassion 21:33 < mnemoc> ifplugd 21:33 < rxr> but this is highly driver dependent ... 21:33 < rxr> yeah - maybe even ifplugd ... 21:33 < rxr> such transmitter detect features are not used often - so bugs hide in it .. 21:34 < mnemoc> i'll down it and start network by hand :| 21:35 < mnemoc> re 21:35 < rxr> you miss your lecture .. 21:36 < mnemoc> :( 21:37 < mnemoc> this lecture is after 5 hours 'free', then i always wait for it but miss it 21:37 < mnemoc> i have been only to two of... 13 21:38 < rxr> i c 21:38 < rxr> does my cell detecion work now, after the adaption? 21:39 < mnemoc> yes 21:40 < mnemoc> it's quite simple with this [[ $line = *foo* ]] thing :p 21:42 < rxr> ok - let me paste the "final" prototype for later reference - e.g. in logs ... anf for google ranking: 21:42 < rxr> ssid="" 21:42 < rxr> quality=0 21:42 < rxr> while read line ; do 21:42 < rxr> [[ $line = *ESSID* ]] && tssid="${line/ESSID:/}" 21:42 < rxr> if [[ $line = *Quality* ]] ; then # or maybe Signal instead of Quality 21:42 < rxr> tquality="$(echo $line | cut -d ' ' -f 1)" 21:42 < rxr> tquality="${tquality/Quality:/}" 21:42 < rxr> tquality="${tquality/\/*/}" 21:42 < rxr> echo $tssid $tquality 21:42 < rxr> if [ $tquality -gt $quality ] ; then 21:42 < rxr> quality="$tquality" 21:42 < rxr> ssid="$tssid" 21:42 < rxr> echo using it 21:42 < rxr> fi 21:42 < rxr> tssid="" 21:42 < rxr> tquality=0 21:42 < rxr> fi 21:42 < rxr> done < <(iwlist scan 2>/dev/null) 21:42 < rxr> echo finally: $ssid $quality 21:44 < rxr> ^- how to get a free holiday in chile ;-) 21:45 < rxr> what wifi chip is in your box? 21:45 < mnemoc> =) 21:45 < mnemoc> cardbus.... acx100_pci 21:45 < rxr> acx - hm - what is the lspci company / model entry? 21:46 < mnemoc> 02:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02) 21:47 < mnemoc> 03:00.0 Network controller: Texas Instruments ACX 100 22Mbps Wireless Interface 21:49 < rxr> is the driver open-source these days? 21:50 < mnemoc> i use the one from sf.net 21:53 < mnemoc> s/Quality/\$field/ --- Log closed Tue Aug 31 00:00:10 2004