Programming :: Running Iperf On Machine From Web Interface

May 22, 2011

I'm not sure if I'm posting in the correct section, so please move it if it isn't.I currently have a bunch of laptops for testing a distributed network - throughput etc., using a bunch of bash scripts that send or listen to multiple addresses and ports, which run iperf. But at the moment I have to run it from each machine, or log in through ssh.To make this easier, I'd like to be able to present a bunch of buttons and selections from a web interface, so I can just put in the hostname of each laptop, and then click on a presented 'send' or 'listen' button to then execute iperf, and be able to kill it early if need by, say, by a 'stop' button.

What is the best way to go about this? Python, JavaScript, Java Servlet?And how would I do it? Just one of the above on Apache or something on each laptop?I just don't which direction to start heading in. Any help would be greatly appreciated.BTW. The network is considered to be not connected to the Internet, so I'm not too concerned about security, but if you've got any suggestion of how to start and stop iperf securely from a web interface on a machine, I'm interested.

View 2 Replies


ADVERTISEMENT

CentOS 5 :: Iperf :Can't Run Or Install Iperf?

Dec 20, 2009

How can I install iperf (and jperf) and ntop???? I need these to resolve some issues with the LAN throughput. See this link for more info. how-to-speedtest-lan-traffic-on-windows-and-linux-clients-and-servers This is the message I get.

[root@localhost ~]# yum install jperf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.monash.edu.au
* base: ftp.monash.edu.au
* extras: mirror.primusdatacentre.com.au

[Code]...

View 2 Replies View Related

General :: Setup A Machine Running Drupal CMS On A Debian Machine?

Aug 13, 2010

I'm know very little about Linux but decided to set up a machine running Drupal CMS on a Debian machine and it won't go. The folks at Drupal have tried to help but it seems the Debian OS won't do it's PHP thing for Drupal.

That means i'll have to start at the START I guess.

how to become a master of Linux if one is starting from ABC (I can add and subtract, that's what it feels like)

View 2 Replies View Related

Networking :: Setup My Firewall To Use Iperf?

Oct 27, 2009

How do i set up my firewall to allow traffic from iperf?

View 6 Replies View Related

Ubuntu Networking :: Iperf Throughput Test Between Two NIC'S?

May 30, 2011

I have pc with two NIC's (eht0 and eth1). I want to test throughput switch/router.I can ping on both interfaces.Connection Diagram:

eth0 -> Patchcord -> testing devices -> Patchcord -> eth1

I run two iperf:

-s -B 192.168.1.10 (eth0)
-c 192.168.1.20 -B 192.168.1.20 (eth1)

Results:

[ 3] 0.0-10.0 sec 4.45 GBytes 3.82 Gbits/sec

The test results are false because I use 100Mb/s NIC's. I can't use two pc's for test.I tried to do the same test under windows 7 x64 it and works properly, but under windows xp there occurs the same problem like under ubuntu.

View 1 Replies View Related

Software :: Not Able To Run Traffic For IPV6 Using Iperf / Solution For This?

Jun 18, 2009

I am using iperf v2.0.4 to run traffic. I am able to send and receive traffic for IPV4. But i am not able to run traffic for IPV6.

I am having redhat Linux.code...

Can anyone please tell me whether i am missing any parameter or i am following the wrong procedure?

Can anyone please tell me the exact way to test the traffic for IPV6?

View 1 Replies View Related

CentOS 5 Networking :: Machine Hangs / Never Brings Down Interface On Downing Wlan0

May 20, 2009

I have managed to configure a wireles PCI card on CentOS 5.3 and it seems to work fine. It is a off brand (Hercules) with a Ralink RT61 chipset. I installed the most current driver (RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661) from the rt2x00 Open Source Project. I now have a question that might be very simple for one or more of you to answer. When I issue the command "shutdown -h now", the machine starts to come down and brings down eth0 cleanly, but when it attempts to bring down wlan0, the machine hangs and never brings down the interface OR powers off the box. The only way to complete the power off is to "hard" power off the machine.

View 7 Replies View Related

General :: Iperf Won't Export All Command Output To Text File?

Oct 18, 2010

I've created a script to test network speeds but I've run in to a little problem. The command outputs this:

Code:
Client connecting to 192.168.111.230, UDP port 5001
Sending 1470 byte datagrams

[code]...

View 1 Replies View Related

Ubuntu Installation :: 10.10 - Interface Not Running / Showing

Nov 17, 2010

I have ran the installation of Ubuntu (10.10) on my Acer Aspire computer, I chose to wipe the disk and use only linux, however after installing and restarting, I get some sort of terminal/command line and not the actual operating system. I did not install Ubuntu Server and this disk worked on another computer (actually the one I am typing this on right now).

View 1 Replies View Related

Software :: Running Mysql-python Interface?

Nov 30, 2010

I just took a class on sql, unfortunately, it was Windows-centric, which means I have to figure out how to do stuff in Redhat by myself. By installing mysql via yum and then running pirut, I find there is an interface type program called MySQL-python-1.2.1-1.x86_64 so I installed it but I'll be danged if I can find any information on how to actually run the thing. What is the command to start MySQL-python-1.2.1-1.x86_64?

View 6 Replies View Related

General :: Running Web Browser On A Specific Network Interface?

Feb 26, 2011

suppose I have multiple interfaces installed on my machine. The question is how to specify which interface to use while starting a web-browser.What I would like to make possible is something like:Code:browser_name interface addressif it is possible in for any web-browser or via scripts please advise me accordingly.

View 7 Replies View Related

General :: Machine Act As Both A Wireless Client And Access Point Simultaneously Using A Single Physical WLAN Interface?

Jun 23, 2010

If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other clients? I have an existing 802.11g ADSL router, and I'm going to be building an HTPC which will have 802.11n. My laptop also has 802.11n, but at the moment it only connects at 54Mbps because thats what the AP supports. I'd like to be able to have the HTPC be a client of my ADSL router, but have my laptop be a client of the HTPC, so copying files to it will be faster.

View 1 Replies View Related

Debian Installation :: Start Job Running For LSB - Raise Network Interface

Feb 11, 2016

I have just installed debian-live-8.3.0-i386-lxde on my old hp530 32-bit laptop

Everything went well but every time I start my laptop I get following message which lasts for approx 1m 20s ...

Code: Select allLoading, please wait...
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
[  13.941532] systemd-fsck[145]: DEBIAN8: clean,140919/640848 files, 978992/2560942 blocks
[ ***]A start job is running for LSB: Raise network interfaces. (1min 20s / no limit)
with the 3 asterisks above moving back and forth.

... then it boots OK into operating system. so apart from the delay everything is working ok.

View 14 Replies View Related

Networking :: Ethernet Interface Leaves RUNNING State After Some Time

Jul 29, 2011

I am using RHEL6 on a server with 3 interfaces.

eth0 is connecting via a Cisco switch to the outer world and eth1 and eth2 to internal networks.

eth1 and eth2 are working without problems all the time, however I have the following incident with eth0: although it is RUNNING, and after it works for some time (like some hours), it then becomes incapable of sending/receiving traffic. Here are more details, after the interface exits the RUNNING state:

[root@mgt ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E4:1F:13:6C:87:74
inet addr:9.162.91.26 Bcast:9.162.91.255 Mask:255.255.255.0
inet6 addr: fe80::e61f:13ff:fe6c:8774/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[Code]....

I am wondering whether there this is because there is not traffic for some time and so the interface goes to idle. Is there any parameter I can tweak in RHEL6 to force the interface to remain RUNNING even in the absence of traffic (although I would be expecting that some 802.1 packets would be periodically flowing from the switch to the interface)?

View 1 Replies View Related

Programming :: Socket Programming Select Interface

Jan 15, 2010

I have currently had the need to go back to basic socket programming, and implemented a simple udp packet sender. But I realized I needed to be able to select which network interface to send the packets from.

The reason is so that one of the interfaces has vlan tagging, and I need my UDP packets to be accordingly vlan tagged. For example, one of the interfaces is eth1.200.

View 2 Replies View Related

Programming :: Interface "eth0" Which Is Down - Wasn't Displayed But Loopback Interface Has Been Displayed

Jan 6, 2011

The following are the output of command "ifconfig -a":

[Code]....

The interface "eth0", which is down, was not displayed, but loopback interface has been displayed. So, how can I make my application display all interfaces, including the interfaces which are down, but excluding the loopback interface?

View 4 Replies View Related

Programming :: Suid Disabled From Running All Scripts Or Just From Running Them As Root ?

Sep 4, 2009

Is suid disabled from running all home made bash scripts or just from running them as root or:

Who would know for sure.

I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.

View 2 Replies View Related

Programming :: Cron And Fsarchiver Reportedly Running Not Actually Running?

Jun 1, 2010

My root Vixie cron crontab is set to perform a system snapshot via fsarchiver: 0 0 * * * fsarchiver savefs -o -A /backups/p30_root.fsa /dev/sda2 /dev/sda3 The command itself works fine, generating about a 7G snapshot of my Suse server. I then wish to rsync this to a NAS I have located in another building: 0 3 * * * rsync -av -e ssh --delete /backups/ root{at address}:/DataVolume/os_backups/

(yes, I'm rsyncing as root. I absolutely loathe it, but I got thrown into an quasi-SA position with a ridiculous to-do list and no time to do it. I'm having to make things just work and then go back and try to improve them/learn how. I couldn't make it work in a non-root way quick enough, so for now I'm having to cron rsync jobs as root because of all the differing file permissions on this samba/MySql server. I set the NAS to only accepts ssh from the server IP, and we're behind a campus firewall... It's serious trial by fire.) The crontab also has rsync commands for the samba areas, our specialized chemistry software and affiliated MySQL databases............

View 2 Replies View Related

Fedora :: Running Yum On F10 Machine?

Dec 30, 2009

I am having trouble running yum on my fedora 10 machine. Running yum to install any package gives following error :- [Errno 4] IOError: <urlopen error html><body><center><br><script>> Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

I have been searching a solution for this for quite some time , but unable to find one which can solve the error I am getting.

[Code]...

View 4 Replies View Related

General :: Running GUI Program On Machine Using Ssh?

May 2, 2011

I am trying to run open a GUI program on a remote Ubuntu machine using ssh.

I want to open, lets say firefox or skype, on a machine I have connected to via ssh.
But when writing logging in with user2 and writing sudo -u user1 firefox I get an error message saying no display specified.

The machine is turned on and logged in with user1, it just appears that i cant get ubuntu to recognize that there is a GUI available.

View 1 Replies View Related

Programming :: Network Interface Is Down?

Oct 27, 2009

Is there any API or event notification scheme to tell when the network is down/up?

View 1 Replies View Related

OpenSUSE :: 11.4 Freezes When Running KVM Virtual Machine

Apr 8, 2011

I have 3 boxes running opensuse-11.4 64 bit - Phenom-I 2.6 GHz, Intel Q9400 quad core 2.66 GHz and Intel SU7300 dual core 1.3 GHz (the last one is a laptop). When I run a KVM virtual machine and load it quite a lot all host OS freeze. Interestingly, the laptop works the longest (hours), while the fastest system with Q9400 freezes in max. 10 minutes. After a hard reboot there is nothing in /var/log/messages This bug is 100% reproducible. The guest OS is either RHEL or openSUSE. Is it a 11.4 bug or I am missing something? Have not tried the same hardware with RHEL-6.

View 1 Replies View Related

General :: Laptop - Running Skype On A 400 Mhz Machine?

Oct 25, 2010

I have an offer for a free outdated laptop, and wondering if it's possible to run skype on this. It will be running with a very stripped-down Ubuntu Linux operating system, and no other graphical goodies hogging up the processing power.

The specs will be:

400 Mhz Celeron processor

Approx 300 MB RAM

Rest is unknown.

Think this is capable of running skype with video?

View 2 Replies View Related

General :: Get Files Running On A Virtual Machine?

Mar 20, 2011

My hostmachine is Windows, and install Ubuntu on a virtual machine. I developed some program on Ubuntu. Suppose I want to transfer these files to a folder in Windows. How to find and get these files, which logically are stored in the virtual machine.

View 2 Replies View Related

General :: Running Kernel 0.01 In A Virtual Machine?

May 31, 2011

I'm just trying to know if is there is a way to run the first version of linux in a virtual machine. Since I am very new to this, my aim is to learn something basic on how the first version of linux kernel was built and worked.

View 1 Replies View Related

General :: Display GUI Apps Running On One Box On Another Machine?

Sep 8, 2011

I'd like to display GUI apps running on one Linux box on another machine.

I already do this with local machines, but how to do this over the internet?

Update: I'm already using ssh to access the machine over the internet.

View 3 Replies View Related

Ubuntu :: Running Virtual Machine Remotly?

Dec 13, 2010

from a local machine i connect to the remote via the terminal:$ ssh -X john@192.168.1.248 VirtualBoxthe vb dialog box appears with the list of the virtual machines on the left hand side, just as if i was runing it locally, but when i try and start one of the machines it crashes the connection!why dose it crash the connection and what can i do to make this work?

View 1 Replies View Related

Ubuntu :: Running MS Office In A Virtual Machine?

Jan 21, 2011

I am getting seriously tired of running MS Office in a virtual machine. It's been about 18 months since I tried running in on Wine, so I just checked out WineHQ and CodeWeavers and apparently usability hasn't improved at all.

I keep trying to use OpenOffice but whenever I open PowerPoint presentations they are always kind of messed up. This week, somebody sent me an MS Word file for printing labels for a mail merge and the label template file opened up blank. Anybody else have any brilliant work arounds or am I still stuck with my MS Office VirtualBox!! It's really hard to believe that its 2011 and Linux is still missing a world-class Office Suite...

View 3 Replies View Related

Ubuntu :: Machine Shut Down When Running Idle?

Sep 3, 2010

I recently got my laptop setup as an Ubuntu machine, but if I just leave it running, after a while I'll look over and see that it has shut down. I have gone through the power management options and I do not see anything there regarding this. So I was wondering if this is a feature in the 10.04 version?

View 3 Replies View Related

Fedora :: No Sound On Lenovo Machine Running F14

Feb 14, 2011

I m new to linux. I have fedora 14 on my lenovo 3000 n100 machine but thr is no sound at all. I have tried all the possible solution but no success at all. My alsa profile is [URL].

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved