Firefox as local app and networking [SOLVED]

Asmo Koskinen asmo.koskinen at arkki.info
Mon Mar 30 11:57:50 BST 2009


M Rathburn kirjoitti:

> #
> # Default LTSP dhcpd.conf config file.
> #
> 
> authoritative;
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
>     range 192.168.0.20 192.168.0.250;
>     option domain-name "example.com";
>     option domain-name-servers 192.168.1.1;
>     option broadcast-address 192.168.0.255;
>     option routers 192.168.0.254;
> #    next-server 192.168.0.1;
> #    get-lease-hostnames true;
>     option subnet-mask 255.255.255.0;
>     option root-path "/opt/ltsp/i386";
>     if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
>         filename "/ltsp/i386/pxelinux.0";
>     } else {
>         filename "/ltsp/i386/nbi.img";
>     }
> }

Well, I have managed Konqueror to work as a localapps on Jaunty Beta. 
But. I'm missing DNS/resolv.conf.

http://www.arkki.info/howto/Wiki/LTSP5/Jaunty_Beta_Local-apps_DNS.png

I can ping, but not with names.

root at 192.168.0.200's password:
root at ltsp200:~# ping ftp.funet.fi
ping: unknown host ftp.funet.fi

root at ltsp200:~# ping 193.166.3.2
PING 193.166.3.2 (193.166.3.2) 56(84) bytes of data.
64 bytes from 193.166.3.2: icmp_seq=1 ttl=241 time=24.0 ms

Here are files, I'm blind. These are real nameservers for adsl-modem 
connection: 85.157.255.5, 85.157.255.6.
----

root at ubuntu-ltsp5:~# cat /etc/ltsp/dhcpd.conf
#
# Default LTSP dhcpd.conf config file.
#

authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
     range 192.168.0.200 192.168.0.250;
     option domain-name "ubuntu-ltsp5";
     option domain-name-servers 192.168.1.1;
     option broadcast-address 192.168.0.255;
     option routers 192.168.0.254;
#    next-server 192.168.0.1;
#    get-lease-hostnames true;
     option subnet-mask 255.255.255.0;
     option root-path "/opt/ltsp/i386";
     if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
         filename "/ltsp/i386/pxelinux.0";
     } else {
         filename "/ltsp/i386/nbi.img";
     }
}
root at ubuntu-ltsp5:~#
----

root at ubuntu-ltsp5:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
	address 192.168.1.102
	netmask 255.255.255.0
	network 192.168.1.0
	broadcast 192.168.1.255
	gateway 192.168.1.1
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 192.168.1.1

auto eth1
iface eth1 inet static
     address 192.168.0.254
     netmask 255.255.255.0
     network 192.168.0.0
     broadcast 192.168.0.255

root at ubuntu-ltsp5:~#
----

root at ubuntu-ltsp5:~# cat /etc/resolv.conf
search ubuntu-ltsp5
nameserver 192.168.1.1
nameserver 85.157.255.5
nameserver 85.157.255.6
root at ubuntu-ltsp5:~# cat /opt/ltsp/i386/etc/resolv.conf
search ubuntu-ltsp5
nameserver 192.168.1.1
nameserver 85.157.255.5
nameserver 85.157.255.6
root at ubuntu-ltsp5:~#
----

Best Regards Asmo Koskinen.



More information about the edubuntu-users mailing list