1
Angstrom & OpenZaurus / Oz 3.5.4 Not Blanking Lcd
« on: October 17, 2006, 01:09:46 pm »
Issue has been entered as bug #1509. Thanks for the link to the bugtracker.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
That's what diodes R 4. Put a diode on the + of each battery in the parallel circuit and there can be no cross chargingThe problem with diodes is that they also drop the voltage slightly. Most of the lithium packs I looked at contained a charging circuit in them which monitors the state of the battery. This should also (probably?) protect the battery from problems with the other packs.
mapping wlan0
script /etc/network/findwifi.sh
map home,*,*,00:11:22:33:44:55 home
map work,*,*,AA:BB:CC:DD:EE:FF work
map any,*,*,* any
iface home inet dhcp
wireless_mode managed
wireless_essid home_ssid
wireless_key off
wireless_channel 11
iface work inet dhcp
wireless_mode managed
wireless_essid work
wireless_key open key 0000-0000-0000-0000-0000-0000-00 [1] key [1]
wireless_channel 6
iface any inet dhcp
wireless_essid any
wireless_mode managed
Note that on the 'map' lines you will want to put in the MAC address of your AP's. You can find this from the command line with iwconfig. If you do not have a connection to your AP, type in "iwconfig wlan0 essid your_ssid_here". Once you have a current connection to your AP, type "iwconfig wlan0", and look for the line with the text "Access Point:". The text after this is your MAC address.#!/bin/sh
iface="$1"
ifconfig $iface up
cat /etc/network/interfaces | grep "map " | while read x INFO NAME
do
SSID=`echo $INFO | cut -d, -f1`
if [ "$SSID" = "*" ]; then SSID=any; fi
MAC=`echo $INFO | cut -d, -f4`
iwconfig $iface essid $SSID 2>/dev/null
sleep 1
NEWMAC=`iwconfig wlan0 2>/dev/null | grep "Access Point" | sed -n -e 's/.*Point: /\1/p'`
if [ $NEWMAC = $MAC ]; then
echo $NAME
exit 0
fi
done
Remember to chmod 755 then file after you create it. This script tries out each SSID identified in the interfaces file, in order, and returns the name of the first match. If you want to manually run this file, include the interface name on the command line like such: ./findwifi.sh wlan0