Reply
Thread Tools
vkv.raju's Avatar
Posts: 402 | Thanked: 451 times | Joined on Dec 2007 @ India
#61
Is it possible to use ssh over USB instead of wifi?
 
Posts: 100 | Thanked: 19 times | Joined on Jan 2010
#62
you need to install a custom kernel i think, but it is definitely possible use this link here to setup usb networking!
 

The Following User Says Thank You to adalal For This Useful Post:
HeavyComponent's Avatar
Posts: 120 | Thanked: 14 times | Joined on Jun 2010 @ Queens, NY
#63
Originally Posted by hellnick View Post
How are you finding the IP address for each device? Any of the "what's my IP" web services will only give you the IP of your internet conection.

To get the IP of your N900, start xterm and type
Code:
/sbin/ifconfig wlan0 | grep inet
Doesn't do anything after I type in the command in Xterm.
__________________
Device: Nokia N900
Theme: MaemoItalia Graffiti Theme

---
Who but me?!
--HeavyC.
 
Posts: 243 | Thanked: 146 times | Joined on Dec 2009 @ Knowhere
#64
Are you definitely connected to your wireless router? Make sure AutoDisconnect hasn't kicked in
__________________
Please don't clutter the forum with questions that have been answered many times previously. Either use Power Search or check the following useful threads.

http://wiki.maemo.org/Frequently_asked_questions
http://en.wikipedia.org/wiki/Nokia_N900
http://wiki.maemo.org/N900
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#65
Originally Posted by vkv.raju View Post
Is it possible to use ssh over USB instead of wifi?
USB SSH walkthrough added.

Cheers
__________________
 
Posts: 130 | Thanked: 9 times | Joined on Jul 2010
#66
works great, tnx man
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2010
#67
@ BEC, @starman

I knw I am straying off a lil bit, but need help on a developmental issue. i am a totally a newbie and not exposed to Linux development:

Objective: I am trying to add a shortcut to N900 desktop that could lock the screen in a single touch. The code is as follows, found it on one of the other forums. I need help on the following questions:

1) Where should I be inputting this code on my device to make it functional.
2) is there an easier code to achieve the same objective.
3) should i be saving 4 separate files once the code is created; to add shortcut to 4 separate screens on my device.

your help in this matter would be highly appreciated...

Ciao


========================================



[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Lock Screen
Comment=lock_screen
Exec=/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request

com.nokia.mce.request.req_tklock_mode_change string:locked
Icon=qgn_list_cp_security

save as lock.desktop to /usr/share/applications/hildon/


This .desktop file "creates" an app in the "more" folder which you can put on the
desktop as a shortcut to lock your N900




================================================== =======================================

original post here

Any App to lock screen (shortcut on screen) for N900 - maemo.org - talk


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

http://talk.maemo.org/showthread.php?t=41917
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#68
You just have to create a .txt file, paste
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Lock Screen
Comment=lock_screen
Exec=/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request

com.nokia.mce.request.req_tklock_mode_change string:locked
Icon=qgn_list_cp_security
Rename your .txt to .desktop and lace it in “/usr/share/applications/hildon/".
.desktop files are simple .txt files with changed extension.

If you go to “/usr/share/applications/hildon/" you can find plenty .desktop files.
I don't know if a script is required to make the shortcut work. It might work without one.
__________________

Last edited by Bec; 2010-08-12 at 11:07.
 

The Following User Says Thank You to Bec For This Useful Post:
Posts: 12 | Thanked: 0 times | Joined on Mar 2011
#69
hi! Please help me..

I am using putty and filezilla in pc.

I have installed openssh client and server in my N900. and also installed mad developer


I am able to connect to N900 root ssh via filezilla using the IP address via wifi shown in mad developer without any problem.

Problem is with USB connection

Even I am unable to ping IP address shown in mad developer from my pc.

I can ping same IP address in N900 using terminal.

I think there is some problem with setting in TCP/IP in my window.

Please guide me what exact setting should be done as in picture you have shown 192.168.1.30 but you asked to put 192.168.1.31 in text


change the IP, Gateway and DNS of the newly created network connection to 192.168.1.31.
thanks in advance
 
Posts: 13 | Thanked: 0 times | Joined on May 2011 @ Bhopal (India)
#70
Originally Posted by Bec View Post
Get full access over your N900 file system in 3 easy steps!
Watch out what you replace or delete or you might end up with a bricked device!
! Always make a backup first ! ! Never edit files in "sudoers.d"!



A. Wi-Fi
Wireless router required!

1. Enable the maemo.org repository by simply clicking this link (you should have it by default if your device is updated)
(if you don't find the files requested below, the extras-testing repository too, manually by entering the details linked here into the app manager.

2. Install the following apps: Open SSH Client and Open SSH server on your N900.
  • be sure to enter a strong password that you'll remember for Open SSH!
    In case you forgot to enter a password or want to change it, install, ROOTSH, open terminal and type
    "sudo gainroot" [enter] "passwd" [enter] and you'll be prompted to change/enter the new password
  • you should also install the showIP widget for your desktop
3. Download WinSCP, a very nice free SSH client for windows and configure it as follows:



  • Host name: your N900 ip, get it from over here or install the showIP widget from app manger.
    -please remember that it may change on router/modem resets or because of your ISP
  • Port number: 22
  • User name: root
  • Password: a strong one - same as the one entered in Open SSH
  • Protocol: SFTP + SCP fallback


B. USB
Default cable is the only requirement!

1. Install Mad Developer (step A.1. may apply), run it and:
  • press "Manage USB" -> "Load g_either" -> "close".
  • enter the following IP: 192.168.1.30 -> "configure" (this address for WinSCP as well and settings from step A.3. apply).


2. Connect your N900 via USB and:


3. When you want the old USB mode back, re-enable mass storage mode via: "Manage USB" -> "Load g_nokia" -> "close".

I have also updated the Wiki, check it if you don't understand something or simply ask.

If this post helped you, please check out the ideas in my signature and cast a vote if you think they're worth it

Hey Guys is there any inverse process of this one....; I mean Is there any way to Get full access over your Computer file system in some easy steps by using N900''' It would be great if we can create openssh sever on pc and access it from WinSCP on N900..
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:37.