WiFi Router, Media Server and Mobile Tethering - Raspberry Pi Q&A, Help & Troubleshooting

I'm not sure if i'm asking in the right place and I have taken to Google for an hour or so and read for a couple more but can't seem to find a solution, or the only solutions I can find only do a one or two things and not everything.
I have the crazy idea earlier that I could use my RaspberryPi B+ to use as a router and media server in the family car to provide in car entertainment for everyone, that's not too difficult if I follow a few tutorials (as a n00b it goes a little over my head but I'm sure I could do it.)
Then I thought what a great idea to use it as router tethered to my phone so everyone can get internet from my phone through the Pi. Now I can't seem to find out how to it, well not easily.
I was wondering if anyone knew of a good place to start looking or alternatively have any links to an image or some resources that tell me how to do such things combined in one case.
Big thanks to anyone who can help.
Regards
GiGo

Rpi has most popular Linux distributions aboard. If you want to make a router of it, search how to do it for the Linux system. For example, Rpi has a ubuntu port, search "ubuntu 3G tethering how to"

About internet sharing you can use usb tethering on your phone to connect it to pi.
Why don't you just simply use WiFi hotspot of your phone ( it eats the battery but you can buy a power bank)

Some basic Suggestions/Where to start.
So you are asking about three different things here; I hope I can help you answer all three.
1. Wifi Router.
You can follow this project from adafruit to create a wifi router.
If you are using a Pi 3, be careful of exceptions when setting up the hostapd.
Google: adafruit setting up a raspberry pi as a wifi access point
2. Media Server:
I haven't really looked into this.
My guess is that you will be using SMB (samba in linux speak.)
3. Wifi Tethering:
Again, I haven't really looked into this.
I am sure there is a little quirky with lsusb and then finding the right drivers to get things togeather.

If you have an android phone, you should be just able to enable USB tethering in settings.

Related

Connecting to a PSP

I've been reading some threads on turning the Kaiser into a wireless router, and was wondering if anyone had succesfully connected a Sony PSP to it? What am trying to do is use the Remote Play and Location Free features.
ever figure out how to get this done?
I have same setup as you as far as hardware.. for software i am using duttys 6.1 RTM on the kaiser and CFW 3.71 on the psp slim.
Lemme know...
Thanks,
J
Davebravey said:
I've been reading some threads on turning the Kaiser into a wireless router, and was wondering if anyone had succesfully connected a Sony PSP to it? What am trying to do is use the Remote Play and Location Free features.
Click to expand...
Click to collapse
The obvious question is why? It (PSP) connects wirelessly to your home network. 3G is fast but is it fast enough for on line gaming?
Remote play mostly just accesses content from your PS3 , pictures, music, not games , thru the internet.
( Mods. feel free to move this thread to the xda gaming forum
the reason why....
denco7 said:
The obvious question is why? It (PSP) connects wirelessly to your home network. 3G is fast but is it fast enough for on line gaming?
Remote play mostly just accesses content from your PS3 , pictures, music, not games , thru the internet.
( Mods. feel free to move this thread to the xda gaming forum
Click to expand...
Click to collapse
1.Having the cell phone (3g HSDPA UMTS EDGE, GPRS in my case) would enable my psp to have an internet connection while mobile in the car. That is the biggest reason.
2.I already use WMWifiRouter to enable my passengers to use wifi on their notebooks while travelling. I would like to stream movies(very doable over 3g) to my psp so my son can watch them on the go.
3. I have a modded psp running CFW and I can do much more than play games on it. Many of the modded features are network reliant or network ready such as VNC, Streaming video from the PSP, youtube, watching Live tv, and of course accessing my media server through my ps3 at home. All on a much bigger screen than my kaiser.
4.Youtube, browsing internet(even with opera), screen size, OS performance still sucks on the kaiser, the graphics still suck(pending the new rom from htc).
5. Cause I just want it.
johndabrit said:
5. Cause I just want it.
Click to expand...
Click to collapse
To me this is the only legitimate reason you asking this question.... I often deal with the same issue, just wanting something no mather what it takes. GREAT!!
I'll refere you too this post here: http://forum.xda-developers.com/showthread.php?t=381515
denco7 said:
The obvious question is why? It (PSP) connects wirelessly to your home network. 3G is fast but is it fast enough for on line gaming?
Remote play mostly just accesses content from your PS3 , pictures, music, not games , thru the internet.
( Mods. feel free to move this thread to the xda gaming forum
Click to expand...
Click to collapse
Um, why would you ask this question and how is it the obvious question? I can WoW on edge. (maybe not raid)
thanks for the reference.
Davebravey said:
I'll refere you too this post here: http://forum.xda-developers.com/showthread.php?t=381515
Click to expand...
Click to collapse
but as youll see on there i already posted There is one user who says he got it to work but i highly doubt he was connected to the phone or could even see it during a scan especially if he "didnt set anything up" and "it just worked" mods feel free to merge the threads. This has to be possible. Of course this is coming from somebody who doesnt know how to cook in the winmo world or the psp cfw world. I wish i could give a little less conversation with allot more action but i dont even know where to start learning how to cook.
-J
johndabrit said:
...where to start learning how to cook.
-J
Click to expand...
Click to collapse
this i can help with Just simply go to the first sticky underneath the Kaiser-Rom development forum and their you will find instructions on where to download the "kaiser kitchen" and also information about how to dump and reconstruct roms etc. etc.
johndabrit said:
2.I already use WMWifiRouter to enable my passengers to use wifi on their notebooks while travelling. I would like to stream movies(very doable over 3g) to my psp so my son can watch them on the go.
Click to expand...
Click to collapse
I have never used WMWifiRouter although it was always my understanding that does exactly what you are asking (make a WAP for access from any device). And indeed you are doing that, so I can only surmise there is something weird with how the PSP accesses it? I know i would have issues with my PSP when trying to connect to a hidden (non broadcast) SSID.
Anyway, it looks like WMWifiRouter had gone commercial..maybe it is updated to work better? You can download a trial and see, and possibly email for support. Tell them you want to buy it if it will work with PSP. I really don't know how it can advertise it is working as a WAP if a device can't connect to it. Assuming the devices all use the same 802.11 standard and support the same encryption protocols. Otherwise, his software isn't really doing what it says... but again I haven't really investigated it.
wmwifirouter creates an on-demand wireless connection, which is quite different from a wireless access point. When you use another laptop to connect through your kaiser's 3G via wmwifi, it's basically like an adhoc wireless connection. The psp doensn't support adhoc wifi for internet,(only for psp-psp communication) or on-demand wifi.
What you could try is using your laptop to connect to wmwifirouter and then using softAP to turn your laptop into a wireless access point and THEN use your psp to connect to your laptop. Then again its way to complicated to be viable, so just forget it
nphil said:
wmwifirouter creates an on-demand wireless connection, which is quite different from a wireless access point. When you use another laptop to connect through your kaiser's 3G via wmwifi, it's basically like an adhoc wireless connection. The psp doensn't support adhoc wifi for internet,(only for psp-psp communication) or on-demand wifi.
What you could try is using your laptop to connect to wmwifirouter and then using softAP to turn your laptop into a wireless access point and THEN use your psp to connect to your laptop. Then again its way to complicated to be viable, so just forget it
Click to expand...
Click to collapse
Right I just downloaded and played with the trial and see what you mean. I think your workaround using ICS on the laptop will definitely work, and you might be able to automate thes setup with some netsh commands...but it would definitely take 5-10 mins to set up manually.
Other than that research the CF on the PSP to see if anyone figured a way to connect ad-hoc... I haven't been on the PSP scene for about 6 months, so I don't know what is new.
nphil said:
wmwifirouter creates an on-demand wireless connection, which is quite different from a wireless access point. When you use another laptop to connect through your kaiser's 3G via wmwifi, it's basically like an adhoc wireless connection. The psp doensn't support adhoc wifi for internet,(only for psp-psp communication) or on-demand wifi.
What you could try is using your laptop to connect to wmwifirouter and then using softAP to turn your laptop into a wireless access point and THEN use your psp to connect to your laptop. Then again its way to complicated to be viable, so just forget it
Click to expand...
Click to collapse
no no.. good thinking.. and not so complicated at that. Thanks for providing a solution and not bashing the attempt. Ill attempt this and let you know. I do have an old POS laptop i can reimage and set in the car with wake on lan active for the remote times.

[Q] USB tethering to a router?

What I am trying to figure out is if I can use my Droid Bionic as the internet source to my router, using the usb tether option.
I am trying to provide a stronger signal to other devices in my house, and to have a private network that will work my printer, satellte tv, etc.
Is this possible?
Not that i know of unless using the wireless tether and using your router to jump the signal.. if tour router supports it.
Sent from my DROID BIONIC using XDA App
Wireless signal repeating is a part of the 802.11n spec. If you have a wireless-N router there should be a firmware option to enable it.
Maybe USB tethering to a PC is the solution. The steps required after that might get complex, but in short your goal is to bridge that connection to your standard ethernet adapter on the PC.
Plug the ethernet from your PC into the router. Put this in place of where your modem typically connects and you should be only a few networking tutorials away from a configuration that works.
USB tethering isn't supported on your router most likely, or any router for that matter. That's why you are going to have to put a PC running Vista+ or Ubuntu 10+ (others may work) for interfacing the connection to a standard ethernet cable.
If a repeater is all you need this won't be useful for you.
Personally, I intend to configure my network to use the 4G connection's superior upload rate, as my ISP at home provides 3Mbps upload while 4G gets 10Mbps.
Using modified firmware on the router will make many things possible. You may want to check out DD-WRT (what I'm currently using) or Tomato.
Do you want both WAN connections (ISP and 4G) to be available to your network?
Sorry if I'm confusing anyone. =)
Sent from my DROID BIONIC using XDA App
Just the 4g.
I currently use the wireless tether option, which provides me 4g internet access for all devices in my house, but I do not have much latitude as far as distance ( the further away the device is from the phone, quality of service declines).
I know that I can USB tether the phone using pda-connect, which works rather well. I just want to use my wireless printer without a lot hassle, and have 1 network that is complete.
Dan
USB.. Not without additional hardware people have already mentioned.
Your router can pick up the WiFi tether from you phone and use it. I have this setup at home with my LinkSys WRT54G. Its called "repeater" mode. I'm not saying it can do it with the stock firmware, but it can thanks to the DD-WRT firmware I loaded onto it. Just google DD-WRT. Many older routers can install it freely. They started charging registrations for some newer routers. That's why I bought a used WRT54G off e-bay for $20 bucks, since I didn't have a router anyways
Sent from my DROID BIONIC using XDA App
I would agree with the previous setup also.
But really, there's no better router than a book and an old dusty PC.
I want to do exactly this.
Currently, I have limited functionality with an old cradlepoint router. The router works fine with PC's and mac's but not the iPad. I narrowed the problem down to the MTU setting which cannot be adjusted on the router or the iPad.
I was thinking about purchasing one of those sapido routers, but I'm not sure if it supports the bionic. The price is right though.
Any update on this thread?
Hey again gang,
So, I did it... I purchased a sapido router from amazon... this one to be exact:
http://www.amazon.com/Sapido-GR-173...OY/ref=sr_1_11?ie=UTF8&qid=1327437644&sr=8-11
I received the router yesterday and connected it to my phone and it works beautifully... better and faster than any other internet service provider we have out here (Time Warner, Local telcom, clearwire, etc...). Just to let all of you know too, I have the 901 ROM installed on my phone, so no more disconnects. I was watching veetle all night and not one hickup.
All I did to get everything to work was go into settings, Wireless & networks, Tetehring & Mobile Hotspot and check USB tethering. The router finds the connection instantly and the green light comes on indicating that we have internet!!
Ethernet and wireless work great to my desktop and laptop. I did try it out with my iPad. The connection to the iPad mostly works, but it does take forever to get some pages. To remedy this, if you do get the router, change the MTU settings from 1492 to 1400 and then everything works beautifully to an iPad.
Best of luck to all of you who decide to use your phone as the main source of internet to your home through the usage of the outstanding sapido router!
Thanks.
Howdy,
Same here. I went with the Sapido RB-1733 from Amazon. Works fine as a regular router, and I can plug my Bionic into the USB port and charge it while its using the tether option. Much better at having a full size router spreading your wifi around the house, besides wired networked stuff.
later...
Purchased gr-1733, but can not get it to work properly. Please tell me the settings you used to get this working. I am using verizon bionic with 4g.
calimansi said:
... I purchased a...
Click to expand...
Click to collapse
I want to tell everybody purchasing routers that support USB built in: your existing network equipment (router) or any old, unused PC can do this for you free.
In fact, there are so many ways to share your 4G throughout your home I won't explain them in-depth unless there are specific questions.
Routers: many routers (Linksys, Buffalo, Belkin, NetGear, ASUS, and many more) contain hardware capable of running open-source firmware. My network contains many flashed routers: Linksys E4200 v1, Linksys E2000, Buffalo WHT-HP-54G, and Belkin F7D7301 v1. These models are all compatible with modified firmware. But keep reading...
ALL YOU NEED IS A USB PORT on your router. The firmwares (assuming your router is compatible) take care of the rest. Be warned, there are ways to brick your routers if you don't read the wiki/forum threads properly. In my opinion, these are much easier to flash than phones.
The DD-WRT supported devices list will let you know if you have a box *already compatible* with DD-WRT. Otherwise, use this reference to shop around for a router with at least:
8 MB flash
1 USB port (you can expand with a powered USB hub)
Support for optware (any Broadcomm router will work!)
This isn't very easy to find but almost any Linksys router has a broadcomm, for example. I can provide reference for any of you that might have questions.
Your router needs writeable space to keep a couple kernel modules that may/may not be built in to the particular DD-WRT flavour/build. Basically, this is something dependent on a per-router basis.
If you have something listed on the supported devices list, I will be happy to provide some reference on whether or not you will be able to do this.
USING A[N OLD] COMPUTER:
Get a linux distribution of your choice (I'll provide links on request)
Enable USB tether on your phone while plugged into a high-speed port.
Configure the connection to route out of your standard Ethernet adapter.
Plug your existing router's WAN/Internet port into the linux computer's Ethernet port.
And from here you troubleshoot. And I can try to help.
I will probably write something up on how to do this on my website once I get things running. For now, I'll subscribe to the thread and take questions here. I'd also like to point out there are many other creative ways somebody can do this. Just keep asking.
Good luck keeping your battery from draining faster than it can charge; I sincerely mean that. WiFi Tether can be killer if using it as a shared connection.
fxmech said:
I want to tell everybody purchasing routers that support USB built in: your existing network equipment (router) or any old, unused PC can do this for you free.
In fact, there are so many ways to share your 4G throughout your home I won't explain them in-depth unless there are specific questions.
Routers: many routers (Linksys, Buffalo, Belkin, NetGear, ASUS, and many more) contain hardware capable of running open-source firmware. My network contains many flashed routers: Linksys E4200 v1, Linksys E2000, Buffalo WHT-HP-54G, and Belkin F7D7301 v1. These models are all compatible with modified firmware. But keep reading...
ALL YOU NEED IS A USB PORT on your router. The firmwares (assuming your router is compatible) take care of the rest. Be warned, there are ways to brick your routers if you don't read the wiki/forum threads properly. In my opinion, these are much easier to flash than phones.
The DD-WRT supported devices list will let you know if you have a box *already compatible* with DD-WRT. Otherwise, use this reference to shop around for a router with at least:
8 MB flash
1 USB port (you can expand with a powered USB hub)
Support for optware (any Broadcomm router will work!)
This isn't very easy to find but almost any Linksys router has a broadcomm, for example. I can provide reference for any of you that might have questions.
Your router needs writeable space to keep a couple kernel modules that may/may not be built in to the particular DD-WRT flavour/build. Basically, this is something dependent on a per-router basis.
If you have something listed on the supported devices list, I will be happy to provide some reference on whether or not you will be able to do this.
USING A[N OLD] COMPUTER:
Get a linux distribution of your choice (I'll provide links on request)
Enable USB tether on your phone while plugged into a high-speed port.
Configure the connection to route out of your standard Ethernet adapter.
Plug your existing router's WAN/Internet port into the linux computer's Ethernet port.
And from here you troubleshoot. And I can try to help.
I will probably write something up on how to do this on my website once I get things running. For now, I'll subscribe to the thread and take questions here. I'd also like to point out there are many other creative ways somebody can do this. Just keep asking.
Click to expand...
Click to collapse
FXMech,
So i've had a Linksys E4200 for some time and after reading your instructions have flashed dd-wrt onto my router. There are a lot of neat features now available but i'm not sure how to get the router to use my phone at an internet source. I'm using a motorola usb data cable and have easy tether set to share my internet and when i plug it into my router i get nothing. any help with this would be appreciated.
fxmech said:
I want to tell everybody purchasing routers that support USB built in: your existing network equipment (router) or any old, unused PC can do this for you free.
In fact, there are so many ways to share your 4G throughout your home I won't explain them in-depth unless there are specific questions.
Routers: many routers (Linksys, Buffalo, Belkin, NetGear, ASUS, and many more) contain hardware capable of running open-source firmware. My network contains many flashed routers: Linksys E4200 v1, Linksys E2000, Buffalo WHT-HP-54G, and Belkin F7D7301 v1. These models are all compatible with modified firmware. But keep reading...
ALL YOU NEED IS A USB PORT on your router. The firmwares (assuming your router is compatible) take care of the rest. Be warned, there are ways to brick your routers if you don't read the wiki/forum threads properly. In my opinion, these are much easier to flash than phones.
The DD-WRT supported devices list will let you know if you have a box *already compatible* with DD-WRT. Otherwise, use this reference to shop around for a router with at least:
8 MB flash
1 USB port (you can expand with a powered USB hub)
Support for optware (any Broadcomm router will work!)
This isn't very easy to find but almost any Linksys router has a broadcomm, for example. I can provide reference for any of you that might have questions.
Your router needs writeable space to keep a couple kernel modules that may/may not be built in to the particular DD-WRT flavour/build. Basically, this is something dependent on a per-router basis.
If you have something listed on the supported devices list, I will be happy to provide some reference on whether or not you will be able to do this.
USING A[N OLD] COMPUTER:
Get a linux distribution of your choice (I'll provide links on request)
Enable USB tether on your phone while plugged into a high-speed port.
Configure the connection to route out of your standard Ethernet adapter.
Plug your existing router's WAN/Internet port into the linux computer's Ethernet port.
And from here you troubleshoot. And I can try to help.
I will probably write something up on how to do this on my website once I get things running. For now, I'll subscribe to the thread and take questions here. I'd also like to point out there are many other creative ways somebody can do this. Just keep asking.
Click to expand...
Click to collapse
Some advice on how to get Android USB tethering to work on dd-wrt would be much appreciated.
Using a Linksys E3000 - DD-WRT Build 19519 installed
JFFS2 Enabled
usbnet.ko, cdc_ether.ko and rndis_host.ko installed
Now stuck at this point.
Thanks in advance
Nice before I even read this I was doing usb teather to my computer. Then I would hook my router up to my computers ethernet port to outers internet port. I have windows 7 so I did network bridge and the router had internet. To bad you need the computer but other than that wifi on router is grwat. Lan is also great. I play xbox live from this setup.
Hehe, I was just going to find some reference on the Ubuntu equivalent of "Connection Sharing," and landed back here forgetting completely about how I've helped motivate this search result.
Here's the deal - I was wrong about a few of my previous posts, I am too lazy to retract and edit out the stupidity,
I have since discovered a fundamental flaw in my logic - "USB tether" is NOT equal to "USB modem" - don't ask me why. However, I can say I know the limitations now.
Bad news: All USB-capable routers supporting TomatoUSB ( http://tomatousb.org ) or DD-WRT ( http://dd-wrt.com/wiki [the main site is useless for regular people, stick to the wiki & forums] ) will not allow this. I have just confirmed in the DD-WRT Kong Mod build for the Linksys E4200 won't do it. To cut to the chase, this build included what I suspected to be the additional modules usually needed. Turns out, those modules are for USB modems, which is a separate type of subscription service, not to mention an additional Dongle to buy. I suppose it's useful for some.
I like to skate by on the cheap, so I won't be able to speak to these (awesome sounding) routers previous people bought. For those of us still wanting to have fancy internet sharing (non-phone-WiFi), you will have your answers revealed. Just not this post. I am not ready to tear down some of my excess equipment and get it rigged up quite yet.
I will be working with Windows 7 and Windows Server 2008 R2 machines at a later date. I anticipate no problems with either, and from my estimation the gist of what's required has already been talked about in this thread.
However, as the resident dork-in-charge of my home office - my specific interest lies in "multiple WAN" on my router. There are 2 reasons to do this. Redundancy or[and?] load-balancing. My new gateway since my last posts in the topic has switched from the E4200 over to an installation of Zentyal 3.0 ( http://zentyal.org ). Zentyal 3.0 is based on Ubuntu Server 12.04 LTS, so I suspect it is possible to tether.
I anticipate a lot of people might stumble here searching The Google. I figure I might as well write this out in a organized, thorough way. More to come as I make room in my brains to type out a relatively coherent tutorial for both OSes.
Sorry guys, 2 people flashed routers per my speculation. If I find any solid info in the future I'll check back.
Sent from my DROID BIONIC using xda app-developers app
Thanks for the update!
Sent from my ADR6425LVW using xda premium
Looks like Android USB tethering to a router is working with the ASUS RT-N66U. I haven't bought the router yet, but I plan to soon.
See here for instructions: http://support.asus.com/Search/KDetail.aspx?SLanguage=en&no=A02827F8-3DB9-CC0E-5F67-85F7D3FB48E4&t=2

Using The Nexus S 4G As A Dedicated Router

First before people ask...no I can't get a decent ISP in my new apartment complex. They have a "deal" with some horrible small-time cable company that I've never heard of, and all the neighbors hate it. On top of that I have talked my work into paying for the account I plan on using for this since it's "required" so that I can work from home as needed.
That being said, I've done some initial speed tests at my new place and I get a consistent 11Mbps/3Mbps over Sprint's 4G/WiMAX, which is more than enough for my needs. I know that will fluctuate, but even so I'm excited about this project!
So sure I could just dump WiFi Tether on a rooted NS4G and leave it be, but I want to try taking it to the next level. What I'm thinking is a full-time router, much like a pfSense/SmoothWall/Vyatta distro, using the WiMAX (And 3G as a backup) for the WAN and the WiFi for the network connectivity. Unless I can figure out a better solution I would probably use a WRT54GL with dd-wrt to act as the wireless bridge for my wired clients.
It'll always be plugged into power, so battery isn't an issue (But a nice bonus for when the power does go out). I would like to have an always running bandwidth monitoring screen that I can just glance at. Of course there would be remote monitoring/configuration, as well as some built-in "apps".
I know this is a big task to take on, but I need something to focus on in regards to getting into the development side of things and I think this would be a great place to start. However I've got some questions that I think ya'll could help me figure out:
1 - What should I do for providing services like DHCP, DNS, Port Forwarding, NAT, etc? I know it would require some heavy lifting but I could cross-compile standard linux based apps like dhcpd right?
Or does anyone know of that perfect app that might help me get a head start? I don't mind using different apps/services and then focusing on making them all work together, but if there is a "simple" solution already that would be fine by me!
2 - Since it's not going to be a multimedia demon, is there a particular light-weight, almost console-only ROM that might serve to be the best base to build from? I would think something that is more geared towards running desktop-based applications versus the standard apps.
3 - WiMAX needs to work of course, how would that play into it?
4 - Is that anything that might allow me to plugin a standard ethernet cable? I don't think I've seen a mini-usb to ethernet yet...do they have a mini-usb to regular usb at least?
I know these are very basic questions, but I just want to get a pulse on if this is just an unobtainable idea or not. I don't think it is, it's basically a different way of getting to a MiFi. Also if anyone knows of anyone elses past attempts at this I would love to know where I can read up on it in. Thanx in advance!!!
My phone overheats if it tethers for hours upon hours. Gets kind of annoying. I suggest you buy a external charger and another battery so you don't have to play " let the battery cool down" game.
I had the same issue on my other 2 smartphones while tethering (Samsung instinct with ported 1.6. And optimus s)
I would say try finding a loophole or move. Slow internet is a whore. I use hot sport off my phone to my ps3. And I can only play from 11pm-6am lag-free.
Sent from my Nexus S 4G using Tapatalk
Are you oc'ed or something I tether my phone for hours a day and havent had it over heat except for when I was oc'ed above 1.2ghz.
There are a few issues with this.
1.Restrictive firewalling policies on the ISP side. Blocked ports/ throttling.
2.Added latency from wireless > wireless bridge. With wireless you will need to tether to a wireless bridge with ethernet ports for your computers. wrt54g and the like with dd-wrt work fine for this. A linux computer with a wireless card would also work. Tethering with USB to a linux computer that you can edit the iptables rules would be best.
3.Double NAT. This is something you must avoid to have a proper connection. With wireless your tethering program is going to use NAT, but then your bridge will probably also use NAT. This will leave you with a very convoluted connection. Tethering with USB would probably also be best here. In the past when I have used USB tethering (motor razr) the host PC gets assigned the true WAN address of the phone via a virtual adapter. Thus this would only require setting up NAT/ iptables once on the host PC.
My suggestion would be to exchange the phone/plan for a 3g/4g data card that works with GNU/Linux and setup NAT that way of course along with an ethernet switch. Good luck with it.
Jason_25 said:
There are a few issues with this.
1.Restrictive firewalling policies on the ISP side. Blocked ports/ throttling.
2.Added latency from wireless > wireless bridge. With wireless you will need to tether to a wireless bridge with ethernet ports for your computers. wrt54g and the like with dd-wrt work fine for this. A linux computer with a wireless card would also work. Tethering with USB to a linux computer that you can edit the iptables rules would be best.
3.Double NAT. This is something you must avoid to have a proper connection. With wireless your tethering program is going to use NAT, but then your bridge will probably also use NAT. This will leave you with a very convoluted connection. Tethering with USB would probably also be best here. In the past when I have used USB tethering (motor razr) the host PC gets assigned the true WAN address of the phone via a virtual adapter. Thus this would only require setting up NAT/ iptables once on the host PC.
My suggestion would be to exchange the phone/plan for a 3g/4g data card that works with GNU/Linux and setup NAT that way of course along with an ethernet switch. Good luck with it.
Click to expand...
Click to collapse
But he would then be giving up unlimited data as a result of leaving the phone plans.
Sent from my Nexus S 4G using Tapatalk

[Q] Is there usb tethering available?

I recently got a lumia 822 and would like to use it as a USB connected http proxy. I don't want a full network connection or wifi based solution as I need to keep my computer connected to the existing network but would like to be able to tell Firefox to connect to the Internet via a proxy so web traffic if passed through the phone thus avoiding the internal web monitoring.
I do this via proxoid on my android phone and it works perfect. If there a comparable solution for windows phone 8?
Thanks
The only solution available is TetherX. Its available in the Windows Phone Store. It works via WiFi that's hosted from a laptop and only WebPages work. The only device at this time that supports USB tethering is the Samsung ATIV, using Diagnosis.
Sent from my RM-860 using Tapatalk
That's... not really USB tethering in the usual sense at all (which does exist, at least for the Samsung WP8 phones) but it might be possible. I don't know if anybody has written a proxy server app for the phone yet, but it's a pretty clever thing to do, now that I think about it. The SDK should support it; we can do server sockets just fine. Doing it over USB would be tricky - the phone can do Ethernet over USB, but it's not part of the official SDK - but it might be possible. Setting it up as a WiFi proxy (with some security, ideally...) shouldn't be too hard.
GoodDayToDie said:
That's... not really USB tethering in the usual sense at all (which does exist, at least for the Samsung WP8 phones) but it might be possible. I don't know if anybody has written a proxy server app for the phone yet, but it's a pretty clever thing to do, now that I think about it. The SDK should support it; we can do server sockets just fine. Doing it over USB would be tricky - the phone can do Ethernet over USB, but it's not part of the official SDK - but it might be possible. Setting it up as a WiFi proxy (with some security, ideally...) shouldn't be too hard.
Click to expand...
Click to collapse
Yeah, calling it a tether is not exactly right but I wasn't really sure what to call it. The issue with having it as a wifi spot is that it would be visible. The real reason I was looking for something like this is work has pretty draconian monitoring software. I haven't gotten the phone yet but once I do I may try to look into how the computer sees it when plugged into USB. If the phone can be exposed as an ip (127.0.0.1) via USB then it would seem possible to write an app to open a port and pass the traffic back and forth.
Thank you though.
HT123 said:
Yeah, calling it a tether is not exactly right but I wasn't really sure what to call it. The issue with having it as a wifi spot is that it would be visible. The real reason I was looking for something like this is work has pretty draconian monitoring software. I haven't gotten the phone yet but once I do I may try to look into how the computer sees it when plugged into USB. If the phone can be exposed as an ip (127.0.0.1) via USB then it would seem possible to write an app to open a port and pass the traffic back and forth.
Thank you though.
Click to expand...
Click to collapse
First, I don't have the phone yet so all of these ideas are just wild speculation but at quick glance the program ipoverusbenum may help in a USB proxy solution. without a way to do this, I'm stuck with my old android device.

Raspbian Server With Pirated Wifi?

Hey I'm pretty new to everything about diy web hosting but I'll explain my setup so far.
So I recently moved into a new apartment where my downstairs neighbors' ISP is xfinity so i use the free wifi that it outputs; "xfinitywifi".
On my MacBook pro(late2012 nonretina) I am connected to this wifi but internet sharing is turned on and outputs through ethernet to a dell optiplex 755 running windows 10 64bit. It also has internet sharing on so a new signal outputs through it's wireless adapter so now I have a pretty stable wifi connection that piggy backs off of my neighbors.
What I'd like to know is if there's a way to host a web server on literally any of these computers- would totally dig using my pi for this but i think that method is looking pretty bleak because i don't have another usable ethernet port or wireless adapter, so for testing I think it'll have to be connected via usb internet sharing.
Another question I have is if anyone knows a good thread for running dns off of a first gen pi b? Also maybe how that might translate to this unique setup.
I am willing to jump through any necessary hoops to make this work- please help & thank you in advance.

Categories

Resources