Related
CIFS + UTF-8 Kernel Module Support
User CONTRIBUTED HOWTO Guide and Tips!
What is CIFS:
[Alfresco CIFS Wiki]
[Wikipedia CIFS]
XDA's own developer (f3d0r) has created the [CIFS Manager] to help setup CIFS+UTF-8 modules
I have added CIFS + UTF-8 support to both my Froyo Kernel and Gingerbread Kernel... ALL user of my Kernels have this cool capability available to them...
Please help contribute to this GUIDE / HOWTO. I will link all the cool tips and setups to the OP and give proper credit to those who contributed
Please help each other out... This is what makes XDA the best community among other Android communities...
Thanks
[Windows 7 LAN Setup] by user Dclaw_Fantum (make sure you hit Thanks button for him if he helped you)
[Windows 7 WAN/PPTP Setup] by user se1000 (make sure you hit Thanks button for him if he helped you)
[Windows 7 WAN Setup] by user Dclaw_Fantum (make sure you hit Thanks button for him if he helped you)
[CIFS Manager App Tip #1] by user Dclaw_Fantum (make sure you hit Thanks button for him if he helped you)
CIFS = Win
Okay, screens will come later. I only have the Windows part typed out, I will edit it more soon. Some of the steps may not be clear without screens. The phone part is coming too. I moved my SDK install location, DroidExplorer won't run, gotta reboot, so here is the text for setting up the share in Windows:
For this guide I am using Windows 7 Ultimate 64-Bit and Royal Glacier v1.0.
First things needed to get CIFS working are:
CIFS Manager
Have the ability to gain Administrator rights on your Windows install.
A rooted phone running one of Faux's kernels (or any kernel with CIFS support).
Let's Begin:
First we have to setup the folder we want to share on the Windows PC.
1. Find or Create the folder you want to share. I created a folder named "CIFS Share".
2. Right-click the folder and select Properties.
3. Under the Sharing Tab, click Advanced Sharing.
4. Click the checkbox at the top, the text fields will fill with the folder's name. You can add a comment if you like, it isn't necessary.
5. Click on the Permissions Button.
-By default, the group "Everyone" is assigned read access.
-This is not a secure setting but is okay when you are only doing a LAN share, behind a firewall. Files shared under this group require NO authentication, hence the name Everyone.
-***This is where you can change which users have rights to the shared files: ***
6. Click the "Add" button to create a new user permission.
-In the large text box, type in the username you want to have access to the share.
--My user is named "User0". So I typed "user0" in the box.
-Click the "Check Names" button. Windows will put the proper name in place. My box changed to "GREG-PC\User0"
-Click "OK" and close the Select Users or Groups.
7. Now the user you just added is in the "Group or user names" box.
-Click the user name to select it.
-If you want to read and write* to the share, click the "Full Control" checkbox. *CIFS mount is Read-Only. We can get write access elsewhere.
-To just allow read access, leave only the "Read" checkbox ticked.
-I suggest selecting the group "Everyone" and then clicking the "Remove" button. Assign another user access before you apply removing Everyone.
-Click "Apply" then "OK" to exit.
Congratulations, you are now sharing any files contained within this folder to the users specified. Next, we have to set up the phone...
Looking forward to the guide, tried to set it up on my own, but have no networking experience and honestly was just taking a shot in the dark. Needless to say, CIFSManager laughed then punched me in the throat for having the audacity.
Thanks faux123, CIFS is so cool to have.
Thanks for the info on CIFS Manager. My Phone is playing so nicely with my Synology NAS.
Using your LV Kernel with CM7 Nightly #14 and all is going good so far.
darinmc said:
Looking forward to the guide, tried to set it up on my own, but have no networking experience and honestly was just taking a shot in the dark. Needless to say, CIFSManager laughed then punched me in the throat for having the audacity.
Click to expand...
Click to collapse
CIFS manager needs some additional steps, most importantly, it will create a folder on the SD card that it will use to see the files from your computer. It makes the phone think the shared folder from the computer is that local folder on your phone. That was where I messed up in my haste the first time I tried to set it up. First time I had an error happen when trying to setup a sharing service.
Forgot that I had to redirect CIFSManager to the correct location of the module. In Settings of CIFSManager, tick the checkbox for "Load via insmod" then tap on the "Path to cifs.ko[:<modpath>]*". Now you have to type in "/system/lib/modules/cifs.ko" in the text box. Also, Faux added cifs support @ 0.8.2, RoyalGlacier comes loaded with 0.8.1.1. You have to update your kernel if you are on anything before 0.8.2 for this to work.
Text for setting up the Windows LAN sharing is up, haven't gotten to the WAN sharing or phone setup parts yet, the WAN sharing will come last, after the screen shots. The WAN sharing part is going to be the worst part, everyone's router has a different interface.
I'm tired, I will post more sometime late Saturdaynight/early Sunday morning (3/12 or 3/13), I'm gonna be busy during the day tomorrow.
All I did to set this up on Windows 7 was:
1. Download CIFS manager on my phone
2. The computer part I right-clicked on the folder I wanted to share, went to properties then sharing then advanced sharing, like dclaw_fantum explained (his posts are def more detailed than this, but this is how I'd explain it to a friend), and checked to share and that was it. (I setup a password on my computer login under control panel settings)
3. Then on your phone, you open CIFS and add new share. Input your IP address followed by / and the name of the folder (ex. 11.65.8.52/music), the mount point field autofilled for me, then put in computer user ID and password.
4. Check the "Load cifs module" and "Load via insmod" boxes in CIFS Manager app and it worked perfect! (This is where I got an error the first time I tried it, but after rereading the linked thread in Faux's kernel thread I checked these)
Hope this helps, it's not super professional and I'm not sure how secure it is (I assume it is, but I haven't done too much computer network stuff), but it worked for me! "Unmounting all" gave me an error, it unmounted one share but the other one wouldn't unmount so I rebooted my phone and haven't tried again, yet.
Any ideas on battery/data consumption when you're not using files from your computer? Like when the shares are mounted but you're not necessarily using anything from them?
Sent from my HTC Glacier using XDA App
How do I set up for 3g/4g connection?
Just forward a specific port?
supa2001 said:
How do I set up for 3g/4g connection?
Just forward a specific port?
Click to expand...
Click to collapse
WAN access via 3G/4G requires more sophisticated setup including:
Router configuration
Dynamic DNS account
and a few other things...
Hopefully some advance users here can show the setup for it, or you can exercise your GoogleFu and research on this topic and post back here to share with everyone else
What I meant earlier is that I have no complex network experience, local networking is easy, it's streaming over the internet I want and cannot accomplish.
darinmc said:
What I meant earlier is that I have no complex network experience, local networking is easy, it's streaming over the internet I want and cannot accomplish.
Click to expand...
Click to collapse
I've been a little busy the past few days, hopefully I can get up the WAN configuration for you when I get home tonight, eliasadrian and I already have the majority of the phone setup posted above. I'll have to get screen shots up after I get the posts together.
In a nutshell, port 445 needs to be forwarded, the PC should have a dhcp reservation with your router and having a DynDNS account makes things much simpler in the long run for you. Do not forward any unprotected ports.
The cool thing is that after this is setup, you can put the same info into es file explorer and you will have read/write access. Then you can use the CIFS mount to stream media that es will not allow to stream.
dclaw_fantum said:
I've been a little busy the past few days, hopefully I can get up the WAN configuration for you when I get home tonight, eliasadrian and I already have the majority of the phone setup posted above. I'll have to get screen shots up after I get the posts together.
In a nutshell, port 445 needs to be forwarded, the PC should have a dhcp reservation with your router and having a DynDNS account makes things much simpler in the long run for you. Do not forward any unprotected ports.
The cool thing is that after this is setup, you can put the same info into es file explorer and you will have read/write access. Then you can use the CIFS mount to stream media that es will not allow to stream.
Click to expand...
Click to collapse
Can't wait for the write up Post some screen shots too if you don't mind...
dclaw_fantum said:
I've been a little busy the past few days, hopefully I can get up the WAN configuration for you when I get home tonight, eliasadrian and I already have the majority of the phone setup posted above. I'll have to get screen shots up after I get the posts together.
In a nutshell, port 445 needs to be forwarded, the PC should have a dhcp reservation with your router and having a DynDNS account makes things much simpler in the long run for you. Do not forward any unprotected ports.
The cool thing is that after this is setup, you can put the same info into es file explorer and you will have read/write access. Then you can use the CIFS mount to stream media that es will not allow to stream.
Click to expand...
Click to collapse
Can't wait for the tutorial, I wish I understood enough of the middle paragraph to take the info and run but sadly enough I don't. Gonna try to google my way through it in the meantime.
WAN Configuration (for CIFS over Internet)
Okay, this is the part that let's you have the ability to use CIFS outside of your WLAN. The setup is going to take a little more work than a LAN setup, but, if you follow along you will have a very reliable CIFS connection for streaming files from your PC to your phone anywhere you have a data connection.
**Before anyone posts about how the songs/videos they are streaming are choppy/not fluid, I have no control over the buffer settings in CIFS manager. Also, the connection throughput is king when streaming. If the path the data takes slows it down below the playback rate of the media, it will become choppy. So, even if you are on HSPA+, it may be choppy. Somewhere between your phone and your PC, there is a slow link.**
Again, for this guide I am using Windows 7 Ultimate 64-Bit and Royal Glacier v1.0 w/ Faux's 0.8.5 kernel.
Prerequisites:
CIFS Manager installed and working.
Have already setup the share on your PC.
Administrator access to your router/gateway.
**Not required, but very helpful:
A DynDNS account.
Let's Begin:
Since you already have CIFS working on your LAN, we are going to setup the router to allow the data to go out to the internet.
DHCP Reservation:
1. Log into your router. Find the area pertaining to "DHCP Reservation". On two of my routers, this was a button (Linksys/Cisco and Vizio).
2. Now we need the IP and MAC addresses.
a. Control Panel > Network and Sharing Center
b. Click on the network connection name, in my case FancyEagle.
c. Click the Details... button.
d. The Physical Address is your MAC address. The IP address will be labeled IPv4. mine are 00-1B-9E-69-E6-3D and 192.168.1.104.
3. Add the IP and MAC addresses into the DHCP reservation area. This will bind that IP address to your PC, keeping it available for your PC and not assigning it to any other device.
Port Forwarding:
1. Find the "Port Forwarding" section of your router.
2. There are several fields to fill in. Here is what you need to fill in:
192.168.1.[104]---Port 445---TCP---Enabled
Repeat for the following ports/protocols: 135/TCP, 137/UDP, 138/UDP, 139/TCP.
*Replace [104] with your IP address from the DHCP reservation portion.
3. Apply/save settings.
Now you have the WAN link setup, you need to know the router WAN IP address to connect at this point. Since majority of us don't want to pay extra for a Static IP address, the ISP rotates their available IP addresses around. This is where DynDNS comes in handy. You don't need to even know it. You create an account with them and then enter the login info into the router.
1. Account w/ DynDNS setup already.
2. Find DDNS or Dynamic DNS service on your router.
3. Enter your login info from setting up your account.
4. Now, go to your phone and replace the IP address in the "Share Path" field in CIFS manager with your dyndns domain.
Now, instead of "192.168.1.104/CIFS Share", it should be "mydomain.dyndns.tv/CIFS Share".
Did you actually get it working? I tried multiple times on my own and was never able to mount the share.
Thing is, CIFS is a chatty protocol engineered for low latency LAN links. Even if it works, it may not perform very well over a relatively high latency WAN.
se1000 said:
Did you actually get it working? I tried multiple times on my own and was never able to mount the share.
Thing is, CIFS is a chatty protocol engineered for low latency LAN links. Even if it works, it may not perform very well over a relatively high latency WAN.
Click to expand...
Click to collapse
I keep getting timeouts. I had similar issues when first setting up ES to work this way. Found a little more info, updating previous post...
there are 5 ports associated with Samba/CIFS. I'm getting to the router when I use the IP address, rather than the dyndns domain. Still getting a refused connection. Gotta go back and do some research...
I have successfully set up Gmote for something similar, but Gmote doesn't support streaming most videos. It will stream supported audio files. I missed something in the previous posts, sill getting refused connections with ES and CIFS.
dclaw_fantum said:
I keep getting timeouts. I had similar issues when first setting up ES to work this way. Found a little more info, updating previous post...
there are 5 ports associated with Samba/CIFS. I'm getting to the router when I use the IP address, rather than the dyndns domain. Still getting a refused connection. Gotta go back and do some research...
I have successfully set up Gmote for something similar, but Gmote doesn't support streaming most videos. It will stream supported audio files. I missed something in the previous posts, sill getting refused connections with ES and CIFS.
Click to expand...
Click to collapse
Yeah I believe it's ports 137-139 and 445 BUT, I set my PC as the DMZ and still got timeouts and connection refused errors.
Works over WiFi like a charm
I really think it's the combination of the chatty protocol and the latency when going over a WAN link.
se1000 said:
Yeah I believe it's ports 137-139 and 445 BUT, I set my PC as the DMZ and still got timeouts and connection refused errors.
Works over WiFi like a charm
I really think it's the combination of the chatty protocol and the latency when going over a WAN link.
Click to expand...
Click to collapse
I'm not getting refusals anymore, just timeouts. It is ports 135/TCP, 137/UDP, 138/UDP, 139/TCP and 445/TCP.
I can use the WAN IP and connect using my WiFi, but that just tells me that my settings are correct. Looks like the latency is the issue. I even connected to the neighbor's WiFi to try it and timed out. Looks like the WAN part isn't going to work this way. Kind of a bummer. I'll keep trying different ways to remotely access files, probably gonna be stuck with TFTP.
Without the ability to create a domain and setup VPN, there isn't much choice from here.
dclaw_fantum said:
I'm not getting refusals anymore, just timeouts. It is ports 135/TCP, 137/UDP, 138/UDP, 139/TCP and 445/TCP.
I can use the WAN IP and connect using my WiFi, but that just tells me that my settings are correct. Looks like the latency is the issue. I even connected to the neighbor's WiFi to try it and timed out. Looks like the WAN part isn't going to work this way. Kind of a bummer. I'll keep trying different ways to remotely access files, probably gonna be stuck with TFTP.
Without the ability to create a domain and setup VPN, there isn't much choice from here.
Click to expand...
Click to collapse
Yeah I agree. I've been trying to setup a PPTP connection to my PC but that doesn't seem to work either.
I'm thinking if we can get PPTP to work, then there's a fighting chance CIFS will connect over that link.
se1000 said:
Yeah I agree. I've been trying to setup a PPTP connection to my PC but that doesn't seem to work either.
I'm thinking if we can get PPTP to work, then there's a fighting chance CIFS will connect over that link.
Click to expand...
Click to collapse
I think I'm gonna go a simpler route first for some of the users on here. I might just do an FTP server in the PC and configure ES to handle it. It won't stream, but it will allow access to the files remotely. That will give people something to hold them over until we can figure out a viable solution to this. At least they will have read/write access to the FTP server.
Someone claims that they have had success using OpenVPN. I'm going to try it. If it works, I will have a whole new, complete tutorial with screen shots and step by step instructions to post up. I will probably host it externally so I have greater control of the formatting. Stay tuned in for my next update, I will let everyone know if it works. After that, I will have to go through everything and get screens and type up instructions.
Hi guys anyone using or have used VPN Connections? I have it working in that it connects to my remote VPN, but it appears the nameservers don't get updated. On my Linux box I see my /etc/resolv.conf get updated correctly when I use VPNC, but I dont see a resolv.conf except for wireless tether on the phone.
Anyone know where the nameservers are recorded?
Thanks, Matt.
OK looks like vpnc is setting up the DNS's correctly, but no traffic passes through tun0.
If I "ping -I tun0 x.x.x.x" then I can ping the other end of my VPN, but for some reason tun0 is not used as the default interface.
"ip route show" gives the following at the end:
default dev tun0 scope link
I'm just not sure what the hell is restricting the traffic?
I've tried doing "ip ru del gprs", but that does not help either.
Anyone successfully use VPNC on Android?
Thanks, Matt.
Have you tried
ip ru del table wifi
If you are trying to connect over wifi this will delete the wifi routing table and use the local table.
Airplane mode off - on to reset.
Thank for the reply. I'm not on WiFi...trying to troubleshoot the GPRS connection first. WiFi is disabled, however I'll try the connection over WiFi and see if its different...I will probably be using WiFi more often anyway.
Any other suggestions?
Thanks, Matt.
Are you using VPN Client?
Try OpenVPN. heard of much better success with it.
I cannot use openVPN - I connect to a Cisco 3000 concentrator.
OK tried this again after messing around and after I did an
"ip ru del table gprs" this time I'm able to ping the other end of the VPN.
However, I still don't get DNS resolution - I can't browse web pages, etc.
Any ideas?
Thanks, Matt.
I can't post links yet, but if you search your problem on xda you will find a 20 page thread on the same problems you are having. Several solutions are there
Sent from my DROID2 GLOBAL using XDA App
Thanks, I didn't find the specific 20 page thread you were talking about but there was a lot of good info. Perhaps you can share what your search string was and what the title of the specific thread was?
I have narrowed the problem down a bit. Over WiFi I can get data to pass through the tunnel after performing
Code:
ip ru del table wifi
All traffic then passes through tun0. For some reason I cannot access corporate intranet sites on my browser, and cannot ping them either. This is not a big deal as I plan to use this mostly for Skype while abroad.
It also seems connections over 3G work now to by running the same command above but against the gprs table.
Any ideas on how to save off the wifi and gprs tables, delete them, and restore them? Perhaps vpnc-script additions?
I'd still be interested in reading that thread you mentioned though.
Thanks, Matt.
http://forum.xda-developers.com/archive/index.php/t-511849.html
Hi, try to ping one known ip address of your internal network. If it succeed then try to add this command to your interface
both internal and external.
code: ip tcp adjust-mss 1000
Hope this helps.
mattwood2000 said:
OK looks like vpnc is setting up the DNS's correctly, but no traffic passes through tun0.
If I "ping -I tun0 x.x.x.x" then I can ping the other end of my VPN, but for some reason tun0 is not used as the default interface.
"ip route show" gives the following at the end:
default dev tun0 scope link
I'm just not sure what the hell is restricting the traffic?
I've tried doing "ip ru del gprs", but that does not help either.
Anyone successfully use VPNC on Android?
Thanks, Matt.
Click to expand...
Click to collapse
Hey,
I want to connect to a 802.1x security wifi network on my school, it does connect.
It sais I am connected but I can't browse the web and all my apps dont refresh either.
Is there anyway I can fix this? Maybe with some setting or change in root?
work fine on mine
I'll install cm9 as soon as I can, and see if it fixes my probs. Otherwise it could be a chipset problem, that it just doesnt support. Some other people on my school also cant connect (budget phones).
I think its weird that some devices can connect and others not, on my school, some galaxy s or galaxy ace will connect while others can't. I have cyanogenmod 7.2 with android 2.3.7! I think it should work but someway it keeps connected, so I am connected to the router, but I can't browse the net. Maybe it cant open default gateway in someway?
maybe that router is not compatible .. i have the same problem in some places..
I think it's weird some devices connect and other do not, maybe it has to due with diffrence in android versions? I use cyanogenmod 7.2, android gingerbread 2.3.7
Oi, there is so much that could be going on here...
Its an Atheros AR6003G chip, which as far as i know, supports 802.11 A/B/G/N, and hardware encryption for WEP/WPA...
Odds are, if its an 802.1x type network, the chip will do the encrypting/decrypting after the handshake is completed, provided its set up correctly. WEP and WPA are set up by using a Pre-shared Key that all users need to have... If you study how to recover the key, you'll find that the hash is created by taking the plaintext passkey, running it through the specified algorithm, then salting it with the name of the network. So long as all devices have the correct network name and the correct plaintext password, any device can connect to the network, because they'll all end up with the same hash.
802.1x encryption is different. It uses an authentication server. This makes it similar to any modern computer you log onto. You provide the computer with your credentials, and it checks it against the server. If they match, then you are allowed access. If they don't you get an error message. Which means, that if anything is broken, it won't work. If you don't use the correct authentication protocol, it won't work. If you don't have the right certificates, it won't work.
Best advice I can give is, double check everything. Make sure your Gio has the correct certificates and that its using the correct protocols. Double check your IP/Subnet Mask/Gateway addresses. If you don't have an IP address, you'll have to manually configure it. If the Subnet Mask is incorrect or the Gateway address is incorrect, it won't work either. Also, check your DNS server addresses. If those aren't correct it won't load any webpages using URLs. It will only load them using the IP address of the server. Which means, telling the browser to go to www.google.com won't work, but if you tell it to go to 173.194.67.99:80, it will load the Google homepage.
Hopefully this will give you somewhere to start...
Yes true, only problem is that static IP's dont work, otherwise I could just copy the DNS and gateway numbers from a device it does work on. It uses DHCP and I think that I have the problem you told about.I dont think our school uses certificates cause a friend of my (Galaxy S) can connect without having installed certificates or something.
I think its an hardware isue and it cant decrypt the code well, my WIFI indicator stays white, with internet acces it should turn blue or green.
runedegroot said:
Yes true, only problem is that static IP's dont work, otherwise I could just copy the DNS and gateway numbers from a device it does work on. It uses DHCP and I think that I have the problem you told about.I dont think our school uses certificates cause a friend of my (Galaxy S) can connect without having installed certificates or something.
I think its an hardware isue and it cant decrypt the code well, my WIFI indicator stays white, with internet acces it should turn blue or green.
Click to expand...
Click to collapse
What if you go to wifi settings- menu button - advanced settings- 'regulier domein' I know you are dutch, dont know how it is called in english, something like regular domain I guess.
Then set it to 11 13 or 14 try them out, fixes my wifi, also at school with 8.11x connection mode
Sent from my GT-S5660 using xda premium
runedegroot said:
Yes true, only problem is that static IP's dont work, otherwise I could just copy the DNS and gateway numbers from a device it does work on. It uses DHCP and I think that I have the problem you told about.I dont think our school uses certificates cause a friend of my (Galaxy S) can connect without having installed certificates or something.
I think its an hardware isue and it cant decrypt the code well, my WIFI indicator stays white, with internet acces it should turn blue or green.
Click to expand...
Click to collapse
That is very very odd... I use a Linksys WRT54G2 router at home, and its set up for DHCP. Its address is the standard 192.168.1.1, and it can address 50 clients between the addresses of 192.168.1.100 and 192.168.1.149. However, if i set my computer up to use static settings, it works just fine... Granted the networks are probably set up differently.... but the theory should work just fine...
Code:
IP: 192.168.1.4
Subnet Mask: 255.255.255.0
Gateway 192.168.1.1
DNS: 64.59.160.13, 64.59.160.15
Are you positive it doesn't work?
If you can get me the encryption type, IP address, Subnet Mask and Gateway address your friends phone uses, I may be able to help more... The more information you can get me, the better.
The only reason I can think of that would cause it to not work is that the IP address is already in use, or the Subnet mask is incorrect... It shouldn't matter what IP address you use, so long as the subnet mask and gateway are correct... In theory anyway...
I'll gather them and put them in a post!
Thanks for your help so far,
Im on the same school as runedegroot but the neteork does work for me, and i dont think a stattic ip will work cause the network is spread over a lot of routers so if any other phone gets that ip via dhcp it wont work anymore
Sent from my GT-I9000 using xda premium
Well, apparently DHCP doesn't work for him, so whats he have to loose?
Although that's quite interesting... What phone do you use, and whats the network information you have when you're connected to your school's network?
voetbalremco said:
What if you go to wifi settings- menu button - advanced settings- 'regulier domein' I know you are dutch, dont know how it is called in english, something like regular domain I guess.
Then set it to 11 13 or 14 try them out, fixes my wifi, also at school with 8.11x connection mode
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
I'll try, it didn't give me positive feedback when I tried it on MC 7.2, I'll try monday.
Btw, voetbalremco is a dutch name, you also have a dutch thumbnail, but you aint dutch?
atirox said:
Well, apparently DHCP doesn't work for him, so whats he have to loose?
Although that's quite interesting... What phone do you use, and whats the network information you have when you're connected to your school's network?
Click to expand...
Click to collapse
I use galaxy gio, gt-s5660. Maybe willie1001 knows it, I can't see it when I'm at home.
I have the same problem
runedegroot said:
I'll try, it didn't give me positive feedback when I tried it on MC 7.2, I'll try monday.
Btw, voetbalremco is a dutch name, you also have a dutch thumbnail, but you aint dutch?
Click to expand...
Click to collapse
Im dutch, but the forum is english so I also post in english, I dont like it neither if people post in polish or whatever I cant read..
Sent from my GT-S5660 using xda premium
runedegroot said:
I use galaxy gio, gt-s5660. Maybe willie1001 knows it, I can't see it when I'm at home.
Click to expand...
Click to collapse
Actually that was for willie1001...
And its possible that changing the reguatory domain could work. If you're running software designed for the states, it would disable any channel above 11... But then again, if you can "see" the wireless network in the settings menu, it would make sense that its programmed to use a channel isn't above channel 11... Which would mean that changing the regulatory domain wouldn't help it at all...
Come to think of it, if your MAC address is blocked, it wouldn't allow you access... But then again, you'd have to do something for the school to block your MAC address. And if the other students can access it, then it would have to be specifically you who did something to piss off a teacher.
Also, any information you can get me about the router would help greatly. By figuring out the manufacturer of the router and the model number of the router, its possible to narrow down the likely IP addresses that the router would use..
atirox said:
Actually that was for willie1001...
And its possible that changing the reguatory domain could work. If you're running software designed for the states, it would disable any channel above 11... But then again, if you can "see" the wireless network in the settings menu, it would make sense that its programmed to use a channel isn't above channel 11... Which would mean that changing the regulatory domain wouldn't help it at all...
Come to think of it, if your MAC address is blocked, it wouldn't allow you access... But then again, you'd have to do something for the school to block your MAC address. And if the other students can access it, then it would have to be specifically you who did something to piss off a teacher.
Also, any information you can get me about the router would help greatly. By figuring out the manufacturer of the router and the model number of the router, its possible to narrow down the likely IP addresses that the router would use..
Click to expand...
Click to collapse
Haha no, I didn't piss of a teacher
I think it's a gio problem, willie1001 has the galaxy s with cyanogenmod 9.
I have gio with cyanogenmod 9. But it also didnts work with stock or cyanogenmod 7.
I will send you some information I can see on my phone, if I won't forget it
runedegroot said:
Haha no, I didn't piss of a teacher
I think it's a gio problem, willie1001 has the galaxy s with cyanogenmod 9.
I have gio with cyanogenmod 9. But it also didnts work with stock or cyanogenmod 7.
I will send you some information I can see on my phone, if I won't forget it
Click to expand...
Click to collapse
Man, thats odd... I assume you aren't on the North American continent... Where did you pick your Gio up from?
You know... Its possible that the issue you have was fixed in a base band (modem) update... You could try flashing the phone to the latest OE firmware (Not necessarily the one that came with your carrier as branded firmware tends to take forever to get updated), and see if that works...
This guide teaches you to reverse tether your Android phone via WiFi. That is, it allows you to use your Ethernet connection of PC on your Android phone. It is useful for those who do not have WiFi routers and data connection. So if you have unlimited data plan for your computer, why not share the connection with your phone?
Notice: Backup your phone if you need to, I must not be held responsible for any damage to your phone. The following procedure works perfectly on stock ROM. Moreover, I am not a developer of the files supplied, I just got the files from the internet.
Credits to the actual authors of these files (Yet unknown to me). I have only contributed by coming up with a proper procedure and configuration for this.
Requirements:
Rooted phone
WiFi enabled Laptop (e.g. Dell Inspiron 15 series)
Root Explorer OR any other application that allows you to access entire system and also copy paste system files.
View attachment wpa_supplicant.zip
Procedure:
Phone:
Download Wpa_supplicant.zip and extract "wpa_supplicant" from it, save it on your SD card.
Open Root Explorer, and grant it superuser access when asked for.
Navigate to system -> bin and long press on wpa_supplicant; Select copy, and paste the file into any folder on your SD card.
Now navigate to the file you downloaded, copy it in same way, and paste it back to system -> bin. Note, you might need to mount the system as R/W instead of R/O by pressing a button on the top just before pasting the file.
Reboot.
Ubuntu (Must work for other Linux Distros too):
Open Network Connections
Goto Wireless tab, select add, and set the following:
SSID: <Any_name_you_like>
Mode: Ad hoc
Leave other things unchanged, and go to Ipv4 settings tab
Set method to Shared to other computers
Go to Wireless security tab and set Security to WEP 40/128 bit key and set key to a numeric password (or hexadecimal one).
Check the connect automatically box on top of the tabs and press Save.
Your Android phone must now detect this network, and you can establish the connection by using your security key.
Windows XP, Vista, 7
Download and Install Connectify from www . connectify.me/download-lite/
Start Connectify Hotspot by giving a name and password to your hotspot and selecting the Ethernet connection to share. Make sure the security type is WEP or Open.
Disable your firewall (Simply adding it to exceptions doesn't work for AVG at least)
Now your phone should be able to see the hotspot and establish the connection using the password set.
Known Issues:
Random disconnections (Very less frequency)
Disconnections due to screen lock / sleep on laptop
Enjoy, and hit thanks if it worked!
nice tutorial for the wifi rev the ............ i m going try ........
Sent from my GT-S6102 using xda premium
manoranjan2050 said:
nice tutorial for the wifi rev the ............ i m going try ........
Sent from my GT-S6102 using xda premium
Click to expand...
Click to collapse
sure, give it a try
oops...no different with my post.
kurotsugi said:
oops...no different with my post.
Click to expand...
Click to collapse
Well, I tried to search for similar posts, found none, and so thought of writing one myself. I followed the links from your signature and read your post. Just edit it and write that it does work with secured connections At least it worked for me with the wpa_supplicant attached in this post. And in this post I elaborated a little more on configuration at desktop because in Windows (especially my Vista), there were several problems with Ad hoc mode sharing, and it only worked with Connectify for me. I guess I might have not configured it properly then, and just wanted to share something that worked for me. And then I tried doing Ad hoc mode on Ubuntu, which never worked until the passkey was set to 40/128 bit WEP security.
no probs...you have find the method to use secure connection. that's the differences between mine and yours. its a nice post with more detailed step. much more better than mine. people should refers to your post for better wifi adhoc setting. keep sharing yo
kurotsugi said:
no probs...you have find the method to use secure connection. that's the differences between mine and yours. its a nice post with more detailed step. much more better than mine. people should refers to your post for better wifi adhoc setting. keep sharing yo
Click to expand...
Click to collapse
Haha, nothing like that They could refer to any of our posts, because both of us had the same intentions (Sharing what worked for us)
Well, I want you to use your wpa_supplicant, and disable firewall and try to connect in a secure way, I am sure, it has to work. I guess the blog-post that I referred to (for downloading the file) must have been made using your post. Try it once and let me know
Also let me know if you have disconnections For me, I experience 2 to 3 disconnections when trying to connect to a WiFi router, and no disconnections while connecting to Ad Hoc N/w. So if we could collaborate and get some solution to it, it would be great!
I don't have any firewall and I have tried that. not working. btw, I made that post to fix wifi problem. the adhoc connection is just a bonus. I haven't check your wpa_suplicant, it could be different with mine. there's possibility that your wpa_suplicant support secure connection but mine simply doesn't support it.
kurotsugi said:
I don't have any firewall and I have tried that. not working. btw, I made that post to fix wifi problem. the adhoc connection is just a bonus. I haven't check your wpa_suplicant, it could be different with mine. there's possibility that your wpa_suplicant support secure connection but mine simply doesn't support it.
Click to expand...
Click to collapse
Possible. I had once come across a source file for wpa_supplicant, in some forum. I'll send you a link of the same if I get it once again, and then may be we could try to figure out how we could have both the things (Secure + Reliable ad hoc)
Edit: Link to the forum regarding source of wpa_supplicant, for anyone interested to solve disconnection and security issues.
bookmarked
In my phone it just keeps on showing "obtainig IP address" (security mode)
but in open security mode i am able to use internet on my device!!!
Help
avilove4u said:
In my phone it just keeps on showing "obtainig IP address" (security mode)
but in open security mode i am able to use internet on my device!!!
Help
Click to expand...
Click to collapse
Did you use the wpa_supplicant attached in this post, or did you obtain the file from any other source? Plus, have you disabled your antivirus firewall (if any)?
If your answer is yes to above questions, wait till it shows disconnected/remembered and then, turn off your wifi, turn it back on, and redo this about 2 to 3 times if problem exists. The problem you mentioned happens only during handshaking (initialization), and once you are connected, there is hardly any chance that you would get disconnected.
Do try the solution and get back to me. All the best
Make life easy, use connectify. If you would like to make life a lot easier, create a usb reverse tether mod
CarlDeanCatabay said:
Make life easy, use connectify. If you would like to make life a lot easier, create a usb reverse tether mod
Click to expand...
Click to collapse
i want reverse tether through wifi bro ..
CarlDeanCatabay said:
Make life easy, use connectify. If you would like to make life a lot easier, create a usb reverse tether mod
Click to expand...
Click to collapse
xD Yes yes indeed, connectify works like charm, but only on Windows 7 (as it allows virtual router mode in Win7) but to use it with XP and Vista, we need this wpa_supplicant work around. And reverse tether with USB exists already, plus there are a few issues that prevent us to download apps from market, and stuff like that due to tunneling issues...
Nirdh said:
xD Yes yes indeed, connectify works like charm, but only on Windows 7 (as it allows virtual router mode in Win7) but to use it with XP and Vista, we need this wpa_supplicant work around. And reverse tether with USB exists already, plus there are a few issues that prevent us to download apps from market, and stuff like that due to tunneling issues...
Click to expand...
Click to collapse
Solution for my problem ???
How can you call it a 'reverse tether'?
Its more like ICS over WiFi.
Using Connectify,you create an access point (aka hotspot).
other options you can use :-
bzeek,virtual router
idk about linux
CharsiBabu said:
How can you call it a 'reverse tether'?
Its more like ICS over WiFi.
Using Connectify,you create an access point (aka hotspot).
other options you can use :-
bzeek,virtual router
idk about linux
Click to expand...
Click to collapse
Well, as I already said, Connectify creates access point only on Win7 (that too if there is hardware for it), on other OSes, it creates ad hoc network, which Android phones do not detect. And it is called reverse tether, because you are using your PC's ethernet connection on your WiFi (the ethernet connection is shared with your phone over WiFi). Virtual router also works well for Win7, not for other OSes, and this was the only work around that actually worked.
avilove4u said:
Solution for my problem ???
Click to expand...
Click to collapse
Check your private message Hope it works
edited wpa_supplicants don't work anymore on latest SGY update (july 22 2012)
edited wpa_supplicants don't work anymore on latest SGY update (july 22 2012)!!! HELP
Hi,
I am trying to connect my LG G4 815 to my notebook. But with every app I tried (f.g. SambaDroid, SambaServer or even the FTP variants) my phone is unreachable from notebooks. The device is rooted.
Furthermore I am not able to ping the device from different notebooks, nonetheless they are all connected to the same wifi and the notebooks are able to ping each other. And the other way round I am not able to ping any notebook from phone with terminal emulator, while ping to router or websites works well.
If anyone has an idea or solution I'd appreciate.
Thanks!
Mike
this has nothing to do with the phone itself. I'm guessing that the AP isolation on the router is turned on, or your notebooks firewall are blocking local access.
Sent from my Nexus 7 using Tapatalk
I suggest you try WiFi File Transfer from the playstore. I used to use Samba but found this app works much better, for my needs anyway, and never gives me any problems connecting. Pro version that allows unlimited file size up and downloads is like $1.50. https://play.google.com/store/apps/details?id=com.smarterdroid.wififiletransferpro
aquavalanche said:
this has nothing to do with the phone itself. I'm guessing that the AP isolation on the router is turned on, or your notebooks firewall are blocking local access.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Really? I am thankful for every post, but as far as I can guess you did not even read my starting post?
If your guess would be correct, I would not be able to ping *each* device among *each* other (no matter if Windows, Mac OS, Ubuntu or Windows Phone, ok the last is one-way only because of OS-Limitations)...
So there is no local access prohibited. The only device which is not able to be pinged or ping itself is the phone.
Even if I deleted everything from the router/ phone and reconnected afterwards with a new IP it was exactly the same behavior. For me this looks like this is all about the phone.
rick09 said:
I suggest you try WiFi File Transfer from the playstore. I used to use Samba but found this app works much better, for my needs anyway, and never gives me any problems connecting. Pro version that allows unlimited file size up and downloads is like $1.50.
Click to expand...
Click to collapse
Thanks.. I am going to give this a try.
nimroder said:
Really? I am thankful for every post, but as far as I can guess you did not even read my starting post?
If your guess would be correct, I would not be able to ping *each* device among *each* other (no matter if Windows, Mac OS, Ubuntu or Windows Phone, ok the last is one-way only because of OS-Limitations)...
So there is no local access prohibited. The only device which is not able to be pinged or ping itself is the phone.
Even if I deleted everything from the router/ phone and reconnected afterwards with a new IP it was exactly the same behavior. For me this looks like this is all about the phone.
Thanks.. I am going to give this a try.
Click to expand...
Click to collapse
whoops, I read the "furthermore I am not able to ping..." and misread the next part as "... and the notebooks aren't able to ping each other". sorry about that!
but as far as I know, default android phones do not have firewall that blocks ping. I assumed that you didn't modify the phone, so the problem should be located on the router (or laptop) itself.
I'm going to try some ftp servers on my phone and I'll notify you the result.
I have tried this FTP server and it works
https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver
And I also tried SambaDroid and it works as well.
oh, and have you tried giving the phone static IP?
aquavalanche said:
whoops, I read the "furthermore I am not able to ping..." and misread the next part as "... and the notebooks aren't able to ping each other". sorry about that!
but as far as I know, default android phones do not have firewall that blocks ping. I assumed that you didn't modify the phone, so the problem should be located on the router (or laptop) itself.
I'm going to try some ftp servers on my phone and I'll notify you the result.
I have tried this FTP server and it works
https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver"]https://play.google.com/store/apps/details?id=com.theolivetree.ftpserver
And I also tried SambaDroid and it works as well.
oh, and have you tried giving the phone static IP?
Click to expand...
Click to collapse
Thanks for your support
I am still not able to get any of the apps - even the one you mentioned - to run on my home network.
A static ip doesn't change a thing, but I tried it today on a different network with my notebook and phone and it worked like a charm.
Some kind of funny and unexpected, because every other device works without any problem in my home network. Also tried to reset my router to factory but still the same.
So I guess I have to change the hardware of my network. But you're absolutely right in your first post -
It is NOT about the phone, sorry for that
here's normal functioning samba droid