previously posted to 
http://article.gmane.org/gmane.linux.ubuntu.user/163395/match=change+ubuntu+8.10+linux+terminal+server+network+address
 
without response...



ltsp-discuss:

I have a fresh ubuntu-8.10-alternate-i386 Linux Terminal Server (LTS)
installation and would like to change the IP address of the network
between the terminal server and thin clients from 192.168.0.0 to
192.168.1.0.  (My LAN is already 192.168.0.0; the terminal server
upstream interface, eth0, is connected to this network.)


Going from memory:  before I started fiddling with things, eth0 and eth1
both came up as 192.168.0.254, the server kinda sorta saw my LAN (could
ping hosts and gateway, but DNS, etc., wasn't working), and I could log
in from a client.


Then I changed the server's eth0 and eth1 addresses and DHCP daemon
settings:

20081102-193224 [EMAIL PROTECTED] ~
$ cat /etc/network/interfaces | egrep -v '#' | egrep .+
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
      address 192.168.1.1
      netmask 255.255.255.0
      network 192.168.1.0
      broadcast 192.168.1.255

20081102-193251 [EMAIL PROTECTED] ~
$ cat /etc/ltsp/dhcpd.conf | egrep -v '#' | egrep .+
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
      range 192.168.1.129 192.168.1.254;
      option domain-name "holgerdanske.com";
      option domain-name-servers 192.168.0.1;
      option broadcast-address 192.168.1.255;
      option routers 192.168.1.1;
      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";
      }
}

Now when I boot the server, eth0 and eth1 seem to come up okay and I
have full upstream connectivity (ping, DNS, HTTP, etc.):

20081102-193301 [EMAIL PROTECTED] ~
$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0c:f1:fd:74:81
            inet addr:192.168.0.15  Bcast:192.168.0.255  Mask:255.255.255.0
            inet6 addr: fe80::20c:f1ff:fefd:7481/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:574 errors:0 dropped:0 overruns:0 frame:0
            TX packets:591 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:55486 (55.4 KB)  TX bytes:65780 (65.7 KB)

20081102-193328 [EMAIL PROTECTED] ~
$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0f:b5:ff:fa:0d
            inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
            inet6 addr: fe80::20f:b5ff:feff:fa0d/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:0 (0.0 B)  TX bytes:4014 (4.0 KB)
            Interrupt:21 Base address:0x4c00

20081102-193339 [EMAIL PROTECTED] ~
$ ping -c 3 www.holgerdanske.com
PING holgerdanske.com (65.19.145.106) 56(84) bytes of data.
64 bytes from holgerdanske.com (65.19.145.106): icmp_seq=1 ttl=57
time=16.7 ms
64 bytes from holgerdanske.com (65.19.145.106): icmp_seq=2 ttl=57
time=16.3 ms
64 bytes from holgerdanske.com (65.19.145.106): icmp_seq=3 ttl=57
time=16.1 ms

--- holgerdanske.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 16.175/16.453/16.785/0.251 ms


But from the client, Ubuntu boots via PXE, an "xdm: unable to create
authorities file" (?) message flashes by, I reach the Ubuntu login
screen (displaying a suitable IP address, such as 192.168.1.229), enter
my username, enter my password, it says "Verifying password.  Please
wait.", it times out, it says "No response from server, restarting...",
then the screen goes black with only a mouse pointer.  Testing with
another client yields the same results.


I suspect that there is some other setting I need to make, but I'm an
LTS rookie and don't know where to look.


STFW:

https://help.ubuntu.com/community/UbuntuLTSP?action=fullsearch&context=180&value=change+network+address&titlesearch=Titles

http://www.ltsp.org/~sbalneav/LTSPManual.html

http://www.ltsp.org/~sbalneav/LTSPManual.html#network

https://help.ubuntu.com/community/tsclient


Ctrl+Alt+F1 on the client when at the "Username" prompt shows:

Negotiation: ..size = 156428 KB
bs=1024, sz=156428
Kernel call returned: Broken pipe Reconnecting
Negotiation: ..size = 156428 KB
Error: Ioctl/1.1a failed: Bad file descriptor


Ctrl+Alt+Backspace on the client when at the "Username" prompt causes
the screen to go black momentarily and then display the same screen (X
stops and restarts?).


Any suggestions?


TIA,

David


p.s.  One trouble-shooting idea would be to enable the root password on
the client, so I could Ctrl+Alt+Fn into the client and poke around.  I
seem to recall reading somewhere about chroot'ing into the client image
on the server, running passwd, rebuilding the client ramdisk image,
etc., but I can't seem to find that page just now.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to