Frantisek Dufka | 1 Jan 2007 11:45
Picon
Favicon

Re: ssh install failure

Zoran Kolic wrote:
> Even gainroot fails; line
> in conf file says "MODE=enabled#".

If you followed
http://maemo.org/maemowiki/HowDoiBecomeRoot2
then you forgot to enter space between 'enabled' and '#'. Without space 
MODE variable is not set correctly.

Michael Stepanov | 2 Jan 2007 09:04
Gravatar

Re: Connect to WLAN from command line


On 12/28/06, Kahlil Johnson <jzarecta <at> gmail.com> wrote:
Download the iwconfig packages, once you got them you will have the iwconfig iwspy iwlist etc. Look for a howto to use it. Remember first to ifup wlan0.

iwlist will give you the broadcast AP, but if you want to put one manually you should use

iwconfig wlan0 ssid "XYZ" key 1011010101AB

Well, I installed wireless tools package and tried to use it:

ifconfig wlan0 up
iwconfig wlan0 enc MY_KEY mode managed essid MY_ESSID channel 6

But I didn't see that IP address was assigned to wlan0 interface. Moreover, I add into /etc/network/interfaces following:
auto wlan0
iface wlan0 inet dhcp
wireless-essid MY_ESSID
wireless-key MY_KEY
wireless-mode managed
wireless-channel 6

and run
ifconfig wlan0 up

But also without luck.

Any ideas why?

This will set it up.
--
Kahlil Johnson
"Ya tengo GMAIL!!"



--
Cheers,
Michael
<div>
<br><div>
<span class="gmail_quote">On 12/28/06, Kahlil Johnson &lt;<a href="mailto:jzarecta <at> gmail.com">jzarecta <at> gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote">
Download the iwconfig packages, once you got them you will have the iwconfig iwspy iwlist etc. Look for a howto to use it. Remember first to ifup wlan0. <br><br>iwlist will give you the broadcast AP, but if you want to put one manually you should use 
<br><br>iwconfig wlan0 ssid "XYZ" key 1011010101AB</blockquote>
<div>
<br>Well, I installed wireless tools package and tried to use it:<br><br>ifconfig wlan0 up<br>iwconfig wlan0 enc MY_KEY   mode managed essid MY_ESSID channel 6
<br><br>But I didn't see that IP address was assigned to wlan0 interface. Moreover, I add into /etc/network/interfaces following:<br>
auto wlan0<br>
iface wlan0 inet dhcp<br>
wireless-essid MY_ESSID<br>
wireless-key MY_KEY<br>
wireless-mode managed<br>
wireless-channel 6<br><br>and run <br>ifconfig wlan0 up<br><br>But also without luck.<br><br>Any ideas why?<br>
</div>
<br><blockquote class="gmail_quote">
This will set it up. <span class="sg"><br>-- <br>Kahlil Johnson<br>"Ya tengo GMAIL!!"

</span>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>Cheers,<br>Michael
</div>
Zoran Kolic | 2 Jan 2007 15:22
Picon

Re: ssh install failure

Sorry to reply so lately. I had hard
time to send mail to the maemo ser-
ver, whatever the reason is.

> (Why wrap the text so narrowly?)

The eyes go downward, not left-right.

> then it would seem that you have
> successfully installed openssh.

Hm, no. As first, I added space after
"enabled" in gainroot file (thanks
Frantisek). So, it works as for every
770 user on earth. Then I used "red
pill" to see all packages (tanks Inigo).
This method allowed me to install perl
modules by the click (kh-kh). No "Net"
directory in modules, by my surprize.
After that, I changed my mind and let
the time go on. Dropbear is ssh2 and
has issue with openvms, plan9 and so
on machines from the void. If I con-
nect to trusted ssh2 box, I could jump
further just on dropbear.

> What exactly is the problem?

Lack of knowledge, as always. Next week
or so I would try to desinstall drop-
bear, remove all files from init.d
and rcX and install clean openssh. If
not via apt-get, then by graphical ma-
nager. (Cannot believe I said this.)
If any problem, I will feel free to ask
for advice.

> if you do not describe the symptoms

I know. When it clears to me, I see where
to go. I post prematurely; the next ob-
sesion is iptables. Noone posted something
on this topic, even the app is already
on 770. Answers on command. There is no
/etc/sysconfig directory on the gadget,
where file should be placed. Little script
could be put into init.d with shell and
rules. The person, who added it to the sys-
tem, might know how to configure it on
embeded.

Happy New year to all.

                     Zoran

Michael Wiktowy | 2 Jan 2007 16:14
Picon

Re: how to install .deb packages

On 12/31/06, Kahlil Johnson <jzarecta <at> gmail.com> wrote:
> you need to install XTerm on your nokia770 and also dropbear (smaller
> SSH) and login remotely to your n770 over the wifi network.
>
> On 12/31/06, william hatch <billhatch40 <at> yahoo.com> wrote:
> > Thanks for the response. Now how do I get to the command prompt on the 770 ?
> > I do have the latest OS update installed.
> >
> > Kahlil Johnson <jzarecta <at> gmail.com> wrote:
> >  well you can look on the repository for dpkg or apt-get, the wiki has
> > an howto get sources in mameo's apt-get.
> >
> > http://maemo.org/maemowiki/HowTo_InstallAptGet?highlight=%28apt-get%29
> >
> > On 12/30/06, william hatch wrote:
> > > I have been unable to find any instructions on how to install on the nokia
> > > 770 any of the .deb application packages. I need to install a sufficient
> > set
> > > to work with the LD-3W GPS Module.

Hold on a moment ... if the OP is just interested in installing
something like maemo-mapper to using their BT GPS module than you
certainly don't need xterm or apt-get. There are three ways to install
deb files without resorting to the command-line:
1. While downloading the file via the web browser, choose Open rather than Save.
2. If you have a deb saved on your 770 somewhere, just double-tap it
in the file manager.
3. You can open the Application manager and choose Package -> Install
from file ... from the pop-down menu in the title bar

However, the best way to install apps on the 770 is not directly via
the deb files but rather to set up the application catalogs (aka
repositories) (via the Tools -> Application catalogue ... menu) that
contain the applications you want and then install the new app them
via the Install new applications button in the manager. This will
ensure that all the correct dependencies are satisfied and it is
simple to upgrade if a new version comes out. Unfortunately, some of
the more popular apps and libraries are not in the repositories
included in the 770 by default so a bit of work is needed initially to
add the repos you need ... then it is simple to install/delete apps as
needed.
Amichai Rotman | 3 Jan 2007 08:14
Picon
Gravatar

Charger Blues

Hi All,
 
I bought my N770 while visiting the UK a few months back.
 
The charger (AC4-X) cable snappt at the root of the end that goes to the wall. Now I cannot charge my device :-(
 
I am now back home and this particular charger model isn't available. Furthermore, the local Nokia rep doesn't support the N770 because it isn't a cell phone....
 
I know all new models come with a similar charger (with the mini plug) and so I found a charger with similar tech specs (input and output), by similar I mean the output mA is 860 instead of 890...
 
I charged it once with a friend's charger and it worked fine - except 2 things:
 
I charged it while the device was off. The battery icon showed up and after a few second begun to animate the charge. A while later I noticed the screen was off completely - no indication for the charging process. I turned the device on and it booted faster than usual and the battery animation was still showing....
 
The other thing I noticed was: the charge didn't last like it used to. I might be wrong, because I left FBReader open and the Online Mode on (I usually don't have network access at work, so I leave it Offline).
 
Is it OK to use a different charger with the same specs? Am I doing something that will cause damage to the device? the battery?
 
Please advise!
 
Thanks!

--
:====================================================:.

Amichai Rotman

UIN#: 6401746
Registered Linux User#: 201192 [http://counter.li.org/ ]

------------------------------------------------------------------------------------------------------------

PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html

--

Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm

-----------------------------------------------------------------------------------------------------------
<div>
<div>Hi All,</div>
<div>&nbsp;</div>
<div>I bought my N770 while visiting the UK a few months back.</div>
<div>&nbsp;</div>
<div>The charger (AC4-X) cable snappt at the root of the end that goes to the wall. Now I cannot charge my device :-(</div>
<div>&nbsp;</div>
<div>I am now back home and this particular charger model isn't available. Furthermore, the local Nokia rep doesn't support the N770 because it isn't a cell phone....</div>
<div>&nbsp;</div>
<div>I know all new models come with a similar charger (with the mini plug) and so I found a charger with similar tech specs (input and output), by similar I mean the output mA is 860 instead of 890...</div>
<div>&nbsp;</div>
<div>I charged it once with a friend's charger and it worked fine - except 2 things:</div>
<div>&nbsp;</div>
<div>I charged it while the device was off. The battery icon showed up and after a few second begun to animate the charge. A while later I noticed the screen was off completely - no indication for the charging process. I turned the device on and it booted faster than usual and the battery animation was still showing....
</div>
<div>&nbsp;</div>
<div>The other thing I noticed was: the charge didn't last like it used to. I might be wrong, because I left FBReader open and the Online Mode on (I usually don't have network access at work, so I leave it Offline).
</div>
<div>&nbsp;</div>
<div>Is it OK to use a different charger with the same specs? Am I doing something that will cause damage to the device? the battery?</div>
<div>&nbsp;</div>
<div>Please advise!</div>
<div>&nbsp;</div>
<div>Thanks!<br clear="all"><br>-- <br>:====================================================:.<br><br>Amichai Rotman<br><br>UIN#: 6401746<br>Registered Linux User#: 201192 [<a href="http://counter.li.org/">http://counter.li.org/
</a>]<br><br>------------------------------------------------------------------------------------------------------------<br><br>PLEASE READ: <a href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html
</a><br><br>--<br><br>Protect your digital freedom and privacy, eliminate DRM, learn more at<br><a href="http://www.defectivebydesign.org/what_is_drm">http://www.defectivebydesign.org/what_is_drm</a><br><br>----------------------------------------------------------------------------------------------------------- 
</div>
</div>
René Seindal | 3 Jan 2007 10:07
Picon
Favicon
Gravatar

Re: Charger Blues

Amichai Rotman wrote (03-01-2007 08:14):
> Hi All,
>  
> I bought my N770 while visiting the UK a few months back.
>  
> The charger (AC4-X) cable snappt at the root of the end that goes to the 
> wall. Now I cannot charge my device :-(
>  
> I am now back home and this particular charger model isn't available. 
> Furthermore, the local Nokia rep doesn't support the N770 because it 
> isn't a cell phone....
>  
> I know all new models come with a similar charger (with the mini plug) 
> and so I found a charger with similar tech specs (input and output), by 
> similar I mean the output mA is 860 instead of 890...
>  
> I charged it once with a friend's charger and it worked fine - except 2 
> things:
>  
> I charged it while the device was off. The battery icon showed up and 
> after a few second begun to animate the charge. A while later I noticed 
> the screen was off completely - no indication for the charging process. 
> I turned the device on and it booted faster than usual and the battery 
> animation was still showing....
>  
> The other thing I noticed was: the charge didn't last like it used to. I 
> might be wrong, because I left FBReader open and the Online Mode on (I 
> usually don't have network access at work, so I leave it Offline).
>  
> Is it OK to use a different charger with the same specs? Am I doing 
> something that will cause damage to the device? the battery?

You can use any Nokia charger with a 2mm connector - I often use the one 
I got with my Nokia 6131 phone.  It is the same charger used by the 
N-series of Nokia phones.

You can also buy a small adapter cable from the Nokia 3.5mm connector to 
the new 2mm connector, in case you have old Nokia adapters lying around 
like I have.

--

-- 
René Seindal (rene <at> seindal.dk)

Peter Robinson | 3 Jan 2007 10:13
Picon

Re: Open source Java

Well the PhoneME MR2 just released has an Linux ARM version so I don't
see why it couldn't run on maemo.

https://phoneme.dev.java.net/downloads_page.html

Peter

On 11/17/06, Tim Ashman <tim <at> ashmans.net> wrote:
> I disagree, my cell phone runs java ME,  I think the 770 should be able to run
> some version of it.  At least enough of it to allow for a browser plugin to
> work.
>
> tim
>
> On 11/16/2006 11:56 pm, Jos Vos wrote:
> > On Thu, Nov 16, 2006 at 09:13:48PM -0600, Comcast wrote:
> > > O.K. A question for the web browser developers. Now that Sun has
> > > open sourced Java, how long will it be before we see it included in the
> > > 770's browser?
> >
> > Sus has *not* yet open sourced Java, they announced to release the
> > first open source code in March 2007, IIRC.  So only at that moment,
> > looking at the real code, people can see how difficult it is to port
> > it and start estimating how long that will take.
> >
> > Seeing how killing (in the negative sense) Java is on old computers
> > with little memory, I doubt whether it's feasible to use it on the
> > 770, but we'll see...
> _______________________________________________
> maemo-users mailing list
> maemo-users <at> maemo.org
> https://maemo.org/mailman/listinfo/maemo-users
>
Jakub.Pavelek | 3 Jan 2007 10:24
Picon

RE: Nokia 770 after flash only luminous screen,Help.

Hi,

when the white screen with a Nokia logo shows, does a small USB icon come-up in the upper right corner? That one indicates that the flasher is talking to the device.

Also, what is the command line you run with the flasher?

Br,

--jakub


-----Original Message-----
From: maemo-users-bounces <at> maemo.org on behalf of ext haiyin Qiu
Sent: Fri 12/15/2006 6:06 PM
To: maemo-users <at> maemo.org
Subject: [maemo-users] Nokia 770 after flash only luminous screen,Help.

Hi,
I just update my maemo from my linux PC, following the suggestion from
maemo.org. After the PC show "Suitable USB device not found, waiting" , my
770 shows a nokia picture, but it still keep showing the same picutre after
1.5 hours. I think the reflash produce should be finished in 1.5 hours. And
there is no message show in my PC.

So... I break the PC process with ctrl+c and shut down the 770 with on/off.
when I open 770 again, it is only luminous screen, nothing show on. Then I
can't shut down again.

So.... I can only take out the battery. when I input it again, and open 770
with on/off+ home buttons.only luminous screen again. When I only press
on/off button, 770 will be luminous for a while and shut down automatically.


When I later, try to reflash again. but there on nokia picture show on my
770.

What is wrong with my 770. Does it crash, what can I do?


Thanks for your reading and help

Yan

<div>

<p>Hi,<br><br>
when the white screen with a Nokia logo shows, does a small USB icon come-up in the upper right corner? That one indicates that the flasher is talking to the device.<br><br>
Also, what is the command line you run with the flasher?<br><br>
Br,<br><br>
--jakub<br><br><br>
-----Original Message-----<br>
From: maemo-users-bounces <at> maemo.org on behalf of ext haiyin Qiu<br>
Sent: Fri 12/15/2006 6:06 PM<br>
To: maemo-users <at> maemo.org<br>
Subject: [maemo-users] Nokia 770 after flash only luminous screen,Help.<br><br>
Hi,<br>
I just update my maemo from my linux PC, following the suggestion from<br>
maemo.org. After the PC show "Suitable USB device not found, waiting" , my<br>
770 shows a nokia picture, but it still keep showing the same picutre after<br>
1.5 hours. I think the reflash produce should be finished in 1.5 hours. And<br>
there is no message show in my PC.<br><br>
So... I break the PC process with ctrl+c and shut down the 770 with on/off.<br>
when I open 770 again, it is only luminous screen, nothing show on. Then I<br>
can't shut down again.<br><br>
So.... I can only take out the battery. when I input it again, and open 770<br>
with on/off+ home buttons.only luminous screen again. When I only press<br>
on/off button, 770 will be luminous for a while and shut down automatically.<br><br><br>
When I later, try to reflash again. but there on nokia picture show on my<br>
770.<br><br>
What is wrong with my 770. Does it crash, what can I do?<br><br><br>
Thanks for your reading and help<br><br>
Yan<br><br>
</p>

</div>
Gustav_Schaffter | 3 Jan 2007 10:50
Favicon

Re: using ssh/dropbear?

Doc,

1. To start and stop the dropbear ssh server, you will need to be root.
Execute '/etc/init.d/dropbear start' or '/etc/init.d/dropbear stop'.
(Unfortunately, there seems to be no '/etc/init.d/dropbear status'.)
1a. When I installed dropbear, about two weeks ago, it was "automagically"
setup to start at boot. Which it does.
2. 'ssh someuser <at> somehost' should do it. Try 'ssh root <at> 127.0.0.1' as a
starter. You do realize that ssh is CLI software, right?

Gustav Schaffter

                                                                           
             "D. R. Evans"                                                 
             <N7DR <at> arrl.net>                                               
                                                                        To 
             Sent by:                  maemo-users <at> maemo.org               
             maemo-users-bounc                                          cc 
             es <at> maemo.org                                                  
                                                                   Subject 
                                       [maemo-users] using ssh/dropbear?   
             11/22/2006 04:27                                              
             PM                                                            

a. I am running the very latest firmware, installed a couple of days ago.
b. I have downloaded the dropbear ssh client/server package. There were no
errors during installation.

So now I have two very simple (and obvious) questions:

1. How do I start the ssh server?
2. How do I start the client?

And there's also question 1a: how do I tell the N770 to start the server
each time when it reboots?

  Doc Evans

[attachment "signature.asc" deleted by Gustav Schaffter/CDS/CG/CAPITAL]
_______________________________________________
maemo-users mailing list
maemo-users <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-users

Marius Gedminas | 3 Jan 2007 11:48
Picon

Re: Re: ssh install failure

On Tue, Jan 02, 2007 at 03:22:11PM +0100, Zoran Kolic wrote:
> Sorry to reply so lately. I had hard
> time to send mail to the maemo ser-
> ver, whatever the reason is.
> 
> > (Why wrap the text so narrowly?)
> 
> The eyes go downward, not left-right.

T
h
a
t

d
o
e
s

n
o
t

c
o
n
v
i
n
c
e

m
e
.

:
-
)

Marius Gedminas
-- 
He who sacrifices functionality for ease of use
Loses both and deserves neither
On Tue, Jan 02, 2007 at 03:22:11PM +0100, Zoran Kolic wrote:
> Sorry to reply so lately. I had hard
> time to send mail to the maemo ser-
> ver, whatever the reason is.
> 
> > (Why wrap the text so narrowly?)
> 
> The eyes go downward, not left-right.

T
h
a
t

d
o
e
s

n
o
t

c
o
n
v
i
n
c
e

m
e
.

:
-
)

Marius Gedminas
--

-- 
He who sacrifices functionality for ease of use
Loses both and deserves neither

Gmane