Results 1 to 3 of 3

Thread: IP binding-loss, buggy Wireshark, virtual machine networking

  1. #1
    Just burned his ISO
    Join Date
    Jul 2010
    Posts
    9

    Default Networking auto-stop, buggy Wireshark (fixed), virtual machine networking

    Hi There!

    I'm running BT 5 rc1 (64-bit) KDE on my machine. My ethernet card reads Atheros AR8132 PCI-E Fast Ethernet Controller (NDIS 6.20) and I use Virtualbox (virtualbox-4.1_4.1.2-73507~Ubuntu~lucid_amd64) to run my virtual test-machines.
    And I'm running into the following problems:

    I usually have static IP for my ethernet card. The problem is that the IP and gateway bindings keep getting re-initialized after every 2-3 minutes. Which means that I need to keep doing (ifconfig IP/MASK; route add default gw GW_IP) after every few minutes. Somehow the resolv.conf remains untouched..
    Somebody help me...


    Buggy Wireshark: Typing "wireshark" onto bash says
    "wireshark: error while loading shared libraries: libwsutil.so.0: cannot open shared object file: No such file or directory".
    Doing "whereis wireshark" gives
    wireshark: /usr/local/bin/wireshark /usr/local/lib/wireshark
    Which means that wireshark seems to be installed but not running..



    I normally have the following adapter-settings for my virtual-box machines:
    Adapter 1:
    PCnet-FAST III or Intel PRO/1000 MT Desktop (NAT)

    Adapter 2:
    PCnet-FAST III or Intel PRO/1000 MT Desktop (Bridged adapter, eth0)

    Adapter 4:
    PCnet-FAST III or Intel PRO/1000 MT Desktop (Host-only adapter, 'vboxnet0')

    I'm not able to sniff "outgoing" packets from the machines using wireshark on any of these interfaces. For instance if I open the index page of a test-website running on one of the machines from another machine (or from the host itself), I can see all the incoming handshake and subsequent data packets but none of the outgoing request packets.. The packets seem to be getting "trasferred internally" through some kind of software-interface than actually being sent out from the interface. I'm clueless about how do I get around this issue.



    I also need to assign separate IPs to each one of the interfaces and set up a mini-net so that services available on one IP / interface are accessible from another IP / interface on another machine. Could anybody kindly help me go about it?



    I downloaded holynix and I need to run it as a pre-built machine (contains following files: holynix2.nvram, holynix2.vmdk, holynix2.vmsd, holynix2.vmx, holynix2.vmxf) on Virtualbox. Now Virtualbox isn't recognizing the files as a separate machine - how do I get around it?
    Last edited by chaosbuddha; 10-20-2011 at 10:51 AM. Reason: Some bugs got fixed..

  2. #2
    Just burned his ISO docbop's Avatar
    Join Date
    Sep 2011
    Location
    Background
    Posts
    5

    Default Re: IP binding-loss, buggy Wireshark, virtual machine networking

    I had the same problem and resolved it by doing

    apt-get dist-upgrade

  3. #3
    Just burned his ISO
    Join Date
    Jul 2010
    Posts
    9

    Default Re: Networking auto-stop, buggy Wireshark (fixed), virtual machine networking

    Somebody pleeez help me.. The networking stop issue has become a real pain in the neck...

    In the meantime I solved the wireshark problem:
    Buggy Wireshark: Typing "wireshark" onto bash says
    "wireshark: error while loading shared libraries: libwsutil.so.0: cannot open shared object file: No such file or directory".
    Doing "whereis wireshark" gives
    wireshark: /usr/local/bin/wireshark /usr/local/lib/wireshark
    Which means that wireshark seems to be installed but not running..
    by doing
    apt-get dist-upgrade
    But now apt-get itself is running erroneous:
    apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
    whatweb
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/724kB of archives.
    After this operation, 0B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 232987 files and directories currently installed.)
    Preparing to replace whatweb 0.4.7-bt3 (using .../whatweb_0.4.8-bt0_all.deb) ...
    installing ruby gems for increased functionality
    update-alternatives: using /usr/bin/ruby1.8 to provide /usr/bin/ruby (ruby) in manual mode.
    Successfully installed em-resolv-replace-1.1.1
    1 gem installed
    Installing ri documentation for em-resolv-replace-1.1.1...
    Installing RDoc documentation for em-resolv-replace-1.1.1...
    ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
    too many connection resets (http://production.cf.rubygems.org/gems/json-1.6.1.gem)
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'bson_ext' (>= 0) in any repository
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'mongo' (>= 0) in any repository
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'rchardet' (>= 0) in any repository
    update-alternatives: using /usr/bin/ruby1.9.2 to provide /usr/bin/ruby (ruby) in manual mode.
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'em-resolv-replace' (>= 0) in any repository
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'json' (>= 0) in any repository
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'bson_ext' (>= 0) in any repository
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'mongo' (>= 0) in any repository
    ERROR: http://rubygems.org/ does not appear to be a repository
    ERROR: Could not find a valid gem 'rchardet' (>= 0) in any repository
    dpkg: error processing /var/cache/apt/archives/whatweb_0.4.8-bt0_all.deb (--unpack):
    subprocess new pre-installation script returned error exit status 2 ran
    Errors were encountered while processing:
    /var/cache/apt/archives/whatweb_0.4.8-bt0_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    This happens only when the networking stops all by itself.. (or if I simply do ifconfig eth0 down) - apt-get simply hangs in there waiting for I-don't-know-what....
    It seems this error is because of some issue between debian repositories and Ruby.. So I downloaded and installed RubyGems from here and ran apt-get dist-upgrade again - it simply threw up the same error again..

    Can anybody help me that?!

Similar Threads

  1. connecting usb to virtual machine
    By Fred777 in forum BackTrack 5 Beginners Section
    Replies: 1
    Last Post: 08-29-2011, 11:23 AM
  2. Wifi in Virtual Machine
    By nasta32 in forum Discussioni Generali
    Replies: 5
    Last Post: 10-23-2010, 08:13 AM
  3. Hacking in Virtual machine another virtual maching?
    By alhosany in forum Beginners Forum
    Replies: 5
    Last Post: 05-26-2010, 02:14 PM
  4. BT4-PreFinal as a Virtual Machine
    By Dr_IDE in forum OLD BackTrack 4 Working Hardware
    Replies: 0
    Last Post: 06-24-2009, 08:54 PM

Tags for this Thread

Posting Permissions

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