Please READ This Before Posting!

If you're here for the very first time, and have a very
urgent problem I appreciate that you're quite likely to
have other things on your mind than reading on.

However, if you do take the time to read all that's
said here (and follow the links) you're more likely
to get helpful responses! :)


The following two posts from Linux-General are just as
valid here in Linux-Newbie as they are there.

http://www.linuxquestions.org/questi...hreadid=103564
http://www.linuxquestions.org/questi...threadid=45094



Thanks for reading!

Cheers,
Tink


Similar Content



To Install Different Ns2 Versions On My System

hello kudfl,

I was working on ns2.32 . But now i require ns2.34 also . I read some of threads and found it is possible to have two diffrent ns2 versions on the same machine.
Installed ns2.32 and ns2.34 in diffrent directories.
Installed successfully . when i type ns % sign appears . But i dont know which ns version it is running ?

i read ur thread 2 on the following link
http://www.linuxquestions.org/questi...ne-4175503576/

so i delete the path varibale for ns2.32 from bashrc file .
and did the following
ns-2.32/ : $ cp ns ns-orig
cp ns-orig /usr/local/bin/
but it is giving me error : permission denied .

working on ubuntu 12.04
plz advise further

rgds
sims

How To Know The Loading Sequence/time Of Modules During Boot?

Hello,
the "lsmod" give the list of the loaded modules/drivers.
How to know when was theier loading time (start/end) ?
Is there any existing log file where that information can be seen ?
For another topic, see http://www.linuxquestions.org/questi...ml#post5362257, I am thinking the unfinished loading of a specific module (ehci-pci or other pci driver) or the loading of a module before another one, could disturb the loading of a module e1000e during a cold boot.
Thanks a lot for any help.

Printing a bootchart? http://www.bootchart.org/images/bootchart.png
Something else?

Finally Got SSH Keys To Work, Had To Use A Different Command...WHY?

For the last few weeks I've been trying to setup SSH keys from my main Linux server to all of the other Linux servers that I use.

I'm using the HOWTO here

http://unix.stackexchange.com/questi...authentication

It didn't work. It was still asking for a password or the pass phrase.

So...I did my troubleshooting he

http://unix.stackexchange.com/questi...authentication

In the end, I deleted all of the public/private keys and did the following steps:

ssh-keygen (not specifiying a rsa key)

and then to copy over the key I did the following ssh-copy-id username@xx.xx.xx.xx

...and it worked!

I'm wanting to understand why this is working Vs the ways I'm seeing on other websites.

thanks

How To Perform Handoff In Mobile Node Fhmip

hi ,

i followed the post and get patched fhmip and run ns fhmip_simula.tcl

http://www.linuxquestions.org/questi...gz-4175538523/

when i moved mobile node hand off not occured, only i am getting packet loss.

an ideas??

Thanks
Pon

What Is The Difference Between 32bit Library And 64 Library?

Hello guys.

I'm using this library (downloaded at http://wavelet2d.sourceforge.net/). I found out that this library is only working on 32bit systems (http://www.linuxquestions.org/questi...ol-4175543660/).

Now I need to work with the library on a 64 system. I thought libraries are just a group of pure object codes so I honestly didn't expect to face this kind of problems.

If you could help me understand why this is and how I can make 64bit libraries from the same source codes that made the 32bit library (perhaps where I should more look into or something, I'm NOT asking you for 100% answers if I'm annoying you by any means), then that would be great.

I'd appreciate your help.

Thank you.

New To LVM, How To Bridge Between /dev/sd* And /dev/mapper/vol Group/log Vol?

So LVM has taken me by surprise, especially working with all of these virtual servers.

I have Linux servers in VMWare, and I know how to grow hard disks there and how they are tied back to /dev/sd*, however what I'm not sure about is how do I know what Volume Group and Logical Volume they are tied too?

If I isssue df -ha I can see where the various partitions are tied to /dev/mapper/Vol Group/Logical Vol

and I issue fdisk -l and I can see the space and what is tied to /dev/sd*, however how do I tie to two together so I know who has what space and how to grow or shrink that space?

I found an older thread he

http://www.linuxquestions.org/questi...ds-for-699073/

However I still don't understand how to bridge between the two.

thanks

Problem With EDCA Patch Of 802.11e For Ns2.35

Hello, I started to use ns2.35 recently with Cygwin Terminal 1.7.35 under a virtual machine Windows XP Pro Service Pack 3. I'm having a problem when trying to apply a EDCA patch of 802.11e.

First i tried the oficial patch (intended for ns2.28), then i found a later version of EDCA:
Ref. post #18 he http://www.linuxquestions.org/questi...245/page2.html

I also tried to apply the patch for ns-2.35
Ref. post #70 he http://www.linuxquestions.org/questi...928/page5.html


After I made the changes in the files and running the following commands (as said by the 'README.txt' inside the patch)
./configure; make clean; make depend; make

I got the message:
Code:
g++ -c -O2 -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. -I/home/Administrator/ns-allinone-2.35/tclcl-1.20 -I/home/Administrator/ns-allinone-2.35/otcl -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -I./mac/802_11e -o mac/802_11e/mac-802_11e.o mac/802_11e/mac-802_11e.cc
mac/802_11e/mac-802_11e.cc:41:20: fatal error: stream.h: No such file or directory
 #include "stream.h"
                    ^
compilation terminated.
Makefile:93: recipe for target 'mac/802_11e/mac-802_11e.o' failed
make: *** [mac/802_11e/mac-802_11e.o] Error 1

Also, the ns command (which was working before the patch) now shows me an error:
Code:
bash: ns: command not found

I've searched the ns directory and the ns executable there is no more.


Do you have any ideia how to correct this?

Thank you in advance.

How To Patch OSPF In Ns2.34

Hi mates,

I am trying to patch ospf in ns-2.34 i have downloaded the patch file from link:

http://sourceforge.net/projects/ospf...s/ospf4ns2.34/

$ cd ns-allinone-2.34/
$ patch -p0 < 20-ospf4ns2.34-examples.patch

Using : $ cd ns-2.34/
# make install

$ cd tcl/ex/ospf/
$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
$ ns ospf0.tcl

i followed the procedure from below LQ link post no #3

http://www.linuxquestions.org/questi...-a-4175492253/

it is successfully patchinf file but it is showing error when i execute ospf0.tcl file



Quote:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)



pls anyone suggest me ideas to get rid of this err.

Thanks in Advance,

Pon

The Behaviour Of Single & Double Quotes In Writing & Running Aliases?

This isn't a problem, more a how or a why:

I have always written an alias (alias ln="ln -sv") which changes the instruction for a "hard" link into one for a "soft". This worked fine until I needed a hard link, so, as part of the alias, I decided to give myself a reminder of what I was doing. After a bit of a struggle, I ended up with this (which I stuffed into my .bash_aliases file):

alias ln="echo -e 'Symbolic (soft) Link (use \033[1;36mhln\033[0m for Hard Link)\nuse \033[1;36m-f\033[0m for force'; ln -sv "

and it works:

Symbolic (soft) Link (use hln for Hard Link )
use -f for force
ln: missing file operand
Try 'ln --help' for more information.

(OK, no operand was supplied here, but the stuff we're talking about works fine).

Recently, however, I needed to look at the construction of the alias, ran "alias ln" & got:

alias ln='echo -e '\''Symbolic (soft) Link (use \033[1;36mhln\033[0m for Hard Link)\nuse \033[1;36m-f\033[0m for force'\''; ln -sv'

Now, I can (sort of) understand the logic of what's going on here, but not entirely - viz:

..1...'...............Open 'protected' mode (was double quote)
........echo -e....Command: invoke "echo -e"
..2...'...............matches 1: Closes 'protected' mode
........\.............invoke newline(\)? Or is this simply an scape character? (Yes it is see http://www.linuxquestions.org/questi...-quote-861714/)
..3...'...............Reopen 'protected' mode (or an escaped single quote - if so why?)
..4...'...............0pens 'protected' mode for "message" code
........Symbolic (soft) Link (use \033[1;36mhln\033[0m for Hard
........Link)\nuse \033[1;36m-f\033[0m for force
..5...'...............5 matches 4 (closes message code),
........\.............invoke newline(\) - or see above
..6...'...............6 matches 3 & closes the section started @ 'reopen'
..7...'...............Reopens 'protected' mode
........; ln -sv......New command[ ; ], creates link
..8...'...............8 matches 7 - the end (or is it?)

I would guess that the "alias" command has some built built in function that does all this - I have saved the the modified version as an alias & it works fine - but although I have read the excellent post:

http://www.linuxquestions.org/questi...-quote-861714/

I don't understand why the system has both double & single quotes. I have always felt that as long as the command line was explained & demonstrated in simple language it was easier to work with that than any point & click system. I grew up with CPM, DOS, Qemm, Desqview, WP5.1, DbII and these were great programs with great (especially WP51) manuals - but, ahh! - those days have gone

Any suggestions gratefully received

dmk

Audio Output Source Changes

Not sure if I should be posting this here or the arch board (I dont think there is a manjaro board but arch is close enough) but I'm still learning the in and outs of all this and this board has been really helpful with ambiguous problems.

The Laptop:
Hardwa Lenovo Thinkpad W530
OS: Manjaro 0.8.12 Ascella
Kernel: x86_64 Linux 3.19.3-1-MANJARO
Shell: bash 4.3.33
Resolution: 1600x900
DE: XFCE4
WM: Xfwm4
WM Theme: Menda
GTK Theme: Xfce-dusk [GTK2], Not Found [GTK3]
Icon Theme: Menda-Square
Font: Cantarell 11
CPU: Intel Core i7-3630QM CPU @ 3.4GHz
GPU: Quadro K1000M
RAM: 1112MB / 15871MB

Problem: Audio will randomly stop, only after waking up or logging in. It never happens during playback. It seems once I get it working again it doesn't happen.

Oddly enough, I cannot recreate the problem it's pretty inconsistent but its happening fairly regularly

What happened when it started: I was trying to connect headphones by bluetooth. Beats headphones (if this is relevent). It connected right up, but it took a little bit of troubleshooting before I realized I had to manually switch the output source to be the headphones. The problem started shortly after this so I am guessing this is what started it.

Troubleshooting: Here is what I am noticing, simply plugging an audio cable in and then out resets playback to the speakers. I took at look at the 'audio mixer' and saw this, whe nthe headphones are plugged in, speakers switch to "muted", masters level drops slightly, and 'mic boost' turns up a bit. Unplugging them unmutes the speakers, puts master back to maximum, and turns mic boost down.


I haven't seen the audio mixer while the problem is still happening because It's become a kneejerk reaction to just quickly stick the headphones jack in to fix it.

I've seen this thread:
http://www.linuxquestions.org/questi...put%27-798325/
and this following article:
http://ubuntugeek.com/forum/index.php?topic=21.0

These seem more applicable to ubuntu and the problem itself seems different.



Any thoughts?