Networking :: Simple Shaper On Single Pc?

Sep 20, 2010

I've been trying to create a simple htb qdisc on my computer for learning purposes, but it does not seem to be working as I want it to. Ive made this script that creates a simple qdisc scheme and assigns filters to it:

tc qdisc add dev $ETH root handle 1:0 htb default 1
tc class add dev $ETH parent 1:0 classid 1:1 htb rate 20kbps ceil 0kbps
tc class add dev $ETH parent 1:0 classid 1:2 htb rate 30kbps ceil 100kbps
tc class add dev $ETH parent 1:0 classid 1:3 htb rate 10kbps ceil 100kbps

[code]....

I want it to simply shape packets on my single machine so that when I go to view web pages it will limit the download rate, same thing for p21 ftp and 443 https. I just want to try out how it works and use these trial to get a hang of it, but I noticed so far that its not limiting port 80 at all.

View 2 Replies


ADVERTISEMENT

Networking :: Packaging A Traffic Shaper Project?

Oct 22, 2010

I have a SUSE Linux traffic shaper that can manage bandwidth usage per user and etc.for use it, we must configure LDAP server &client ,edit sudoerr's file, create mysql database with some tables� . Its interface is base on cgi&perl language . How do I package this project?
i don't know what part of proj is necessary for packaging (what is source code for creating a RPM package?)

View 1 Replies View Related

General :: Write A Simple Backup Script To Backup A Single Folder Nd?

Sep 15, 2009

I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11

View 2 Replies View Related

Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies View Related

Ubuntu Networking :: Simple SSH From Within And Outside

Mar 10, 2011

I've read a lot about what SSH does, and how to do it on some networks, but none of them quite cover how to do it on just a network with a bunch of computers on it. I have no server or anything, just a router with some computer connected through ethernet or wireless. All of the Ubuntu computer have me as a user, and I want to be able to access any specific one. How do I do this? Also, if I'm not at home, how can I access any of my accounts from whichever computer I wish to access?

View 1 Replies View Related

Ubuntu Networking :: Setup Simple Network For Ssh'ing

Mar 1, 2010

All i really want to do is be able to ssh into my other linux system. I am not interested in internet sharing, or even file sharing.[linux laptop with unused ethernet port]-windows-mobile-ppc connected by usb for internet-tehtering [linux running on my wii accross the room]-nintendo lan adapter.I want to be able to ssh login to my wii, from my laptop. That is all i want. Do i need a router in between the two for this, or can i just connect them with ethernet cable?No samba, no nfs, no fancy stuff. Just want to be able issue commands from laptop to my wii.

View 9 Replies View Related

Ubuntu Networking :: Just Want A Simple Home Network

Jan 6, 2011

As a user who is comfortable setting up a peer to peer network in Windows, how do I set up a simple peer to peer network with shares, on a standard network infrastructure (ethernet and basic dlink router), using Linux? I have two computers with Ubuntu 10.04, and would like to share files between them.Do I need to set static IP's? Why is only Windows network showing in Places/Networks?

Question two: I have 3 Windows computers (2 = XP, 1 = Win7) on my network, all with shares. When I try to access the windows shares from an Ubuntu machine, I can connect to some shares on some computers without being asked for credentials, however on other shares I am asked for credentials, but the credentials aren't accepted.I am assuming that domain = workgroup, so I enter in the workgroup name, but the dialogue refuses to let me in.

View 1 Replies View Related

Ubuntu Networking :: Simple UDP Port Forwarding?

Jan 30, 2011

I'm trying to set up very simple UDP port forwarding, but can't seem to have good results. I read trough netcat and iptables manuals, but can't seem to figure things out. my setup is the following:

I have machine1, listening on UDP port 49000. I have machine_fw, which accepts connections on 59000, and forwards all this to machine1:49000 (and returning traffic too) I have machine2, which will connect to machine_fw:59000, and this way communicate at the end with machine1:49000, as machine_fw is taking care of forwarding is there an easy way to achieve this?

View 2 Replies View Related

Ubuntu Networking :: Setup A Simple Webpage Using No-ip?

May 11, 2011

My plan is to set up a simple webpage using no-ip. I already made an account and downloaded and configures the client. Now I want to make the actual website (hosted on my local machine). How would I do that? I assume I would need a hosting software.

View 2 Replies View Related

Networking :: Using Netcat To Make A Simple Proxy?

Nov 21, 2010

I made a simple proxy using netcat and it works great, the idea is to make the server and client communicate through two named pipes, file1, file2.

$ mknod file1 p
$ mknod file2 p
$ nc -l -p 12345 0<file1 1>file2 &
$ nc 192.168.2.118 80 1>file1 0<file2 &

The problem Im facing is that I cant seem to intercept the data going between the client and the server. I want to be able to have the data coming to the server in a variable, manipulate it and send it to the client, and the other way, have the data coming to the client in a variable, manipulate it and send it to the server.

Im running on an embedded device where tee, awk and many other commands are absent. how can I redirect the data to a variable, manipulate it and pass it to the other side, that is the question.

View 6 Replies View Related

CentOS 5 Networking :: Simple File Server With AD PDC?

Sep 15, 2010

I am trying to deploy a very simple file server in my company's network.The goal is just to have a file server with DAT backup, nothing more.I managed to configure Samba to show a share visible in the Windows network, with free read and write to everyone. For this I configured "Autentication Mode = user", and read/write access to all users in the specified share.

Of course, I would like to have the possibility to establish permissions based in AD-users. For that, I tried to add my CentOS machine to AD.I followed the guide in:

[URL]

I can get the kerberos "kinit" command to autenticate in Windows AD: I can access the Windows machines in the network as administrator and "klist" shows the valid ticket.But, when trying the "join", I always get the "No logon servers" error.I googled around for this, and it seems that this is a common error and there is no "magic approach" for it...

So, my questions are:

- Can this be achieved only by the Samba configuration tool (Gui)? I think not, as we need to change kerberos settins

- What would be the correct settings for krb5.conf?

- Are there any other services/files needed to adjust?

View 1 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Ubuntu Networking :: Simple Way To Connect To Wifi With Terminal?

Mar 26, 2010

Is there a simple way to connect to wifi with terminal?

View 2 Replies View Related

Ubuntu Networking :: Creating A Simple Workgroup Network

May 11, 2010

I am using an Ubuntu 64 bit desktop. I need to create a network (the way you create a workgroup in windoz). I have two other machines running Ubuntu also and all connected to a 3-Com switch through ethernet. I would prefer not to use DHCP, and just have a simple network where I can share resources like drives and printers.

View 3 Replies View Related

Ubuntu Networking :: Simple Scan Cannot Find Lexpark All In One

Sep 30, 2010

I have a Lexmark interpret S405 all in one. I got it to work as a wireless printer with the downloads provided by Lexmark. I installed simple-scan (sane) to enable scanning. Simple scan works, since it sees another all in one printer in our house and is able to scan. In addition, simple-scan does work on the Lexmark when I hook it up with a USB cable. HOWEVER, for some reason simple-scan does not see my Lexmark, despite the fact that it is seen as a wireless printer. So, the following discrepancy is present

a) My Lexmark is recognized by my computer as a wireless printer

b) Simple-scan does work, since it recognizes and scans another all in one and it does work with my Lexmark when connected with a USB cable

c) Nevertheless Simple-scan does not recognize my Lexmark all in one wirelessly.
My question to this distinguished form is: How can I make simple-scan recognize my Lexmark wireleslsy?

View 4 Replies View Related

Ubuntu Networking :: Simple Network Monitor Daemon?

Nov 2, 2010

i have been looking for a simple network monitor daemon for ubuntu, for some time but have not found anything that suits my requirements and from what i've been reading online there seems to be quite alot of other people out there that are looking for the same thing. [URL]...for-linux.html page seems to have the most comprehensive list of similar products but if you read through all of them they don't seem to be what i'd imagine most home users need. here's a list of what i had in mind, if any one uses something that has these features or knows of something that might meet these requirements please let us know! 1)a small lightweight daemon that can be accessed via the panel on gnome 2)has thee ability to monitor eth or ppp (particularly internet traffic)3)can represent this data in a human readable format ie using megabytes and gigabytes 4)can store a history of how much data is being sent and received over long periods of time (like several months)

View 2 Replies View Related

Ubuntu Networking :: Setup A Simple Home Network?

Feb 6, 2011

I have three PC's. PC-1 is a newish Dell Vostro 320 running Win 7 as the prime OS with Ubuntu Linux 10.10 dual boot under the control of EasyBCD. PC-2 is a Dell Inspiron 6400 running Ubuntu Linux (10.10). PC-3 is an oldish Dell Inspiron 6000 laptop dual booting Win 7 and Ubuntu 10.10. All three PC's share a DSL connection to our ISP and network using the wireless router capability of the DSL box (a Billion 7401 VGP-M). All three PC's can access the internet using the DSL box both wired and wirelessly under Windows or under Linux. PC-1 is the primary PC and runs Win 7.

PC-2 (Ubuntu 10.10) is running fantastically well and can access PC-1 running Win7 as a member of WORKGROUP for print sharing and for file sharing. The primary PC-1 can also see the files on PC-2 as a member of a Windows WORKGROUP. Simple home networking is working as it should with this setup (PC-1 under Win 7 and PC-2 under Ubuntu 10.10). This has been like this since the installation of Ubuntu on PC-2, which included setting up network printing from PC-1 (Win 7) under Samba.

The problem is thus: If I boot PC-1 or PC-3 up under Linux, I lose all networking capability between the three PC's including print and file sharing, but they can all access the internet through wireless or wired connection. I have configured Samba and done all the home networking troubleshooting especially:[URL]..All to no avail. As I said, my aim to ditch Windows and move all three PC's to Linux but I can't do this unless I can get Linux home networking working properly. By properly, I mean all PC's running Linux or two under Linux and one under Windows 7 and be able to share files and a printer attached to PC-1. I am a Linux virgin and am hoping that a knowledgeable person can tell me what's going wrong and point me to setting up a simple home network under Linux. It shouldn't be this hard.

View 7 Replies View Related

Networking :: I.P Addressing For Simple Screened Subnet Architecture?

Jan 8, 2011

I'm wanting to set up a network that has a simple screened subnet architecture. The boarder router will have a switch plugged into it. My servers will be plugged into this switch. Also plugged into this switch will be a dedicated firewall. This firewall will protect the internal network. The boarder router is not very flexible. You can have hosts that use dhcp but that get the same internal I.P address each time their interface is configured.Or you can configure static I.Ps on hosts that are outside the dhcp range of the router, but that have the same subnet address.

The most simple way to set up such a network would be for every interface to have a static internal address that is obtained via dhcp from the boarder router. Like i said the boarder router is doesn't give you much freedom. Meaning that it lets you have a static internal address but not a different network address for different interfaces. That is where the confusion is, for me. If all the interfaces that get theirI.P addresses from the boarder router are on the same network, then what about the systems on the internal network. They might as well get their I.Ps from the boarder router as well, to avoid NAT being done twice before their packets get sent out to the Internet?.I wanted a three interface firewall to separate the DMZ from the internal network, instead of using a screened subnet architecture, but the boarder router only allowed one interface to be in the DMZ, i think and it didn't seem to have a well designed way of controlling the DMZ ie setting a new default gateway etc.

Should i let NAT be done twice for packets from the internal network i.e have the dedicated firewall do dhcp and NAT for the internal network, but this firewall's external interface have a static internal I.P from the boarder router, and the internal I.P of the dedicated firewall have a static internal I.P from the router as well?. It looks like all the interfaces have to have the same network and subnet address, except the machines on the internal network(which can get their I.P from the dedicated firewall)

View 5 Replies View Related

Networking :: Simple Load Balancing Software What Recommend?

Mar 3, 2010

I have been using Pound and it does exactly what I need for a simple easy dedicated load balancer machine.

Are there any other popular load balancing programs like this people can recommend? HAProxy I looked at also, not sure how good that is...

View 1 Replies View Related

Networking :: Create Simple Pppd Tunnel Between Two Machines?

Nov 26, 2010

I'm looking for a tutorial on how to create a simple pppd tunnel between two machines. I've found alot of tutorials about pppd over ssh (using the pty option) but for the purpose I just want a simple pppd tunnel.

Specs
host 1: lan ip 10.101.10.20 running slackware 13.0
host 2: lan ip 10.101.10.21 running slackware 13.1

View 2 Replies View Related

Fedora Networking :: Connect To VPN Network By PPTP Protocol In A Simple Way?

Mar 14, 2009

I used VPN before in Windows only.
How can I connect to VPN network by PPTP protocol in a simple way ?

View 12 Replies View Related

Networking :: Finding A Simple Web-based Group File Manager?

Jun 2, 2010

Is there a simple web-based solution for a group looking to securely share files online? The software needs to run on our own servers due to regulatory laws. I want users to be able to go to a web site, request an account (which I should be able to accept or reject), and upload/download/manage files in a web-based (preferably ajax-y) file manager. File access controls (via users/groups) is desirable.Yes, I know that SSH/SFTP is the 'proper' solution, but many of the users will be office workers and installing an SFTP client and configuring it is too advanced for them. Same goes for Samba+VPN setups...

View 2 Replies View Related

Ubuntu Networking :: Find IP Address Of Computers In LAN Served By Simple DHCPd?

Feb 8, 2011

How to find IP address of computers in LAN served by simple DHCPd (in ADSL modem - without IP reservations/MAC address).

So is in Ubuntu something like on-fly name resolution in Windows ? Without running DNS server with some kind of DynDNS ?

e.g.

My comp has hostname "GoGo" but I get random IP address from DHCP.

How can other PC on same LAN resolve my changing IP address ?

View 5 Replies View Related

Ubuntu Networking :: Simple Free Remote Control Solution That Works On Windows

Feb 19, 2010

I mean something like Teamviewer so i can click-click and be there in no time, without knowing my IP (it's dynamic so that's a toughy, when i was using VNC i had to write a crontab script that uploaded my IP to a place i could always access every hour). Looked trough tons of apps, Googled for hours, found nothing.

View 4 Replies View Related

Ubuntu Networking :: Simple Dual Wan - Redundancy ONLY - Services Will Only Respond On One Interface At A Time - Not Both

Dec 22, 2010

I recently added a second interface to my Ubuntu 9.10 server, I now have a dsl AND Cable connection for it, Im not trying to load balance or anything sophisitcated, heres my problem.

The machines networked, I put static entries in my dhcp servers and both interfaces are up and live with dhcp, and Ive tried with dhcp and static, same problem occurs.

But my problem is that services will only respond on one interface at a time, not both.

Anyone know what the heck is going on here?

Kernel IP routing table

Should I make them static and remove both gateways?

View 1 Replies View Related

Networking :: More Than One MAC Addresses On Single NIC?

Sep 25, 2010

My machine has ONE ethernet card and is on a LAN.IP address is assigned to hosts using DHCP.I can have more than one MAC address on LAN by running Virtual Machine and setting network to bridged. This way, my virtual machine simply acts like there is one more machine in the network.Running VMWare for this job is a a bit heavy on resources. Is there a way so that I can I can have 2 or more ip addresses with different MAC address on the same machine without having to run VirtualBox.

By googling, I think its related to bridging and tap. And, I am sure thatts NOT IP-ALIASING because in ip-aliasing both the ip addresses have the same MAC address.Basically, I want my system to have interfaces like:-eth0 - which was originally presentlo- thats always present :|newint0 - New interface with new MAC address and IP addresses which can access my LAN directly. Its like if I bind, let us suppose curl to this interface, its like a different connection

View 6 Replies View Related

Networking :: Subdomains Behind Single IP?

May 4, 2009

Here is my network setup:

Internet <-> [public IP] Router [192.168.x.x] <-> Local
Local <-> DMZ
Local <-> HostB
Local <-> HostC

I have a system set up as a DMZ which works great for accessing SSH and other various services. I have a dyndns account that points to my public IP and allows me to access my DMZ box from around the world. I would like to make a subdomain of my current dyndns account and point it to HostB so that it can host a webserver on it, and have another subdomain point to HostC with a separate webserver on it. each would have SSH, FTP, Etc and have to not conflict with one another behind one IP. I don't even know if it is possible, but it seems like if there is a request for dev.host.homelinux.com that packet would have to hit [URL]and could be iptable'd to be routed to the appropriate local machine somehow.

View 2 Replies View Related

Fedora Networking :: Multiple IP On Single NIC?

Jan 23, 2011

I've been trying to set multiple IP my Fedora 14 but nothing seems to work. Upon browsing the net, I found there are two ways for it. One is eth0:0~eth0:n nd another is eth0-range0. All are configs under network-scripts. But neither of them worked for me. Even grabbing a working example from my live server doesn't do the trick (though the server is a CentOS 5.5).

Currently using eth0-range0
ONBOOT=yes
IPADDR_START=192.168.1.127

[code]...

View 2 Replies View Related

Networking :: Transparent Proxy In Single Pc?

Feb 21, 2011

trying to configure a transparent proxy with squid (and filter content with dansguardian) in Debian/Ubuntu. If i configure firefox to use it, it runs ok. I had seen a lot of iptables rules to use fowarding proxy to a lan, but i would like to use squid and dansguardin in a single pc that run them and filter web content.

View 5 Replies View Related

General :: Utility To Forward Ports On A Simple Home Networking Wireless Router From Commandline Using Upnp?

Apr 8, 2011

Is there a utility to forward ports on a simple home networking wireless router from commandline using upnp?

View 1 Replies View Related







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