View Full Version : Adsl resale
Chuky1
23-05-2006, 01:10 AM
I live in a large block of flats in Cape Town and have now just got my adsl line. I thought it would be a good idea to maybe pump my tiny 192 up to a 1md and then resell bandwidth to my other people in the block. The hardware I can handel its just the software i need to look at. I am looking at what the best program/OS would be the best to set up accounts for the othr people to dial up to that will give them internet at a specifide speed.
armitage
23-05-2006, 12:21 PM
First of all I would wonder is how are you going to connect everybody?
Are you going to be laying cable or are you going to be using wifi?
Either way it's usually against the body corporate's rules for ppl to have antenna's outside their apartment. Same story with laying cable.
For an OS. RouterOS is a marvelous piece of software that can do what you want. Though it's not for the faint of heart.
derekc
23-05-2006, 02:06 PM
dont think u are allowed to resell bandwidth u bought from an ISP
killadoob
23-05-2006, 03:29 PM
why not?
you have bought x amount gb's what you do with them is up to you
you have around 100kbs to work with
so devide that by how ever many ppl will using the line
lets say 5
now you will all want to surf nicely so im sure 20 kb will be fine for each person
now to enforce this you will need a program called du super controller load it on all the pc's and set it to 20 kbs
the ppl will have to be trust worthy though
also remember lets say you get a 5 gig account will need to make sure no one uses more than 1gb each :)
there will always be cheaters
AcidRaZor
23-05-2006, 06:18 PM
dont think u are allowed to resell bandwidth u bought from an ISP
Reselling bandwidth is unfortunately an incorrect term he used. What he MEANT to say was sell connectivity to other users who otherwise could not afford the internet or a phone line. Very legit, unfortunately, he won't be able to beat the price of a major "reseller"... but could still come in much cheaper than Telkom. So give him a break.
As for the gb and how much each person use etc. I agree definately you would need some kind of proxy software to monitor each person's bandwidth usage and perhaps throttle them at the same time.
Linux does a brilliant job of this, and you could perhaps check out http://www.bandwidthcontroller.com/ for a Windows based solution if you're not clued up on Linux proxy software (that most would recommend)
However, this will cost you some capital, but I'm sure you'd be able to make up the slack with the price you will charge everyone. Good luck
Chuky1
23-05-2006, 11:42 PM
The hardware I can handle, I do help out at Organised Chaos lan so I have got a clue in switchs, cables and even wifi (Dietmar, one of the other organisers did wireless installs). I have been chating with the caretaker about this and Im going to talk to the body at the next meeting. The only other software I know of that is a good proxy server is used for wireless accounts that would work but its R4000 odd and has alot of thing I wouldnt use. So Ill look at that link thanks, but the Linux Im not sure of, I have used it before but only for game servers. lastly, is it legal? Well acording to tellkom a line can have as many users as you want as long as you on 1 property. Technaly this is one
Any other ideas would help
nGAGEd55
24-05-2006, 12:05 AM
Maybe you should check IPCop and it's Addons out, to tired right now to look for links to specific addons, but I think there's a link to one of the addon sites there somewhere
Tunasashimi
26-05-2006, 01:55 PM
You can use IPCop to manage your "LAN" - it is fairly powerful, and should only take you a few weeks to master if you are sufficiently motivated to aquire some serious Linux and networking knowledge.
All you need is an old PC, with 64MB Ram (128-256MB recommended), a CD-Rom drive, and at least a 1GB harddrive and 2 working network cards.
Download IPCop 1.4.10 (the current version) here. (http://prdownloads.sourceforge.net/ipcop/ipcop-install-1.4.10.i386.iso?download)
Boot from the CD and let it take over your little box. Yes, it will format the harddrive. Yes you will lose everything.
Sit at the terminal, and set your box up to an ip address you can reach from your pc. This will allow you to putty/ssh in and/or use the web interface from your (other) pc. Log in with admin / run "setup" at the bash prompt.
If you can ping your box from it (use a static IP, you can setup DHCP later), you're up. (Start by putting a static IP on an interface you've configured as "GREEN" in the network config/card configuration)
(Later, Put your 4-port ADSL modem in 1483-bridged-llc mode, and plug it into the interface you've set up as "RED" via a straight cable. Plug another straight cable from your green/blue interface into the same four-port hub, and use it's extra two ports as a 2-port hub for your "Green" LAN (or use any other hub). Or run your Green interface via crossover to a wi-fi accesspoint. If you have 3 LAN cards in the box, make one Green and one Blue and one Red. ANYWAYS.)
When you're up, http://x.x.x.x:81/ will redirect you to the web interface for your lovely newly installed IPCOP firewall. Then get these addons on there, by using
WinSCP (http://winscp.net/eng/index.php) to ssh to your x.x.x.x ipcop box, on port 222, and putting these addons in the /tmp directory.
Addon Server Mod (http://firewalladdons.sourceforge.net/)
TCAR (Traffic Control & Report) (http://www.onmind.ru/tcar/tcaren.htm)
PS You can appantly use the Addon server mod to install TCAR, but then you have to get that on there in the first place, which is just as much trouble.
Cool, now that these two .tar.bz's are on your server, get Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) and ssh in on port 222.
cd /tmp
tar -xjvf blah1.tar.bz2
tar -zxvf blah2.tar.gz
cd blah1
./install -i
cd ../blah2
./install -i
Anyways, TCAR will allow you to 'cap' people.
Enable your DHCP server, and watch someone's lease appear on the DHCP Server page. For TCAR to properly function, you need to enable users on the "Blue Access" and "Traffic Control and Report" pages.
This sort of setup works great for student houses, but TCAR and IPCOP aren't perfect, old hardware easily fails, people don't always pay, and then you have to foot the bill.
I played with this stuff a while back - and even got it to pick up one of those ****ty Telkom Marconi ("Pots") (*puke*) USB ADSL modems. With a lot of effort!
If you have a few months to spend on this, (You'll need it, unless you know a lot about linux and networking) and can't find a wireless ISP in your area, offering uncapped at R299/month, I guess this is your only option. Still, my recommendation: RELOCATE! (And spend your time better doing what you're already good at... ;) )
...Unless you really want to learn about Linux and network administration. And have people whine in your ears when something fails to work properly.
Please do not post me any questions or calls for help unless they are accompanied by cheques/free chocolate/wine, as I simply do not have the time.
Tunasashimi
26-05-2006, 01:58 PM
PS "Reselling" violates most any subscriber usage agreement (IE charging money/profiting out of allowing other people the use of your data/phone line )
So, if perhaps your operator have scouts looking for people like you, it is their legal right to cut your line. Unless you have a special arrangement with them.
killadoob
26-05-2006, 02:44 PM
tuna firslty do you think they make enough money to do that
how can they enforce it
the line is ours we can share to who we like and they cannot stop us
Chuky1
26-05-2006, 03:32 PM
Thanks for the help, any more would help. Im going to download that ipcop and put it on my old P3, im 90% done with the body corprate to get them to let me put in cables. Getting a switch and I have the line (192 adsl at the moment that ill stick up to a 1md if this works) That other program that acid razor mentioned wasnt so great but im still working with it.
Chuky1
27-05-2006, 06:49 PM
The ipcop programs good but just not what i need. I have done some research and found i need a pppoe server. That can give the clients a account the would use to get bandwidth at a certain speed. Can anyone give me anyhelp on where to download/buy a program that can do this.
headstrong
27-05-2006, 11:08 PM
And a free 1 too!
Chuky1
27-05-2006, 11:19 PM
And a free 1 too!
It doesnt have to be free, but it would be nice. Or if someone could direct me to a page on how to set it up in linux or windows (not server edition) i could use that
headstrong
28-05-2006, 04:13 PM
try skyrove.com
wab512
29-05-2006, 12:04 PM
Hi,
I use Chillispot! (http://www.chillispot.org).
It works like a charm! I limit the users speed on the network (you can lock their speed to let's say 20kb). They also have to authenticate against the radius server. The radius server captures the amount of bandwidth used, so you can easily set up a script that will deny their connection if they reach a certain amount of bandwidth!
You will need some linux knowledge but you can also ask questions on their forum. Most of my questions were answered on the forum.
Forgot one more thing.... It's totally free!
Get a Cisco 877 router with built-in wireless and have someone who knows what they're doing configure it. It will cost about 4 grand up front, but will be far more stable and reliable than a PC-based setup. It will also waste less space.
Another software solution might be http://lastbit.com/trafmeter/ , i had a fiddle with is last week but lost interest. You don't need a server, just a play with IP ranges, could'nt say if it will work on a WLAN though?
headstrong
29-05-2006, 08:12 PM
Thanks wab,
From what i understand:
I install the radius server on the net ( what is the radius server? )
Is it possible to create a free website and install the stuff onto that?, that way i assume i dnt need to have my pc running 24/7?
Please correct me if 'm wrong!
Thanks alot
headstrong
29-05-2006, 08:28 PM
Lastbit doesnt say wheather its WLAN compatable tho...
wab512
29-05-2006, 10:06 PM
Thanks wab,
From what i understand:
I install the radius server on the net ( what is the radius server? )
Is it possible to create a free website and install the stuff onto that?, that way i assume i dnt need to have my pc running 24/7?
Please correct me if 'm wrong!
Thanks alot
You can have your radius server local or on the web. I am not sure if anybody 'hosts' a radius server, but I am pretty sure you'll get. Sometimes my explanations doesn't make sence, so I copied this:
"Remote authentication dial-in user service (RADIUS) is an AAA (authentication, authorization and accounting) protocol for applications such as network access or IP mobility. It is intended to work in both local and roaming situations."
How many users will you have? I run it on one machine (yes, it's always on) with free-radius and a MySql database (the database contains the user accounts for the radius server) on the same machine.
There is also 'n version that can run on a Linksys WRT54G WiFi Router, but you still need the radius server for authentication.
Hope this helps! Let me know if you need more information!
Chuky1
30-05-2006, 03:48 PM
Im not running a wireless lan so could it be possible to buy a 3com switch and manage the bandwidth that way?
headstrong
30-05-2006, 07:32 PM
not sure chuky im a bit of a noob myself!
wab,
I found an old pc!!! Hooray!
Ill have about 5 - 10 user. Does the radius server run on LINUX because i think my old pc is too "old" for XP?
So i now need to download a free radius server? ( from where? )
And get a MySql database? , Right??
Explain more about the Linksys WRT54G WiFi Router coz i currently have , does this mean that i dnt need a Mysql data base ?
wab512
31-05-2006, 09:12 AM
not sure chuky im a bit of a noob myself!
wab,
I found an old pc!!! Hooray!
Ill have about 5 - 10 user. Does the radius server run on LINUX because i think my old pc is too "old" for XP?
So i now need to download a free radius server? ( from where? )
And get a MySql database? , Right??
Explain more about the Linksys WRT54G WiFi Router coz i currently have , does this mean that i dnt need a Mysql data base ?
Yes, Free-Radius runs on Linux! It's actually bundled with most distributions, otherwise you can download it from http://www.freeradius.org/
If you want to be able to check how much bandwidth each user uses, you will need the MySql database. If not, you can still do the rest with 'flat-files' (think that's what they call it).
I have not used chillispot on WRT54G personally! Haven't had time to try it, but quite a few people use it that way (as you will see on their forum). Basically, chillispot will run on the WRT54G, but it still needs to connect to a radius server and/or MySql Database. I think it will be a little easier to manage on the WRT54G, but still need to try.
Btw, you don't need a massive PC to run Radius and MySql for 5-10 users, so your old PC should work :-)
Hope this helps?
headstrong
31-05-2006, 07:48 PM
Im going to trying to organise Mysql and linux ill get back 2 you wen i've installed both
Shot
wab512
31-05-2006, 09:56 PM
Ok, sounds good! Just PM me if I don't reply! This forum is so busy that I loose track of most of the threads :-)
headstrong
31-05-2006, 11:31 PM
Hey wab,
Do an advanced search on your name... It'll only show the threads that you've posted on.. It works wonders coz i post all ova the place!!
Jeeva
05-06-2006, 03:18 AM
Ahh look, for it is Chucky1 the retard, so i'm not going to even explain how to do it from beginning to end with 100% success.
What connections
Which OS to use
Network setup
etc, etc.
Thats what you get when you try to sabotage me :P Your loss.
headstrong
05-06-2006, 08:16 PM
Jeeva, im sensing sum tension...
Chuky1
06-06-2006, 04:35 PM
Jeeva you and your langame are the laughing stock of LAN conversations all over. Please don't try and bring your "experience" to the table, cause I'd be waiting till I'm old and grey.