Quote:
Originally Posted by Mike Kostousov
I also get dropbear worked. With public key
|
YESSS!!! I am in! I mean, I have now the
Nokia 770 and the iLiad linked via an Ad-Hoc wireless connection, and I can enter with dropbear as you suggested!
The AdHoc is straightforward but wired.sh does not provide it. So instead of your simple
Code:
#!/bin/sh
sleep 30
/usr/bin/wired.sh start dhcp
sleep 5
/tmp/dropbear -d /tmp/dropbear_dss_host_key -r /tmp/dropbear_rsa_host_key
... I am forced to use a full launch
Code:
#!/bin/sh
sleep 50
ethIf=wlan0
ethDrv=cf8385
ethDrv2=cfio
address=10.1.1.2
netmask=255.0.0.0
modprobe $ethDrv 2>/dev/null
iwconfig $ethIf mode Ad-Hoc
iwconfig $ethIf essid "iLiad"
ifconfig $ethIf > /dev/null
ifconfig $ethIf up address $address netmask $netmask
route add default gw 10.0.0.60
sleep 3
echo `date` > /opt/content/books/dbdate.txt
iwconfig > /opt/content/books/iwconfig.txt
ifconfig > /opt/content/books/ifconfig.txt
route > /opt/content/books/routes.txt
sleep 5
/tmp/dropbear -d /tmp/dropbear_dss_host_key -r /tmp/dropbear_rsa_host_key
Note I have put a delay of 50 seconds. This is because I need time to abort the "searching" well before starting to bring up the wireless interface. So I press the button, I abort after 10 seconds going to the main menu of the iLiad, I wait the other 40 seconds, and I can connect. In the Nokia it is even easier, just create an adhoc connection using the menus, and specifying the same netmask blablablah... I am starting the Nokia before the iLiad, so I can check that iwconfig.txt gets to hang from the same cell.
The Xwindows access is also fine. I have gnuplot in the nokia, so I do export DISPLAY=10.1.1.2:0; gnuplot and then for instance plot sin(x) and yes, it appears (with manual updating of the screen, well). Fine. I am going to get LaTex in the Nokia and I can see the output in the iLiad.
AdHoc is a great thing because you do not need to rely in a common AccessPoint. Plus, the iLiad has ethernet (the Nokia hasnot) and the Nokia has bluetooth (iLiad not), so it is sort of synergetic, and same with the memory cards.