maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Dropbear and Finding Your Ip Address (https://talk.maemo.org/showthread.php?t=7673)

Tiabin 2007-07-13 23:12

Dropbear and Finding Your Ip Address
 
How do I find my device's IP address so that once I install dropbear, I can SSH in? I've searched all over, and it's killing me. I can't figure it out.

hpnotiq 2007-07-13 23:20

Re: Dropbear and Finding Your Ip Address
 
BUMP... i tried Netstat from windows but couldnt find my N770
I went to myipaddress.com from the N770 and it gave me the same IP address as my PC

jweinel 2007-07-14 03:04

Re: Dropbear and Finding Your Ip Address
 
Take a look at the little desktop applet "iphome", found at
http://www.mulliner.org/nokia770/
I installed the 0.4-1 version on my N800 and when activated by a checkbox in "select applets", it shows my assigned ip along with some statistics.

cmideiros 2007-07-14 03:28

Re: Dropbear and Finding Your Ip Address
 
There are serveral ways to get your ip addres.

1.) goto Tools --> Connection Manager.
From the appMenu, select "Internet Connection", then IPAddress

2.) Another App, called "WiFiInfo" is here:
http://www.anderenen.de/anderenende/maemo.html

3.) Another option is the IPHome applet from here:
http://www.mulliner.org/nokia770/

4.) or you can make your own, with this simple python script (requires Python runtime)

-------------[ ipaddr.py ]-------------------------

#!/usr/bin/python
import gtk
import commands

window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.connect("destroy", gtk.main_quit)
window.set_title("IP Address")


textview = gtk.TextView()
textview.set_editable(False)
textbuffer = textview.get_buffer()
ip = commands.getoutput("/sbin/ifconfig")
textbuffer.set_text(ip)

sw = gtk.ScrolledWindow()
sw.add(textview)
sw.show()
textview.show()

window.add(sw)
window.show()

gtk.main()

Chinpokomon 2007-07-14 07:46

Re: Dropbear and Finding Your Ip Address
 
Or the standard *nix way:
From an xterm, type: /sbin/ifconfig

I was going to make some snide remark about the .py method, but I see that it's using /sbin/ifconfig too. :D

tarvoke 2007-07-14 13:39

Re: Dropbear and Finding Your Ip Address
 
I also prefer ifconfig
but this system monitor applet is decent
https://garage.maemo.org/frs/downloa...ialog1_1_2.jpg
(does clutter up the top toolbar-dealie a bit tho)


All times are GMT. The time now is 20:17.

vBulletin® Version 3.8.8