Re: USB should work now

From: Michael Opdenacker <zumbi3_at_free.fr>
Date: Thu, 04 Mar 2004 15:30:51 +0100

Hello,

Here's a bit of follow-up...

The USB ethernet connection is extremely reliable, and has a nice
rountrip time (rougly 1-2 ms according to ping).

I'm still working on remote access. I eventually chose telnetd, as I
feel it should easier easier and faster to set up. Here's what I've got
so far:

 From the GNU/Linux PC host:

telnet 192.168.0.202 -l root
Trying 192.168.0.202...
Connected to 192.168.0.202 (192.168.0.202).
Escape character is '^]'.
Connection closed by foreign host.

On the iPAQ: (/var/log/messages)

May 1 12:04:17 (none) user.err telnetd: All network ports in use!

I'm investigating... Perhaps a tty issue...

I'm also working on NFS:

   1. I started portmap, though I'm not 100% sure its needed
   2. mount 192.168.0.201:/home/h2200 /mnt/rootfs

nfs warning: mount version older than kernel
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
lockd_up: makesock failed, error=-101
RPC: sendmsg returned error 101
portmap: RPC call returned error 101

Still investigating. Your comments or suggestions to do equivalent
things with other tools are welcome!

Of course, the goals are:

    * To provide shell access to anyone without a serial cable or an
      infrared port
    * To pivot_root to an NFS partition.

Don't hesitate to try by yourself or have a look at my initrd file:

    * initrd: http://michaelo.free.fr/pda/h2210/starterkit/initrd_usb_mar4
    * zImage: http://michaelo.free.fr/pda/h2210/starterkit/zImage_usb_mar4

Cheers,

    Michael.

> Hello Christian,
>
>> I believe 192.168.0.201 is the PC host. You choosed it yourself or it
>> is hotplug from FC1 which assigned this ? Usually, usbnet standard
>> practice I know of is 10.0.0.[1 or 2]. Set manually or through a
>> customized hotplug script.
>>
>>
> I chosed it by myself: 192.168.0.201 is the iPAQ and 192.168.0.202 is
> the PC host. Actually 192.168.0.202 is the default for the iPAQ in
> Familiar 0.7.2 (see /etc/network/interfaces), so I'd rather stick to
> this value, all the more as I plan to install standard Familiar
> packages on the root filesystem.
>
>> Why do you need ssh ? You intend to have CVS running on it ? :))))
>>
>>
> Just because no one uses telnet anymore...
>
> Anyway, I think I'd better make NFS and pivot_root to an NFS partition
> first. As my plans are to use a Familiar root partition, sshd will be
> run from the init scripts.
>
> :-)
>
> Cheers,
>
> Michael.
>

-- 
Michael Opdenacker
http://opdenacker.org/
Received on Thu Mar 04 2004 - 14:30:53 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:25 EDT