![]() |
2011-03-29
, 08:53
|
|
Posts: 2,050 |
Thanked: 1,425 times |
Joined on Dec 2009
@ Bucharest
|
#1162
|
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?
![]() |
2011-03-31
, 05:38
|
|
Posts: 800 |
Thanked: 957 times |
Joined on Sep 2010
@ India
|
#1163
|
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?
The Following 2 Users Say Thank You to ejasmudar For This Useful Post: | ||
![]() |
2011-04-10
, 07:46
|
|
Posts: 165 |
Thanked: 18 times |
Joined on Jun 2010
|
#1164
|
![]() |
2011-04-10
, 08:49
|
Posts: 26 |
Thanked: 3 times |
Joined on Apr 2010
|
#1165
|
![]() |
2011-04-10
, 17:27
|
|
Posts: 165 |
Thanked: 18 times |
Joined on Jun 2010
|
#1166
|
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
![]() |
2011-04-10
, 21:50
|
|
Posts: 623 |
Thanked: 289 times |
Joined on Jan 2010
@ UK
|
#1167
|
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
echo "iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//"
ESSID=`echo "iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//"`;if [ "$ESSID" == "" ];then echo "na";else echo $ESSID;fi
The Following User Says Thank You to JonWW For This Useful Post: | ||
![]() |
2011-04-11
, 07:38
|
|
Posts: 165 |
Thanked: 18 times |
Joined on Jun 2010
|
#1168
|
moudy91 this script will give you your SSID
or if you want to show some kind of disconnected message use this scriptCode:echo "iwconfig wlan0"|root|grep ESSID|sed "s/.*ESSID:\"//;s/\".*//"change "na" for what ever disconnected message you want.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.
![]() |
2011-04-11
, 08:14
|
|
Posts: 623 |
Thanked: 289 times |
Joined on Jan 2010
@ UK
|
#1169
|
That script didn't work when am connected to any wifi the ssid don't show up.
![]() |
2011-04-11
, 08:16
|
|
Posts: 165 |
Thanked: 18 times |
Joined on Jun 2010
|
#1170
|
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?