Laszlo KREKACS wrote:

> I would like to use my freerunner in a plug&play mode. Just attach to the
> computer, and simply ssh in using terminal or nautilus.

You have to setup dhcp server on your freerunner. E.g. on debian:

        apt-get install dhcp3-server

edit dhcp server configuration:

        nano /etc/dhcp3/dhcpd.conf

and place something like this there:

option domain-name-servers 208.67.222.222, 208.67.220.220;
option routers 192.168.0.202;

subnet 192.168.0.0 netmask 255.255.255.0 {
    option routers 192.168.0.1;

         # Unknown clients get this pool.
         pool {
           #option domain-name-servers bogus.example.com;
           max-lease-time 7200;
           range 192.168.0.200 192.168.0.201;
           allow unknown clients;
         }
}

Now restart dhcps server:

        /etc/init.d/dhcp3-server restart

plug your Freerunner and NetworkManager should always assign the right
IP address.

Regards

Radek


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to