Ethernet to LTE/Data internet sharing - Nexus 6P Q&A, Help & Troubleshooting

Hello.
I got this USB-C dongle with an ethernet connector which I just tried and gets a LAN IP through DHCP and can even browse while on Airplane mode. Now, I would like to use that ethernet to share internet to a LAN network using the phone as a router.
Why? I would like to try doing some load balancing and other crazy stuff with my appliance firewall using the phone's ethernet as wan2.
Has anyone attempted this? I've googled with no luck.
Thanks!

Related

AT&T 8525 Internet Sharing to Wireless Router?

I am getting ready to head on vacation and I want to use my 8525 as my "Gateway" as there will be 5 of us with laptops and I want to share my 3G connection so here is what I did. I connect my 8525 to my Laptop via usb, I start internet sharing on the 8525 and in my laptop (vista) under network connections I see Local Area Connection 6, remote NDIS based Internet Sharing Device. I right click this connection and select Sharing, and enable internet connection sharing on it. Then what I did was took my router (linksys) and disabled dhcp, but enabled wireless and didnt set any wep or wpa. I connect from my laptop to a port on the router (not the internet port) and then goto another laptop to see if I have internet. I dont, I can see the ssid, I can connect but I do not have internet access. Should I use a crossover cable? What do I have to do so that all of us can have internet thru my phone? Oh, my laptop does have internet (from the usb connection on the phone). I tried to setup the router so that dhcp was enabled, but then I kept getting an ip conflict error, so we cant do that. Also I am not getting an ip on the wireless, it has an ip of like 169.254.177.12.
Any ideas?
Thanks
Jim
There a software which you can install on 8525 and turn it into a wifi internet sharing but I don't know if it capable of handing up to 5 laptops. You might be able to use this software and get a router with some custom firmware which allow bridging then set it up to have router access the internet from 8525 wifi and share it among the 5 laptops but I am not sure if you could bridging and do wifi AP on the same router if not then you'll probably need to have 2 router one to bridge from 8525 wifi and then connect cable to another router that will be an AP for the laptops.
That would be my best guess of doing this unless one of the laptop can do AP via wifi when 8525 is plugged into usb slot.
Bill

Sending Wireless Signal FROM Laptop to second wired wireless router?

You see, my laptop can see my wireless signal but my PDA can't when in the same room as my laptop.
I have two routers (and wiring the second router from the first and using it as an access point isn't an option).
Is there any way I can send the wireless signal from my laptop obtained from the parent router to the other wireless router (through an ethernet cable) and then connect my PDA to the second router as an access point?
Thanks,
You should be able to just bridge the connections in windows.
So if I attach a router with no internet connection to my laptop (which has a wireless connection from a second router) via an ethernet cable, I should be able to detect it in My Network Places as a LAN connection and then bridge the connection with the wireless signal my laptop gets, which would then allow the router to transmit that signal wirelessly as it would if I connected it directly via an ethernet cable to the parent router and used it as an access point?
I just feel like there's too much magic behinds the scenes that Windows needs to do for that to work out. I'd be super happy if that works though, I'll try it when I get home!
I tried connecting the router from the LAN and WAN port and bridging my wireless connection with the LAN connection from the router connected to my laptop. In both cases (through LAN and WAN ports on the wired router), I was not able to connect to the original wireless signal after I bridged the connections.

let's figure out a way to choose a wireless network connection over a wired one

I've searched everywhere online, and it seems that the only way to do this is to remove the ethernet cable from either the router/switch/ATV.
can anyone think of any ideas to get around this? it probably won't work, but I'm downloading different network manager apps in the hopes that it would allow me to just this. I have a feeling that this won't work, but it's worth a shot.
shutterslaps said:
I've searched everywhere online, and it seems that the only way to do this is to remove the ethernet cable from either the router/switch/ATV.
can anyone think of any ideas to get around this? it probably won't work, but I'm downloading different network manager apps in the hopes that it would allow me to just this. I have a feeling that this won't work, but it's worth a shot.
Click to expand...
Click to collapse
why do you wan't to use wireless connection over wired? do u have tried to also connect to wifi while connected wired?
if it's because app only use wifi and you are rooted and have xposed installed u might use the fake wifi module
http://forum.xda-developers.com/xposed/modules/app-fake-wifi-connection-t2800416
installed via xposed. works like charm for me...
The best connection is always the connection that gets used. A wifi connection is not as stable of as powerful as an ethernet connection and thats why computers always use the ethernet connection over the wifi connection. If you wanna use wifi, disconnect the ethernet cable. Its the same with mobile devices, if you have your mobile data on and wifi on, it will more than likely pick the wifi connection, cause wifi is usually better than mobile data. My mobile data never ever kicks on over my wifi connection.
shutterslaps said:
I've searched everywhere online, and it seems that the only way to do this is to remove the ethernet cable from either the router/switch/ATV.
can anyone think of any ideas to get around this? it probably won't work, but I'm downloading different network manager apps in the hopes that it would allow me to just this. I have a feeling that this won't work, but it's worth a shot.
Click to expand...
Click to collapse
As others have said, wired is preferred over wireless for multitude of reasons. But, if you do want to use Wifi when you have an ethernet cable hooked into FTV, you can use this from adb shell:
To bring down your wired network card: busybox ifconfig eth0 down
To bring back up: busybox ifconfig eth0 up
Once you bring down your wired connection, you should be able to navigate to your wireless settings on FTV and go wifi without physically disconnecting your wired cable.
This will not persist across reboots. You will need to include appropriate code in your startup script to make that happen.
thanks everyone! I'm going to try all of these after I eat.
I agree, a wired connection is without a doubt better and preferable. However, the building I live in only offers a free wifi connection that is installed throughout the building. I'll be looking to see if I can get my own internet connection soon.
When I have the AFTV connected through ethernet, and I want to SSH, or ADB into the AFTV from my computer, I cannot for some reason. I figured it would work since the wifi and wired connections are technically the same network, right? I also can't use any remote apps from my phone since the phone is on wireless.
I usually disconnect the ethernet cord, and create a wifi connection from my macbook, or tether my connection from my phone and connect my laptop and ATV to that network. I'm just looking for a way to be able to do all of this without having to get up and take out the ethernet cord everytime. It's not that I'm lazy, I just have this external fixation on my leg from an injury.
Xfinity app
I used the xfinity app to stream cable on my aftv... I got tired of buffering so switches to ethernet.. The app thinks im out of my wireless network... Can we spoof wifi on this like some of the old apps for jailbroken iphones or in xposed? . I too want to trick my box into thinking ethernet is wifi so xfinity wont think im not on my network...
so let me see if i have this right:
1) you want AFTV to use wireless for internet
2) you want AFTV to use wired for administration/etc
if so --- setup wireless as usual, let it dhcp and do its thing....and setup your WIRED manually leaving the default gateway blank or unconfigured. This will force all traffic bound for hosts not available via wired interface to the WLAN (and the internet).
since the AFTV and your laptop/etc are wired and on the same subnet, they don't need to be routed to communicate and they will work fine. Any other traffic need to be routed, and the only outbound route your AFTV will know is via the wireless interface.
for example:
AFTV wireless: 192.168.0.10, gateway 192.168.0.1 (or whatever dhcp gives you)
AFTV ethernet: 10.10.10.1 gateway (blank)
Laptop wireless: 192.168.0.11, gateway 192.168.0.1 (or whatever dhcp gives you)
laptop ethernet: 10.10.10.2 gateway (blank)
you can then use the 10.10.10.x addresses via ethernet to communicate via local ethernet without disturbing the default internet route and internet access.
mattvirus said:
so let me see if i have this right:
1) you want AFTV to use wireless for internet
2) you want AFTV to use wired for administration/etc
if so --- setup wireless as usual, let it dhcp and do its thing....and setup your WIRED manually leaving the default gateway blank or unconfigured. This will force all traffic bound for hosts not available via wired interface to the WLAN (and the internet).
since the AFTV and your laptop/etc are wired and on the same subnet, they don't need to be routed to communicate and they will work fine. Any other traffic need to be routed, and the only outbound route your AFTV will know is via the wireless interface.
for example:
AFTV wireless: 192.168.0.10, gateway 192.168.0.1 (or whatever dhcp gives you)
AFTV ethernet: 10.10.10.1 gateway (blank)
Laptop wireless: 192.168.0.11, gateway 192.168.0.1 (or whatever dhcp gives you)
laptop ethernet: 10.10.10.2 gateway (blank)
you can then use the 10.10.10.x addresses via ethernet to communicate via local ethernet without disturbing the default internet route and internet access.
Click to expand...
Click to collapse
it's actually the other way around.
1) I want AFTV to use wired for internet
2) I want AFTV to use wireless for administration/etc
I can't ssh/adb/etc without taking the ethernet cord out and connecting the AFTV and laptop to the same wireless network. I was hoping for a way to shut down the ethernet connection, so I can connect over wifi without taking out the ethernet cord. The AFTV won't let you connect to a wireless network if the ethernet cord is plugged in and connected.
I actually figured out a way to do what I need without taking out the ethernet cord.
What I do is:
1) SETTINGS (not the one that came with the AFTV, it's a settings.apk I installed)
2) under WIRELESS & NETWORKS click 'More...'
3) TETHERING & PORTABLE HOTSPOT
4) CONFIGURE WI-FI HOTSPOT
5) activate the hotspot and connect to that network from the laptop
dbdoshi said:
As others have said, wired is preferred over wireless for multitude of reasons. But, if you do want to use Wifi when you have an ethernet cable hooked into FTV, you can use this from adb shell:
To bring down your wired network card: busybox ifconfig eth0 down
To bring back up: busybox ifconfig eth0 up
Once you bring down your wired connection, you should be able to navigate to your wireless settings on FTV and go wifi without physically disconnecting your wired cable.
This will not persist across reboots. You will need to include appropriate code in your startup script to make that happen.
Click to expand...
Click to collapse
just gave that a try. now I have two methods to achieve what I looking to do. appreciate it!

LTE->USB OTG-> USB Ethernet Adapter->Router WAN ???

I've seen articles/posts about reverse tethering (getting internet from PC to phone) and obviously regular Bluetooth and Wi-Fi tethering...
Say my home ISP service is down for some reason and I want to use some of my mobile data in the house temporarily.
Is there a way to get tethering setup so internet from mobile phone LTE gets sent out the USB, through a micro-USB OTG adapter, to a USB-to-Ethernet adapter, and then run an Ethernet cable from the adapter to my WAN port on my wireless router? Then all my wired and wireless devices can get internet access through the router so it handles DHCP and all that and the phone just tethers to the WEB interface of the router.
I know I can do the reverse of this, hard-wire Ethernet into my phone if for some reason I didn't have Wi-Fi or cellular connections. How about the opposite?
My phone is unlocked, rooted, and I'm pretty decent at editing config files if necessary!
More research shows maybe I'm better off using usb tethering to a usb port on the router and running dd-wrt. Or setting up router add a client bridge and using Wi-Fi tether instead of cable connection.
http://forum.xda-developers.com/showthread.php?t=2136816
Hmm...

Can I use the wifi and the ethernet?

Hello! I just bought an nvidia shield tv and I have a problem: I need to connect it by ethernet with my nas in a private lan (not connect to internet) whereas for internet I'd like to use its wifi. By now it is connected by wifi and works well, but I can't ping it in the lan so I'd like to know if it's possibile to use the wifi for internet and its ethernet for a lan and if so how because i tried to change the parameters in network but both DHCP and static didn't work. I have a strange fear that the ethernet interface will be disabled if it detects a wifi connection, if so i am badly screwed (and with a useless shiled for my needs)
TY for your help!
Sorry can't help. But if a usual android device can do that, you could flash a usual android rom to your shield tv and try.
Check this out, still seems like alot of work to get it done.
http://stackoverflow.com/questions/18143534/android-ethernet-and-wi-fi-at-the-same-time

Categories

Resources