Re: [iPAQ] vi

From: Matthew Robinson <matt.a.t.zensunni.org>
Date: Mon May 06 2002 - 15:59:51 EDT

Philip Blundell on Monday, May 06, 2002 11:37 PM wrote:

> On Mon, 2002-05-06 at 15:31, y.k wrote:
> > I am trying to configurate the network
> > but I can't because I can't find an editor ,
> > (I tried vi but it wasn't there)
> > I used the Familiar v0.5.1 task-bootnet.jffs2 Root file system.
> > Do someone know wich root file has an editor or how to install it.
> > I don't have X because I can't install ipkg.
>
> Familiar includes a "vim" package, which is quite large but does provide
> a working vi.
>
> p.

I think the problem here is that there is no editor included in the JFFS2
file system images. Therefore, it is difficult to configure a network (ie
modifying network.opts) in order to get to the point where you can install
any packages (including vim).

Anyway, in the past I have had to use sed in order to do search and replace
on the values in network.opts, for example:

sed s/IPADDR=\"\"/IPADDR="192.168.1.1"/ network.opts > network.opts.2
cp network.opts.2 network.opts

Obviously, you'll also have to do this with NETMASK, NETWORK, BROADCAST and
GATEWAY (depending on your configuration).

I also discovered that the Z-modem package is not included by default as the
other option would have been to upload a new copy of network.opts from the
desktop.

Hopefully, future installation instructions will explain how to configure
the network without access to an editor.

Matt

--
s&&!msfQ!&&s&$&utvK&&s&(Q)&\1!sfiupoB&&s&^&reverse Ibdlfs&e&s&^&#
&&s&$&#!uojsq&&s&(.)&chr(ord($1)-1)&ge&s&(.*)&reverse $1&see
Received on Mon May 06 19:59:44 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:47 EDT