I use microslav_mm's CM7 SDSL 2.0 system.
When I call the following command in wifi adhoc mode, .
iwconfig wlan0 channel 5
the system will notify
Error for wireless "Set Frequency" (8B04) :
SET failed on device wlan0 ; Invalid argument.
But this command works well in wifi managed mode.
It seems that the wifi device driver does not support channel switching in ad hoc mode.
Any method to fix this problem?
Thanks a lot if anyone can help
Shawn
csqjxiao said:
I use microslav_mm's CM7 SDSL 2.0 system.
When I call the following command in wifi adhoc mode, .
iwconfig wlan0 channel 5
the system will notify
Error for wireless "Set Frequency" (8B04) :
SET failed on device wlan0 ; Invalid argument.
But this command works well in wifi managed mode.
It seems that the wifi device driver does not support channel switching in ad hoc mode.
Any method to fix this problem?
Thanks a lot if anyone can help
Shawn
Click to expand...
Click to collapse
Looks like that ROM does not support the selected option. I would recommend that you try a different ROM, to see if it works
Related
Hi
Simple question. Before HD2 I had Samsung Spica mad and I'm using there apps like:
EasySMS over WiFi - 100% working on Spica http://www.appbrain.com/app/easysms-desktop-sms-free/org.fireblade.easysms
WebSharing over WiFi - 100% working on Spica http://www.appbrain.com/app/websharinglite-file-media-sync/nextapp.websharing
and Samba Filesharing over WiFi - 100% working on Spica. http://www.appbrain.com/app/samba-filesharing/com.funkyfresh.samba
Gremote doesn't work too. It is strange becouse this app is different that listed above.
Since I have HD2 it doesn't work (and all alternative apps too). Samba see phone in workgroup but can't connect to it. EasySMS & WebSharing get connection timeout when i want to connect.
BTW: When i enter IP adress in HD2 browser i can log in to EasySMS or WebSharing. So what is the problem?
Maybe somebody can fix it? I try many roms (SD and NAND) = problem is on everyone :/
Sorry for bad english :<
we sharing lite works fine for me, enter your ip adress for the hd2 into your computer browser then enter the password
i have also iused other sharing programs without any problems
What ROM that you use?
I know how to use this program, and they don't work. It isn't the router issue cuz i can use that programs on my father LG Swift.
Here: WebSharing - connection timeout - http://screenshooter.net/2156127/ebuwvsv
I have HD2 with MDJ's CyanogenMod 7 v. 2.6 - Gingerbread 2.3.2 ROM, and I have similars problems. All programs like MyPhoneExplorer (can't find phone) Samba Filesharing (identical problem like Lanc1337) doesn't work.
I can't ping phone from computer connected to router. I check all on another router, problem is the same.
Before I have ZTE Blade and all work perfect!
I found ROM where sharing is working!
http://forum.xda-developers.com/showthread.php?t=912427 - all type of sharing is working here!
But i don't like sense -.- So, why this isn't working on all roms? Kernel or rom issues? I would like this to work on CM build...
Try this:
launch terminal and type:
su [ENTER]
iptables -P INPUT ACCEPT [ENTER]
iptables -F [ENTER]
of course [ENTER] mean press ENTER key
Doesn't work. After i enter second and third command i have error:
getsockopt for multiport failed strangely: No such file or directory
Errors is ok - don't worry. In my Ginger this is working for Samba (I'm using MDJ Cyan V2.7 NAND)...
Maybe try this at first (in terminal):
iptables -P INPUT ACCEPT [ENTER]
and after all this try ping your HD2 from computer (try ping -t ip_address to continous ping - it's good idea to ping -t your_hd2_ip from computer to see if and commands helped) and ping your computer from HD2.
Before I put all this my phone isn't visible in LAN (even with ping command). After putting this everything is ok (and ping is working ).
Put here yours output (after all commands) of "iptables --list [ENTER]" please. Maybe I'll figure someting out...
I check all, and:
I must enter commands:
1. su
2. iptables -P INPUT ACCEPT [ENTER]
and start pinging from phone to computer.
After this software like MyPhoneExplorer can connect to phone. If I enter only commands, and don't use ping command, computer can't connect to my phone.
It's very strange....
After enter iptables --list
chain INUPUT (policy ACCEPT)
chain FORWARD (policy ACCEPT)
chain UTPUT (policy ACCEPT)
I check all again from start to end.
I must enter to terminal su,
and start ping, after this i can exit ping, and I can connect to phone, and phone reply to pings. I don't must enter "iptables -P INPUT ACCEPT"
Any ideas for permamently solution ?
UP
Permament solution will be great!
Sorry for spam :/ Is nobody know how to solve this issue?
Bump!
Hi, also have this issue. Doing the iptables command doesnt do anything for me, it just gives me a bunch of errors. In my case it is enough to just ping my computer from HD2 using terminal emulator or other app (I use Net ping) and I can connect to phone via wifi immediately. After phone restarts I have to do that again.
i have just same issue,seems all CM based rom has this problem,anyone has any ideas?
anotherfullbowl said:
i have just same issue,seems all CM based rom has this problem,anyone has any ideas?
Click to expand...
Click to collapse
Not really.... Besides this one I am currently bumping another thread like this in hope that someone will show up with something, at least with a few pointers of how and where to look for the reason of this issue....
clyder said:
Not really.... Besides this one I am currently bumping another thread like this in hope that someone will show up with something, at least with a few pointers of how and where to look for the reason of this issue....
Click to expand...
Click to collapse
Is this problem Only comes with CM roms?Is there Anyone who use CM rom with sharing apps working?
I really like CM roms, it has some good features,but sharing apps also important for me.
how can i unlock my htc hd 2
anotherfullbowl said:
Is this problem Only comes with CM roms?Is there Anyone who use CM rom with sharing apps working?
I really like CM roms, it has some good features,but sharing apps also important for me.
Click to expand...
Click to collapse
Not only CM ROMs. I am using UltimateDroid based ROM and also have this issue. My guess was that it could be related to Gingerbread, but I could be wrong.
Has anyone solved this?
I just found out that by using tytung r6 kernel this issue is gone. When I turn the wifi on, connect to the router I can ping the phone immediately. Also Wifi tethering in settings menu works. I am currently having some issues with restoring apps but wifi works great. I have downloaded r6 CWM install from here.
Hi guys. I have TP-Link WR543G router and ZTE Combo modem.
My X8 detects my wifi network, and I can connect to it, but i can't open any website. On my router's config page (192.168.1.1) in Wi-Fi settings I see my X8's MAC adress, so telephone is theoretically connected.
Any tips?
Are any other devices on the network able to connect to the internet via the WI-FI?
Is your phone rooted? If so, grab busybox and tell me the output of
Code:
busybox ifconfig
Hi,
Just got myself some nice account at hidemyass_dot_com ... They dont support l2tp yet, and pptp just doesn't work (some encryption issue idk).
So I figured i'd try using openvpn. So I downloaded the market version of openvpn software.
Got the crt files, ovpn files and key file. Everything is in order. When I try to connect, I see that I can pass everything (even get a bloody IP). But the routes dont work. Meaning, I'm not routed through the tunnel but through the normal pdp0 interface.
I got into adb shell, adb logcat etc. This is what I figured out:
Routes are not "implemented" because it can't find the tun0 interface. Why? because its not in "up" mode. Since its not in "up" mode, openvpn software failed when it did "ifconfig IP MASK".
Now get this, if i manually (after openvpn authenticates, assigns an IP and says "connected") netcfg tun0 up, and then manually ifconfig tun0 IP MASK and then manually assign the routes which were automatically failed last time - it works.
Everything is routed properly.
What I figured was an issue with the netcfg tun0 up and ifconfig tun0 ip mask commands ... I read people tried tun.ko files (for each cfw) but couldn't find any for S2 (or lite'ning).
OMG I'm desperate. Help?
[SOLVED] - CHECK BELOW
advocator said:
Hi,
Just got myself some nice account at hidemyass_dot_com ... They dont support l2tp yet, and pptp just doesn't work (some encryption issue idk).
So I figured i'd try using openvpn. So I downloaded the market version of openvpn software.
Got the crt files, ovpn files and key file. Everything is in order. When I try to connect, I see that I can pass everything (even get a bloody IP). But the routes dont work. Meaning, I'm not routed through the tunnel but through the normal pdp0 interface.
I got into adb shell, adb logcat etc. This is what I figured out:
Routes are not "implemented" because it can't find the tun0 interface. Why? because its not in "up" mode. Since its not in "up" mode, openvpn software failed when it did "ifconfig IP MASK".
Now get this, if i manually (after openvpn authenticates, assigns an IP and says "connected") netcfg tun0 up, and then manually ifconfig tun0 IP MASK and then manually assign the routes which were automatically failed last time - it works.
Everything is routed properly.
What I figured was an issue with the netcfg tun0 up and ifconfig tun0 ip mask commands ... I read people tried tun.ko files (for each cfw) but couldn't find any for S2 (or lite'ning).
OMG I'm desperate. Help?
Click to expand...
Click to collapse
I've been trying to do this but just forgot about it when I first got the phone. You need to compile the tun.ko driver.
are you root?
you need root for OpenVPN
also the kernel needs to have tun.ko else it won't work
I wasn't able to test it myself yet but this is what I remembered from my Hero..
Gawis said:
are you root?
you need root for OpenVPN
also the kernel needs to have tun.ko else it won't work
I wasn't able to test it myself yet but this is what I remembered from my Hero..
Click to expand...
Click to collapse
I'm root.
Now not sure about the tun.ko in the kernel. I guess it has the default one (I do afterall, manage to netcfg tun0 up and ifconfig tun0 IP MASK if I do them manually ... they fail when openvpn does them by itself) ..
Maybe I need a special tun.ko? how can I compile my own?
I suddenly remembered thread in which I posted a while back about SGSII and OpenVPN
that member confirmed it as working, the link is here:
http://forum.xda-developers.com/showthread.php?t=1074492
I will root my SGSII somewhere this or next month and try it myself then..
SOLVED
Had to reinstall BusyBox (so I'd have /system/xbin/bb folder).
Now everything works with the default tun.
re-install openvpn when prompt ifconfig directory select /system/xbin/bb. then open console add sym link "ln -s /system/xbin /system/xbin/bb"
your openvpn should now able to up the tun0 interface and accept the push config from openvpn server
Okay, so I saw that WildPuzzle had WiFi N support and it worked great!
But now I'm wondering, is there a way to get the WiFi N support to any other ROM.
Your help is appreciated!
wifi n depends on kernel, not rom, so, look for kernels with wifi n support and flash it to any rom, bam, you have wifi n
I have wifi n at home and I fixed it by using a static ip.
So, about the kernel
You got any links for any kernel with n support for wildfire
and about the static IP adress thing, how to do it?
first on your computer bring up the command prompt.
then type in ipconfig /all
Keep that open and go to wi-fi settings on your phone
Click menu and advanced
And there you'll see the static IP options
Copy all but the IP one from your computer
For the ip change the last number a bit (Lets say your computer is using 192.168.0.5, type in 192.168.0.6 for example, because they mustn't overlap.)
here you can fine latest kernel and radio
I don't know if this is the right category,but...I tried to change my MAC address following this tutorial:
"ip link set NAME down
ip link set NAME address ....
ip link set NAME up"
but when I write "ip link set wlan0 down" and press enter my tablet just reboots.
If I try "busybox ifconfig wlan0 hw ether ..." the address doesn't change(checked it).
Is there a WORKING method to change my MAC?
If you are wondering I am running the latest version of CM11
Bad bad bad
aveq8 said:
I don't know if this is the right category,but...I tried to change my MAC address following this tutorial:
"ip link set NAME down
ip link set NAME address ....
ip link set NAME up"
but when I write "ip link set wlan0 down" and press enter my tablet just reboots.
If I try "busybox ifconfig wlan0 hw ether ..." the address doesn't change(checked it).
Is there a WORKING method to change my MAC?
If you are wondering I am running the latest version of CM11
Click to expand...
Click to collapse
The Question is Why do you want to do this. You know the MAC address is like a serial number to your WIFI Device in the Tablet.If you Change this to match a wifi address to Anyone on the same WAN. The two devices will Conflict and Likely Cause the WAN Provider (cable company) to BAN BOTH MAC Addresses. They do this to STOP Theft of Services.
I Seriously ADVISE Leaving it be.
If you have a issue that you think changing the MAC Will help please post that issue and someone may be able to help..