• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Sebastian Roth
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 28
    • Topics 48
    • Posts 12,331
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: Multiple NIC Hosts

      Oh well, that’s interesting. So I guess we would have to “detect” NICs first and then generate /etc/network/interfaces from that. Just a quick scatch of a script that might be helpful with that:
      [CODE]for iface in $(ls -1 /sys/class/net | tr -d ‘@’)
      do

      all interface need to be up or you will get an invalid

      argument error when checking the link state

      ifconfig $iface up
      linkstate=$(cat /sys/class/net/$iface/carrier)
      if [[ “x$linkstate” = “x1” ]]
      then
      if [[ “x$iface” = “xlo” ]]
      then
      echo “auto lo”
      echo “iface lo inet loopback”
      else
      echo “auto $iface”
      echo “iface $iface inet dhcp”
      echo “udhcpc_opts -t 100 -T 20”
      fi
      fi
      done[/CODE]

      posted in Bug Reports
      S
      Sebastian Roth
    • RE: Problem with 'permission denied' after FOG server restart

      Who would’ve thought that it were wrong entries in /etc/exports… Sounds a bit like you hit the wrong keys when installing FOG. When the installer asked for the path you gave ‘y’ for ‘yes’ maybe…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Problem with 'permission denied' after FOG server restart

      Please run ‘sudo exportfs -a’ on the FOG server. Error message like the one you see in the web interfaces occour if there is no image stored in ‘/images/<name-of-image>’. Maybe you never uploaded one or it went missing. ‘ls -al /images’…

      EDIT: And please make sure nfs client is installed (debian/ubuntu: sudo apt-get install nfs-common) on that machine that you run the tests from!

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Fogftp login failed

      Re-reading your first post I am a bit confused about the error message because that’s exactly the message your get when you try logging into FTP just after you provided the username. See here:
      [CODE]$ ftp 127.0.0.1
      Connected to 127.0.0.1.
      220 (vsFTPd 2.3.5)
      Name (127.0.0.1:fog): fog
      331 Please specify the password.
      Password:
      …[/CODE]
      Please douple check the username too! But I really wonder why this would cause ftp_login to fail??

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Problem with 'permission denied' after FOG server restart

      Forgot to say that mounting can usually only be done by root! So use [B]sudo[/B] with all these commands…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Multiple NIC Hosts

      If I get thinks right here I’d say that this is simply a question of the order in which linux registers the network interfaces when FOG comes up on the client. Maybe I am wrong but I believe that FOG 1.2.0 did not magicaly “find the working interface”. It’s just that the older kernel registered the onboard NIC as eth0 I guess. Interesting post on this topic: [url]https://lists.debian.org/debian-user/2006/01/msg00075.html[/url]

      Easy test would be to extract bzImage{,32} and init{,_32}.xz from fog_1.2.0.tar.gz and put those into ‘/var/www/fog/service/ipxe/’ where SVN 2948/3053 is running. Probably best to backup this whole directory first before overwriting those files.

      Will be interesting to see if I am on the wrong track with this…

      posted in Bug Reports
      S
      Sebastian Roth
    • RE: Conditional boot menu (aka different boot menu for Windows and Mac)

      Current implementation checks ‘$this->Host->getOS()’. Depending an the return value I display Mac OS X in the boot menu or Windows. Quite simple and I guess I’ll be happy with this for now. Sorry for all the rumors I make about cosmetics like this…

      posted in General
      S
      Sebastian Roth
    • RE: Pxe boot halts with MTFTP message on specific platforms

      [quote=“mecsr, post: 42909, member: 23886”]As for VOIP, that does exist on our network, lots of ip phones, but it’s never caused a problem before.[/quote]
      Kind of weird isn’t it. Just another one of those “haven’t changed anything” issues. 😉 Just kidding…

      [quote=“mecsr, post: 42909, member: 23886”]I’m now getting a can’t mount nfs error.[/quote]
      Try mounting the shares from another computer and see if you get any errors…
      [CODE]mkdir -p /mnt/nfstest && mount -v <server-ip>:/images /nfstest
      umount /nfstest
      mount -v <server-ip>:/images/dev /nfstest
      umount /nfstest && rmdir /nfstest[/CODE]

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Problem with 'permission denied' after FOG server restart

      [quote=“haste347, post: 42908, member: 28447”]Frank, I have attached the output of the permissions. I am loading another PC with Ubuntu to help with testing.
      The FOG setup should have made the share able to be mounted even after a restart, correct?[/quote]
      Permissions look pretty good to me! Yes, FOG should setup NFS properly even if running it a couple of times and restarting the server doesn’t hurt either (as nfs server is being started as a service at boot time). Keep us posted how you go with mounting NFS from your new test machine.

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Error can't evaluate _crs 12311

      From what I can see in this thread and in other posts when searching for that error on the web it seams to not be a “show stopper”. It’s more like a warning but FOG should still be able to do it’s job. AFAIK the warning doesn’t have to do anything with the GPT issue discussed here. Two unrelated things…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Blank Fog login screen

      And now it all works again? Maybe the mysql database on the old system was corrupt…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: IPXE 1.0.0 to 1.0.1

      Could you please be more specific on when and where this error occours? A quick search on the web didn’t give much information so we are left to guess… Maybe you can take a screenshot/picture of it. Please help us so that we are able to help you!

      posted in General
      S
      Sebastian Roth
    • RE: Fogftp login failed

      Try connecting via ftp command line client for testing using those credentials. Does that work for you?

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Fogftp login failed

      You can find these settings within the web interface: Storage Management -> Storage Node Settings -> Management Username/Password…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Multicasting Swap Partition Problem

      I had a quick look through the shell scripts and saw that with FOG 1.2.0 there are actually differences in how swap partitions are being handled depending on how clients are uploaded/deployed (multicast vs. single download and single disk vs. multiple partitions)! As I am not a developer I can’t tell you why things are like this. Maybe Tom or Junkhacker can shed a light on this.
      But from what I can see there have been major changes in those scripts in the last months. If you got a spare machine you could easily setup another testing FOG server and install the current SVN version (see here: [url]http://www.fogproject.org/wiki/index.php/SVN[/url]). I can’t promise you anything but I wouldn’t be surprised if swap is working with that… If not we can still start digging into the shell scripts to see where things go wrong.

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: Conditional boot menu (aka different boot menu for Windows and Mac)

      [quote=“Tom Elliott, post: 42870, member: 7271”]Why would that matter?[/quote]
      Because I want to boot straight into windows/linux/mac os x if there is no task scheduled for that client. FOG uses grub4dos or sanboot method to boot from the hard drive. But this does not work with Apple! What works for me is loading my own version of grub64bit.efi and then chainloading into Mac OS X with that. But that doesn’t work on PCs on the other hand. So I need to distinguish between PC and Apple. Maybe it’s just stupid how I try to do things. Please bear with me.
      [B]EDIT: I just realized that I didn’t explain my situation quite well enough! Updated the above post too. What I am trying to achieve is displaying a different menu whether there is a PC asking for it or an Apple. YES, I could just show the same boot menu to all of them. But I wonder if it can be done better…[/B]

      posted in General
      S
      Sebastian Roth
    • RE: Conditional boot menu (aka different boot menu for Windows and Mac)

      Thanks a lot for your answer Tom! I am sorry but I am still convinced that the decision needs to be done in the boot menu… let me explain. First scenario with PC/BIOS:
      [CODE]
      BIOS -> PXE ROM -> DHCP -> tftp://fog-ip/undionly.kpxe -> default.ipxe -> boot.php
      -> option 1 (no task scheduled): chainload windows (grub4dos) or linux (using grub with loopback support as we use wubi)
      -> option 2 (task scheduled): run task[/CODE]
      And now with Apple/EFI:
      [CODE]
      EFI -> PXE ROM -> DHCP -> tftp://fog-ip/ipxe.efi -> default.ipxe -> boot.php
      -> option 1 (no task scheduled): chainload mac os x (using grub with efi support)
      -> option 2 (task scheduled): run task[/CODE]
      As you can see I do have DHCP user class settings to serve the correct iPXE binary. But where do I go from there? I could point ipxe.efi to a different ipxe-file, yes. But at some point I need to ask boot.php if this particular client has been scheduled a job or not, right?? I don’t see how I could possibly distinguish between ‘task’ and ‘normal boot’ before I get to load boot.php…

      Any ideas and comments are highly appreciated! 🙂

      posted in General
      S
      Sebastian Roth
    • RE: Multicasting Swap Partition Problem

      Alright, sounds like this is definitely an issue with FOG multicasting. I can’t test this in our labs straight away as we have linux setup with wubi (swap is within the container file) which does not cause any problems! I see if I can setup a couple of testing machines to try and reproduce this issue…

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: Request for Help or maybe just answers

      [quote=“Theodor, post: 42811, member: 28660”]Got it working with Tom’s 32 bit .config file using Linux 3.15.6 kernel, linux-firmware.git and added USB Mass Storage and SCSI Block Storage drivers, all that did the trick. Thank you all.[/quote]
      Oh yes, the SCSI block device driver… forgot about that! Thanks for reporting back! Great to hear that you got it working now… 🙂

      posted in Hardware Compatibility
      S
      Sebastian Roth
    • 1 / 1