Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2007, 11:49 PM   #31
gillez
Junior Member
gillez began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2007
Device: iLiad
How to uninstalll unbrickable?

Dear,

I'm a newbie of iLiad, and thus, I found that the unbrickable package does not help me so much.

How can I uninstall the unbrickable?

Thanks.
gillez is offline   Reply With Quote
Old 10-11-2007, 04:16 AM   #32
ebookie
Entrepreneur
ebookie began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Oct 2007
Location: California
Device: Iliad v2
So thoughts on how to create an 'ssh on / ssh off' item in the Device Manager content list? I was thinking I could just create script that tested for the existence of S99-unbrick and remove it for off and link to the scripts for 'on'. With changes to the XML files as well to show what it will do if you click it. Thoughts?

--Chuck
ebookie is offline   Reply With Quote
Advert
Old 10-11-2007, 05:10 AM   #33
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,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
Question:

Why would you want to NOT have the unbrickable package? You won't notice it's there anyway and it does not do any harm to have it in my opinion...
CommanderROR is offline   Reply With Quote
Old 10-11-2007, 07:23 AM   #34
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by gillez View Post
Dear,

I'm a newbie of iLiad, and thus, I found that the unbrickable package does not help me so much.

How can I uninstall the unbrickable?

Thanks.
I'm not sure what you're expecting from it. It does nothing at all in normal use of the machine - it's completely transparent and invisible to you. It only comes into play if you somehow corrupt your iLiad's file system or delete something vital. In that circumstance, if you have it installed, you have a way of bringing your iLiad back to life; without it, you'll have no choice but to send your iLiad back to iRex to be repaired, and be without it for weeks, at a minimum.

Now you tell me, is it sensible to have it installed, or not?
HarryT is offline   Reply With Quote
Old 10-11-2007, 07:47 AM   #35
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by HarryT View Post
I'm not sure what you're expecting from it. It does nothing at all in normal use of the machine - it's completely transparent and invisible to you. It only comes into play if you somehow corrupt your iLiad's file system or delete something vital. In that circumstance, if you have it installed, you have a way of bringing your iLiad back to life; without it, you'll have no choice but to send your iLiad back to iRex to be repaired, and be without it for weeks, at a minimum.

Now you tell me, is it sensible to have it installed, or not?
Actually, I think you may be cofusing this package, with the one provided by iRex.

The package this thread is talking about, setups up remote access to your iLiad so that you can access the filesystem from your PC to make changes or fix problems if something goes wrong.

The package that's included in the Shell access for 2.11 gives you the ability to reflash your iLiad from a compactflash card in the event of a software issue.

The later is more useful to the average user, and neither package conflicts with one another. However, the package in this tread can cause the battery to drain a little faster because wireless lan and an extra pocesss is running all of the time.
Adam B. is offline   Reply With Quote
Advert
Old 10-11-2007, 02:54 PM   #36
jharker
Developer
jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.
 
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Yes, I agree with Adam. It used to be that the 'unbrickable' package was the only way to recover if something went wrong with your iLiad. Now that iRex includes the 'reflash from CF' feature with shell access, the 'unbrickable' package isn't necessary for that.

Instead, 'unbrickable' is a very easy way to access the iLiad's filesystem by logging on via SSH. Once 'unbrickable' is installed, every time your iLiad boots it will turn on wired (or wireless?) networking and start an SSH server. If you plug into your network, you'll be able to log in as root over SSH.

The drawback to this is that having wired/wireless networking running draws some extra power. Since 'unbrickable' is set to run them automatically at boot, you have to turn them off manually if you want to save power.

In my opinion, if you're not a developer, there's no reason to install 'unbrickable'. If you're in a position to mess up your iLiad, then you already have the iRex reflash tool installed anyway.
jharker is offline   Reply With Quote
Old 10-12-2007, 02:32 AM   #37
ebookie
Entrepreneur
ebookie began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Oct 2007
Location: California
Device: Iliad v2
Yes, with the security issue addressed all would be good

So if I create a manifest file in the display manager area it seems like I can add the ability to set / reset SSH access. However I can't find any documentation on how to do the device manager UI thing. Anyone have any pointers to an example?

Also wish there was a way to detect light from the front of the Iliad, then you could create a "printer" by putting it into a copy machine and telling the copy machine to make 10 or 20 copies (depending on document length) and each time the Iliad "saw" the light go by it could change to the next page.

--Chuck
ebookie is offline   Reply With Quote
Old 10-12-2007, 02:41 AM   #38
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Adam B. View Post
Actually, I think you may be cofusing this package, with the one provided by iRex.

The package this thread is talking about, setups up remote access to your iLiad so that you can access the filesystem from your PC to make changes or fix problems if something goes wrong.

The package that's included in the Shell access for 2.11 gives you the ability to reflash your iLiad from a compactflash card in the event of a software issue.

The later is more useful to the average user, and neither package conflicts with one another. However, the package in this tread can cause the battery to drain a little faster because wireless lan and an extra pocesss is running all of the time.
Ah, my mistake; thank you for the correction. I was indeed talking about the iRex shell access package. I didn't know that there WAS another!

Thanks for putting me right, and apologies for the confusion.
HarryT is offline   Reply With Quote
Old 01-23-2008, 04:55 AM   #39
ragdoll
Connoisseur
ragdoll began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Oct 2007
Device: iRex iLiad V1
Stopping unbrickable, removing fom start

Calling
ifdown eth0
will completely unload unbrickable?
Ethernet will still be available, for example, for updating?
Don't I have to kill dropbear to save the most possible memory ?

Finally, can I remove unbrickable from the start process?
If I do so, is it possible to create a script which starts unbrickable after the iLiad has booted?

Many questions, hope to have a lot of answers.
ragdoll is offline   Reply With Quote
Old 01-23-2008, 11:17 PM   #40
serge
Enthusiast
serge has learned how to buy an e-book online
 
Posts: 27
Karma: 80
Join Date: Dec 2007
Device: iRex iLiad
There is an older thread about this.

A good description of how it works: Changing or adding system start-up services

These are the files unbrickable places in the system:
/usr/bin/dropbear
/usr/bin/scp
/etc/dropbear/
/etc/dropbear/dropbear_dsa_host_key
/etc/dropbear/dropbear_dss_host_key
/etc/network/interfaces
/etc/init.d/dropbear
/etc/rc5.d/S98dropbear
/etc/passwd

If you want to get rid of it, just delete all of them but /etc/network/interfaces and /etc/passwd.

If you want iLiad to stop starting the daemon at start-up, just delete the symbolic link /etc/rc5.d/S98dropbear , which points to the script, /etc/init.d/dropbear , that starts/stops it.
Then
/etc/init.d/dropbear start
to start, and
/etc/init.d/dropbear stop
to stop.
Or create .sh files as described in the thread I mentioned above.

Last edited by serge; 01-23-2008 at 11:27 PM.
serge is offline   Reply With Quote
Old 01-26-2008, 10:44 AM   #41
ragdoll
Connoisseur
ragdoll began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Oct 2007
Device: iRex iLiad V1
Quote:
Originally Posted by serge View Post
There is an older thread about this.

A good description of how it works: Changing or adding system start-up services

These are the files unbrickable places in the system:
/usr/bin/dropbear
/usr/bin/scp
/etc/dropbear/
/etc/dropbear/dropbear_dsa_host_key
/etc/dropbear/dropbear_dss_host_key
/etc/network/interfaces
/etc/init.d/dropbear
/etc/rc5.d/S98dropbear
/etc/passwd

If you want to get rid of it, just delete all of them but /etc/network/interfaces and /etc/passwd.

If you want iLiad to stop starting the daemon at start-up, just delete the symbolic link /etc/rc5.d/S98dropbear , which points to the script, /etc/init.d/dropbear , that starts/stops it.
Then
/etc/init.d/dropbear start
to start, and
/etc/init.d/dropbear stop
to stop.
Or create .sh files as described in the thread I mentioned above.
Thank you, great answer, it works.
But I have another question:
eth0 is always on, is dropbear that starts it or is there a script starting it which comes with the unbrickable installation?
It is a problem for me because in the third case I have to know how to prevent eth0 from turning on. I don't want to do
ifdown eth0
every time I turn on th iLiad.
ragdoll is offline   Reply With Quote
Old 01-26-2008, 01:52 PM   #42
serge
Enthusiast
serge has learned how to buy an e-book online
 
Posts: 27
Karma: 80
Join Date: Dec 2007
Device: iRex iLiad
In
/etc/network/interfaces
delete the following text:
---
auto eth0
iface eth0 inet dhcp
...
pre-up modprobe smc91x
post-down rmmod smc91x
---
but leave
---
auto lo
iface lo inet loopback
---

Then, in order to start LAN (eth0) use:
wired.sh start
and to stop it:
wired.sh stop

After you have edited /etc/network/interfaces ,
ifup/ifdown eth0
will no longer work.
serge is offline   Reply With Quote
Old 01-28-2008, 05:24 AM   #43
fodiator
Member
fodiator began at the beginning.
 
fodiator's Avatar
 
Posts: 21
Karma: 12
Join Date: Sep 2007
Device: Irex ILiad
network down

Quote:
Originally Posted by Adam B. View Post
I've gone ahead and set it up into an installable ipkg file. Simply unzip, copy and run.
Hi, I have installed Adam's package and since then I am no longer able to establish any network connection with my Iliad (LAN & Wlan). Needless to say that shh is impossible either. Any idea how to solve this?

Regards
Harald
fodiator is offline   Reply With Quote
Old 01-28-2008, 06:46 AM   #44
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
"/usr/bin/wired.sh" and "/usr/bin/wireless.sh" are two useful script to manage internet connection. The following is the usage:

Quote:
wiredUsage()
{
echo "Usage:"
echo " $0 stop"
echo " $0 start [dhcp]"
echo " $0 start static <ip-address> <netmask> <broadcast-addr> <gateway-addr> <nameserver-addr>"
echo " $0 mac"
echo "Note: NFS safe"
exit 1
}
Quote:
wirelessUsage()
{
echo "Usage:"
echo " $0 stop"
echo " $0 start <ssid> [enc <wepkey> | wpa <psk>]"
echo " $0 scan [<ssid>]"
echo "Note: always dhcp"
exit 1
}
for wap, the <psk> is the plain phrase you set, such as "password", not encrypted key.
ericshliao is offline   Reply With Quote
Old 01-28-2008, 09:07 AM   #45
fodiator
Member
fodiator began at the beginning.
 
fodiator's Avatar
 
Posts: 21
Karma: 12
Join Date: Sep 2007
Device: Irex ILiad
Quote:
Originally Posted by ericshliao View Post
"/usr/bin/wired.sh" and "/usr/bin/wireless.sh" are two useful script to manage internet connection.
How do I access those scripts without network connection to establish ssh?

Regards
fodiator is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad removing unbrickable from boot ragdoll iRex Developer's Corner 5 01-25-2010 03:48 AM
iLiad How to make iliad into a SSH server and connect with iLiad tudou331100 iRex Developer's Corner 21 02-06-2009 05:35 AM
How to uninstall unbrickable ragdoll iRex 2 01-22-2008 03:20 PM
iLiad "Extra"-Unbrickable -- A supplement jharker iRex Developer's Corner 2 05-04-2007 12:17 PM
iLiad Unbrickable Developer Iliad Idea scotty1024 iRex Developer's Corner 12 12-24-2006 06:15 AM


All times are GMT -4. The time now is 06:37 PM.


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