FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 11-03-2008, 03:12 AM
David Christensen
Default How to change Ubuntu 8.10 Linux Terminal Server network address?


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 to (My LAN is already; 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, 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

20081102-193224 dpchrist@p43400e ~
$ 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

20081102-193251 dpchrist@p43400e ~
$ cat /etc/ltsp/dhcpd.conf | egrep -v '#' | egrep .+
subnet netmask {
option domain-name "holgerdanske.com";
option domain-name-servers;
option broadcast-address;
option routers;
option subnet-mask;
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 dpchrist@p43400e ~
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0c:f1:fd:74:81
inet addr: Bcast: Mask:
inet6 addr: fe80::20c:f1ff:fefd:7481/64 Scope:Link
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 dpchrist@p43400e ~
$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0f:b5:ff:fa:0d
inet addr: Bcast: Mask:
inet6 addr: fe80::20f:b5ff:feff:fa0d/64 Scope:Link
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 dpchrist@p43400e ~
$ ping -c 3 www.holgerdanske.com
PING holgerdanske.com ( 56(84) bytes of data.
64 bytes from holgerdanske.com ( icmp_seq=1 ttl=57
time=16.7 ms
64 bytes from holgerdanske.com ( icmp_seq=2 ttl=57
time=16.3 ms
64 bytes from holgerdanske.com ( 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, 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.


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




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?



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.

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 05:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org