Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Getting an iMAC G3 to be thin client on Edubuntu LTSP

  1. #1
    Join Date
    Feb 2009
    Beans
    1

    Getting an iMAC G3 to be thin client on Edubuntu LTSP

    Hello,

    We are a school district with about a bazillion iMAc G3 computer labs. (Specs around 333Mhz for the processor and 32-128MB of RAM.

    I have created a thin client lab that I am loving with Ubuntu/Edubuntu 8.10 combo discs for an LTSP server. It works great. I have used it for old i386 pcs that were going to be trashed.

    I now want to create an Edubuntu LTSP server for a test classroom of iMACs. If it works good, I can roll out a server for each lab and use those computers. For now they are so old that they can't get the latest flash update4s for educational websites. As a thin client.....*crosses fingers*

    Here is my question. I am following https://help.ubuntu.com/community/Ub...CrossArchSetup Guide, and it says to
    gksudo gedit /etc/exports

    edit:

    /opt/ltsp *(ro,no_root_squash,async)

    to be:

    /opt/ltsp *(rw,no_root_squash,async)
    However there is not "/etc/exports" document to edit....
    Does anyone know how to do what I want? I know I need to update the processor architecture to allow the LTSP server to service powerpcs.

    I have alternate disk Ubuntu 8.1 installed with the LTSP option and the Edubuntu 8.1 add on cd installed on my server. It has 2 NICS. I have a G3 with alternate Xubuntu 7.1 powerpc installed I can use to do the client build.

    I am stuck and really need help, suggestions, or references to more complete guides. Thank you.

  2. #2
    Join Date
    Apr 2007
    Beans
    9

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    LTSP doesn't use NFS anymore, so you just have to install nfs-kernel-server on both, then create the file /etc/exports and add the one line.

    I just tried to do it this afternoon, but have been having all kinds of problems with the mirrors moving to ports.ubuntu.com/ (without /ubuntu/)

    I think the CrossArch guide is also missing instructions telling you to copy over the /var/lib/tftpboot/ stuff for powerpc. I'll keep you updated as I get stuff working.
    Last edited by PhirePhly; March 17th, 2009 at 01:20 AM.

  3. #3
    Join Date
    Mar 2009
    Location
    E Bronx, NY
    Beans
    2
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    Quote Originally Posted by PhirePhly View Post
    I just tried to do it this afternoon, but have been having all kinds of problems with the mirrors moving to ports.ubuntu.com/ (without /ubuntu/)
    I have been working on that step as well, if you can update this thread when you get a workaround, I would appreciate it!

  4. #4
    Join Date
    Apr 2007
    Beans
    9

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    I used apt-cacher-ng on another desktop to work around the /ubuntu/ problem by commenting out the two default remaps and adding
    Code:
    # in /etc/apt-cacher-ng/acng.conf
    Remap-ubu: /ubuntu /ubuntu/ubuntu ; http://ports.ubuntu.com
    and restarting it. I don't *think* you need the /ubuntu/ubuntu, but these tools keep assuming they can just tack /ubuntu/ on the end of anything.

    Then pointing ltsp-build-client at this local mirror, in my case at 192.168.1.149:
    Code:
    sudo rm -r /opt/ltsp/powerpc
    sudo ltsp-build-client --mirror http://192.168.1.149:3142/ubuntu --security-mirror http://192.168.1.149:3142/
    I also got pretty much as far by mounting an alternate cd and accessing it over apache2 locally:
    Code:
    sudo apt-get install apache2
    sudo mount -o loop /path/to/ubuntu-8.04.1-alternate-powerpc.iso /var/www/
    But now the ltsp-client package fails because one of its dependencies is uninstallable:
    Code:
    The following packages have unmet dependencies:
     ltsp-client: Depends: acpid but it is not installable
    E: Broken packages
    So I think we're pretty much SOL for now. Like so many things in PowerPC land, this is fundamentally broken.
    My next thought is to try and build an image from Debian or Dapper, but it being finals week really cuts into my free time right now.

    Notes:
    I'm not bothering with the NFS mount, but just building everything locally, then will copy /opt/ltsp/powerpc/ and /var/lib/tftpboot/ltsp/ manually over ssh.
    Last edited by PhirePhly; March 22nd, 2009 at 01:46 AM. Reason: yaboot isn't broken.

  5. #5
    Join Date
    Mar 2009
    Location
    E Bronx, NY
    Beans
    2
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    That is awful. Thanks for the updates, you saved me hours of work.

    Still, I am going to have to mothball this project, and start Edubuntu LTSP with the few PC clients we have, and I'll try to work in the 50+ iMacs we have over the next month or so. Hopefully, some of the bug reports can be cleaned up by then.

    -Simon

    Quote Originally Posted by PhirePhly View Post
    I used apt-cacher-ng on another desktop to work around the /ubuntu/ problem by commenting out the two default remaps and adding
    Code:
    # in /etc/apt-cacher-ng/acng.conf
    Remap-ubu: /ubuntu /ubuntu/ubuntu ; http://ports.ubuntu.com
    and restarting it. I don't *think* you need the /ubuntu/ubuntu, but these tools keep assuming they can just tack /ubuntu/ on the end of anything.

    Then pointing ltsp-build-client at this local mirror, in my case at 192.168.1.149:
    Code:
    sudo rm -r /opt/ltsp/powerpc
    sudo ltsp-build-client --mirror http://192.168.1.149:3142/ubuntu --security-mirror http://192.168.1.149:3142/
    I also got pretty much as far by mounting an alternate cd and accessing it over apache2 locally:
    Code:
    sudo apt-get install apache2
    sudo mount -o loop /path/to/ubuntu-8.04.1-alternate-powerpc.iso /var/www/
    But now the ltsp-client package fails because one of its dependencies is uninstallable:
    Code:
    The following packages have unmet dependencies:
     ltsp-client: Depends: acpid but it is not installable
    E: Broken packages
    So I think we're pretty much SOL for now. Like so many things in PowerPC land, this is fundamentally broken.
    My next thought is to try and build an image from Debian or Dapper, but it being finals week really cuts into my free time right now.

    Notes:
    I'm not bothering with the NFS mount, but just building everything locally, then will copy /opt/ltsp/powerpc/ and /var/lib/tftpboot/ltsp/ manually over ssh.

    Even once we do build the images, I'm going to put money on it suffering from Bug #26426, so you'll need to replace yaboot with my patched version.

  6. #6
    Join Date
    Feb 2009
    Beans
    1

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    Hi, I had this problem when I tried to do a cross arch setup. The acpid problem is listed as a launchpad bug. I followed the instructions and the clients built fine for me but they still don't boot as I get stuck at a busybox prompt.

    link to launchpad:
    https://bugs.launchpad.net/ubuntu/+s...sp/+bug/213014

  7. #7
    Join Date
    Apr 2007
    Beans
    9

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    I can confirm that the workaround works, but I find it strange that the bug is marked fixed. I'm using version 5.0.40-bzr... but it's still broken. Haven't gotten a chance to try booting it yet, so all I can say is that it built successfully. I'll try booting it once I drive home this afternoon.

  8. #8
    Join Date
    Apr 2007
    Beans
    9

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    I've hit an issue with nbd_server (network block device, which replaced nfs). I haven't figured out how to tell it to serve /opt/ltps/image/powerpc.img instead of ./i386.img, but as a workaround I just renamed powerpc.img as i386.img, which is obviously not useful for multiple arch support.

    I also had to move /var/lib/tftpboot/ltsp/powerpc/yaboot.conf to .../tftpboot/yaboot.conf, since yaboot was looking for it there...

    It booted (slowly), and now only says
    Code:
    (ldmgtkgreet:3329): Gtk-WARNING **: cannot open display: :6
    I can't ctrl-alt-F1 into a terminal, or really make it respond at all.

  9. #9
    Join Date
    Apr 2007
    Beans
    9

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    I have retried everything using Jaunty.

    I have figured out that the nbd (network block device) file is defined in /etc/inetd.conf, but that still doesn't by itself solve the problem of serving different images to different clients.

    When it comes up and is about to start the gdmgreeter, it instead displays:
    Code:
    Loading, please wait...
    IP-Config: eth0 hardware address 00:50:e4:30:d4:0e mtu 1500 DHCP RARP
    IP-Config: eth0 complete (from 192.168.1.1):
     address: 192.168.1.15 [ed: SNIP DHCP info]
     rootserver: 192.168.1.12 rootpath:
     filename  : yaboot
    Negotiation: ..size = 172668KB
    bs=1024, sz=172668
    Kernel call returned: Broken pipe Reconnecting
    Negotiation: ..size = 172668KB
    Error: Ioctl/1.1a failed: Bad file descriptor
    
    Ubuntu jaunty (development branch) KWF5 tty1
    KWF5 login:
    With 192.168.1.1 my DHCP server, 192.168.1.12 (KWF2) my tftp and nbd server, and 192.168.1.15 (KWF5) my powerbook G3 client. I couldn't find any logins that worked on the prompt on the client...
    This is beyond me, so I'm stuck again...

  10. #10
    Join Date
    Feb 2011
    Beans
    4

    Re: Getting an iMAC G3 to be thin client on Edubuntu LTSP

    It seems building a PowerPC client has been broken for quite some time. I attempted to install 10.04 Alternate on a G4 and it will not build a client image. I may attempt to build one by hand.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •