Skip to main content

Posts

Showing posts from March, 2010

Installing ns-3.37 and ns-3.35 in Ubuntu | Ubuntu 22.04 | NS3

Multiple Versions of ns3 in Ubuntu 22.04 In this post, we are going to install two versions of ns3 namely ns-3.35 and ns-3.37  My OS is : Ubuntu 22.04 LTS (Long Term Support) ns-3.35 uses waf and (./waf --run scratch/first)  ns-3.37 uses cmake  (./ns3 run scratch/first.cc) So we will install both the packages  Go through the video for complete instructions To start with  $ sudo apt update  $ sudo apt install build-essential autoconf automake libxmu-dev g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip libxml2 libxml2-dev libboost-all-dev  I have downloaded both the versions of ns3 fr

Writing a Simple Character Device driver in Linux

A Character device driver needs a major number and a minor number. The devices are registered in the Kernel and it lies either in the /dev/ or in the /proc folder. The following example uses a char device driver with major number 222 and a minor number 0. The name of the device driver namely “ new_device ” It uses the following things Open or register a device close or unregister the device Reading from the device (Kernel to the userspace) Writing to the device (userlevel to the kernel space) There are three files, Copy the following or download all the three files here /* new_dev.c*/ #include<linux/module.h> #include<linux/init.h> #include "new_dev.h" MODULE_AUTHOR("PRADEEPKUMAR"); MODULE_DESCRIPTION("A simple char device"); static int r_init(void); static void r_cleanup(void); module_init(r_init); module_exit(r_cleanup); static int r_init(void) { printk("<1>hi\n"); if(register_chrdev(222,"new_device",&am

Top 10 Moodle Myths

Once Moodle is stable, it will be put under licence. If it were any good, they’d already be charging for it Moodle needs a full time, php developer on your staff- or at least a lot of technical support to run it in house Moodle won’t be compatible with our other systems/software Moodle just doesn’t have the commercial experience we’re looking for You can’t just use Moodle out of the box – the basic Moodle install just isn’t that sophisticated There’s no documentation, training or technical support available – you’re on your own The Total Cost of Ownership is actually higher for Moodle than it would be with a wholly commercial platform Moodle is just no good for an institution as large as mine Moodle is just not designed to cope with my specific group of learners or customers We have all our stuff on *******, it’s just not worth the hassle of switching to Moodle Source: http://docs.moodle.org/en/Top_10_Moodle_Myths