View Single Post
Old 01-28-2008, 09:40 AM   #46
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
A dropbear package for installation on memory card

Here is a package I prepared for my own convenience. Maybe it will save some peopel's precious time. This package won't copy any file to your iLiad. All your have to do is change root password.

prerequisite:
1. Have installed developer's package.
2. Have a mrxvt in your memory card.
3. Your router offers DHCP service.

Install:
1. Unzip the attached file to any place in your memory card. After unzipped, a directory "sshd" should emerge.
2. In mrxvt, execute "passwd" to change your root password. There is no old password. Just type your new password twice.
3. You can run dropbear with wired connection now. In your contentlister, go to "sshd", tap on "Enable SSH - wired". If everything goes well, you can connect iLiad from your PC using PuTTY. If you are not sure the ip address of Iliad, type "ifconfig" in mrxvt. Login with root and password.
4. For wireless connection, you have to modify "sshd\ssh-wlan-enable \run.sh" in the package. Find the line:
Quote:
/usr/bin/wireless.sh start YOUR_SSID wpa YOUR_Pre_Shared_Phrase
Replace "YOUR_SSID" with the ssid you set on your wireless AP.
For wpa, just replace "YOUR_Pre_Shared_Phrase" with plain password text (not hex code).
For wep, replace "wpa" with "wep", and replace YOUR_Pre_Shared_Phrase" with hex code.
Then your can run dropbear with wireless connection.
5. To stop dropbear and wired/wireless connection, tap on "Disable SSH" in your contentlist.

Note:
I only tested it with wireless wpa connection. For wep users, please test it yourself. I didn't test it with wired connection. But I think it should be working fine with wired connection.


Edited:
Although scp is included in my package, I didn't set PATH to it. scp cannot be called before PATH is set. If you use WinSCP, you can set PATH in command toolbar in WinSCP after connect to iLiad using ssh.
Attached Files
File Type: zip sshd.zip (102.7 KB, 813 views)

Last edited by ericshliao; 02-05-2008 at 07:13 PM.
ericshliao is offline   Reply With Quote