MobileRead Forums
Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Devices > iRex iLiad > iLiad Developer's Corner

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

iLiad Developer's Corner For iLiad development discussion and planning

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-20-2006, 01:47 PM   #1
ali
Addict
ali doesn't litterali doesn't litter
 
ali's Avatar
 
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
Hacks for Users

This is a first attempt for non-intrusive Iliad hack for the geek-but-non-techhead user.

Users: Please test it. You could browse the web.

Developers: Please test it. I have no connectivity right now. If it doesn't work, fix it. If it works, extend it.

The zip contains a hacks.tex that is just needed to extend this stuff.


Usage:
  1. Copy hacks.pdf and addressbar.html to the iliad
  2. "Read" hacks.pdf to enable permanent networking. (Don't forget your Iliad is now wide open for intruders!)
  3. Use addressbar.html to begin browsing.


The addressbar was stolen from schestowitz.com. It's not by me. Credit belongs to whoever wrote it.

Please tell me if it works.

EDIT: This is an old thread, referring to the outdated Iliad software release 2.4. The hack doesn't work anymore.
Attached Files
File Type: zip userhack.zip (11.7 KB, 715 views)

Last edited by ali; 09-18-2006 at 04:37 AM.
ali is offline   Reply With Quote
Old 07-21-2006, 05:35 AM   #2
ali
Addict
ali doesn't litterali doesn't litter
 
ali's Avatar
 
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
Ok, I tried it myself (where is everyone?): It works!

I could start networking, and the addresssbar works, too. See evidence in the attachment.
Attached Thumbnails
Click image for larger version

Name:	img_1900.jpg
Views:	1626
Size:	839.7 KB
ID:	1256  
ali is offline   Reply With Quote
Old 07-21-2006, 05:40 AM   #3
TadW
Uebermensch
TadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipse
 
TadW's Avatar
 
Posts: 2,476
Karma: 8172
Join Date: Jul 2003
Location: Italy
Device: Kindle
ali, it seems like you did an impressive job here. Could you just explain for me layman what exactly this hack does?
TadW is offline   Reply With Quote
Old 07-21-2006, 05:51 AM   #4
ali
Addict
ali doesn't litterali doesn't litter
 
ali's Avatar
 
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
Quote:
Originally Posted by TadW
ali, it seems like you did an impressive job here. Could you just explain for me layman what exactly this hack does?
Um, is the question "what's it good for" or "how does it work"?

What's it good for: You can browse the web. The hack enables networking permanently, the html file provides an address bar where you can enter www.mobileread.com, or whatever.

How does it work: The pdf contains links to the Iliad's internal programs to start networking. Other than with the iDS update thing, the network will not be disabled after a minute, but stay active until you reboot. Then, the html viewer can display online websites. Because it has no addressbar to enter addresses, there's a html file that simulates one.

Question answered?
ali is offline   Reply With Quote
Old 07-21-2006, 06:00 AM   #5
TadW
Uebermensch
TadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipseTadW can illuminate an eclipse
 
TadW's Avatar
 
Posts: 2,476
Karma: 8172
Join Date: Jul 2003
Location: Italy
Device: Kindle
Yes

Sorry I wasn't sure what this did; I don't have the iRex (yet), so it's sometimes difficult to follow. So before using this hack, networking stayed active for only a minute or so, and browsing external sites wasn't really possible (without an addressbar)?
TadW is offline   Reply With Quote
Old 07-21-2006, 06:13 AM   #6
arivero
Guru
arivero doesn't litterarivero doesn't litter
 
arivero's Avatar
 
Posts: 607
Karma: 197
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
TadW, yes, the network was active only during update from iRex iDs site. Check the more technical theads for evolution of the hack.

Some other ideas for the browser were deployed by R2D2 at http://www.mobileread.com/forums/sho...&postcount=270.
arivero is offline   Reply With Quote
Old 07-21-2006, 08:32 AM   #7
R2D2
Mad Scientist
R2D2 doesn't litterR2D2 doesn't litterR2D2 doesn't litter
 
R2D2's Avatar
 
Posts: 294
Karma: 242
Join Date: May 2006
Location: Germany
Device: Zaurus, HTCMagician, iLiad
I updated the frameset with a textfield to input an url without "http://" at the beginning.
Attached Thumbnails
Click image for larger version

Name:	browser.gif
Views:	612
Size:	6.5 KB
ID:	1270  
Attached Files
File Type: zip Browser.zip (3.4 KB, 386 views)

Last edited by R2D2; 07-21-2006 at 02:39 PM.
R2D2 is offline   Reply With Quote
Old 07-21-2006, 08:45 AM   #8
tribble
iLiad Maniac
tribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it is
 
tribble's Avatar
 
Posts: 1,380
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: iRex iLiad v2 / CyBook / DR1000S / BeBook / PRS505 / PRS500 (broken)
anyone know if creating a pdf form to start WLAN with ssid and key is possible?
tribble is offline   Reply With Quote
Old 07-21-2006, 09:37 AM   #9
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 103
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505
Quote:
Originally Posted by tribble
anyone know if creating a pdf form to start WLAN with ssid and key is possible?
Should be. But everyone has to make his own PDF to start. Or is it possible with an PDF-Form?!?

The Wireless-Script allows it:
Quote:
wirelessUsage()
{
echo "Usage:"
echo " $0 stop"
echo " $0 start <ssid> [enc <wepkey>]"
echo " $0 scan [<ssid>]"
echo "Note: always dhcp"
exit $EXIT_ERROR
}
Tscherno is offline   Reply With Quote
Old 07-21-2006, 11:19 AM   #10
CommanderROR
eink fanatic
CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.
 
CommanderROR's Avatar
 
Posts: 2,005
Karma: 4900
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
WOW!

That was fast and impressive work!

Somebody from iRex should give you money for this...:-)

But this also brings me back to something else...I asked a while ago. but didn't really get a useful answer...

Can a variant of this procedure be used to switch off the WLAN completely? I don't mean permanently, only for the time between the activation of the hack and the rebooting of the device...
Thanks.
CommanderROR is offline   Reply With Quote
Old 07-21-2006, 11:40 AM   #11
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 260
Karma: 156
Join Date: Jul 2006
Device: iliad
nope, not really, unfortunately.

There is already a line in wireless.sh stop which should power down the wlan unit.

The only problem is: it doesn't.

I think this is something iRex has to fix, we've got no real chance to do it.
DHer is offline   Reply With Quote
Old 07-21-2006, 11:50 AM   #12
tribble
iLiad Maniac
tribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it is
 
tribble's Avatar
 
Posts: 1,380
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: iRex iLiad v2 / CyBook / DR1000S / BeBook / PRS505 / PRS500 (broken)
Quote:
Originally Posted by Tscherno
Should be. But everyone has to make his own PDF to start. Or is it possible with an PDF-Form?!?
I meant using a pdf form, so anyone can use a generic pdf file we make. can xpdf do forms? can we make a df save button, so it remembers form contents?

And for the wlan, i made a shell scipt and put in an eba file like ali suggested. works fine, but only for the more experienced i think.
tribble is offline   Reply With Quote
Old 07-21-2006, 11:57 AM   #13
arivero
Guru
arivero doesn't litterarivero doesn't litter
 
arivero's Avatar
 
Posts: 607
Karma: 197
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
Quote:
Originally Posted by tribble
I meant using a pdf form, so anyone can use a generic pdf file we make. can xpdf do forms? can we make a df save button, so it remembers form contents?
xpdf should be able to visualize forms, and scribble or pdflatex can make them. But I have not found yet how entered data can be used to modify another part of the same pdf. All the examples are about sending the data somewhere.

Of course adventureous advanced users could first apply the patch from ali http://www.mobileread.com/forums/sho...4&postcount=38 and then forget about pdf holing, getting bash script execution directly. But such solution is a patch... it breaks warranty.
arivero is offline   Reply With Quote
Old 07-21-2006, 12:08 PM   #14
Riocaz
Fulfilled but not by iRex
Riocaz will become famous soon enoughRiocaz will become famous soon enoughRiocaz will become famous soon enoughRiocaz will become famous soon enoughRiocaz will become famous soon enoughRiocaz will become famous soon enough
 
Posts: 926
Karma: 542
Join Date: May 2006
Location: London
Device: iRex iLiad / PRS-505 (blue) / PRS-600 (Black)
I'm confused...

Quote:
Originally Posted by DHer
nope, not really, unfortunately.

There is already a line in wireless.sh stop which should power down the wlan unit.

The only problem is: it doesn't.

I think this is something iRex has to fix, we've got no real chance to do it.
Quote:
Originally Posted by ali
wireless.sh stop contains "iwpriv $wifiIf deepsleep 1". So I assume either turning off the wifi is working, or it is currently impossible because deepsleep isn't implemented in the kernel module.
So does the wifi unit power down or not? Or am I misunderstanding one them?
__________________
--
Lee Donovan - riocaz@f-t-l.net
Growing old is mandatory; growing up is optional.

Last edited by Riocaz; 07-21-2006 at 12:20 PM.
Riocaz is offline   Reply With Quote
Old 07-21-2006, 12:12 PM   #15
tribble
iLiad Maniac
tribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it is
 
tribble's Avatar
 
Posts: 1,380
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: iRex iLiad v2 / CyBook / DR1000S / BeBook / PRS505 / PRS500 (broken)
Quote:
Originally Posted by Riocaz
I'm confused...

So does the wifi unit power down or not? Or am I misunderstanding one of the questions?
i cant say for sure, but my guess is, they try to turn it off, but it doesnt.

does anyone know, how to determine for sure? can a wlan sniffer detect the card? can you check it in proc somewhere? i just dont know enough about hardware
tribble is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read O'Reilly Hacks Series books using Google hack Brian Lounge 12 02-19-2009 04:17 PM
O'Reilly's 'Palm and Treo Hacks' pre-order with 34% discount Colin Dunstan Handhelds and Smartphones 0 07-26-2005 09:22 PM


All times are GMT -4. The time now is 02:15 PM.


MobileRead.com is a privately owned, operated and funded community.