[Q] Wifi cracking with Nexus7 - Nexus 7 Q&A, Help & Troubleshooting

Hi guys,
Just installed ubuntu, wireless keyboard and mouse, MHL... OMG this is awesome
sudo apt-get install aircrack-ng, and it even worked.. hehehe...
Ok so now for the sad part.
airmon-ng start wlan0 works ok and creates mon0
but as you can google around, the BCM4330 card does not support wifi injection.
So two chances here:
1) wait for injection drivers
2) plug in a wifi dongle and compile some drivers for it
what steps must I do to be able to compile drivers on this?
emerge kernel headers and make && make install?
I think someone must already have tried this..
(ps: why does lspci show nothing?)
Cheers!
Phk

Even with PCs, air*-ng is not very portable (in the hardware sense) to arbitrary wireless phy chips.
A couple years ago, when buying NICs for PCs for that type of application, you had to be extremely careful about the exact revision (not just the model number!) of PCI cards - manufacturers had the habit of randomly choosing slightly different phy chips with different version releases of the same NIC cards.
I don't know if the issue is hardware or a lack of API support by the proprietary firmware blobs - it could be either. I'm pretty sure that the N7 uses a proprietary (Broadcom?) downloadable firmware blob to fire up the WiFi phy - the driver is not a "pure open source" driver.
good luck.
Phk said:
(ps: why does lspci show nothing?)
Click to expand...
Click to collapse
Perhaps because there is no PCI bus?

bftb0 said:
Perhaps because there is no PCI bus?
Click to expand...
Click to collapse
Lol, stupid me
About the wifi drivers, has anyone tried to compile external wifi-dongle drivers with success? any caveats?!
Thanks!

Related

Need some USB HOST driver dev help

I have a problem that I hope some of the code gurus here can help me with. I have an HTC PDA that was codenamed Colorado. The Colorado is actually the Dell Axim X50 series. I have a thread on Aximsite http://www.aximsite.com/boards/showthread.php?t=140071 where I am trying to add a USB host hardware interface to the PDA. I have done quite a bit of hardware reverse engineering of the X50v device (I'm a old-time hardware hacker) and have been able to bring out the PXA270 USB host port1 interface to the outside world via two unused pins on the sync connector.
I originally noticed that the X50v A02 ROM had the OHCI driver included, so I rolled back to that release on my test PDA and have been attempting to get the interface operational. In my quest, I have determined that I need the usbd.dll driver as well as any client device drivers for HID, mass storage, etc.
I've used a number of the great utilities I've found on this site (thank you very much) to grab a copy of the Axim ROM and pull it apart. I consider myself great at working on hardware but my software skills have become rusty over the years (hey - I started by building this system a 'few' years ago: http://www.sol20.org/ )
What do I need?
I would appreciate getting some guidance on how to dissassemble the ohci.dll module so I can see if in fact, it was designed for the X50 or if it was left in by accident by HTC as the later ROM updates for the X50 series had the ohci.dll module replcaed with one named peripheral.dll which was about 1/5th the size.
Also, I'm wondering if either the ohci or usbd drivers require the irq and/or the membase of the PXA270 USB host port1 interface and if so, how do I determine those.
My original idea was to use a simple 2 port hub to bring out the interface. Unfortunately, I recently discovered that a hub requires a hub client driver. Because of that, I will settle on getting a USB flash memory key to interface directly as the drivers are already available. One of the problems I have is interfacing the 3v USB host lines on the PDA to the 5v data signals that may be present on the client device. The PXA270 USB host lines are already terminated on the PCB with 15K resistors. All that is needed is a transient protection chip and/or port driver chip.
I have installed the free Microsoft WinCE dev environments which I thought contained the source for the generic ohci driver, but I can't find it anywhere so I guessing it's not included in the free dev s/w.
Although this is only my 2nd post here, I do hope to be able to contribute technical information going forward. What I'm doing on the Aximsite is quite advanced as far as hardware hacking goes and I hope to be able to simplify it so a few others can 'play'.
Thanks in advance for any help and I wish everyone here a great New Year!
Wow. Well this is a bit over my head, but does sound great.
I will try pointing you toward a couple of useful tools:
1st is IDA probably the most powerful disassembler for ARM code. The free evaluation works fine, but won't save and closes about every 30 min. Still should do the trick if you just want to look at the code.
2nd to get sample driver code, you need Platform Builder. Not sure if that is what you downloaded, but try the provided link. Evaluation version contains all the source code MS is willing to give, it just has some limitations on ROM compilation (which you should not care about).
The only problem is, it's a real b*** to install. Takes hours even if you have a goo internet connection.
Hope this helps.
Thanks for the quick reply.
Do you know if there is anyone who knows a little on how the low level device drivers actually interact with the hardware ports?
Also, I assume that with just the ohci and usbd drivers, if the port is actually activated by pulling one of the data lines high, I should get the popup box asking for the name of the device driver. correct?
how to determine I/O base offset?
In trying to reverse engineer the ohci driver for a couple for the HTC units, I need to figure out where the I/O register base starts.
Are there any memory dump utils, like dumprom, that would indicate that?
I've installed platform builder and want to try compiling the standard ohci driver, but I need to know how to determine the start of the I/O registers on a given WM2003SE platform.
Any assistance would be greatly appreciated.
thanks

Monitor Mode on integrated WIFI (running linux)

Hi out there, am I able to get monitor mode to work on HTC Universal? I still have no device but i'm thinking about to buy one Universal or Zaurus C1000. What I need is monitor mode for penetration testing. If injection is available, it's nice but not a "must have". I will use Linux on the Universal, to make it paly together with the rest of my annoying grey boxes. If the integrated WIFI does not, does anyone know if monitor mode works with one of these sdio wifi cards? Or is there another way, to stick external wifi devices to the Universal (maybe usb or cf)?
On wiki there is written, that the Universal uses the tnetw1100bg wifi chipset.
I found this one on net:
http://www.rootr.net/man/man/acx/4
Do I understand this right, that, if i'm using Linux with acx-driver, monitor mode will be available to the Universal?
very very interesting can someone test it?
Linux on the uni doesnt have SDIO and unlikely to have it for a while due to driver implimentation legal issues. hope this helps.
why do we need sdio wifi card,cant we use universal onboard wifi?
Well SDIO cards were mentioned, just ruling them out at this stage.
SDIO was just an idea if Universals onboard wifi doesn't work. but due to the link i've been posting, i still hope, it will work (not for injection, but monitor mode will). I hope someone will test it.
You Can Monitor And Inject With Linux On Universal Using ACX Kernel Module And AIRCRACK-NG Toolset.
great, this is all i was wanted to read. Now I'm going to buy me one universal. I hope I can come back to you with questions if i have problems to set up the device.
OllieD said:
You Can Monitor And Inject With Linux On Universal Using ACX Kernel Module And AIRCRACK-NG Toolset.
Click to expand...
Click to collapse
How does one do this?
seattleweb said:
How does one do this?
Click to expand...
Click to collapse
Disregard this... I was running an older kernel and have since upgraded my install to one with a 2.6.21 kernel
OllieD said:
You Can Monitor And Inject With Linux On Universal Using ACX Kernel Module And AIRCRACK-NG Toolset.
Click to expand...
Click to collapse
Exactly!
Very interesting: exactly for the same target I will buy an HTC UNi too.
So, that can be our topic: two penetration tester, one topic, and HTC Universal
DOMy

External USB hard drive

Does anybody know if it is possible to connect the phone to a USB hard drive?
only with flame and Athena as they are the only ones which support usb host
other devices cant use usb devices only be used by usb hosts normaly a pc
There was actually someone who developed a working hard disk storage driver for windows mobile but last I checked the site no longer offered it. Searched for days trying to find the file elsewhere. No luck. Cant think of the company that made the driver.
I'm bumping this as I am also after the same sort of program / utility.
I want to be able to access my External HD and view / play files off it... anyone able to help me out?
Maybe with a external powersupplied disk
Rudegar said:
only with flame and Athena as they are the only ones which support usb host...
Click to expand...
Click to collapse
Correct
Our Hermes has no usb host support. I found a topic at forum.brighthand.com which suggested the host functionality could be added with a usb host driver. I found the software (attached zip) but alas... Though I did exactly as the 'manual' (readme.txt) explained, the usb-stick did not appear in my explorer.
Possibly an external drive with external power supply might work because the hermes usb port is simply not powerful enough to supply the power to the usb-stick. However I did not "explore that possibility" (don't have one ) and chances are 'just a driver' is not enough and hermes lacks "usb host hardware".
dident read the post because you dident give a link to the post just the forum
but i doubt that it's a general thing
many pda's have usbhost in the cpu itself but htc never connected those connectors
so it's not wired to the connector they have their own usb chip
so if the post you read said it about any other pda then htc based one it could be that that manufactor did connect the usb but dident supply the driver which would then be fixed with what you found
Rudegar said:
many pda's have usbhost in the cpu itself but htc never connected those connectors
Click to expand...
Click to collapse
Sounds like there could be the potential for a hardware hack...
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Deuce Nitro said:
Sounds like there could be the potential for a hardware hack...
Click to expand...
Click to collapse
Yepp!
Hi,
this is correct
sinmae said:
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Click to expand...
Click to collapse
The USB host port of the Samsung CPU is used to connect to the internal GSM/GPRS chipset. So no chance to break it up!
If someone would ever hack this hardware part, the result would be a hermes without radio.
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Best regards,
scholbert
thats an interesting information, thanx
scholbert said:
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Click to expand...
Click to collapse

[Q] DVB-T on Iconia A500 ?

Hi,
I have an usb dvb-t stick (of the family A867 of avermedia, the nano 3d), can you tell me where the drivers are installed in the honeycomb for the iconia a500?
When I it connect to the iconia, from the terminal typing the command smesg, I can see that it recognizes the device but does not have the drivers
What makes you think drivers exist? If there are Linux drivers available, you might be able to port them, but then what? You'll also need an app capable of decoding the data from the device, and tuning in to the needed frequencies. Such a thing doesn't exist on Android at the moment.
ok, thanks for reply
db-t
FloatingFatMan said:
What makes you think drivers exist? If there are Linux drivers available, you might be able to port them, but then what? You'll also need an app capable of decoding the data from the device, and tuning in to the needed frequencies. Such a thing doesn't exist on Android at the moment.
Click to expand...
Click to collapse
Drivers exist ! DVB-T is functioning on Archos 101 (Froyo). They have an app that scans (livetv.apk as i remember well) the dongle. Look for internetadresses at the thread i opened a week ago. Unfortunately í'm not able to adapt the existent drivers for our tablet. The last driver i wrote was to connect a Teletype to a Z80 processor so now you now i'm a digital dinosaurus.
My "Cinery T USB XE" works on my Acer Iconia A210.
I have done a channel scan with droidTV.apk. Found channels, but have a very high error rate, so it*s don't see anything.
Is any one working on an app for DVB ? Maybe someone can tell how to crosscompile an binary? Or maybe can tell me how to configure toolchain paths for compiling successfull????

[WebTop] USB to Ethernet is OK

Hi,
WebTop (with full ubuntu mod) works fine with Trendnet TU2-ET100 (asix chipset).
I have just added these 2 lines in "/osh/etc/network/interfaces" for DHCP autoconfiguration :
auto usbeth0
iface usbeth0 inet dhcp
Doum
Nice to know. Ethernet might come in handy for a lot of people docking as their PCs.
I guess any other USB ethernet card that works with a normal Linux PC should work here.
Hello there,
First I would like to say that I'm glad that in the last few weeks i finally managed to let my heavy 15.4' 9 cell Dell Laptop on the Office and bring home the Atrix + LapDock everyday including weekends and holidays
I have what i need on my LapDock + FullUbuntu: gedit, gnome-terminal, OpenOffice, PDF readers, Psi+ (jabber client with PGP Encryption), GNUPG, Mumble Voice Chat, Firefox (with client SSL certificates ) and OpenVPN.
Everything else, like e-mail, music and video players i'll prefer running on the Android
So, i want to buy this USB -> Ethernet adapter to make it even better!
I thought buying the TrendNet but it seems somewhat bigger than other adapters that use the same "chipset" (ASIC). I also find those adapters cheaper than the TrendNet one:
http://www.ebay.com/dsc/i.html?_nkw...=0&_trksid=p3286.c0.m270.l1313&LH_TitleDesc=1
I think i will buy this one:
http://www.ebay.com/itm/NIB-REAL-US...ltDomain_0&hash=item56471dfaff#ht_2136wt_1026
It seems great but now i'm not entirely sure what's the chipset on the TrendNet: AX88772A or AX88772B?
The one i'm buying uses the AX88772B.
The difference seems to be very small, the drivers seems to be the same and the "B" version supports checksum offloading and it's intended for Low Power consumption. Here's the detailed specs of both chips:
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=97;71;101
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=105;71;101
So, what do you guys think?
Did you get it yet? If you did, how does it work?
blingmaster said:
Did you get it yet? If you did, how does it work?
Click to expand...
Click to collapse
I bought this one from Deal Extreme:
http://www.dealextreme.com/p/usb-2-0-10-100mbps-rj45-lan-ethernet-network-adapter-dongle-34691
It's really cheap, small and uses the AX88772B chipset.
But i'm not able to test yet, simply because it's not here yet
I bought using standard Air Mail that takes something like 20 days to get here in Brazil... And when it does arrive here it's going to take 10 more days (or even more) for Brazilian (Fuc***) Customs to release it for Brazilian Postal Service to finally deliver it... This sucks.
But well, i promise that as soon as I get it, i will test and put the results here.
Merry Christmas!
Post resurrection alert!
I tried this with an Airlink 101 today. I didn't add the extra lines listed in the OP, but I did start the dhcp client manually and it got an address and webtop was happy. Does anyone know if the android portion of the phone is able to use the wired Ethernet connection? From my quick test it didn't seem like it did.
I have a much slimmer Cisco USB to Ethernet adapter that I plan to try. I used the Airlink because it was lying around on my desk doing nothing.
And with all the webtop talk starting up, this may be of interest to others.
AX88772B not working
Well, mine did not work
I bougth this one from DealExtreme:
http://www.dealextreme.com/p/usb-2-0...r-dongle-34691
As i said before, it uses the AX88772B chipset.
I have confirmed that and installed the driver for my MacBookPro and it's working just fine.
I have downloaded the drivers from:
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=105;71;101
It's noticeable that there is also a driver for Android but it's the source code, not the compiled kernel module.
So i think i'll will need to get the Atrix kernel source compile the driver with the headers and prey to work...
Maybe it's something with my ROM... I have updated to the latest Motorola official 2.3.6 build for Brazil.
Could you guys tell me what's the output of these two linux commands, as soon as you plug the USB device ( the last 10 lines or so):
$ dmesg
and
$ lsmod
Victor.
This is awesome.
Can't wait until they bring the webtop to CM7. It was a loss when I upgraded, but the smoothness and capabilities of a CM7 rom are worth the loss of the webtop... for now.
It's good to know that when it get's working again I can use a USB to Ethernet with the Ubuntu mod.
Thanks!
thenicnet said:
Can't wait until they bring the webtop to CM7. It was a loss when I upgraded, but the smoothness and capabilities of a CM7 rom are worth the loss of the webtop... for now.
It's good to know that when it get's working again I can use a USB to Ethernet with the Ubuntu mod.
Thanks!
Click to expand...
Click to collapse
Don't hold ur breath.....cm9 is underway don't think webtop is gonne come yo cm7 but u can always mirror with lapdock
root, make changes, then unroot
Would like to be able to use a usb ethernet adapater on my unaltered Atrix running 2.3.4. If I were to root, make the changes to the two lines and then unroot again, would the changes remain?
In Post 6 above there is mention of the usb ethernet adapter only working under webtop. Is there a way to make it work on the phone itself as well, i.e., for the phone browser / market / email / etc.
Hello.
When it connected to my HDDOck - eth0 not detected. In the webtop (I webtop2sd) lights icon - an unknown usb connection ...
Any advices to solve this issue ..
i have this issue also, connecting usb broadband detects it as cd-rom drive. i have zte mf627 broadband kit. ill attached screens later. dmesg result show port but has no device name.
gradd said:
i have this issue also, connecting usb broadband detects it as cd-rom drive. i have zte mf627 broadband kit. ill attached screens later. dmesg result show port but has no device name.
Click to expand...
Click to collapse
A nearly 2 yr old dead thread just had to be brought back to the surface? esp with your results being the same as the previous member's results?

Categories

Resources