New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grml-terminalserver scripts don't work with 2017.05 release #65

Closed
ghost opened this Issue Jul 28, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented Jul 28, 2017

Hi,

there seem to be multiple issues with the grml-terminalserver scripts in the 2017.05 release. I'm using the grml96-full_2017.05.iso image but the issues might also affect other versions.

  1. grml-terminalserver-config fails to determine current ip address and netmask because some functions in /etc/grml/sh-lib expect a deprecated ifconfig output format.
  2. grml-terminalserver fails to export the correct nfs shares (the netmask value is missing/empty, e.g. it tries to export /lib/live/mount/medium 192.168.1.0/(ro,...) )
  3. grml-terminalserver also fails to start the dhcp server.

After correcting 1. and 2. everything seems to work and I was able to boot a VM via PXE. I didn't investigate into 3. yet because I have a dedicated dhcp server.

@casualscripter

This comment has been minimized.

Show comment
Hide comment
@casualscripter

casualscripter Sep 4, 2017

Same problem here.

Changing...

#netGetNetmask()
#[...]
nm_=$( ifconfig "$iface_" | awk '/netmask /{ print $4; }' )
#[...]

#netGetIp()
#[...]
ip_=$( ifconfig "$iface_" | awk '/inet /{print $2;}' )
#[...]

in /etc/grml/sh-lib fixed it for me.

casualscripter commented Sep 4, 2017

Same problem here.

Changing...

#netGetNetmask()
#[...]
nm_=$( ifconfig "$iface_" | awk '/netmask /{ print $4; }' )
#[...]

#netGetIp()
#[...]
ip_=$( ifconfig "$iface_" | awk '/inet /{print $2;}' )
#[...]

in /etc/grml/sh-lib fixed it for me.

@casualscripter

This comment has been minimized.

Show comment
Hide comment
@casualscripter

casualscripter Sep 6, 2017

Okay, my "fix" is working in VirtualBox betreen two VMs (BIOS) but on our new hardware in the course room (physical machines) it is not working (UEFI and BIOS).

casualscripter commented Sep 6, 2017

Okay, my "fix" is working in VirtualBox betreen two VMs (BIOS) but on our new hardware in the course room (physical machines) it is not working (UEFI and BIOS).

mika added a commit to grml/grml-live that referenced this issue Sep 7, 2017

scripts/generate_netboot_package.sh: use net.ifnames=0 as default boo…
…t option

Otherwise we end up with arbitrary network device names which
aren't properly supported (yet).

See grml/grml#65
@mika

This comment has been minimized.

Show comment
Hide comment
@mika

mika Sep 7, 2017

Member

@karlh1 - thanks for your bug report!

I just pushed one bug fix that might be related as well: grml/grml-live@54f1911
I need to look into all the issues in more details yet.

@casualscripter hm, what exactly is failing with UEFI boot for you?

Member

mika commented Sep 7, 2017

@karlh1 - thanks for your bug report!

I just pushed one bug fix that might be related as well: grml/grml-live@54f1911
I need to look into all the issues in more details yet.

@casualscripter hm, what exactly is failing with UEFI boot for you?

@mika

This comment has been minimized.

Show comment
Hide comment
@mika

mika Oct 6, 2017

Member

This should be fixed with the new version of grml-shlib, thanks for your feedback!

Member

mika commented Oct 6, 2017

This should be fixed with the new version of grml-shlib, thanks for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment