[Netkit.users] Cannot update install,programs

E Spatharas E.Spatharas at student.bradford.ac.uk
Fri Jun 28 03:42:32 CEST 2013


Great, your links were great! I was able to do the suggested lab and experiment. I used the -M and -W switches to save the changes and everything fine. However, the installed nmap has Version 4.68 which does not support all the features of ipv6 scanning.

I tried to run apt-get update  in order to later install later version of nmap but I had this error:

GPG error, the following signature could not be verified because the public key is not available.

Later on, I tried to install some of the suggested packages in the official netkit page on FAQ section. On installing libc6-dev the following error comes out:

Sub-proccess /usr/bin/dpkg returned an error code (1) while installing libc6-dev

Generally, whatever I want to install I have similar errors! I hope the fix is something easy as the latter!

Regards,
Vag
________________________________
From: netkit.users-bounces at list.dia.uniroma3.it [netkit.users-bounces at list.dia.uniroma3.it] on behalf of Massimo Rimondini [rimondin at dia.uniroma3.it]
Sent: Wednesday, June 26, 2013 8:27 AM
To: netkit.users at list.dia.uniroma3.it
Subject: Re: [Netkit.users] Cannot update install,programs

Hi,

Hi,

Again, and thanks for your time. Well, what I tried to do, without success was the following;
 I downloaded two filesystems from the proposed URL, and also a kernel from the same page based on what Mr. Joao proposed. Kernel version was 3.9.6 and both of the filesystems was UML.

Then after extracting using bunzip2 and giving executing permissions on the files, I issued the following commands;

 ./kernel32-3.9.6  ubda=./BusyBox-1.13.2-amd64-root_fs  mem=256

The output mentioning faults, was the following;

- /proc/mm...not found: No such file or directory
  - PTRACE_FAULTINFO...not found
  - PTRACE_LDT...not found
UML running in SKAS0 mode
Adding 14876672 bytes to physical memory to account for exec-shield gap
setup_physmem - mapping -14188288 bytes of memory at 0x0x9c00000 failed - errno = -12


There are a few improper steps in the procedure you are reporting:

  *   You also downloaded a kernel binary, but I don't see the reason for that, given that your intention is to update filesystem packages.
  *   Your invocation fails because the 'mem' argument usually requires some suffix indicating the unit (usually 'K' or 'M'). In the absence of this suffix, the specified amount is intended in bytes, and 256 bytes is far too low for any UML instance to start up.
Another reason is that you are running a 64-bit filesystem image on a 32-bit kernel.
  *   Even if you wanted to replace the kernel, you should not have invoked it directly if you intended to use it with Netkit.

Since I have too many issues I will try to make it easier for me. My first plan was to create a network lab with ipv6 nodes and then scan them using a tool. nmap was my first choise. Then I could make it more interesting creating ipv4 as well, complex routing etc.

Does any of you no a specific package that could offer just that kind of tools, network scanners and simple networking between nodes.

Netkit offers all these features, including nmap, out of the box. You may want to have a look at:

  *   the introductory slides: http://wiki.netkit.org/netkit-labs/netkit_introduction/netkit-introduction.pdf
  *   some of the ready-to-use labs available at http://wiki.netkit.org/index.php/Labs_Official; in particular, the 'Static routes' lab is probably more indicated for your purposes.

Unfortunately we do not yet have labs involving IPv6, but you can find interesting examples (although a bit complex) among the exam labs at http://wiki.netkit.org/index.php/Labs_Exams (in particular, I suggest you have a look at the exam held on 2013/01/23).

Regards,
Massimo



Regards,
Vag

________________________________
From: netkit.users-bounces at list.dia.uniroma3.it<mailto:netkit.users-bounces at list.dia.uniroma3.it> [netkit.users-bounces at list.dia.uniroma3.it<mailto:netkit.users-bounces at list.dia.uniroma3.it>] on behalf of Massimo Rimondini [rimondin at dia.uniroma3.it<mailto:rimondin at dia.uniroma3.it>]
Sent: Tuesday, June 25, 2013 3:40 PM
To: netkit.users at list.dia.uniroma3.it<mailto:netkit.users at list.dia.uniroma3.it>
Subject: Re: [Netkit.users] Cannot update install,programs

Hi,

Hi,

Thank you for your quick reply Massimo. I am just experimenting, I didn't had any specific tool in mind. However, I can see inside packages list that many tools are already installed. I can limit my curiosity in those for the time. So it's very fine!

Yes, most networking-related packages are already in.


In addition, if I want to upgrade any of the existing tools I think that it gonna be smooth. Right?

It depends on the tool you want to upgrage. In most cases, the thing should be smooth enough or pull a reduced set of dependencies.


By the way, how am I installing the filesystem provided in your first link? I suppose that I have to delete my existing one, and follow the same steps again for installing using the downloaded filesystem.

You do not necessarily need to delete the existing filesystem image: just download one of the images from the suggested URL and save it somewhere on your disk. You can then instruct Netkit to use that image by setting the environment variable NETKIT_FILESYSTEM to point to the newly downloaded file.


And, last thing, I cannot find any link for downloading this. Sorry I feel embarrassed.

I guess these the download links you are looking for can be found in this page: http://fs.devloop.org.uk/.
Please consider that usage of these filesystem images with Netkit is unsupported and may result in unpredictable behaviors and/or reduced functionalities.

Regards,
Massimo



Regards,
Vag
________________________________
From: netkit.users-bounces at list.dia.uniroma3.it<mailto:netkit.users-bounces at list.dia.uniroma3.it> [netkit.users-bounces at list.dia.uniroma3.it<mailto:netkit.users-bounces at list.dia.uniroma3.it>] on behalf of Joao Codagnoni [codagnoni at gmail.com<mailto:codagnoni at gmail.com>]
Sent: Tuesday, June 25, 2013 10:53 AM
To: Users of the Netkit Network Emulation System
Subject: Re: [Netkit.users] Cannot update install,programs

There's also the Devloop's repo http://uml.devloop.org.uk/index.html with a variety of kernel images and filesystems (several distros) for UML.

Of course they don't have the netkit's kernel specific patches, but I could use, for all of my networking scenarios, those images with no problem.

Regards.


On Tue, Jun 25, 2013 at 5:05 AM, Massimo Rimondini <rimondin at dia.uniroma3.it<mailto:rimondin at dia.uniroma3.it>> wrote:
Hi,

depending on the package you are willing to install, there may be a high number of dependencies that cause a major upgrade of the filesystem image. And the upgrade may fail because of some other "chicken-and-egg" conflicts in package releases.

Which package(s) are you interested in updating/installing?

In the meantime, you may want to consider that a very active Netkit user has independently updated the filesystem image build scripts and made them available here: https://github.com/kartoch/netkit-uml-filesystem. Depending on your needs, rebuilding the image from scratch using this system may be a way to go.

Regards,
Massimo


On 06/25/2013 04:44 AM, E Spatharas wrote:
Hello netkit forum,

I recently installed netkit on my ubuntu 12.04 machine. I am able to connect to the internet using the tap interface. However, I cannot make update or to install any programs. It says that I need lib6 and other packages, but when I try to install any package, it it continually fails to do so.

Have you any idea?
Thanks, vag



_______________________________________________
Netkit.users mailing list
Netkit.users at list.dia.uniroma3.it<mailto:Netkit.users at list.dia.uniroma3.it>
http://list.dia.uniroma3.it/mailman/listinfo/netkit.users


_______________________________________________
Netkit.users mailing list
Netkit.users at list.dia.uniroma3.it<mailto:Netkit.users at list.dia.uniroma3.it>
http://list.dia.uniroma3.it/mailman/listinfo/netkit.users





_______________________________________________
Netkit.users mailing list
Netkit.users at list.dia.uniroma3.it<mailto:Netkit.users at list.dia.uniroma3.it>
http://list.dia.uniroma3.it/mailman/listinfo/netkit.users




_______________________________________________
Netkit.users mailing list
Netkit.users at list.dia.uniroma3.it<mailto:Netkit.users at list.dia.uniroma3.it>
http://list.dia.uniroma3.it/mailman/listinfo/netkit.users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20130628/ecaa4bb4/attachment.html>


More information about the Netkit.users mailing list