maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Hi (https://talk.maemo.org/showthread.php?t=71807)

arora.rohan 2011-04-04 19:43

Hi
 
So recently my N900's digitizer isnt responding..
Now the think is i want to back up some data...before i give it to the Nokia Care Center.. but as soon as i connect it to my pc.. the USB menu comes up...

now i know there is this command :
sh /usr/sbin/usb-mass-storage-enable.sh rihgT? or something like that...

but the problem is..how do i type it.. the popup menu of USB selection..stays above the xterm :( !

mrsellout 2011-04-04 19:49

Re: Hi
 
Quote:

Originally Posted by arora.rohan (Post 981889)
So recently my N900's digitizer isnt responding..
Now the think is i want to back up some data...before i give it to the Nokia Care Center.. but as soon as i connect it to my pc.. the USB menu comes up...

now i know there is this command :
sh /usr/sbin/usb-mass-storage-enable.sh rihgT? or something like that...

but the problem is..how do i type it.. the popup menu of USB selection..stays above the xterm :( !

How about connecting over WIFI using ssh on xterm?

JonWW 2011-04-04 19:52

Re: Hi
 
If you have OpenSSH installed on the phone, you could use PuTTY from you Windows PC and open a terminal window on you PC that runs on the phone and do it that way.
It runs through Wifi.
Then again use WinSCP and you can have access to the entire divice, again from a Windows PC

scoobydoo 2011-04-04 19:53

Re: Hi
 
Quote:

Originally Posted by mrsellout (Post 981891)
How about connecting over WIFI using ssh on xterm?


another option is tinysmb which you can read about on here its a little slow but works well worth a try also ebay sell external batteries and charger i got both for about 7 pound and i have no need for usb to work now p.s my port is broken and intermitent so should help here

ivyking 2011-04-04 19:54

Re: Hi
 
do you have ssh server installed ? that can make things a lot easier if you do .
you can use a program like filezilla to get your files , or run commands on your n900 without having to type on x-terminal .

if you don't have ssh server , use wget to download the file , then use dpkg -i to install .

or

install backup menu if you don't have it , then reboot and open it , then press "w" , all your partitions (excluding rootfs) will be available as mass storage devices immediately .

if you don't have backup menu installed , use wget to get it from the repository then dpkg -i to install it .(you also need to get its dependencies and install one by one)

if you happen to be lucky enough and you have previously set your n900 to automatically connect to wifi ,then connecting to the internet to download the programs mentioned above should be quite easy , if you didn't do that please say that here , so people can help you connect to the internet .

arora.rohan 2011-04-04 20:10

Re: Hi
 
Yes i think i have SSH installed.
but now how do i connect to the internet!
any xterm command to connect to the wifi??

MyNokiaN900 2011-04-04 20:24

Re: Hi
 
Quote:

Originally Posted by arora.rohan (Post 981907)
Yes i think i have SSH installed.
but now how do i connect to the internet!
any xterm command to connect to the wifi??

here is how to connect PC to N900 via WIFI and then you will be able to use WinSCP or PUTTY on your PC.... it really does work well. I hardly ever use X-Term these days. I do everything from Putty.

the link

renowong 2011-04-04 20:28

Re: Hi
 
Check this post, it might help you out to turn on your wifi

http://talk.maemo.org/showthread.php?t=46521

I think you're only interested into the last part of the command which is :

Code:

modprobe wl12xx
wl1251-cal
stop wlancond
start wlancond
ifconfig wlan0 up
run-standalone.sh dbus-send --print-reply --system --dest=com.nokia.icd_ui /com/nokia/icd_ui com.nokia.icd_ui.show_conn_dlg boolean:false

I don't know if this will work, but it's worth a try.

Once your wifi is up, with a little chance, it will connect to your last network, else you need to configure it to connect to a particular network.

JonWW 2011-04-04 20:35

Re: Hi
 
Quote:

Originally Posted by arora.rohan (Post 981907)
Yes i think i have SSH installed.
but now how do i connect to the internet!
any xterm command to connect to the wifi??

From the Wiki
Code:

dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"[ANY]" uint32:0
Never tried it as I have the phone automatically connect to my Wifi.

EDIT:
Just tried it, and it connected immediately

arora.rohan 2011-04-04 20:53

Re: Hi
 
The thing is..

If i use renowong method..i get the list for selecting the wifi network..now how do i select my wifi connection...

and if i use JonWW's method : How do i enter square Brackets with keyboard only :D

mrsellout 2011-04-04 21:09

Re: Hi
 
Hi. I just thought of a few other things.

Do you have a microsd card? You could just copy everything across to that as well with xterm.

Don't you have a connection that automatically connects to the internet? On mine, when I reboot it automatically connects to my wifi. And because I accepted on 'use 3g connection' (or something) when there's no wifi, the device will even connect to my 3g connection when required by modest or even MicroB I think. Maybe starting one of those programs from xterm will trigger a connection?

I think there is another way to get access to your emmc. Going off what retsaw said here when you flash the device into r&d mode you can access the emmc. The links are included in his post and you need a linux machine to flash the phone into r&d mode.

ivyking 2011-04-04 21:11

Re: Hi
 
do you have power kernel installed ? or have mad developer installed ?
you can connect your n900 to the internet via usb .

edit /etc/network/interfaces

and add :

auto usb0
iface usb0 inet static
address 10.42.43.10
netmask 255.255.255.0
gateway 10.42.43.1

or change the above to match your system , these numbers are the default for ubuntu , when using network manager and using connection type "shared to other computers"

then do the following :
modprobe -r g_file_storage
modprobe g_nokia
ifup usb0

now your n900 would appear as a network device , if you are using ubuntu , it will automatically configure a new connection called auto usb0 , however if will fail to connect , solve that easily by editing the connection , and going to ipv4 tab and change the connection type to shared to other computers .

by default network manager will set your ip to 10.42.43.1

check your connection by pinging your n900 from your pc

ping 10.42.43.10

you should get replies.

now you can install filezilla on your pc and backup your files from your n900 .

if you want to connect the n900 to the internet , edit /etc/resolv.conf and add

nameserver 8.8.8.8

then check your connection by pinging google.com .

if you are using windows , you need to get a driver for the n900 to be used as a network devices , and change the ip addresses written above to match those used by windows .

arora.rohan 2011-04-04 21:12

Re: Hi
 
Oh.. Yea ! mircosd!! i forgot that !

Thats a life saver..

arora.rohan 2011-04-04 21:12

Re: Hi
 
Quote:

Originally Posted by ivyking (Post 981942)
do you have power kernel installed ? or have mad developer installed ?
you can connect your n900 to the internet via usb .

edit /etc/network/interfaces

and add :

auto usb0
iface usb0 inet static
address 10.42.43.10
netmask 255.255.255.0
gateway 10.42.43.1

or change the above to match your system , these numbers are the default for ubuntu , when using network manager and using connection type "shared to other computers"

then do the following :
modprobe -r g_file_storage
modprobe g_nokia
ifup usb0

now your n900 would appear as a network device , if you are using ubuntu , it will automatically configure a new connection called auto usb0 , however if will fail to connect , solve that easily by editing the connection , and going to ipv4 tab and change the connection type to shared to other computers .

by default network manager will set your ip to 10.42.43.1

check your connection by pinging your n900 from your pc

ping 10.42.43.10

you should get replies.

now you can install filezilla on your pc and backup your files from your n900 .

if you want to connect the n900 to the internet , edit /etc/resolv.conf and add

nameserver 8.8.8.8

then check your connection by pinging google.com .

if you are using windows , you need to get a driver for the n900 to be used as a network devices , and change the ip addresses written above to match those used by windows .

I deleted Power Kernel46 4 days ago.. fml :(

arora.rohan 2011-04-04 21:14

Re: Hi
 
Quote:

Originally Posted by mrsellout (Post 981941)
Hi. I just thought of a few other things.

Do you have a microsd card? You could just copy everything across to that as well with xterm.

Ok i found my micro sd..
NOw its not supported..

I need :

a Command for formatting it ?
a command to move my pics in my camera folder to my micro sd?

If you could help, i would be really happy :( ! pls!!

ivyking 2011-04-04 21:50

Re: Hi
 
can you please post the output after you do

cat /proc/partitions

mrsellout 2011-04-04 21:56

Re: Hi
 
I don't have a microSD card yet, so haven't had to format one, maybe ivyking here can help you. The wiki requires you install a package which will be difficult for you.

One last thing, do you have Backupmenu installed? You can enable USB Mass Storage in that, and then copy across using it.

ivyking 2011-04-04 22:15

Re: Hi
 
if you want to format your first partition on your sd card with a fat32 file system , as root do :

mkfs.vfat /dev/mmcblk1p1

to mount that partiton :

mkdir /media/sdcard
mount /dev/mmcblk1p1 /media/sdcard

to recursively copy all files and folders from MyDocs to the sdcard :

cp -r /home/user/MyDocs/* /media/sdcard/

Dave999 2011-04-04 22:25

Re: Hi
 
Hi

Possible to change the headline so that the thread search could help other users in the future?

Bye


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

vBulletin® Version 3.8.8