Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-26-2008, 06:11 AM
|
#1
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Rep:
|
Visual Real-time traffic monitor
Hi again
Does anyone maybe know of a client app for Windows/Linux that polls the Linux (Ubuntu) Gateway and checks (in almost real-time) what the bandwidth usage is? Something like KInternet (which is SuSE only as far as I know) where you can see a graph showing how much kbps is sent and received per second.
Thanks
|
|
|
12-28-2008, 11:20 AM
|
#2
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,148
|
gkrellm ?
|
|
|
12-28-2008, 12:20 PM
|
#3
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Original Poster
Rep:
|
Hi there
Thanks for the suggestion.
I see it has a Windows version but can it poll remotely? That's the important part.
|
|
|
12-28-2008, 12:36 PM
|
#4
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Original Poster
Rep:
|
Thanks to your suggestion I found an app that is exactly what I am looking for. Although its not GKrellM it is LineSrv with the Windows & Linux clients that can connect & disconnect the Gateway server and view its current upload & download rate.
http://metz.gehn.net/projects/qlinecontrol/
THANKS!!! I am going to test this now! Thankfully the Ubuntu repo has support for LineSrv.
|
|
|
12-28-2008, 12:40 PM
|
#5
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,148
|
Well, I don't "do" windows, but if you start a vncserver on your linux box, and run gkrellm you'll be able to view the GUI from a windows machine running a (windows) vncviewer.
It all seems to be a lot of trouble to go to just to "see a graph showing how much kbps is sent and received per second."
Off-topic: This is a technical forum, and I am politely informing you that I find your Sig to be inappropriate.
[EDIT:]
We appear to have cross-posted.
Anyway, your problem seems to be solved.
[/EDIT]
Last edited by tredegar; 12-28-2008 at 12:42 PM.
|
|
|
12-28-2008, 12:48 PM
|
#6
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Original Poster
Rep:
|
I don't want to VNC every time I wanna check for connection speed, etc.
Besides its for everyone @ home who uses Windows machines to connect to the internet via a Linux Gateway.
Off topic: Sig's shouldn't be an issue, as long as the questions and answers are relevant.
|
|
|
12-28-2008, 01:10 PM
|
#7
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Original Poster
Rep:
|
Yeah so far I think it is fixed. I hope it is!
|
|
|
12-28-2008, 01:45 PM
|
#8
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by tredegar
Well, I don't "do" windows, but if you start a vncserver on your linux box, and run gkrellm you'll be able to view the GUI from a windows machine running a (windows) vncviewer.
|
I know it's solved by now. But I had to say that I find this solution you gave highly inefficient. Gkrellm has a daemon architecture, so, let's use it. Just launch gkrellmd in the relevant machine, then poll it from whatever machine using
I don't use windows either. But if gkrellm can run under windows, then it should work as well.
Pointless postscript: 99.9% of the signatures in ALL the forums are pointless in the best case, and completely off topic. I certainly don't share any affinity with this concrete signature, but I don't think this case is different of any other. It's "just another signature". Not that my opinion matters, of course. I personally don't care at all about signatures, and most times just disable them. In technical forums like this one though it's useful sometimes to see them because they contain actually useful shortcuts. In which regards me, I find far more harmful long signatures than those whose contents doesn't match my ideas, even if they contain something that's actually useful. Sometimes more than 50% of a thread is the contents of signatures, and that's something I hate because it makes the navigation very difficult. Overall when you are in text only environments.[/I]
Last edited by i92guboj; 12-28-2008 at 01:54 PM.
|
|
|
12-28-2008, 02:03 PM
|
#9
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,148
|
Quote:
Just launch gkrellmd in the relevant machine, then poll it from whatever machine using ... gkrellm -s <host>
|
Thanks for your useful additional insight & information. I don't use gkrellm and was just trying to point Last Attacker in the right direction. Your solution looks better, but I haven't tried it. I do not need it
|
|
|
12-28-2008, 02:15 PM
|
#10
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by tredegar
Thanks for your useful additional insight & information. I don't use gkrellm and was just trying to point Last Attacker in the right direction. Your solution looks better, but I haven't tried it. I do not need it
|
No problem, all the solutions are valid even if they do not perform the same
Note that I haven't tried this on a mixed win-linux environment, so I don't know if there's any specific issue. It should work, and gkrellm has been polished for years and years now, so there shouldn't be issues. But I can't guarantee it either because I have only used it in pure linux environments.
Cheers.
|
|
|
12-29-2008, 07:08 AM
|
#11
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Original Poster
Rep:
|
Quote:
Originally Posted by i92guboj
No problem, all the solutions are valid even if they do not perform the same
Note that I haven't tried this on a mixed win-linux environment, so I don't know if there's any specific issue. It should work, and gkrellm has been polished for years and years now, so there shouldn't be issues. But I can't guarantee it either because I have only used it in pure linux environments.
Cheers.
|
Hi there i92guboj!
I don't know gkrellm at all so I didn't know that it had a service on the Linux machine that I could use.
You see what I have is a typical home setup where we have 3 PCs who need to use the internet and 1 Linux Gateway. Now, up until now, I used Open SuSE 10.0 which had the SMPPPd thing going where the client machine can connect and disconnect to/from the internet with either KInternet (for SuSE clients) or SMPPP for Windows (I found this crazy app which is in German which helped for Windows PCs) that allowed me to do that. Also they were able to show the current internet traffic, rate of bytes sent and received over the Gateway to the Internet.
I then discovered that the software repo of SuSE 10.0 isn't supported anymore (well thats what I found), the new SuSE versions need more powerful machines than the one I have for the Gateway and my Gateway had a filesystem issue (where I then formatted the thing) and so I thought that moving to Ubuntu 8.04 (with the LTS; but I decided to go with Xubuntu, where I found that Xfce is very nice and fast for VNC sessions) would solve that problem.
So far almost everything is set up the way it was before in SuSE except this part where I needed the Windows/Linux client app for the internet.
I haven't managed to get it to work yet but LineSrv seems to be the thing I am looking for + its got a nice Qt client for Linux and Windows which I think is perfect!
|
|
|
12-29-2008, 09:27 AM
|
#12
|
Member
Registered: Jun 2004
Location: South Africa
Distribution: Ubuntu
Posts: 120
Original Poster
Rep:
|
Hi again
Just wanted to let everyone know (who're interested) that I got this solution to work just fine!
There was a few things that I saw I had to do before I got it to work.
Firstly the apt-get version of LineSrv won't work out of the box (Ubuntu's) since there was a bug filed and it doesn't seem to have been fixed so I had to use the default linesrv.conf file, modify it, create my own scripts and then it worked.
For reference, here is what I did. I have an iBurst connection which uses the Debain ppp dialer to connect. So the ppp0 is my internet interface.
I copied the /usr/share/doc/linesrv/linesrv.conf to /etc/linesrv/.
Then I created 2 scripts for dialing up and disconnecting:
Dialup script
Code:
#!/bin/sh
ifup ib0 2> /dev/null > /dev/null
Hangup script
Quote:
#!/bin/sh
ifdown ib0 2> /dev/null > /dev/null
|
I placed them in the /etc/ppp path.
The ib0 is my iburst interface, I have to do it like this otherwise it won't work. Also LineSrv has to be root for this to work. Fortunately the init script that is setup via apt-get does that automatically.
I know the script looks funny but this is the script format that was followed in the sample scripts found in the LineSrv source files.
Then I modified the /etc/linesrv/linesrv.conf file: - I set user_accounting to no since I don't want ppl to authenticate when dialing up
- I set currency to ZAR (Since I am from South Africa ;-) )
- I uncommented the 'line T-Online' line, you can call it anything you want after the 'line' part
- I uncommented the script_up, script_dn and interface and pointed them to the appropriate dialup, hangup scripts and the interface points to ppp0
- I uncommented 'con_type' and set it to 'netdev'
- I uncommented 'send_throughput' and set it to 'yes' since QLineControl client want this to know at what speed the internet traffic is heading
And then I ran the LineSrv service and there you go. I connected with QLineControl just fine without any hassles.
Cheers and God Bless!
Last edited by Last Attacker; 12-29-2008 at 09:34 AM.
|
|
|
All times are GMT -5. The time now is 10:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|