[K12OSN] Booting macs

Eric Brown ericbrown at mi-spot.com
Fri Aug 26 19:34:21 UTC 2005


Thanks everyone for their help so far.  I'm narrowing down the problem, and
I think I'm nearly there.

At first I wanted to make sure that the DHCP server was working properly for
the mac, so I changed the network card on the mac to take dhcp, which it did
with no problem, getting 192.168.0.211.

I went to the messages log, and saw something to the effect of "not
authoratative for the subnet 192.168.0.0"  Somewhere in google, I saw that I
should add the line "authoratative;" (without quotes) to the top line of the
dhcpd.conf, which I did, then restarted dhcpd.

Now in my messages log, it looks like it gets the ip address, but never
gives out the OS.

For a successful boot with x86, it looks like:

Aug 26 09:31:15 ltsp dhcpd: DHCPDISCOVER from 00:10:4b:57:f2:68 via eth0
Aug 26 09:31:16 ltsp dhcpd: DHCPOFFER on 192.168.0.213 to 00:10:4b:57:f2:68
via eth0
Aug 26 09:31:16 ltsp dhcpd: DHCPREQUEST for 192.168.0.213 (192.168.0.254)
from 00:10:4b:57:f2:68 via eth0
Aug 26 09:31:16 ltsp dhcpd: DHCPACK on 192.168.0.213 to 00:10:4b:57:f2:68
via eth0
Aug 26 09:31:22 ltsp dhcpd: DHCPDISCOVER from 00:10:4b:57:f2:68 via eth0
Aug 26 09:31:22 ltsp dhcpd: DHCPOFFER on 192.168.0.213 to 00:10:4b:57:f2:68
via eth0
Aug 26 09:31:23 ltsp dhcpd: DHCPREQUEST for 192.168.0.213 (192.168.0.254)
from 00:10:4b:57:f2:68 via eth0
Aug 26 09:31:23 ltsp dhcpd: DHCPACK on 192.168.0.213 to 00:10:4b:57:f2:68
via eth0
Aug 26 09:31:23 ltsp rpc.mountd: authenticated mount request from
ws213.ltsp:657 for /opt/ltsp/i386 (/opt/ltsp/i386)

Before I added the authortative line, it looked like:

Aug 26 09:50:55 ltsp dhcpd: DHCPDISCOVER from 00:14:51:07:39:ba via eth0
Aug 26 09:50:56 ltsp dhcpd: DHCPOFFER on 192.168.0.216 to 00:14:51:07:39:ba
via eth0
Aug 26 09:50:56 ltsp dhcpd: DHCPREQUEST for 192.168.0.216 (192.168.0.254)
from 00:14:51:07:39:ba via eth0
Aug 26 09:50:56 ltsp dhcpd: DHCPACK on 192.168.0.216 to 00:14:51:07:39:ba
via eth0
Aug 26 09:51:00 ltsp dhcpd: DHCPINFORM from 192.168.0.216 via eth0: not
authoritative for subnet 192.168.0.0
Aug 26 09:51:58 ltsp last message repeated 3 times

After I added the authortative line:

Aug 26 12:51:35 ltsp dhcpd: DHCPDISCOVER from 00:0d:93:53:d8:ca via eth0
Aug 26 12:51:36 ltsp dhcpd: DHCPOFFER on 192.168.0.211 to 00:0d:93:53:d8:ca
via eth0
Aug 26 12:51:36 ltsp dhcpd: DHCPREQUEST for 192.168.0.211 (192.168.0.254)
from 00:0d:93:53:d8:ca via eth0
Aug 26 12:51:36 ltsp dhcpd: DHCPACK on 192.168.0.211 to 00:0d:93:53:d8:ca
via eth0
Aug 26 12:51:40 ltsp dhcpd: DHCPINFORM from 192.168.0.211 via eth0
Aug 26 12:51:40 ltsp dhcpd: DHCPACK to 192.168.0.211
Aug 26 12:51:49 ltsp dhcpd: DHCPINFORM from 192.168.0.211 via eth0
Aug 26 12:51:49 ltsp dhcpd: DHCPACK to 192.168.0.211
Aug 26 12:52:05 ltsp dhcpd: DHCPINFORM from 192.168.0.211 via eth0
Aug 26 12:52:05 ltsp dhcpd: DHCPACK to 192.168.0.211
Aug 26 12:52:38 ltsp dhcpd: DHCPINFORM from 192.168.0.211 via eth0
Aug 26 12:52:38 ltsp dhcpd: DHCPACK to 192.168.0.211

Like it's just cranking away, but not getting that kernel.  I do have
/opt/ltsp/ppc/etc/lts.conf file that has been mentioned.

Any clues as to where to look? 

-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On Behalf
Of Petre Scheie
Sent: Friday, August 26, 2005 10:04 AM
To: Support list for opensource software in schools.
Subject: Re: [K12OSN] Booting macs

The flashing tile with the globe means it's trying to netboot.  When it is
working correctly on my one Mac (sheesh, give the guy a Mac and suddenly
he's an authority on it
;-)) the tile blinks only once or twice, and then starts booting from the
server. 
Initially, it wasn't working for me, with the tile blinking for several
minutes, just like yours, because I don't use the default 192.168.0.x
addressing, but the ppc lts file does.  When I changed the addressing in the
ppc lts.conf file, it started working.  So, lots of words to say that it
sounds like your Mac isn't finding the server.

To answer your last question, yes, you can have your server booting both x86
and ppc clients at the same time.  I love showing that off to people,
demonstrating how flexible Linux is.

Petre

Eric Brown wrote:
> This information was most helpful.  Thanks Shawn
> 
> The G3 I had was the beige all-in-one model.  Unfortunatly, that's 
> what we have throughout our district.  I'll see if I can't have one to 
> try out yellow dog.
> 
> Now, I've gotten an eMac, white egg-shell type machine, that runs OS X 
> pretty well.  I held down the N key when it booted, and I got a 
> flashing tile with a globe in the middle of the screen for a few 
> minutes, then it booted into OS X.  I then tried to change the startup 
> disk to a net boot, restarted, and got the same thing.
> 
> I checked the lts.conf file, and the second or third line does state 
> that the server is the correct address (the default of 192.168.0.254.
> 
> Can I have BOTH x86 pc's and ppc's running on my ltsp network at the 
> same time?  I've also got 20-some old gateways running ltsp so I know 
> my dhcp is working.
> 
> Thanks again,
> Eric
> 
> -----Original Message-----
> From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On 
> Behalf Of Shawn Powers
> Sent: Thursday, August 25, 2005 8:06 PM
> To: Support list for opensource software in schools.
> Subject: Re: [K12OSN] Booting macs
> 
> cliebow at downeast.net wrote:
> 
>>if they are old world gv3 without openfirmware..they wont netboot
> 
> 
> If it is in fact an iMac (color other than beige) it will neboot.  
> Even the original Bondi iMacs will netboot.
> 
> I can't get mine to boot either, and I'm not sure why.  I installed 
> 4.4.0
> pre2 on a test server, with all the default settings, and got an iMac 
> to boot fine.  When I put it on a production server (with 4.4.0 pre3), 
> I can't get it to work.  On the suggestion from David Trask (I think?  
> Maybe Jim
> Kronebusch...) I edited the /opt/ltsp/ppc/etc/lts.conf file to point 
> to the new IP of the server, but still it wouldn't boot.
> Perhaps it was something with my external DHCP server.  I tried 
> copying all the if/then magic regarding the kernel image, etc -- but no
glory.
> I've been too busy with other stuff (still at work, after 9PM) to 
> troubleshoot as well, which really stinks.
> 
> Will they boot from a stock (read: all defaults) install on a 2 NIC
server?
> I hope it works for you, it's uber-cool to see one boot up. 
> And lastly, no -- you don't see a happy mac.  It goes to a black 
> screen with text as soon as it gets the kernel.
> 
> If it *is* a beige computer, like the G3 all in one model -- the 
> chubby client is the way to go.  I still have a handful of PowerMac 
> 5500's in service.  They have a local install of yellowdog linux, and 
> do an X -query command to connect to the server.  I even mangled 
> around the esd stuff, and they have sound support too.  I haven't 
> messed with them for over a year though, so I'm a little rusty.
> 
> Don't give up -- even though it's the busiest time of year for most of 
> us, I/we/us will try to figure out the problem, especially since 
> you're not alone.  (mine won't work either yet)
> 
> -Shawn
> 
> 
> --
> Shawn Powers
> Technology Director
> Inland Lakes Schools
> PHN: 231-238-6868 x9174
> FAX: 509-356-7024
> spowers at inlandlakes.org
> http://techcorner.inlandlakes.org
> 
> --<Disclaimer, now required for frustrating reasons>-- The views, 
> opinions, visions, thoughts, comments, sarcastic whims, forecasts, 
> poetic outbursts, cynical wit, future plans, implementation ideas, OS 
> preference, curricular insight, ice cream preference, or anything else 
> I might infer are not the views of Inland Lakes Schools.  Pretty much 
> everything I say, do, think, or imply with punctuation should be 
> considered my own delusions, and ignored completely.
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>






More information about the K12OSN mailing list