Bitcoin Forum

Bitcoin => Project Development => Topic started by: kangasbros on January 14, 2012, 05:02:11 PM



Title: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: kangasbros on January 14, 2012, 05:02:11 PM
I just recently moved to a new apartment, and I have to wait 2-3 weeks before they can setup my internet connection. That really sucks. Perhaps some of my neighbours would see the opportunity and earn a couple of bucks with his wlan router.

I will start developing it later when I have finished my current bitcoin projects. However that will take time, so be free to implement the idea  ;D

Perhaps this could be even a profitable business, a company would offer the software/wifi routers and take a small cut from internet subscriptions.

To those that don't know, DD-WRT is an open source firmware for wifi routers, so additional functionality on top of it can be implemented easily. http://www.dd-wrt.com/site/index


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: grue on January 14, 2012, 05:46:14 PM
or use your mining power to crack their WPA/WEP password :P

on a serious note. this would either require a payment processor to handle the payments, because running a client on a router is not an option.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: kangasbros on January 14, 2012, 06:41:14 PM
on a serious note. this would either require a payment processor to handle the payments, because running a client on a router is not an option.

Or use Electrum or Stratum protocol.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: legolouman on January 14, 2012, 07:53:28 PM
Most likely against the ISP's terms of use. Be careful how you tread or they will find you.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: MORA on January 14, 2012, 08:03:07 PM
Except for the bitcoin part, thats what fon does (http://corp.fon.com/en).

Its been a while since I used it, but its free wifi if you share one, and users without a shared AP themselves can buy access for a small fee.

They have routers that users can setup to make it easy, and makes 2 ssids, so the one you let others use are seperated from your private LAN.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: kangasbros on January 14, 2012, 08:31:24 PM
Except for the bitcoin part, thats what fon does (http://corp.fon.com/en).

Its been a while since I used it, but its free wifi if you share one, and users without a shared AP themselves can buy access for a small fee.

They have routers that users can setup to make it easy, and makes 2 ssids, so the one you let others use are seperated from your private LAN.


Yeah, I had one fon myself. It's a shame people don't use something like that a little more, I would pay for internet connection right now to someone :)

Just simple cost-sharing. OK, it could be against ISP rules, but who cares? And how is ISP going to see if the internet connection is resold or not?


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: paraipan on January 14, 2012, 11:17:15 PM
or use your mining power to crack their WPA/WEP password :P

on a serious note. this would either require a payment processor to handle the payments, because running a client on a router is not an option.

why isn't an option ? because it takes too much resources on the router or it could be hacked ?  bitcoind has ssl support too


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Swishercutter on January 14, 2012, 11:38:00 PM
I thought DD-WRT already had an option for "coffee shop" login where you get a temporary password that lasts x number of minutes.  Seems like it would be really easy to make it so it auto emails someone a temp password when they send you a payment.

This?:  http://www.dd-wrt.com/wiki/index.php/Captive_Portal


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: coreking on January 15, 2012, 05:43:59 AM
I'm currently running an open wifi network on my internet connection and using "nodogsplash" to hijack the first page access to display a message

WiFidog, has a lot of functionality and allows for payment:
http://dev.wifidog.org/


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: deepceleron on January 15, 2012, 05:59:32 AM
http://www.dd-wrt.com/wiki/index.php/Captive_Portal


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: legitnick on January 15, 2012, 07:11:45 AM
or use your mining power to crack their WPA/WEP password :P

on a serious note. this would either require a payment processor to handle the payments, because running a client on a router is not an option.
http://hashcat.net/wiki/cracking_wpawpa2


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: abracadabra on January 20, 2012, 01:05:55 AM
And what happens when the people you are selling access to, do something illegal with YOUR internet access?

Who will be tracked down and made to pay?


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: notme on January 20, 2012, 01:18:25 AM
Most likely against the ISP's terms of use. Be careful how you tread or they will find you.

This... they will either fuck with your customers connections (html injections for one example), or filter you.  Also, many connections have monthly cap.  I'm talking about in the US, on Comcast's network to be clear.  Other jurisdictions and ISPs will vary, so check the terms of use.  They will find you.  Your statistics will be very different.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Explodicle on January 20, 2012, 01:27:54 AM
And what happens when the people you are selling access to, do something illegal with YOUR internet access?

Who will be tracked down and made to pay?


It would be nifty if one could sell Tor-only internet access. Liability is the only reason I don't share my wireless for FREE, let alone for money.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: MORA on January 20, 2012, 09:16:49 PM
And what happens when the people you are selling access to, do something illegal with YOUR internet access?

Who will be tracked down and made to pay?


It would be nifty if one could sell Tor-only internet access. Liability is the only reason I don't share my wireless for FREE, let alone for money.

If you run a linux firewall it would not be too hard, setup a tor relay and force all users to use the tor proxy, like many corporations already do (transparent proxy).

But tor is often slow and barely useful to check email.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Red Emerald on January 20, 2012, 09:20:27 PM
http://www.dd-wrt.com/wiki/index.php/Captive_Portal
Yeah. dd-wrt already has this, so what are you wanting that is different?


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: deepceleron on January 21, 2012, 04:46:19 AM
http://www.dd-wrt.com/wiki/index.php/Captive_Portal
Yeah. dd-wrt already has this, so what are you wanting that is different?

Bitcoin?

Some of the router captive portal packages are third-party companies, the router sends the wifi user to a page on their server where they can purchase credits or a password, and the owner of the router gets a cut of the profits. Hotels outsource to companies like this, where 24 hours cost $10 or something ridiculous like that. It would seem easiest to convince these companies to take Bitcoin too, as they already have the rest done.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Red Emerald on January 21, 2012, 05:09:18 AM
http://www.dd-wrt.com/wiki/index.php/Captive_Portal
Yeah. dd-wrt already has this, so what are you wanting that is different?

Bitcoin?
Oh. The OP said "bucks" so I didn't think Bitcoin was what he was asking for. I guess I should have assumed since this is bitcointalk


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: teflone on January 22, 2012, 03:58:25 AM
If someone makes a captive portal that accepts bitcoin I will install it.. 

I think this is a great idea..


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: paraipan on January 22, 2012, 06:45:23 PM
If someone makes a captive portal that accepts bitcoin I will install it..  

I think this is a great idea..

+1 i can manage both dd-wrt and openwrt. They easily support php that has json-rpc libraries available out there (http://jsonrpcphp.org/) and be able talk to a bitcoin daemon. You could just point a few routers at it. Support for ssl/tls would be great because bitcoind already has it and would enable any individual share the same wallet with captive portals outside his lan.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: uncaer9 on January 22, 2012, 07:45:51 PM
Great idea, I have bought my first open-source router recently. But I don't think any of my neighbours would use it.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: kangasbros on January 22, 2012, 11:24:52 PM
Great idea, I have bought my first open-source router recently. But I don't think any of my neighbours would use it.

Probably not, but it would be a great way to advertise bitcoin at least. And maybe if you would sell it really cheap, like 5 eur/month, then it would catch better the neighbours attention.

Getting my own internet hopefully tomorrow, and going to setup dd-wrt at some point...


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: MORA on January 23, 2012, 11:08:49 AM
Hmm, how are people going to pay with bitcoin, if the network is blocked until they do so ? :)
(Assuming one does not have a mobile wallet with a few coins)


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Explodicle on January 23, 2012, 01:46:11 PM
Hmm, how are people going to pay with bitcoin, if the network is blocked until they do so ? :)
(Assuming one does not have a mobile wallet with a few coins)

I can imagine two ways:
1. Seller allows free use of traffic that looks like Bitcoin for X hours/MAC (most people won't change their MAC address)
2. Buyer creates an offline signed transaction, sends to seller


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: kangasbros on January 23, 2012, 04:08:43 PM
Hmm, how are people going to pay with bitcoin, if the network is blocked until they do so ? :)
(Assuming one does not have a mobile wallet with a few coins)

I had mobile wallet with couple of coins, in addition I had a lousy 3g connection via my mobile phone. Mobile connections are common nowadays, however they are not that reliable and don't offer high bandwidth. In Finland you can get one even as low as 1 eur/month, in Germany where I currenöty reside mobile internet starts from 10 eur/month.

Edit: In addition, I think that almost all operators offer internet connection built in for something like 24 snt/megabyte. Of course it isn't cheap, but is enough to access your bitcoins and pay for the connection :)


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: MORA on January 23, 2012, 04:27:54 PM
right, one could get online using the phone and broadcast a transaction, even without catching up first, as long as its not new coins.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: paraipan on January 23, 2012, 04:53:07 PM
Hmm, how are people going to pay with bitcoin, if the network is blocked until they do so ? :)
(Assuming one does not have a mobile wallet with a few coins)

I can imagine two ways:
1. Seller allows free use of traffic that looks like Bitcoin for X hours/MAC (most people won't change their MAC address)
2. Buyer creates an offline signed transaction, sends to seller

there is an easier solution that avoids all that headaches

1. You allow any person to have bitcoin connectivity. The portal would allow only port 8333 connection to a bitcoind daemon until the client pays. It's safe for the bitcoind daemon because the portal establishes ssl/tls connections to make json-rpc requests and for the client too because he can update his block-chain and pay you the coins. The AP owner would be interested being on and serving the longest blockchain, the good one, because if not the coins he receives could be worthless and the client would not have to trust the AP owner because his client already includes some blockchain hashes including the entire genesis block. It's on the wiki :)

All this has a side effect... anyone could use the bitcoin infrastructure for free and that means you will never be left without connectivity when making a payment in a local store when 10 wifi networks are present.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: kangasbros on January 23, 2012, 05:05:56 PM
Hmm, how are people going to pay with bitcoin, if the network is blocked until they do so ? :)
(Assuming one does not have a mobile wallet with a few coins)

I can imagine two ways:
1. Seller allows free use of traffic that looks like Bitcoin for X hours/MAC (most people won't change their MAC address)
2. Buyer creates an offline signed transaction, sends to seller

there is an easier solution that avoids all that headaches

1. You allow any person to have bitcoin connectivity. The portal would allow only port 8333 connection to a bitcoind daemon until the client pays. It's safe for the bitcoind daemon because the portal establishes ssl/tls connections to make json-rpc requests and for the client too because he can update his block-chain and pay you the coins. The AP owner would be interested being on and serving the longest blockchain, the good one, because if not the coins he receives could be worthless and the client would not have to trust the AP owner because his client already includes some blockchain hashes including the entire genesis block. It's on the wiki :)

All this has a side effect... anyone could use the bitcoin infrastructure for free and that means you will never be left without connectivity when making a payment in a local store when 10 wifi networks are present.

Yeah, this would be optimal - perhaps sell a preconfigured router, which accepts connections on standard bitcoin port, and perhaps on Stratum, BCCAPI and Electrum ports too  - so anyone would be able to use their bitcoin wallet easily without hassles. This could also be useful for bitcoin accepting stores.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: teflone on January 24, 2012, 05:55:23 AM
The problem of not having a connection to send coins is a non issue..

You make it available, and use a web based coin payment page.. 


If you look at captive portal and hot spot, they all work perfectly fine..


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Red Emerald on January 24, 2012, 07:21:39 AM
Lets assume you are connecting on your laptop.  You connect to the router and get redirected to a captive portal which gives you an address to pay to along with a text box to paste an offline transaction. You can either scan the address with your smartphone and pay that way or generate an offline transaction on your laptop and send it to the site directly.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Explodicle on January 24, 2012, 02:08:56 PM
The problem of not having a connection to send coins is a non issue..

You make it available, and use a web based coin payment page.. 


If you look at captive portal and hot spot, they all work perfectly fine..

It's not quite that simple; typical captive portals require that you trust them with your credit card number, but you would never want to give a captive portal your private key.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: paraipan on January 24, 2012, 02:19:33 PM
The problem of not having a connection to send coins is a non issue..

You make it available, and use a web based coin payment page..  


If you look at captive portal and hot spot, they all work perfectly fine..

It's not quite that simple; typical captive portals require that you trust them with your credit card number, but you would never want to give a captive portal your private key.

yep, with bitcoin every party is his own payment processor so the clients need bitcoin network connectivity or bad things may happen. Imagine a client having a shared wallet with another member of his family tries to pay you an hour of internet connectivity but the other person spent some coins on a new pair of shoes the shop next door.

His mobile wallet doesn't know it when creating the transaction so it will look like a double spend to you, but if you share that info with him, the wallet could redo the transaction using the correct coins. Now he happily browses the web searching to buy geeky things that cost the same amount as spent by the other family member :D


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Red Emerald on January 24, 2012, 06:48:03 PM
The problem of not having a connection to send coins is a non issue..

You make it available, and use a web based coin payment page.. 


If you look at captive portal and hot spot, they all work perfectly fine..

It's not quite that simple; typical captive portals require that you trust them with your credit card number, but you would never want to give a captive portal your private key.
Offline transactions. You don't have to give anyone a private key.


Title: Re: [IDEA] plugin for dd-wrt that allows selling internet connection to neighbors
Post by: Bitcoin Oz on April 19, 2012, 01:31:05 AM
Most likely against the ISP's terms of use. Be careful how you tread or they will find you.

This... they will either fuck with your customers connections (html injections for one example), or filter you.  Also, many connections have monthly cap.  I'm talking about in the US, on Comcast's network to be clear.  Other jurisdictions and ISPs will vary, so check the terms of use.  They will find you.  Your statistics will be very different.

What if youre not using the regular net but instead using freenet as the network this supports ?