![]() |
a simple talking IP address utility for flite
1 Attachment(s)
- quickly knowing what IP address has been assigned to your computer makes life a bit easier, especially when using ssh, ftp, etc.
- it bothers me that the graphical network connection tools (under either os2007 or os2008 - correct me if i'm wrong) do not display the assigned IP address (edit: the info *is* available; see following post) - i found myself having to open a terminal then use /sbin/ifconfig to get this information - not an insurmountable problem, but still slightly annoying... - one utility that does report the assigned IP is WifiInfo, which also provides an adjustable polling interval and signal strength meter... - however, i just need the IP address, so here's a tiny script (don't forget to rename to IPTalk.sh) that speaks your N8x0's assigned IP address using ifconfig, grep, cut, and awk (all in the OEM root filesystem), and the flite artificial speech package, which you'll need to download and install... - i also created a short desktop menu item, named IPTalk.desktop, which like all others, is stored under /usr/share/applications/hildon: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=IPTalk Exec=/home/user/apps/IPTalk.sh Icon=qgn_list_gene_default_app - note that the script is stored under /home/user/apps as IPTalk.sh hope this helps someone... happy hacking! |
Re: a simple talking IP address utility for flite
Thanks for providing I talking option, thats a good feature usage for flite :)
Please note that I was recently reminded that there is a way to check the IP in OS2007/2008. You open Settings, Connection manager, Then from within the Connection Manager window, Connection manager, Internet Connection, IP Address And hey presto, you know the assigned IP. |
Re: a simple talking IP address utility for flite
Quote:
|
Re: a simple talking IP address utility for flite
cool idea, i got it to work except it reads out my hamachi IP and it says five twenty four hundred dot forty two... instead of five dot two four dot... is it possible to modify to insert a space between the digits and read each IP like " wan01 one two seven dot.... ham oh one five dot.
I may give it shot myself if i get to work i'll post it right away. Also i forgot to set execute permissions the first time and it closed all my applets. |
Re: a simple talking IP address utility for flite
- perhaps grab the output of ifconfig for a specific interface?
- e.g., /sbin/ifconfig eth0 or /sbin/ifconfig wlan0 (i'm not sure what interface is used for hamachi, as i've never used it) hth! |
Re: a simple talking IP address utility for flite
Didn't know flite provided a command-line interface. I shall have to install it.
This app is cool, though not really useful for me. But I think I'll find uses for knowing how to use flite. Thanks! |
Re: a simple talking IP address utility for flite
1 Attachment(s)
OK, check this out, it gets all interfaces, and says "dot" instead of saying (or not saying, sometimes) "point".
Right now, it does skip loopback. But, for testing (because lo is the only other interface I have), I used the line that's now commented out. It outputs stuff like this to flite: Code:
Interface lo I P is :127 dot 0 dot 0 dot 1 Maybe throw in Code:
|sed s/wlan/w-lan/ OK, just added it. ;) Edit: new enhancement, it sounds better with a comma after the interface name. So here's the new one. |
Re: a simple talking IP address utility for flite
can an IP address (and DNS) be MANUALLY assigned to an N800? How if so?
Thanks |
Re: a simple talking IP address utility for flite
yes... click the 'Advanced' button in the last screen of the Connection wizard (before you click 'Finish') when you create a connection... you will then see the Proxies, IP Addresses, and Other tabs... choose IP Addresses...
hth! |
Re: a simple talking IP address utility for flite
Doh! Always something to learn. Of course....Thanks
|
All times are GMT. The time now is 16:13. |
vBulletin® Version 3.8.8