Thin clients not booting - help?
Peter k
peter at beetlebolt.com
Thu Sep 8 04:35:42 UTC 2011
My /etc/ltsp/dhcpd.conf looks almost exactly like yours. I think either your
nics haven't taken their newer configuration or your dhcp server hasn't
gotten it's newer configuration.
-peter
On Tue, Sep 6, 2011 at 8:01 AM, Peter k <peter at beetlebolt.com> wrote:
> Joseph, I can't spot the problem either. And the dhcp3-server package in
> 11.10 is new to me (dhcp3-server - ISC DHCP server (transitional package)).
> But since your error references not being able to process your
> /etc/ltsp/dhcpd.conf file correctly, consider
> 1) backing it up and regenerating it
> 2) checking it's read permissions (ls -l )
> 3) ensure that it's the correct config file (correct name/correct location)
>
> I'll try to remember to check your dhcpd.conf file against mine when I get
> to work today.
>
> I think it's unrelated to your dhcp server issue, but make sure you work
> out your upstream device (eth0) which might require purging network-manager.
> And dont' forget to run *sudo ltsp-update-sshkeys* since you changed your
> nics.
>
> but maybe you knew all that...
>
> -peter
>
>
> On Sat, Sep 3, 2011 at 11:45 AM, David Groos <djgroos at gmail.com> wrote:
>
>> Hey Joseph,
>>
>> Some things that come to mind...
>>
>> 1. Are you using "Network Manager"? it seems that that has a different
>> way of setting up ip addresses. For example, I was just trying to set up a
>> vpn client on my home ubuntu so I could access our district servers. I
>> thought I had everything correct but couldn't make it work with editing the
>> appropriate config files. So then I tried using
>> System-->Preference-->Network Connections and got it set up and it worked
>> BUT it also ignored my /etc/network/interfaces config file! So then I had
>> to put further info into this application to get my internet and static ip
>> back. Lesson here, read up all you can about the issues with Network
>> Manager. I know that I ended up removing it while setting up the school
>> ltsp server 15 months ago. So, I'm saying that some other config file
>> besides /etc/network/interfaces MIGHT be affecting your setup. Sorry I
>> don't know more about this.
>> 2. A common mistake for me is choosing the netmask--I've never really
>> learned the diff between type A and type B/C etc networks, I don't remember
>> when I should set this to 255.255.255.0 or 255.255.0.0. so when nothing else
>> works I try one then the other. I seem to remember that a 10.x.x.x would
>> have the latter? You probably know all this but I thought I would share it
>> just in case.
>> 3. When you type the command, "ifconfig" into the terminal, what do
>> you get? This give some critical info as to what's happening on each of
>> your ports. It would be useful (perhaps for myself or someone who knows
>> more than I) for you to post the results of ifconfig here.
>>
>> Good Luck! When it finally works it's sweet!
>> David
>>
>>
>> On Fri, Sep 2, 2011 at 11:58 PM, Joseph Bishay <joseph.bishay at gmail.com>wrote:
>>
>>> Hello,
>>>
>>> Thanks for your feedback -- I tried mimicking your setting but I still
>>> receive the same error. I also did make a point to restart every time
>>> I made changes to the configuration files but it also made no
>>> difference.
>>>
>>> Joseph
>>>
>>> On Fri, Sep 2, 2011 at 10:32 AM, David Groos <djgroos at gmail.com> wrote:
>>> > Hi Joseph,
>>> > I was looking at your /etc/network/interface file and noticed that all
>>> you
>>> > have for eth0 is the: "auto eth0" and it doesn't tell how it should
>>> connect
>>> > such as via dhcp:
>>> > auto eth0
>>> > iface eth0 inet dhcp
>>> >
>>> > or take on a static ip as I do on my server such as:
>>> > auto eth0
>>> > iface eth0 inet static
>>> > address 10.51.0.199
>>> > netmask 255.255.0.0
>>> > gateway 10.51.0.1
>>> >
>>> > For the connection to the switch/thin/fat clients I use these lines:
>>> > auto eth1
>>> > iface eth1 inet static
>>> > address 192.168.0.1
>>> > netmask 255.255.255.0
>>> > up iptables-restore < /etc/ltsp/nat
>>> >
>>> > You didn't mention that you rebooted the server after adjusting the
>>> > 70-persistent-net.rules?
>>> >
>>> > Good luck!
>>> > David
>>> >
>>> > On Thu, Sep 1, 2011 at 11:07 PM, Joseph Bishay <
>>> joseph.bishay at gmail.com>
>>> > wrote:
>>> >>
>>> >> Hello,
>>> >>
>>> >> I hope everyone is doing well.
>>> >>
>>> >> I have a cleanly installed Edubuntu 11.04 server in the classic 2-NIC
>>> >> format. I realized after installation, but before I tried to connect
>>> >> any thin clients, that it was better to reverse the NICs so the Intel
>>> >> one was running the thin clients. I was able to successfully do so
>>> >> via modification of /etc/udev/rules.d/70-persistent-net.rules and
>>> >> reversing the two lines.
>>> >>
>>> >> Now I wanted to try to book a thin client. Took a switch and plugged
>>> >> the LTSP NIC from the server and a thin client into the switch. And
>>> >> the thin client fails to PXE boot -- can't find the DHCPD server.
>>> >>
>>> >> Ideally I'd like eth0 to be the Internet NIC and eth1 to be the LTSP
>>> >> NIC on the 10.x.x.x. subnet.
>>> >>
>>> >> So I hunted around and find that the dhcpd3 service is not running.
>>> >> Every time I try to run it on the server I get:
>>> >>
>>> >> sudo service isc-dhcp-server start:
>>> >> * Starting ISC DHCP server dhcpd
>>> >> * check syslog for diagnostics. [fail]
>>> >>
>>> >> Checking syslog I get:
>>> >>
>>> >> eduLTSP dhcpd: Wrote 0 leases to leases file.
>>> >> eduLTSP dhcpd:
>>> >> eduLTSP dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
>>> >> eduLTSP dhcpd: ** Ignoring requests on eth1. If this is not what
>>> >> eduLTSP dhcpd: you want, please write a subnet declaration
>>> >> eduLTSP dhcpd: in your dhcpd.conf file for the network segment
>>> >> eduLTSP dhcpd: to which interface eth1 is attached. **
>>> >> eduLTSP dhcpd:
>>> >> eduLTSP dhcpd:
>>> >> eduLTSP dhcpd: Not configured to listen on any interfaces!
>>> >>
>>> >> I've tried to search online and tried a bunch of steps but been unable
>>> >> to resolve this! Here are the relevant configuration files:
>>> >> ---
>>> >> jbishay at i7-eduLTSP:~$ cat /etc/networks
>>> >> # symbolic names for networks, see networks(5) for more information
>>> >> link-local 169.254.0.0
>>> >> ---
>>> >> jbishay at i7-eduLTSP:/etc/network$ cat interfaces
>>> >> auto lo
>>> >> iface lo inet loopback
>>> >>
>>> >> auto eth0
>>> >>
>>> >> #auto eth1
>>> >>
>>> >> iface eth1 inet static
>>> >> # address 192.168.0.254
>>> >> address 10.0.0.254
>>> >> netmask 255.255.255.0
>>> >> broadcast 10.0.0.255
>>> >> ---
>>> >> jbishay at i7-eduLTSP:/etc/ltsp$ cat dhcpd.conf
>>> >> #
>>> >> # Default LTSP dhcpd.conf config file.
>>> >>
>>> >> authoritative;
>>> >>
>>> >> subnet 10.0.0.0 netmask 255.255.255.0 {
>>> >> range 10.0.0.1 10.0.0.250;
>>> >> option domain-name "edultsp.stgr.org";
>>> >> option domain-name-servers 192.168.1.1;
>>> >> option broadcast-address 10.0.0.255;
>>> >> option routers 192.168.1.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";
>>> >> }
>>> >> }
>>> >> ---
>>> >> jbishay at i7-eduLTSP:/etc/default$ cat isc-dhcp-server
>>> >> # Defaults for dhcp initscript
>>> >> # sourced by /etc/init.d/dhcp
>>> >> # installed at /etc/default/isc-dhcp-server by the maintainer scripts
>>> >> #
>>> >> # This is a POSIX shell fragment
>>> >> #
>>> >> # On what interfaces should the DHCP server (dhcpd) serve DHCP
>>> requests?
>>> >> # Separate multiple interfaces with spaces, e.g. "eth0 eth1".
>>> >> INTERFACES="eth1"
>>> >> ---
>>> >>
>>> >> I believe that is all the relevant files-- if I missed something
>>> >> please just tell me and I'll post it here!
>>> >>
>>> >> So I'm at a loss -- what do you recommend?
>>> >>
>>> >> Thanks!
>>> >> Joseph
>>> >>
>>> >> --
>>> >> edubuntu-users mailing list
>>> >> edubuntu-users at lists.ubuntu.com
>>> >> Modify settings or unsubscribe at:
>>> >> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>>> >
>>> >
>>>
>>
>>
>> --
>> edubuntu-users mailing list
>> edubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/edubuntu-users/attachments/20110908/13acec71/attachment.html>
More information about the edubuntu-users
mailing list