01-23-2008
How to force the LAN interface running on 10M
Hi all,
I would like to force the LAN card to use 10MB instead of 100MB in UNIX enviroment, please help. thanks!
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
9 More Discussions You Might Find Interesting
1. Solaris
Hi ,
I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10.
How can I achieve this?
Thanks (1 Reply)
Discussion started by: deedee
1 Replies
2. UNIX for Advanced & Expert Users
Double question here ... Running on Debian Etch and Apache 2.0
1) Using mod_proxy and/or mod_proxy_http in apache 2.0.
The basics of using mod_proxy are pretty simple so long as you're using a static config. I'm trying to figure out how to do it dynamically - that is, allow the entry of a... (4 Replies)
Discussion started by: Halfwalker
4 Replies
3. IP Networking
I'm trying to plumb a new interface bge1 on my machine:
root@obms2-com-indianapolis-in:/root# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet... (3 Replies)
Discussion started by: R37ribution
3 Replies
4. Solaris
Hi all,
I encounter some problem with my e1000g interface running on sol 10. I can't permanently change the auto-nego to disable, if i use ndd commands, it will only stay until the next reboot.
But i can't change the link speed either is set to /etc/init.d/nddconfig or using ndd commands.
... (1 Reply)
Discussion started by: mailbox80
1 Replies
5. IP Networking
Hi,
We have a website running on a local centos 5.4 surfer, static IP.
The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server.
My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine.
However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies
6. Red Hat
I use red hat linx ES 4 ,5 , how can I start up attached screen to config the lan interface in command mode ???
Please advice in detailed ?? (1 Reply)
Discussion started by: chuikingman
1 Replies
7. Red Hat
Hi,
How can I config iptables to allow port forwarding from one WAN interface to second lan interface .
In my system I have one wan interface 61.93.204.56 (eth0),and lan interface 10.2.1.52(eth1)
I want to make port forward port no 22 from 61.93.204.56 to
port 22 , 10.2.1.52 , tcp and udp... (1 Reply)
Discussion started by: chuikingman
1 Replies
8. Solaris
I've one Netra 240
After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces.
I tried to restart and plumb/unplumb with no luck.
ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies
9. Solaris
Hello all,
I have a sun server SunOS PNR1RAD01 5.10 Generic_144488-09 sun4v sparc SUNW,Netra-T5220 where i have an interface e100g0.
This was earlier in running state but now this doesnt show running state. I tried to reset the interface, checked the cable but it did not help.
Can nyone pls... (10 Replies)
Discussion started by: rajjat2
10 Replies
LEARN ABOUT DEBIAN
math::calc::units
Units(3pm) User Contributed Perl Documentation Units(3pm)
NAME
Math::Calc::Units - Human-readable unit-aware calculator
SYNOPSIS
use Math::Calc::Units qw(calc readable convert equal);
print "It will take ".calc("10MB/(384Kbps)")." to download
";
my @alternative_descriptions = readable("10MB/(384Kbps)");
print "A week is ".convert("1 week", "seconds")." long
";
if (equal("$rate bytes / sec", "1 MB/sec")) { ... };
DESCRIPTION
"Math::Calc::Units" is a simple calculator that keeps track of units. It currently handles combinations of byte sizes and duration only,
although adding any other multiplicative types is easy. Any unknown type is treated as a unique user type (with some effort to map English
plurals to their singular forms).
The primary intended use is via the "ucalc" script that prints out all of the "readable" variants of a value. For example, "3 bytes" will
only produce "3 byte", but "3 byte / sec" produces the original along with "180 byte / minute", "10.55 kilobyte / hour", etc.
The "Math::Calc::Units" interface only provides for string-based computations, which could result in a large loss of precision for some
applications. If you need the exact result, you may pass in an extra parameter 'exact' to "calc" or "convert", causing them to return a
2-element list containing the numerical result and a string describing the units of that result:
my ($value, $units) = convert("10MB/sec", "GB/day");
(In scalar context, they just return the numeric value.)
Examples of use
o Estimate transmission rates (e.g., 10MB at 384 kilobit/sec)
o Estimate performance characteristics (e.g., disk I/O rates)
o Figure out how long something will take to complete
I tend to work on performance-sensitive code that involves a lot of network and disk traffic, so I wrote this tool after I became very sick
of constantly converting KB/sec to GB/day when trying to figure out how long a run is going to take, or what the theoretical maximum
performance would be if we were 100% disk bound. Now I can't live without it.
Contraindications
If you are just trying to convert from one unit to another, you'll probably be better off with "Math::Units" or "Convert::Units". This
module really only makes sense when you're converting to and from human-readable values.
AUTHOR
Steve Fink <sfink@cpan.org>
SEE ALSO
ucalc, Math::Units, Convert::Units.
perl v5.10.0 2009-08-04 Units(3pm)