Pages

Search

Accessing systems behind uncontrolled firewall - Forums Linux

Accessing systems behind uncontrolled firewall - Forums Linux


Accessing systems behind uncontrolled firewall

Posted: 20 Sep 2006 08:46 PM PDT

I located the article you are talking about:

http://www.onlamp.com/pub/a/onlamp/2003/05/29/netcat.html

But I will eventually be doing offsite backup of data for these offices
on my RAID server at home, and as such, I will need automated file
transfer abilities. Netcat alone doesn't seem to do what I need.

david wrote: 

Why complicated directory structure in Linux

Posted: 20 Sep 2006 03:18 PM PDT

Dave Uhring wrote: 

Why don't you take your civility pill each morning before you turn your
computer on? Maybe the question was a bit naive, but I've used linux
over a decade without knowing that there was a man page called hier, and
if I had known, I would not have guessed what was in it. You don't want
to answer the question, fine. So bugger off and let someone else have a go.

--
Ron House edu.au
http://www.sci.usq.edu.au/staff/house
Ethics website: http://www.sci.usq.edu.au/staff/house/goodness

lm-sensors on GA-8GE667Pro

Posted: 20 Sep 2006 08:58 AM PDT

Olaf Petzold <net> wrote: 

I have no experience with your particular board; but there are a
few obvious points and some general ideas that might help a
little.

First, this sort of data is valid only as an indicator, not as a
specific measurement. What that means is that you don't really
care how accurate the voltage reading is, and if your 5 V line
says it is 5.00 volts when in fact it is 5.15 volts, it make
*no* difference!

The main reason for that is because you don't care if it is 5.0
or 5.2 volts, but you do care if it changes from 4.8 to 5.2
volts! All of those are within specs, but a change from 4.8 to
5.2 is something you might want to investigate.
 

You have no "compute" statement for in3 or in8, which
probably need one. Apparently in0, in1 and in2 do not.
 

This one appears to be okay, given that the +12 volt line is
saying it is 12.22 volts.
 

This is the -12v line, and *clearly* is not correct, given the
-4.17 reading.
 

As above, this can't be right, given the -5 volt line is saying
it is -.68 volts
 

This one appears to be correct.


I would simply adjust the compute statements to get readings that
are very close to what each voltage is supposed to be. (If the +5
volt line reads +5.00, you will *know* if it changes. If it reads
+4.88, you might not notice a change to +5.23. Hence _monitoring_
the system is actually better done with "inaccurate" readings!)

 

Since in1 is monitoring a +1.5 voltage line, it would appear
that the above max and min values should be 1.4 and 1.6, eh?
 

I would think that 5% tolerance for the plus and minus 12
volt lines is much too strict. 10% is more reasonable.
 

That last one should be "5 * 1.05".

[everything else snipped]


My experience has been that the expression parser in lm_sensors
has bugs. The compute statements don't necessarily do what they
should, and and tripping a bug in one statement may make
everything after that incorrect. Hence, try to keep the
expressions simple.

compute in4 ((30/10) +1)*@ , @/((30/10) +1)

That should probably be changed to

compute in4 1.33 * @ , @ / 1.33

When making changes to the compute lines, there are various ways to
change a value. If the raw data is 2.000 and a value is added
to it, then a change from 2.000 to 2.100 will cause a 0.1 volt
change in the voltage reading. If there is a multiplier, the
sensitivity is increased and a raw data change of 0.1 will
result in a voltage change that is 0.1 times the multiplier
(e.g., 0.3 if the multiplier is 3).

The -12 volt value is computed with this equation:

compute in5 (7.67 * @) - 27.36 , (@ + 27.36) / 7.67

That will provide a reading of -12.00 volts if the raw value from
the sensor is 2.000. However, it's now reading -4.17, which means
the raw value from the sensor is 3.023.

If you change offset value of 27.36 to 35.37, the reading will
be -12.00. It also means that a change in the raw value, say
from 3.023 to 3.123 or to 2.923 would cause the voltage
indication to change from -12.00 to -11.42 and -12.95
respectively.

compute in5 (7.67 * @) - 35.37 , (@ + 35.37) / 7.67

RAW VALUE VOLTAGE READING

2.923 -12.95
3.023 -12.00
3.123 -11.42

If only the multiplier is changed, from 7.67 to 5.08, that would
also result in a -12.00 voltage indication when the raw value is
3.023. However, for 3.123 the voltage indication would be -11.49,
an for 2.923 would be -12.51.

compute in5 (5.08 * @) - 27.36 , (@ + 27.36) / 5.08

RAW VALUE VOLTAGE READING

2.923 -12.51
3.023 -12.00
3.123 -11.49

Which one is more accurate? Who knows! It makes no difference
though, as the question is which one is more useful.

Think about this one:

compute in5 (10 * (@ - 1)) - 42.23 , 1 + ((@ + 42.23) / 10)

RAW VALUE VOLTAGE READING

2.923 -13.00
3.023 -12.00
3.123 -11.00

Which is to say, almost twice as sensitive (the same change in
the raw value gives almost twice the change in voltage reading)
and yet it is still a linear response.

I would try that, and see how the values look over a "normal"
period of time. If you get swings that set off alarms, cut it
back to the 5.08 multiplier.

The -5V compute statement needs similar analysis.

--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) com

installing Kdevelop on Ubuntu?

Posted: 20 Sep 2006 01:13 AM PDT

Michael wrote: 

test do not read

where is the Administor in Ubuntu Linux?

Posted: 19 Sep 2006 11:55 AM PDT

["Followup-To:" header set to comp.os.linux.misc.]
On Wed, 20 Sep 2006 01:10:45 -0700, Michael
<com> wrote: 
You shouldn't log into a GUI as root. You should be able to log into
one of the consoles ctrl-alt-F1 to ctrl-alt-F6.


--
Dinosaurs aren't extinct. They've just learned to hide in the trees.

I need to understand grub, partitions etc after hosing a Windows/Linux setup

Posted: 19 Sep 2006 08:58 AM PDT

co.uk wrote: 

No. But if you're going to have multiple /boot partitions, there's not
a whole lot of value of having any boot partition. They all suck up
space you could incorporate into the / partitions; and grub gets harder
to maintain.
 

They don't have to share the same /boot, but you're probably going to
chain bootloaders together, possibly different grub installations....
Or you could chain to multiple grub installations from the Windows
loader, since you imply you have at least one of them.
 

It depends on the age of the distribution. Most everything produced in
the last couple years can handle having a /boot partition not in the
first 1024 cylinders.
 

Unpack the initrd using gzip and cpio. Probably edit the init script,
then pack it back up. The details of the edits are going to vary
depending upon what you have (how the lvm partitions are arranged) and
what you did (how you rearranged them).
 

Network connection diagnostics

Posted: 18 Sep 2006 11:05 PM PDT

On 18 Sep 2006 23:05:50 -0700, "Marco A. Cruz Quevedo"
<com> wrote:
 

ifconfig -a shows interfaces (NICs or "adapters"), including their IP
if they have one. route -n shows the routing table, including the
default route if there is one, which default route contains the
gateway address. For example, below, the eth0 NIC's IP is
192.168.3.12. If that line is missing your NIC lacks an IP. And the
gateway address is 192.168.3.2. The default route is the route to
"0.0.0.0" and you see that address in that route's line item in the
table. Maybe your service network restart is triggering an address
request (ie running a dhcp client), but that's not taking place as
part of the boot process. Check /etc/sysconfig/network for something
like ONBOOT=no (or yes). If it's no, it's configured to omit setting
up network stuff as part of booting. Check also for something like
BOOTPROTO=dhcp (I think) to see whether, when the network config is
performed it entails use of dhcp. To experiment with running dhcp
client manually, the name of the client is usually dhclient, otherwise
there's one called pump and one called dhcpcd. Your system might have
one or another of those.

Example:
[root@hostx ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:02:B3:41:86:F9
inet addr:192.168.3.12 Bcast:192.168.3.255
Mask:255.255.255.0
inet6 addr: fe80::202:b3ff:fe41:86f9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8038 errors:0 dropped:0 overruns:0 frame:0
TX packets:5327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10726255 (10.2 MiB) TX bytes:377137 (368.2 KiB)

[root@hostx ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.3.2 0.0.0.0 UG 0 0 0 eth0
[root@hostx ~]#

Help: RCP issue between solaris and redhat linux

Posted: 15 Sep 2006 12:38 PM PDT

steeles wrote: 

That's a little bit ambiguous. Is this "Linux -> Solaris"?

linux$ rcp solaris:/tmp/foo /tmp

Or is this "Linux -> Solaris" instead?

solaris$ rcp /tmp/foo linux:/tmp

Both of those would normally copy a file from Linux to Solaris.

Or maybe "Linux -> Solaris" means a third thing, which is that
the Linux machine is initiating the connection, in which case
both of these are "Linux -> Solaris":

linux$ rcp solaris:/tmp/foo /tmp
linux$ rcp /tmp/foo solaris:/tmp

:-)

- Logan

Red Hat Enterprise Linux ES 4.0

Posted: 15 Sep 2006 07:57 AM PDT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

com wrote:
 

Download CentOS from http://www.centos.org

CentOS is an Enterprise-class Linux Distribution derived from sources
freely provided to the public by a prominent North American Enterprise
Linux vendor. CentOS conforms fully with the upstream vendors
redistribution policy and aims to be 100% binary compatible. (CentOS
mainly changes packages to remove upstream vendor branding and artwork.)
CentOS is free. CentOS is now accepting donations via PayPal, please
click the button for more information.

- --
Un saludo
Alo [alo(@)uk2.net]
PGP en http://pgp.eteo.mondragon.edu [Get "0xF6695A61 "]
Usuario registrado Linux #276144 [http://counter.li.org]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCxv9vzPPcPZpWmERAtyjAJ0cM7lpKHg8hCs/WUCJYQAfUgeiSACeI1lr
d759N9/JvGsYjC6C6CNdKck=
=hLj1
-----END PGP SIGNATURE-----

modprobe: modprobe: Can't locate module eth

Posted: 15 Sep 2006 03:36 AM PDT


com wrote: 
Do you actually have any interfaces above eth1? Have you checked your
modprobe.conf file to see if you're trying to enable non-existent
devices?

Multi Channel Sound at >48KHz

Posted: 14 Sep 2006 04:44 PM PDT

James Lehman wrote: 

96/48 = two channels

192/48 = four channels

That the specs sum the number of channels is advertizing copy.

--
If the gang rape and murder of an entire family had happened in Boulder,
Colorado it would have been prime time news in the US for ten years.
-- The Iron Webmaster, 3706
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
http://www.giwersworld.org

Modem on Linux box acting as home router/firewall

Posted: 14 Sep 2006 09:53 AM PDT

On Fri, 15 Sep 2006 12:07:42 -0400, Carlos Moreno
<com> wrote: 
Look in /etc/ppp/


--
Each person has the right to take the subway.

Cannot mount pen drives

Posted: 10 Sep 2006 01:15 AM PDT

What have u got in ur logs??

The Natural Philosopher wrote: