Help In Ns2

hello all,

I have questions

How to specify Transmission Time and Transmission Rate in ns2 ????


Similar Content



Assign Group Permission To Newly Created Files

Directory /media/data/torrents/ has permissions 775, user yzt, group transmission

yzt and debian-transmission are members of the group transmission.

transmission-daemon is run by debian-transmission, and the new files it downloads have permissions 644, owner debian-transmission, group transmission. This is a problem, because I can't later move the files as my user, yzt, and need to be switching to root to change the permissions/ownership to be able to do so.

Using sticky bit I could copy it to anywhere else, but I'm interested on actually moving the file, not just copying it. I could run transmission-daemon as yzt and problem solved, but I rather have that internet facing service running by a limited user, just in case some vulnerability is found on Transmission.

So my question is, how can I set that every new file created under /media/data/torrents/ has permissions 775 like its parent directory?

?? How To Auto Mount Logical Volume Before Transmission-daemon Starts At Start Up

I have been using an old computer to download my torrents and this has been my usual routine:

1. Press the power button.
2. Connect to the computer through Putty
3. Log in
4. Gain su privileges

Startup Commands:
Code:
/etc/init.d/transmission-daemon stop
apt-get update
mount -t ext4 /dev/vgTransmission/lvTransmission /mnt/transmissionVault
/etc/init.d/transmission-daemon start

Shutdown Commands:
Code:
/etc/init.d/transmission-daemon stop
umount /dev/vgTransmission/lvTransmission
shutdown -h now

I was wondering if there is a way to configure a computer to automatically mount a logical volume “before” the transmission-daemon starts at boot up (note my first Startup Command).

I think the instructions here are related to what I want to do, but I want to get some advice before I attempt to do anything dangerous:
http://tille.garrels.be/training/tld...#sect_04_02_04


My perfect scenario would be:

Startup Routine:
1. Send WakeOnLan magic packet to computer to turn it on.
2. Computer boots up, mounts the transmissionVault logical volume
3. Wait 10 seconds to ensure that the logical volume has finished mounting
4. Start transmission-daemon

Shutdown Routine:
Send WakeOnLan magic packet to turn off computer, i.e.: Execute “shutdown -h now”
The shutdown command should include:
1. Stop transmission-daemon
2. Wait 10 seconds to ensure that transmission-daemon has finished shutting down
3. Umount transmissionVault logical volume




Recently the Ethernet port of my transmission box has stopped working, so I went ahead and swapped the motherboard with another old motherboard, added a few hard drives, installed a fresh copy of Debian, and re-created the LVM logical volume for transmissionVault. I pretty much have a fairly stock system running at the moment.

Running a headless 3.2.0-4-amd64

WiFi Configuration Lanix Neuron LT ?

I installed Ubuntu 15.04 but with earlier versions this happened too. The problem is, with HTTP or normal downloads like watching youtube the speed is like 20kB/s and with bittorrent I can achieve the full 600kB/s of my network, while in Windows 7 I can download the same files or watch the same videos and have them use the full speed of my network.

Any ideas? what do I have to change so HTTP works fast too? because I think the driver is not the problem since transmission works fine
Thanks

EDIT: And with ethernet cable everything works at full speed

Been Having Problems, Need Help With "important" Log Entries, Fedora 21

If I'm loading down the system, i.e., running transmission while playing a video, periodically network throughput drops, video stops, cpu activity jumps up, then after a few seconds to a minute suddenly cpu activity goes back to normal, networking and video resumes. In addition I have this "important" message in the log viewer:

Quote:
systemd-udevd
Error calling EVIOCSKEYCODE on device node '/dev/input/event2' (scan code 0xc0183, key code 226): Invalid argument
There are several lines with varying scan and key codes, the rest being the same.

In addition, a couple weeks ago, I had locked myself out of the system, (boot to black screen), due to a failed attempt at installing the latest AMD/ATI proprietary drivers. Thanks to the help of several people on the forum, I was able to get back in, using the native drivers.


Obviously as a newbie to Linux I don't know if any of these things are related.

I would appreciate any help anyone could give me, TIA!!

Tips For Job Interview Preparation

respected to all
i am EMPkrishna. i am a new learner of red hat Linux, looking for a job in Linux system administrating, i have a good knowledge in Linux but i don't have any real time organization experience in Linux administrating. so please suggest me to learn the real time scenarios questions and answer @ troubleshooting questions in Linux asked in at the time of interview.
please suggest me the best way to get the knowledge on that tell me if any other sites like that to get real time questions and answer

Linux Quizzes For Beginners And Not

Just updated some Linuxes quizzes that could answer many of your questions about Linux.

1. Starters
100 questions for beginners about what is possible and how
2. History
70 questions
3. From the Shell
130 questions and 3 levels
first level is an easy intoduction to the shell and then it gets tricker
4. Expert
75 questions and two levels
5. Wifi
10 questions (new quiz more questions to be added soon)
6. GIMP
30 questions with images on doing graphics with Linux

it's a quick & fun way to see what's possible with linux

oh! where to find them?
easy, just search 'linux quizzes'

Getting Variable Integer Values From Grep

I want to write a Python script. In order to write it I need to figure out how to access the values associated with my signal level and bit rate.

If I use the following command

Code:
iwconfig | grep 'Signal level'

I get:

eth0 no wireless extensions.

lo no wireless extensions.

Link Quality=70/70 Signal level= -38 dBm


Obviously, I don't want Signal level. I want whatever it happens to be. In this case, it happens to be -38. Ditto Bit Rate...How do I grab -38 from the command line?

How To Patch GPSR Routing Protocol To Ns-2.35

Hi,
I have patched GPSR to ns-2.35 using keliu' code. It works fine with given tcl file. I need to move nodes according to mine own mobility scenario and compare them to AODV protocol.
I have two problems
1. I don't understand what this command in gpsr.tcl file means Code:
proc gpsr-create-mobile-node { id args } {
         .........................	
if [info exists opt(energy)] {
	$node addenergymodel [new $opt(energy) $node 10 0.5 0.2]}
         .............

What are these figures (0.5, 0.2), are these energy consumed in reception and transmission or some thing else.

Secondly I want move mobile node created using proc defined in gpsr.tcl file according to my own mobility plan e.g. Code:
 $ns_ at 0.000000000000 "$node_(0) setdest 144.816950690450 20.073824649527 0.324133202939"
$ns_ at 0.000000000000 "$node_(1) setdest 93.957720171475 192.140808646867 1.452613500562"
$ns_ at 12.158688172971 "$node_(23) setdest 113.137798368154 39.443538618334 0.902003496971"
$ns_ at 14.805074599534 "$node_(2) setdest 152.227654369397 20.766089279052 1.742469780423"

But when I run simulation it gives error like this:[QUOTE]Load complete...
Starting Simulation...
ns: _o18 setdest 144.816950690450 20.073824649527 0.324133202939:
(_o18 cmd line 1)
invoked from within
"_o18 cmd setdest 144.816950690450 20.073824649527 0.324133202939"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o18" line 2)
(SplitObject unknown line 2)
invoked from within
"_o18 setdest 144.816950690450 20.073824649527 0.324133202939"
[\QUOTE]
Urgent help is needed please

Thinking About Switching To Linux But Have Some Questions

Hi all,

I need to swap out my HDDs this weekend due to some problems and at this point, am getting tired of Microsoft.

For the longest time I've stuck with windows because I was big into gaming, but these days not so much. And it seems like all of the games I like are available for Linux these days.

So, my questions are :

I've heard that every time a new version of Linux comes out you need to completely reinstall your OS. Is this true? I've got a feeling it may be partially true, but there is more to it. I'm assuming you only need to do this if you want the latest overall version, like Windows, but you get minor updates and can keep running it for years?


How do games run on it? My primary game (be nice..) is Minecraft and other games would be Half life 2, TF2, Counter Strike Source etc. I also run emulators for NES/SNES etc.

If I lose 5-10 FPS over it, it's not a deal killer.

I'll be installing a 250GB SSD + 1TB WD Green this weekend and ditching my two 1TB drives that are showing signs of trouble.


System specs going by memory are :

I5 750 running stock. EVGA P55 SLI motherboard. EVGA GTX 460 video card. 12GB Gskill Ripjaws ram.

I expect it will run any version of Linux fine, but would like opinions on that as well. The last I tried was a few versions of Ubunutu and had no complaints but that was back in 2008-2009.

All opinions are welcome.

New To Linux *again* - I Have Some Questions About Making Better Distro Installs

I am a basic computer user as far as operating systems are concerned. I do a little programming here and there but nothing special yet.

I have tried Linux many times, but I'm always left to getting *another* distro, after I fail to properly install Linux. Basically I resort to simple installs and found that Linux Mint and Ubuntu, most of the time work out of the box. However, after an installation, ... here and there I get error messages and sometimes crashes and i understand that my installation is not stable, simply because I did not properly configure some conf file or similar.

Another even more important problem I have is device drivers. Working from the command prompt (console) and the GUI is very confusing to me. I'm not sure if I'm setting something right with one and then unsetting it with the other. So basically I'm here with some noob questions and a couple specific ones.

1. Can someone recommend a good distro to learn to correctly configure drivers with manually. Remember, that I understand that there are distros that work out of the box mostly, but I actually am not worried about complexity as far as someone can guide me through errors. Which will lead to more questions of course.

2. After an installation there are sometimes a dozen errors during bootup, but no stops. Since it all scrolls by fast (most distros), where can I check after bootup what I need to fix?

The Goal is an *error free* stable installation of a linux distro, with enough common sense learned to take it to other distros.