Reply
Thread Tools
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#161
Ok pali sorry but it's still not working... Still stuck at "Starting boot.sh from immc2 (mmcblk0p2 ext3)" but now it doesn't reboot so did my device hang up or did you really made it?

BTW have you tried your script? Is it working on your device? If yes I guess it's my n900's problem
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#162
Bootmenu now communicate with HW watchdogs, so while bootmenu is active N900 will not reboot (needed for usb network/mass storage mode).

Yes, I'm using my scripts on my N900 and all works fine.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#163
Well I don't know what's the problem now :/ Do you have any more suggestions? I have managed to use bootmenu few months ago in dual booting meego so I guess I need to do that style again on here. But I need to repartition my EMMC there and dump all files on that partition lol!
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#164
Try this:
Connect phone with USB cable to computer and start usb network recovery mode from bootmenu. Login via ssh and run this boot script:

$ modprobe mbcache jbd ext3
$ mkdir /mnt/new_root
$ mount -t ext3 -o noatime,nodiratime,commit=1,data=writeback /dev/mmcblk0p2 /mnt/new_root
$ cp /mnt/new_root/boot.sh /tmp/linuxrc
$ chmod +x /tmp/linuxrc
$ exec /tmp/linuxrc
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#165
Ok could you explain it to me how? I'm not yet familiar with USB networking on n900 so I can't do that lol! Also when doing SSH on what IP?

Also I dont see network recovery mode on bootmenu n900

Last edited by Radicalz38; 2011-04-16 at 04:08.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#166
First install openssh server (and optional udhcpd). Then connect USB cable and in bootmenu press SHIFT to enable USB networking. All info is printed on screen.

IP address of device is 192.168.2.15
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#167
Weird omg! I can't get to SSH I'm using putty from windows 7 OS to connect but it prompts

---------------------------
PuTTY Fatal Error
---------------------------
Network error: Connection timed out
---------------------------
OK
---------------------------
Although my device already says USB Networking is up with IP 192.168.2.15


I can connect to my remote server so I know port 22 isn't blocked
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#168
Sorry but with Windows I cannot you help. Make sure that you have assigned ip address on computer too.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#169
Originally Posted by pali View Post
Sorry but with Windows I cannot you help. Make sure that you have assigned ip address on computer too.
What do you mean by this? How do I assign them? Well my IP are retrieved automatically from my ISP
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#170
This USB network has network adapter too with IP address. (not ISP).
For USB adapter on computer, configure static IP addres: 192.168.2.14
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:46.