FILE SHARING LAN within a wifi router - Android Software/Hacking General [Developers Only]

Okayy heres the deal i have setup a Buffalo WCR-GN as a wifi router the wifi router connects to my bbroadband service and acts as a DHCP server for all my networked devices
my Wired desktop (192.168.11.x)
My laptop & (192.168.11.x )
My Android phone (192.168.11.x)
and my router is always 192.168.11.1
since i m using DHCP addresses might wary
THE problem is i want to share files in this LAN..I wud like my android phone to act as a FTP server and transfer files to it using desktop or laptop..However i m unable to even ping my phone from my desktop/laptop and not even the other way arnd..NO DEVICE CAN PING ANY OTHER DEVICEin this lan other than pinging the router itself !!! Can somebody please help me out here..There is a port forwarding option but that aint helping either ...
EDIT: my desktop runs DEBIAN SQUEEZE(Linux)
my OPtimus ONe runs froyo 2.2
my laptop runs windows 7

I am not an expert on this but i will be interested to know.
I dont understand why your IP addresses are starting from 192.168.11.x rather than 192.168.0.x
Have you fixed that yourself on the router? Make the router release all IPs and renew them.

the router does this addressing because it is its default setting.. I dont think that matters here..WHY ARE MY DEVICES UNABLE TO PING EACH OTHER ???? Any clues????
the attached image shows the setting..I think the setting/sequence is irrelevant

Related

how to connect my phone to laptop via wifi to surf internet?

hi greetings to all. I am new in this foum. I have bought a new smartphone and it brought me to this forum for support.
I have htc s710 with wm 6. Is is possible to access internet on the phone by connecting it to the laptop through wi-fi in adhoc mode? I tried connecting it, and connection was established, I was as well able to ping the phone from my laptop but i was unable to use internet. I want to use laptop as a wireless router.
in the laptop i have ethernet connection which brings internet to my home, and i have enabled ics in that. the wi-fi card has been assignd ip address 192.168.0.1, and mobile has ip assigned 192.168.0.2.
is it possible in this way?
If your notebook has a bluetooth module built in, establish a BT ActiveSync connection and your S710 will then use the computer's internet access automatically.
i dont hava BT in my laptop. I just have a external orinoco gold wi-fi card.
is it possible through that.
I've never tested it cause I use a WAP router. ICS worked crappy when I tried it.
Did you try using DHCP instead of setting a fixed IP on your S710? ICS offers DHCP services and IIRC depends on it. Also remember that you normally can't set a DNS server on WinMo. Does ICS offer its services on all network cards or don't you have to activate the card you want ICS to serve on in its settings?
Thanks for the response. I have not tried DHCP, let me see today if it works that way.
Hi, I searched this concern before cause I wanted to use wifi too in the office. I'm not sure where the thread that I read had been sucessfull but it did gave me the idea to set mine and get it working.
Basically I have LAN connection in the office, connected to my Dell Latitdue d600 and created ad hoc connection to my HTC Touch.
I opened network connections, and right click my lan connection, advance tab, and enable internet sharing using wireless connection, thats the only thing i did, after establishing the adhoc connection, IP address in Pc is the same, 192.168.0.1 and subnet mask is 255.255.255.0 hope you get it working. I dont have a smartphone to test it myself
Hi piper. my problem is fixed now. i connected the phone to the laptop at adhoc mode, applied static ip. then ran network setup wizard. after the setup was complete i changed the ip setings of the phone. i set the phone to acquire ip form dhcp server.
neesad said:
Hi piper. my problem is fixed now. i connected the phone to the laptop at adhoc mode, applied static ip. then ran network setup wizard. after the setup was complete i changed the ip setings of the phone. i set the phone to acquire ip form dhcp server.
Click to expand...
Click to collapse
Oh nice to hear, I'll keep that in mind when my friend ask me how to do it with his Smartphone
neesad said:
i set the phone to acquire ip form dhcp server.
Click to expand...
Click to collapse
Can you explain how?Does it works on vista?Tanks for replying
ueghio said:
Can you explain how?Does it works on vista?Tanks for replying
Click to expand...
Click to collapse
Well I have tried that on my windows xp machine. However, when you enable ICS then I think it will provide ip to connected devices via DHCP. I just enabled phone to acquire ip via DCHP by going to the phones, Connection manager -- > Settings --> WLAN Settings --> Connection status ---> Menu --> IP Address --> And select Use server - assigned IP address.
Step, first enable ICS in your laptop -- > apply ip address to your phone like 192.168.0.2 255.255.255.0 and then connect your phone to your laptop in adhoc mode. Once the connection is established go to phone and change the ip address settings as given above ie. select server assigned ip address. i USED THIS MODE AS THERE WAS NO OPTION TO APPLY DNS IN THE PHONE.
how to connect ma phone to a wireless laptop
i have an htc HD2 running android ice cream os but de wireless is weak.how do i connect de phone to a wireless lenova laptop runnin windows 7.thank
habboc said:
i have an htc HD2 running android ice cream os but de wireless is weak.how do i connect de phone to a wireless lenova laptop runnin windows 7.thank
Click to expand...
Click to collapse
You would get a better answer asking this in the HD2 forums, mate
habboc said:
i have an htc HD2 running android ice cream os but de wireless is weak.how do i connect de phone to a wireless lenova laptop runnin windows 7.thank
Click to expand...
Click to collapse
you can use Wondershare MobileGo for Android

Is it possible to mns to wireless router via xp computer

been messing with it all day, i'm sure i am doing something wrong googled the hell out of it though.
ok here is what i am trying to do, I just bought a Acer Nettop running XP i installed the HTC drivers on it MNS is working great. i would like to hook up my wireless router to the Ethernet port to share the internet connection with the rest of my gadgets.
any help would be appreciated.
smittycg said:
been messing with it all day, i'm sure i am doing something wrong googled the hell out of it though.
ok here is what i am trying to do, I just bought a Acer Nettop running XP i installed the HTC drivers on it MNS is working great. i would like to hook up my wireless router to the Ethernet port to share the internet connection with the rest of my gadgets.
any help would be appreciated.
Click to expand...
Click to collapse
Why don't use Wireless Tether and everything can pull internet from the phone without the need of a router?
Bridge the connections in network connections or use ICS
morbidpete said:
Bridge the connections in network connections or use ICS
Click to expand...
Click to collapse
tried both of those, the bridge would connect, but no internet, ics didn't work either, i am pretty tired though probably missing something simple.
WIFI tether is cool and all but i want to use it full time with a dedicated phone and be able to use my wireless printer
I've never been able to get to work if you do post Back with what you did. I think the issue is up addresses, you may have to setup the router gateway address as the pcs ip or even the phones ip... Im not a networking guru though
Kcarpenter said:
I've never been able to get to work if you do post Back with what you did. I think the issue is up addresses, you may have to setup the router gateway address as the pcs ip or even the phones ip... Im not a networking guru though
Click to expand...
Click to collapse
to be honest i was hoping someone had done it and could tell me how easy it was. while trying to get it to work today i was just clicking around, tomorrow i'll go about if more scientifically and post all the stuff i'm doing wrong.
I can't see any reason off the top of my head why ICS wouldn't work.
So, let me see if I have this straight. Your phone is connected to your PC via USB. Your access point is connected to the PC via ethernet. And you want other devices to connect over wifi and have Internet access. That about right?
Try this... Assign the ethernet port on your PC a static IP address of 192.168.1.1. Connect that to the "Internet" port on your access point, and assign that port an IP address of 192.168.1.2. In the wireless setup on your access point, assign the wireless side the static ip address 192.168.2.1 and tell it to act as a dhcp server, and hand out addresses from 192.168.2.100 to 192.168.2.200. Netmask in all cases will be 255.255.255.0. For dns go ahead and use 208.67.222.222 unless you have another dns service that you prefer.
The router should be configured to use 192.168.1.1 as its default gateway. The wireless devices should be set to use 192.168.2.1 as their default gateway.
This *should* work. Different accesss points can be finicky in various ways, but I really don't see why the setup I've outlined wouldn't work....

Phone > PC > WIFI Router

Hi
I have already asked this before but may have asked it in a mad way, maybe in wrong place who knows this site is freaking massive
I have a HTC Sensation on 3 mobile One Plan and use this phone to give me and my partner internet using the WIFI Hotspot
As I am coming from broadband from good ole Richard I have 4 WIFI routers in several room in my house all have connection to my main PC which is my media server
Only problem is when we are on the internet we dont have access to this server we have to disconnect and connect to one of the WIFI routers
So what I would like to do is connect the phone to a PC using USB and use the PC as a proxy server, this would then be connected to one of the WIFI routers, this would then have all my WIFI routers giving out the internet
Is this possible??
Any info would be awesome
Thanks
Bump!! Bump!! Bump!!
well to make this work you would need use the wifi hotspot to connect to your server, from there bridge your wifi connection of the server to the hardwire connection of your pc. itll take some reconfiguring of your ip scheme to make it all work but if you know what your doing its not too bad. Also turn on all upnp. (universal plug and play) it will allow you to see all devices on the network without having to have the ip addresses.
wranglerray said:
well to make this work you would need use the wifi hotspot to connect to your server, from there bridge your wifi connection of the server to the hardwire connection of your pc. itll take some reconfiguring of your ip scheme to make it all work but if you know what your doing its not too bad. Also turn on all upnp. (universal plug and play) it will allow you to see all devices on the network without having to have the ip addresses.
Click to expand...
Click to collapse
Thats the only way. But upnp MUST be enabled.
Good luck!
Sent from my GT-P1000 using XDA Premium App

[Q] Files sharing & steaming meda

I recetly bought an Asus tf700t and I am having problems connecting it to other computers on the network wirelessly. What I woud like to do is connect it to my Windows XP machine that is acting as my file server (and hardwired to the router) so that I can stream movies or access documents (text/spreadsheets/etc). I have tried using ES File Explorer, Astro (with the add on), MyCloud (with Splashtop installed on the machine), MyNet, and SharesFinder.
SharesFinder has been the only app to see the other devices (all hardwired) to see any of the other computers. I have searched several forums and seen others with this problem, but all have very poor explanations of the solutions (I NEED step by step by step instructons apparently). Asus tech support was USELESS (telling me that it was a software problem) and Best Buy (where I bought the tablet) wants to charge me with no guarentee of a solution.
I would like to say that my network is setup correctly since I can stream and share files with other devices but since they are all hardwired I didn't know if that was part of my problem. The tablet can connect to the internet with no problems.
Any point in the right direction would be GREAT! (And if you include instructions PLEASE include LOTS of details!)
If it's just for streaming, have you tried BS Player Free? I use that to connect to my desktop and stream stuff.
All you really have to do is make sure the stuff you want to share IS shared and then put the local ip in BS Player Free. It works almost the exact same way for ES File Explorer as it does for BS Player. I think I followed this guide:
http://www.howtogeek.com/120882/how...ders-and-stream-videos-over-wi-fi-on-android/
Still no luck
No luck...I'm sharing a folder on a Windows7 machine and several on my WindowsXP server. The two Windows machines can "talk" to each other. My wife's work laptop (not sure of the OS) can connect to either machine. Both my Blu Ray player and set top media box can access and stream media from both.
Tech support swears it's a software issue or an issue with my router but I'm not even 5% sure that they are right. I have tried SEVERAL different apps and configurations with no luck. I don't beleive it's a compatability issue since I have read numerous forum posts/websites where people have their Asus tablet connecting to and sharing files with WindowsOS computers.
Should I call back tech support and have them send me a new tablet?
That sounds very strange... Do you have any other Android you can test it with? It seems like you have tried almost everything I can think of. The only thing left I can think of, is the way the folder is shared. Are you sure it is set to "everyone"?
That is all I can think of, sorry.
Thanks for your help..I think I'm going to call Asus and see if they'll warranty this one or buy it back. Too frustrated to want to continue messing with it.
I'd assume that Asus sees no defect here. If you install and run Overlook Fing, can you see the other devices in your network?
Overlook fing sees everythng but my apple devices...now what?
straydogs said:
Overlook fing sees everythng but my apple devices...now what?
Click to expand...
Click to collapse
OK, that proves that it is indeed a software problem, that the tablet is not defective, and that your network configuration seems to be correct.
So if some app does not work as expected, state exactly what you did, what you expected, and what happened instead, including any error messages - maybe someone is then able to help you.
K...
1.) SharesFinder
Scan network (finds shares I am looking for)
Smb client Ip: (IP address of computer with files)
Username: (name I login to that computer with)
Password: (password)
failed to connect: 0.0.0.0<00>/(ip address I entered above)
2.) ES File Explorer
LAN Shares - scan - Nothing appears
If I manually enter LAN server - Domain: (blank)
Server: (IP address of computer with files)
Username: & Password: (Same as above)
Login failure. This may be cause by WiFi is off (Can connect to internet wirelessly), SMB server is out of network scope, The IP address is invalid, Blocked by the Firewall (have tried with all but the router's firewall off), SMB service is off
If I try as anonymous or guest or with a domain - same results
3.) MyNet
Please turn on DLNA-enabled devices within the same Wi-Fi network - I'm streaming to my Blu Ray with one as I type this but nothing shows up
4.) MyCloud
Pulls up Splashtop remote but no files, computers, or other network devices (I have installed and running)
5.) Overlook fing
This sees all my non-Apple network devices but not sure how I can connect using it
6.) Astro File Manager w/ SMB Module
Scan Local Network - No Windows shares found on network
7.) Teamviewer
Works for remote control of computer but not what I am looking to do
Still having issues...anybody have some ideas?
I can only tell you that I tried SharesFinder and ES File Explorer, and both work for me (with a Linux Samba server on the other side). Which firmware version are you on?
First, I would like to thank everyone for their help with my problem. I really appreciate it.
Last night I went home and re-evaluated my setup. Here is what I found:
My Windows7 desktop, WindowsXP desktop, Blu Ray, HP printer and Roku can all "talk" to each other and are hardwired to my Netgear router or switch connected to the router. I also have a WindowsXP laptop that can "talk" to the other computers, but only when hardwired to the router. All my wireless devices can connect to the internet, but cannot access network reseources or "talk" to the hardwired devices.
So, it looks like I have an issue with my wireless network setup. None of the desktops or printer have wireless cards. Do they need to have wireless cards in order to be able to connect with other wireless devices? Can I setup my router to handle this and use it as an access point for my wireless devices?
straydogs said:
Still having issues...anybody have some ideas?
Click to expand...
Click to collapse
Dag...have you tried forgetting the network on the Asus and then establishing it again?
How about resetting the router - pulling the plug not a full reset.
That's about all I can think of....
I was having an issue where only the android devices (all wireless) COULD see my shared files/folders on a wired PC. Other wired/wireless PCs could NOT. Lucky for me just a reboot to that PC took care of the issue.
straydogs said:
First, I would like to thank everyone for their help with my problem. I really appreciate it.
Last night I went home and re-evaluated my setup. Here is what I found:
My Windows7 desktop, WindowsXP desktop, Blu Ray, HP printer and Roku can all "talk" to each other and are hardwired to my Netgear router or switch connected to the router. I also have a WindowsXP laptop that can "talk" to the other computers, but only when hardwired to the router. All my wireless devices can connect to the internet, but cannot access network reseources or "talk" to the hardwired devices.
So, it looks like I have an issue with my wireless network setup. None of the desktops or printer have wireless cards. Do they need to have wireless cards in order to be able to connect with other wireless devices? Can I setup my router to handle this and use it as an access point for my wireless devices?
Click to expand...
Click to collapse
On your Netgear router, under wireless setup...."uncheck" wireless isolation & apply
You could use Plex, wich works really well :fingers-crossed:
Okay...now I feel stupid. Wireless isolation was checked on the wireless network my tablet was using to connect to my LAN. Thanks for the help!
its work
dishinit said:
On your Netgear router, under wireless setup...."uncheck" wireless isolation & apply
Click to expand...
Click to collapse
after log in to adsl router config (192.168.1.1)
setup>WIRELESS BASIC> Enable MultiAP Isolation (unchecked)
on u'r device (my android)
Es file Explorer > Lan > scan <<<< or New (add manual ip and username password)
u can see u'r pc ip

[Q] Wifi Tether and DDWRT for a complete home network

OK, my wife and I each have Sprint Samsung Galaxy S3's. We both have Wifi Tether TrevE mod installed and working and we also have a linksys router running DD-WRT.
I have wanted for a long time to create a stable home network with the router using our phones for internet. Reason being, We both have laptops that need access to our WiFi networked printer. And I also wanted to create a networked storage.
I started out trying to use the Router as a repeater bridge. The problem here is that in that mode there is no DHCP server in the router, so when you turn off WiFi Tether in the phone, there is no IP assignment taking place since it is handled by the phone. This is ok for the printer because we can set a static IP, but not ok for the laptops because they need to have auto ip assignment for all the other networks they might encounter. Plus I'd like to be able to have a friend come over and use the printer if need be without having to change his IP address. So this setup is unstable.
Then I tried the Router in Repeater mode. In this mode IP addresses are being assigned and everyone can see everyone else on the network. The problem here though, is that the Router and all connecting devices have to be in a separate subnet than the WiFi Tethering phone, i.e, Tethered Phone on 192.168.1.x and Router on 192.168.2.x (as far as I can tell anyway, I've tried putting them on the same subnet but fail to get internet access.) It's a problem because I have Samba Filesharing installed on the phones and the tethered phone is in a different subnet and not visible on the network. I want all devices visible.
So that's kind of where I am now, Wifi Tether on both phones (each setup with same settings so either phone can be used as our internet gateway) but they are on a separate subnet from the rest of the network while tethering.
How do I get all of my devices to be visible on the network?
Do I need a different setup in DD-WRT?
Currently it is setup in Gateway mode with DHCP server and wireless is in repeater mode with a VLAN setup with a different SSID from the WiFi tethered phone.
Do I need to usb tether the phone to the router? I have a usb port on the router but I've not found good instructions for getting the phones internet through to the router that way and I'm not sure that I would want it that way since I wouldn't be able to walk around with my phone.
Is there a way to make devices in different subnets visible to each other? Some kind of bridging or static routing or something?
Is it possible to have the phone connect to the router in a normal manner and for the router to then share the phones internet connection with the rest of the network? Then at least the router could run DHCP and be stable even without the phones.
Again, just to clarify, I want a home network with devices connecting to my WiFi router running DD-WRT and internet being provided by one of our phones, but with the network remaining intact when the internet provided phone is removed. Thanks for your help.
Bonus questions:
Is it possible to harness the power of both of our phones internet connections into one network by any means possible?
Are there any other wifi/tethering apps or another version of WiFi Tether that offer more features or the functionality of DD-WRT?
did you see this?
http://forum.xda-developers.com/showthread.php?t=1548844
pbmurdoc said:
did you see this?
http://forum.xda-developers.com/showthread.php?t=1548844
Click to expand...
Click to collapse
Thanks. Not much new there other than Barnacle. Didn't know about it, tried it, doesn't work on my phone. I would like to see a version of WiFi Tether with some more options though, why couldn't we have one with the same options as DD-WRT?
I did some more reading and I think what I need to do is link the subnet created by the router to the primary router (the phone serving Wifi Tether) through static routing. Unfortunately the static route needs to be done through the primary router and WiFi Tether doesn't include features like that.
I'll do some more experimenting and see what happens.
[A] Cellular Phone/USB Modem As WAN Connection
Answer is in the DD-WRT Wiki, here (http://www.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection).
Or just google "DD-WRT Cellular Phone/USB Modem As WAN Connection", it should be the #1 result.
Their WIKI is a great resource.
Good luck!
EDIT:
In retrospect, I am unsure about linking to the DD-WRT site... external and all. If this is a no-no just let me know and I will delete the link.
DD-WRT Client Bridge worked for me
I was able to do what you're trying to do by configuring my DD-WRT router as a Client Bridge.
I can't post the link, but there are directions I followed exactly on the DD-WRT wiki in the section:
DD-WRT wiki mainpage / Linking Routers / Client Bridged
I'm connecting my router to the tether via wifi, and connecting my wired devices to the router. I haven't had it working long, but so far it has been great.
Got it, sort of
Just to update this thread. The client bridge is a great way to connect a wired network to the bridge but loses out on creating a stable wi-fi network when the phone tether is turned off.
Anyway, the final setup I managed was having the DD-WRT router set as a wireless repeater with a computer connected to it running a DHCP server. The computer takes care of the IP addreses so that we have a stable wired/wi-fi intranet when the phone is not sharing it's internet connection.
Update: I founde another solution/project based on OpenWRT
http://ofmodemsandmen.com/
my exploits using a Linksys E3000 have been documented here:
http://tweakedrom.com/forum/viewtopic.php?f=6&t=7
I kind of like the USB tether thing. The E3000 Router USB power charges and maintains my SCH-i605 (Verizon Samsung GN2) running CM12.1. I use this as a backup connection or in the event of main cable modem service disruption at the house. It is also great for traveling (hotels) or camping (car 12v adapter for router, or power inverter)
I just bought a used Asus RT-N66U router. Out of the box it supports USB tethering with android phones and dual WANs for failover/load balancing. ROOter also works, tested the x86 build on an old PC. I'm looking to cut out my ISP completely and just use 4G from the phone for internet. The issue I have run into is that I can't appear to do DDNS or port forwarding. My wireless carrier (verizon) appears to be employing a double NAT. If I perform a speedtest on the ookla app, I get 2 IP addresses in the results, an "internal" and an "external". Both are in the public range but I can't DDNS in with either of the IPs, nor can I get any kind of service working.
Anyone have a solution for this? I'm not 100% sure but I wonder if using the SIM card in a dedicated USB 4G modem (not tethering via the phone) would get me a direct IP? I suppose I could also sign up for a VPN service and run OpenVPN on the router but that'd cut down on speeds I think. I've also heard about punching holes for ports but I'm not 100% sure how that works, I assume I still need some 3rd party public IP for relaying or something.

Categories

Resources