@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> runlevel
<1> hmm... can i do math in bash?
<1> as in operations with numbers
<1> a=1;b=$a-1 echo $b - '1-1'
<1> and i wanted 0 :/
<2> Phazorx a=1; b=$(( $a - 1 ))
<1> double parenthesis?
<3> who -r
<2> Phazorx yes
<1> thanks you
<2> Phazorx man bash look for Arithmetic Expansion
<1> will do before asking more stoopid question :)
<2> oh no, its for your reference :)
<2> i prefer $(( but as you can see in the man page you may also use $[ ] which i dont really like
<1> i take it both are 100% compatible ?
<3> just use perl



<1> i tihnk that's an overkill for the job of copying files
<4> wow... this CRT is on its _last_ legs
<1> perl is a fine tool and power need to be used with discretion :)
<4> math is knowlege, and knowlege is powah!
<1> well it's web developement environment maintance script
<4> uh
<1> it makes next version based on current content
<4> creepy
<2> Phazorx see also printf
<1> for what purpose exactly ?
<1> and i kinda ***ume that syntax for that part should generic and like c/perl/php/anytihng else
<2> Phazorx you'll need it :) either that or do it all in perl
<5> anyone know if it's possible to increase/decrease the size of fonts specified via xterm -fa ?
<5> I was p***ing the pixelsize= ... let me check with -fs ... I want to do ctrl +/- to change size
<1> hmm.. is it safe to ***ume that if some RE attern work in egrep it would worg in sed/gsed ?
<6> how about
<6> just try it?
<1> it work in grep doesnt in sed
<1> which is why i have this question
<6> didn't you just answer your own question?
<1> nope
<1> if it does not work in my case - it's inconclusive
<1> there might be another or more than one issue
<1> i just want to get a direction to look in
<3> no it isn't safe to ***ume that
<1> since if RE works same way - that source of problem is elimianted
<3> now use perl.
<1> that's quite suddle pointer RedACE :)
<3> subtle?
<1> that
<6> so it's conclusive now that some random person on the internet told you that it's not safe to ***ume that?
<7> Wilkommen idiotstic.
<1> hmm... thats a bit bizarre
<1> it does not work from bash script
<5> any way to boost pcm?
<1> but if i echo it and paste it in - it works :/
<7> master?
<8> How to i bind upper-right corner to the Scale plugin in Beryl? I've somehow deactivated it and can't figure out how to get it back
<9> hi
<9> i have 2 machines: A and B. machine A is connected to 2 networks, 1.1.1.0 and 2.2.2.0 (ips: 1.1.1.2 and 2.2.2.2). machine B is connected only to 1.1.1.0 (ip: 1.1.1.3). What should I do to enable machine B to access machine's A 2.2.2.0 network?
<9> (the ips are not real, but are easier to type. the real ones are cl*** c.)
<10> log into b then the 2 network
<3> make B a gateway on A for 2.2.2.0/24
<3> then nat
<9> redace i already have: route add -net 2.2.2.0 gw 1.1.1.2, in B
<3> 2.2.2.0/24 ?
<9> in A i have: iptables -t nat -A POSTROUTING -o <2.2.2.0 interface> -j DNAT
<9> but isnt working. Yes, 2.2.2.0/24. i ommited from the route command
<3> you have a route to 1.1.1.0/24?
<9> in B?
<9> ouh.
<9> that route exists in both machines
<3> both will need it
<3> can A talk to B?
<9> yep
<9> and both can talk to machines in the 1.1.1.0 network
<3> when you try to ping 2.2.2.something from A what happens?
<9> nothing
<9> and if i do the same ping from A works
<3> something must happen



<9> time's out
<3> ok
<9> timeout
<3> I think the problem is your natting
<3> quicktables can help you setup nat easily
<3> !wtf qtables
<9> the command i told you
<9> is it the correct?
<3> I haven't setup nat in a few years, I can't recall offhand
<9> btw. if A's got some custom GWs for another networks
<9> i just add routes in B for those networks, right?
<3> why?
<3> does B need to talk to those networks?
<9> yes
<3> then I guess so, but that's a separate problem
<9> separate problem? why
<3> you're just trying to get A to talk to 2.2.2.0/24 right now
<3> can A not talk to 2.2.2.0/24 directly?
<3> I kind of ***umed it had to go through B
<9> A can talk to 2.2.2.0 directly, yes.
<9> its physical connected
<9> to it
<3> ok.. so we do'nt need nat or anything
<9> ??
<9> B isnt connected to 2.2.2.0
<9> and B needs to talk to 2.2.2.0
<3> oh I have it backwards
<9> ?
<9> dont think so
<3> A needs the nat
<3> B needs to set A as it's gateway to 2.2.2.0/24
<9> RedACE: that's exactly whats configured a.t.m
<9> A: iptables has MASQUERADE for 2.2.2.0 interface.
<9> B: has a route to 2.2.2.0 gw 1.1.1.2 (A's ip)
<9> ip_forward is enabled in A. i double checked
<3> I can't help you with the nat settings. It's been too long since I've done that and I'm not familiar with it anymore
<3> quicktables can set it up for you
<3> or at least generate rules for what it should look like so you can see what's different
<9> didnt help much
<11> Anyone know why someone form 10.10.1.10 cannot connect to an sshd server running on 10.10.1.2? Sometimes they can, but at times there seems to be a period they cannot. This also happens to external network users also (Not just LAN)
<11> This is an openssh server, btw.
<0> arp coliding or some firewall setings? look at iptables and your logs
<12> i would go with #1 arp collision
<12> or #3 server down
<13> anyone know the linux equivelent to unix ipfw command?
<14> eh
<14> you mean iptables
<14> ipfw syntax is much different though
<14> ipfw syntax does make more sense though
<14> pf > iptables
<0> i hate pf
<13> yeah i just learned ipfw for my osx
<13> its so ***y
<13> i was looking for bandwidth throttling controls
<13> it was pretty easy to pick up with ipfw, what command can do traffic shaping in linux?
<3> tc
<3> there are many wrappers written for it
<13> ok thanks i'll check the man page
<3> it's native syntax isn't nice
<13> :(
<3> wondershaper
<15> hi.. I am having a problem with my gigabit network. I have gigabit throughout (nic, switch, router)... but I am gettings roughly 500Kbits/sec throughput through iperf (no disk factor).. my switch tells me it's negotiated to 1000MBit/full duplex.. so what could be the problem?
<0> hindog: does mii-tool show the same ?
<15> haven't tried mii-tool
<3> mii-tool -w
<0> router doesn't come in to play if this is over the lan
<3> see if the negotiation is stable
<0> it should just be both hosts and the switch
<15> hmm.. mii-tool is not installed.. lemme go get it quick
<16> what would be a benefit of using qemu with kernel 2.6.20 instead of using vmware or virtualbox? I don't see a reason to get 2.6.20
<14> hindog:
<14> hindog: ethtool ethX
<15> jeenam: ?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

mtkaf
#stocks
#stocks
DVS01 seattle
#computers
#sex
#gamedev
#politics
#politics
#computers



Home  |  disclaimer  |  contact  |  submit quotes