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

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-25-2006, 03:15 AM   #1
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Smile Userhack v2

I've modified the user hack from Ali a little bit:
  • The browser from R2D2 is included
  • The Wireless script isn't started directly anymore
  • It starts the script user_wlan.sh which can be modified to include your SSID and WEP-Key
  • The PDF includes a button to chmod the user_wlan.sh

Have fun

Edit: Added chmod
Attached Files
File Type: zip userhack2.zip (16.4 KB, 347 views)

Last edited by Tscherno; 07-25-2006 at 03:43 AM.
Tscherno is offline   Reply With Quote
Old 07-25-2006, 03:20 AM   #2
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,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
Is that really working? Even if the user_wlan.sh is not set +x?

And you need an "enc" before the WEP key, and the script name for wireless is wireless.sh
So it should be something like this:
Code:
  #Enter your values below. Wep-Key is optional
  ssid="INSECURE"
  wep_key=""
  
  if ["$wep_key" = ""] 
     then /usr/bin/wireless.sh start $ssid
     else /usr/bin/wireless.sh start $ssid enc $wep_key
  fi

Last edited by tribble; 07-25-2006 at 03:26 AM.
tribble is offline   Reply With Quote
Old 07-25-2006, 03:28 AM   #3
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Quote:
Originally Posted by tribble
Is that really working? Even if the user_wlan.sh is not set +x?
Damn forgot this. I couldn't try it - i'm at work at the moment. Should be possible to chmod it from the pdf, should'nt it?

Quote:
Originally Posted by tribble
And you need an "enc" before the WEP key.
So it should be something like this:
Code:
 #Enter your values below. Wep-Key is optional
 ssid="INSECURE"
 wep_key=""
 
 if ["$wep_key" = ""] 
    then /usr/bin/wired.sh start $ssid
    else /usr/bin/wired.sh start $ssid enc $wep_key
 fi
You are right - i'll change it.
Tscherno is offline   Reply With Quote
Old 07-25-2006, 03:32 AM   #4
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,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
Quote:
Originally Posted by Tscherno
Damn forgot this. I couldn't try it - i'm at work at the moment. Should be possible to chmod it from the pdf, should'nt it?
I think so. As long as we run as root
tribble is offline   Reply With Quote
Old 07-25-2006, 03:43 AM   #5
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Ok i changed the files. Please try.
Tscherno is offline   Reply With Quote
Old 07-25-2006, 03:46 AM   #6
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
you read about the "improved security" fix in v2.5?

i think i know what this might mean. :\
DHer is offline   Reply With Quote
Old 07-25-2006, 03:47 AM   #7
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Quote:
Originally Posted by DHer
you read about the "improved security" fix in v2.5?

i think i know what this might mean. :\
Where do you read about this?
Tscherno is offline   Reply With Quote
Old 07-25-2006, 03:53 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,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
Quote:
Originally Posted by Tscherno
Where do you read about this?
Irex Homepage.
They say the OS 2.5 is due today and it mentions improved security.
tribble is offline   Reply With Quote
Old 07-25-2006, 03:53 AM   #9
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
in "my iliad has arrived..." is a list with the v2.5 changelog


And i wanted to try setting up a toolchain next week

I really hope improved security just means that we can set the admin password ourselves so we can use it in insecure networks. But i don't believe it...
DHer is offline   Reply With Quote
Old 07-25-2006, 03:58 AM   #10
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,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
Quote:
Originally Posted by DHer
in "my iliad has arrived..." is a list with the v2.5 changelog


And i wanted to try setting up a toolchain next week

I really hope improved security just means that we can set the admin password ourselves so we can use it in insecure networks. But i don't believe it...
Why dont we just add another user? And make him able to login vis ssh and start the wired.sh script? Or do you think the update procedure is so etensive, that they change all files?
tribble is offline   Reply With Quote
Old 07-25-2006, 04:00 AM   #11
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Quote:
Originally Posted by tribble
Why dont we just add another user? And make him able to login vis ssh and start the wired.sh script? Or do you think the update procedure is so etensive, that they change all files?
I think they simply deliver a new passwd file...
Tscherno is offline   Reply With Quote
Old 07-25-2006, 05:26 AM   #12
arivero
Guru
arivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it is
 
arivero's Avatar
 
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
Quote:
Originally Posted by Tscherno
I think they simply deliver a new passwd file...
I hope so. Then it should still be possible to launch things from xpdf, with explicit user authorisation.

In fact a non guessable root passwort is a real need. A local network can have worms.
arivero is offline   Reply With Quote
Old 07-25-2006, 05:41 AM   #13
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
thus removing our new user.

nicht gut.
DHer is offline   Reply With Quote
Old 07-25-2006, 05:51 AM   #14
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Yes - i think the best way is really to create an startup script, which creates an user, starts sshd and networking...
Tscherno is offline   Reply With Quote
Old 07-25-2006, 05:57 AM   #15
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
HOLY F***ING S***

i bricked my iliad.

i installed netcat (no problem), created a startup script containing the line to make netcat listen to a port and provide a shell (worked) and named it S25something.

The only thing i forgot: networking is enabled later

now the listening netcat blocks the iliad boot process. And i can't use netcat because the network interface is down.

damn.

now i'll be the one to figure out how friendly the iRex user support is. :\
DHer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 05:38 PM.


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