Предыдущая тема:
https://forum.ubuntu.ru/index.php?topic=166967.0Сервер:
HP ProLiant ML110 G7ОС: GNU/Linux Ubuntu 10.04,3, установленная из AlternateCD в режиме LTSP.
В работе 1 интерфейс: eth0.
Схема сети (должна быть по задумке):
Сервер => Хаб
Тонкий клиент (8-9 шт.) => Хаб
3 рабочих станции => хаб
Роутер (без DHCP)/модем => хаб
Пока хаба на 16 портов нет, подключил для теста напрямую. То есть от сервера к одному из клиентов.
Получил облом. Сменил IP адреса в NM, получил:

DHCP нашёл. Великолепно!
Обновил образ и ssh-ключи ltsp - эффекта ноль!
Время уже ближе к 5: надо домой. Взял с собой выхлопы и конфиги.
И так:
1. Родной dhcpd.conf заменил на ltsp-вский:
#
# 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.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
# 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";
}
}
ltsp-update-image.conf
# Configuration file for ltsp-update-image
# By default, do not compress the image
# as it's reported to make it unstable
NO_COMP="-noF -noD -noI -no-exports"
ifconfig
serveradmin@terminal-server:/etc/ltsp$ ifconfig
eth0 Link encap:Ethernet HWaddr b4:99:ba:aa:f8:1e
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::b699:baff:feaa:f81e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8089 errors:0 dropped:0 overruns:0 frame:0
TX packets:8018 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4539568 (4.5 MB) TX bytes:473826 (473.8 KB)
Memory:fbee0000-fbf00000
eth1 Link encap:Ethernet HWaddr b4:99:ba:aa:f8:1f
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::b699:baff:feaa:f81f/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:1866 (1.8 KB)
Memory:fbfe0000-fc000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2412 errors:0 dropped:0 overruns:0 frame:0
TX packets:2412 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:375650 (375.6 KB) TX bytes:375650 (375.6 KB)
route -n
serveradmin@terminal-server:/etc/ltsp$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
ltsp-info
serveradmin@terminal-server:/etc/ltsp$ ltsp-info
server information:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid
server packages:
ii ldm-server 2:2.1.1-0ubuntu2.1
un ldminfod <нет>
ii ltsp-server 5.2.1-0ubuntu9
ii ltsp-server-standalone 5.2.1-0ubuntu9
un ltsp-utils <нет>
ii ltspfs 0.6-0ubuntu1
packages in chroot: /opt/ltsp/i386
ii ldm 2:2.1.1-0ubuntu2.1
un ldm-themes <нет>
ii ldm-ubuntu-theme 2:2.0.41
un ldm-ubuntu-themes <нет>
ii ltsp-client 5.2.1-0ubuntu9
ii ltsp-client-core 5.2.1-0ubuntu9
ii ltspfsd 0.6-0ubuntu1
ii ltspfsd-core 0.6-0ubuntu1
found: /opt/ltsp/i386/etc/lts.conf
found image: /opt/ltsp/images/i386.img
Ну и раз уж взял, lspci + lsusb
serveradmin@terminal-server:/etc/ltsp$ lsusb
Bus 003 Device 002: ID 03f0:7029 Hewlett-Packard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 1516:8628 CompUSA 128M Pen Drive
Bus 002 Device 002: ID 8087:0024
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 04d9:1603 Holtek Semiconductor, Inc.
Bus 001 Device 004: ID 0458:003a KYE Systems Corp. (Mouse Systems)
Bus 001 Device 003: ID 03f0:1fe2 Hewlett-Packard
Bus 001 Device 002: ID 8087:0024
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
serveradmin@terminal-server:/etc/ltsp$ lspci
00:00.0 Host bridge: Intel Corporation Device 0108 (rev 09)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:06.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Device 1c54 (rev 05)
00:1f.2 RAID bus controller: Intel Corporation Cougar Point SATA RAID Controller (rev 05)
01:00.0 System peripheral: Hewlett-Packard Company iLO3 Slave instrumentation & System support (rev 05)
01:00.1 VGA compatible controller: Matrox Graphics, Inc. Device 0533
01:00.2 System peripheral: Hewlett-Packard Company iLO3 Management Processor Support and Messaging (rev 05)
01:00.4 USB Controller: Hewlett-Packard Company Proliant iLO2 virtual USB controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
Что посоветуете, где ошибся? PS, когда ставил, указал основным интерфейсом eth0, но Ubuntu не верно определила параметры сети, так что, возможно, куда-то попали не те адреса.
Пользователь решил продолжить мысль 20 Декабря 2011, 17:10:41:
PS, модераторов прошу перебросить тему в соответствующий подраздел. Извиняюсь: не увидел его сразу.
Пользователь решил продолжить мысль 20 Декабря 2011, 18:04:40:
up