Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I work on Windows 7 & I must use the ns3 network simulator, so I install the Cygwin emulator. I successfully download the ns3 from the official cite and install it, but six modules wasn't been installed. I think it's because when I install Cygwin, I didn't install some packages, and these ns3 modules needs in this packages. So, there was the message:
Modules not built (see ns-3 tutorial for explanation):
brite click fd-net-device
openflow tap-bridge visualizer
I found the ns3 tutorial (pdf file on the off. cite), but I can't find in these document what should I do to successfully built these modules! There is just an installation steps and some examples! I tried to run the test & I the test return me
0 of 0 tests passed (0 passed, 0 skipped, 0 failed, 0 crashed, 0 valgrind errors)
So, I think I will not be able to work with ns3 for now, because no one tests can be passed! Where can I read about what I must to update/install in Cygwin (maybe, install other version of gcc, or install java etc) to build more modules successfully?
Those modules require another additional software besides NS3 since these modules developed by integrating/using another projects.
You can find how to install and using it in their respected NS3 module documentation page or NS3 Wiki
Brite : https://www.nsnam.org/docs/models/html/brite.html
OpenFlow : https://www.nsnam.org/docs/models/html/openflow-switch.html
Click : https://www.nsnam.org/docs/models/html/click.html
visualizer : https://www.nsnam.org/wiki/PyViz
Tap-Bridge : required to build in linux based OS
fd-net-device : required to build in linux based OS
TapBridge and emulation features aspects depend on Linux and those components are not enabled on the Windows via Cygwin. If you want to serious work on NS3 and still need Windows, consider virtualization of a popular Linux platform https://www.nsnam.org/wiki/HOWTO_use_VirtualBox_to_run_simulations_on_Windows_machines and https://www.nsnam.org/wiki/HOWTO_use_VMware_to_set_up_virtual_networks_%28Windows%29
Unless, you need these modules. You can skip it. It is not required to have it.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
Improve this question
I have some experience with Linux systems and finally switched to Arch Linux. The setup went fine and everything seemed to work well until this morning. Since then I encounter two problems that could have the same source, here I will briefly describe theme:
When trying to clone repositories from github (or other sources) using ssl I will get the following message on my arch setup:
fatal: unable to access 'https://github.com/random/repository/to/clone.git': Insufficient randomness
When trying to generate a key pair using ssh-keygen I receive the following error:
PRNG is not seeded
So my guess was, that this has something to do with random generators of the system and researched a lot there.
I did already recreate both
mknod /dev/random c 1 8
and
mknod /dev/urandom c 1 9
using mknod.
I installed the following packages:
rng-tools 6.16.1
jitterentropy 3.4.1
rtl-sdr 10.8.0
I installed Arch Linux last Friday and everything seemed to work fine. The Kernel is 6.1.10, it should be up to date. Due to the problems with the ssl connection I cannot not directly use pacman to install new packages or update the installed versions, but I is possible to download them from a mirror and install them by using pacman -U.
The entropy available seems to be stable at 256, which older pages tell me is way to low, but with the newer kernel versions is fine. I use a laptop from DELL, if the specs are relevant I can provide them. For all I read, there are a lot of old solutions but I found no matching problem and not quite relevant for more modern kernels (like using haveged, could be, but should not be necessary how I understood it).
To use root privileged to create keys or clone a git does not change a thing.
I hope anyone has an idea that will help me and I will provide any further information that could be helpful for solving the problem.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
Is there any way to install hardware monitoring tool like lm-sensors on proxmox VE 4.2 (was installed from ISO: https://www.proxmox.com/en/downloads)? Or maybe there is another way to monitor host's hardware (cpu/mb/hdd temp, fan speed, etc)?
apt-get result:
root#pve:~# apt-get install lm-sensors
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lm-sensors
Look's like proxmox use it's own repo, if so how additional repos can be added?
Thanks!
One more question: What monitoring system (with web-interface) can be used on proxmox? or some web front-end for lm-sensors
no need to add repository if the Debian main one is present in /etc/apt/source.list.
Here is mine :
deb http://ftp.fr.debian.org/debian jessie main contrib
# security updates
deb http://security.debian.org jessie/updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian jessie pve-no-subscription
Just do apt-get update && apt-get install lm-sensors
Try to install Netdata (https://www.netdata.cloud),
a free monitoring tool, easy to install.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Is there any known way to use the Kinect as a webcam inside a Linux environment, perhaps using openkinect to some capacity?
Casually late to the party, but here's what I had to do with my Kinect v1 (xbox 360).
Video
Dunno why the module doesn't load automatically when the Kinect is plugged in, but doing it manualy gives us the Xbox NUI Camera at /dev/video0 which then shows up anywhere you'd expect (cheese, vlc, browser, etc...):
sudo modprobe gspca_kinect
Note that this isn't persistent so you'll need to type it after restarting the computer, or if you unload the module manually.
Audio
The microphone array won't show up in pulseaudio unless we upload a (specific?) firmware to the Kinect. Someone worked out how to do that and in theory it should be as simple as:
sudo apt install kinect-audio-setup
In practice tho, the md5 check sum of microsoft's firmware has changed so the install fails. To fix it, we need to open the script in an editor and update the md5 sum:
sudo micro /usr/sbin/kinect_fetch_fw
Then replace the SDK_MD5 value at the top of the script, by 945806927702b2c47c32125ab9a80344 (as of time of writing, but that might change again).
Once that's done just run apt again and it should finish the install fine.
sudo apt install kinect-audio-setup
The install will also write a udev file to upload the firmware automatically whenever the Kinect is plugged in.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
# apt-get install kvm kvm-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kvm-source
While installing kvm in my ubuntu12.04 lts machine. I got this error.What i want to do.
It seems this package just doesn't exist:
apt-cache search kvm-source
#if it returns nothing it means the package doesn't exit
As long as we want to search only Ubuntu official repositories, we can also check on http://packages.ubuntu.com/. Here we see that the package kvm exists, but that kvm-source doesn't.
If you want to retrieve the source for this package, you should try
apt-get source kvm
(see man apt-get for more info on the source command)
Edit to answer comment:
You can check if a package is installed with e.g.:
dpkg --status kvm
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would be interested to try a GPU emulator, but I have tried to use Multi2Sim, GPGPU-sim, and Ocelot, and for each of these three emulators I get a problem for which it seems hard to find a solution on the internet. I will describe the problem I have with each emulator and maybe you can help. First of all, to give you some detailed context, I am using Ubuntu 12.04 LTS.
Multi2Sim says that it is not compatible with 64-bit and so you should compile for 32-bit. If I compile CUDA code for 32-bit, then when I run the compiled executable, I get the error message "CUDA driver version is insufficient for CUDA runtime version." If I compile OpenCL code for 32-bit, then when I run the compiled executable, I find that the function clGetPlatformIDs does not give me the Nvidia OpenCL platform that I get when I compile for 64-bit.
The documentation for GPGPU-sim says:
We have tested OpenCL on GPGPU-Sim using NVIDIA driver version 256.40
http://developer.download.nvidia.com/compute/cuda/3_1/drivers/devdriver_3.1_linux_64_256.40.run
Note the most recent version of the NVIDIA driver produces PTX that is incompatible with this version of GPGPU-Sim.
I have NVIDIA Driver Version 295.49. When I look in "Additional Drivers" from "System Settings" I see two things listed: "NVIDIA accelerated graphics driver (version current) [Recommended]" and "NVIDIA accelerated graphics driver (post-release updates) (version current-updates)". The first one was activated, so I clicked Remove and then the second one automatically became activated. So I decided to just try installing version 256.40 and I got this error message which simply intimidates me:
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
When I try to build Ocelot, I get the following, even though I followed the instructions "To pull from the LLVM SVN and build":
ocelot/ocelot/ir/implementation/ExternalFunctionSet.cpp:27:36: fatal error: llvm/Target/TargetData.h: No such file or directory