Skip to content
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

Kali 2016.1 box: multiple network issues #8

Closed
Sliim opened this issue Feb 25, 2016 · 1 comment
Closed

Kali 2016.1 box: multiple network issues #8

Sliim opened this issue Feb 25, 2016 · 1 comment

Comments

@Sliim
Copy link
Owner

Sliim commented Feb 25, 2016

There is some issues on actual Kali box 2016.1:

  1. Vagrant cannot connect to virtual machine, so no ssh, no shared folder, no provisioning...
    This issues can be resolved by setting up the eth0 interface in /etc/network/interfaces:

    auto eth0
    iface eth0 inet dhcp
    
  2. Vagrant cannot configure and enable public network (private net can be affected)
    When the public network is enabled, vagrant fails with message:

    The following SSH command responded with a non-zero exit status.
    Vagrant assumes that this means the command failed!
    
    /sbin/ifdown eth1 2> /dev/null
    
    Stdout from the command:
    
    Stderr from the command:
    
    mesg: ttyname failed: Inappropriate ioctl for device
    

    No fix yet! A possible workaround is to up the kali machine without extra network (comment public & private net), wait for provisioning.. uncomment wanted network(s) and run vagrant reload kali.

Fixing these issues will result to a new Box.

@Sliim
Copy link
Owner Author

Sliim commented Mar 9, 2016

Looks that vagrant attempt to ifdown interface before add it to /etc/network/interfaces, so the interface is unknown and the command fails.
Possible fix is to declare eth1 & eth2 interfaces for private & public networks...

@Sliim Sliim closed this as completed in 0097e96 Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant