![]() |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Hello everyone,
I would like to use the Queen Beecon to display in my desktop some text extracted from a webpage (It changes everyday, but it is displayed in the same place) Seeing all the things you do know, I imagine it is fairly simple, but I have no clue on how to do it. Could anyone give me a hand? |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
In any case, you need a script. Add wget and cat the result, maybe to grep so you can find what you want. Someone better at Linux tools can help you cut the text you want. |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
This script can then be called easily from QBW. For reference, check this script that i made that reads match scores from yahoo's site and displays the required details. In the source code, i have also mentioned a link to a tutorial |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
hi guys i need to have a script to put in in the qbw to show the network name ( SSID ) when am connect to the wifi connection, can that be found or be created.
i don't want the personal ip widget i prefer the command in the qbw. tanks |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
I think you'd need root access/sudo to get that info, but 'iwconfig | grep wlan0' will give you the line that you need.
I haven't used qbw before, so I'm not sure if it accepts this command, but to take just ssid out of that line, you'd need to use something like, "cut 34,*". You would need to replace * with the length of the SSID though, so you if you don't know the length of the name, it'll probably look ugly EDIT: 'iwconfig wlan0 | grep ESSID' would do the same and not have to query the other interfaces |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
i put 'iwconfig wlan0 | grep ESSID in the xterm when am root but it reply me iwconfig not found. if their anyway else even in xterm to access it ?? |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
Code:
echo "iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//" Code:
ESSID=`echo "iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//"`;if [ "$ESSID" == "" ];then echo "na";else echo $ESSID;fi Hope this is what you are after. |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
first i want to say thank you for helping me. second echo "iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//" That script didn't work when am connected to any wifi the ssid don't show up. all i did copy and paste it in qbw and nothing happens. thank you again, do you think something wrong with the script? |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
Do you have "rootsh" installed? as it cannot work wthout it. |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
If you are root, then you don't have iwtool installed, in which case, run 'apt-get install iw' as root. |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Actually...forget about running it as root, try changing the path to /sbin/iwconfig..
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Use Jww's command as it's a lot neater(I could never wrap my head around sed ^^) but it should look like...
Code:
echo "/sbin/iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//" |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
'apt-get install iw' then
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
moudy91 please type in XTerm
Code:
echo "/sbin/iwconfig wlan0"|root You should get something like this: Code:
wlan0 IEEE 802.11bg ESSID:"NETGEAR-07-B1-D6" |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
yeah, once you have the iw tools installed, you *should* have access to iwconfig
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
after installing iw
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
and when i go to xterm and double click on the Tab just i see iw their is no iwconfig |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
What does 'ls /sbin | grep iw' return?
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
try apt-get install wireless-tools then
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Do have all of the extras repositories like devel and testing?
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Run 'apt-get update' and then try installing wireless-tools again
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
but first how can i uninstall the iw that i did install it before so i will refresh everything from the beginning, BUT the iw could not be found in the app manager |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
With 'apt-get --purge remove iw'
Then it seems wireless-tools is kept in the developer tools repository, so take a look at http://wiki.maemo.org/Documentation/...5#Installation for instructions on enabling this repository. Once that's done, apt-get update again and then apt-get install wireless-tools |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
so i have to wait till they enable this repository. what about the iwconfig?? |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
No probs, and no, you need open your package manager and add the freemantle tools repository to it using the instructions in the link I gave earlier.
Once that's been added, apt-get will be able to find the wireless-tools package, which contains iwconfig. |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
thank you again |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
okay cool, once it's added, close the application manager and type 'apt-get update' and then 'apt-get install wireless-tools' into a console
|
All times are GMT. The time now is 13:53. |
vBulletin® Version 3.8.8