udev rule for the freerunner or make usb networking enduser friendly
Radek Polak
psonek2 at seznam.cz
Tue Sep 1 06:21:32 CEST 2009
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
More information about the community
mailing list