GP2X Anyone Worked Out Wi-fi On Gp2x


techFreak

Member
Joined
Dec 10, 2005
Messages
487
Location
Istanbul, TR
Website
Visit site
Hello people,

I know some people make Wi-Fi worked on GP2X via BoB? But is there any available driver to download for a specifid Wi-Fi chipset? I searched the forum and got a few broken links.

Thank you in advance.
 
michaeljustman posted on Jul 26 2006 at 10:47 AM said:
Wifi should be plug and play with firmware v2.0. (Drivers built into the kernal.) You should check if the wifi adapter you get is compatible though.
And how would you check? Where's the list of compatable ones?
 
Last edited by a moderator:
michaeljustman posted on Jul 26 2006 at 10:47 AM said:
Wifi should be plug and play with firmware v2.0. (Drivers built into the kernal.) You should check if the wifi adapter you get is compatible though.


Really??

Last I heard it wasn't possible as specific drivers must be written for the wifi device itself. The initial USB drivers are there. but nothing that would allow the gp2x to understand say a usb wifi adapter.....correct me if I'm wrong..?

DSR
 
Last edited by a moderator:
Not too sure if this will work yet, but check out this news.. HERE!

I like this part..
"Additionally, Devicescape says its WiFi stack enables the Linux kernel to distinguish and properly handle different media streams, such as voice and video. It hopes these new capabilities will encourage open source developers to create new multimedia devices, such as voice-over-WiFi phones, streaming video clients, and devices that interact with Web-based services."

I think that this could save a lot of power on the GP2X, as an emulator written for 2(4) player gaming would use less resources than streaming media etc.
Could make things a lot easier :)
 
techFreak posted on Jul 26 2006 at 02:55 AM said:
Hello people,

I know some people make Wi-Fi worked on GP2X via BoB? But is there any available driver to download for a specifid Wi-Fi chipset? I searched the forum and got a few broken links.

Thank you in advance.

Here it is, I have fixed the links for you, I will try them out, if they still don't work I may have downloaded those files and I can email them to you. Edit: they appear to be working. I hope this helps.

Emu&Co posted on May 5 2006 at 03:25 PM said:
Today I managed to open the GP2X Webserver and Ping my GP2X which was lying 15 meters away from my PC, with the help of a Wireless LAN connection. ;-)

I'll explain you how I did this.


You'll need firmware 2.0.0, because it has network support included.

I the CROSS-compiled the Linux app iwconfig from wireless-tools package v28 statically. (Link: http://mitglied.lycos.de/reimerdaniel/wireless-tools.7z) simply copy the file "iwconfig! on the SD in the root dir.

Also included are Source+my Makefile and other WIFI/WLAN Tools.

Now we need a compiled driver for the WIFI/WLAN Stick. If someone has the ZyDas zd1211 chipset, you have luck. I already built this one. (Link: http://mitglied.lycos.de/reimerdaniel/zd1211.7z) the others have to find one for their WIFI/WLAN Stick.

Now we need a .gpe in the SD root, which loads the driver and which configures the WIFI/WLAN Stick:

modprobe - v zd1211.o
#Name of the driver can be different
ifconfig wlan0 UP
#Name of the WLAN Stick can be, depending upon driver, different too.
./iwconfig wlan0 ESSID TestNet
#The ESSID can be selected as you wish. (Should be identical to the PC Settings)
./iwconfig wlan0 mode Ad-Hoc
#Leave it on Ad Hoc on GP2X and PC
./iwconfig wlan0 rate auto
#Same here, don't change
./iwconfig wlan0 channel 1
#The Channel can be selected as you wish. (Should be identical to the PC Settings)
ifconfig wlan0 192.168.1.13 netmask 255.255.255.0
#IP should begin with 192.168.1 on the GP2X AND PC. Subnetmask should not be changed.
cd /usr/gp2x
./gp2xmenu
#Starts Menu again after activating WIFI/WLAN.


Now some settings in the System Menu of the GP2X. Start the GP2X with USB WIFI/WLAN Stick plugged in, otherwise it wont work and change these settings:

USB host = ON
NETWORK = ON
IP = the same as above in the .GPE

According to desire also turn on HTTP, ftp or SAMBA


P.S. The connection is not encrypted in the way explained. So far I also can provide information I was able to collect with my driver only. Thanks to all who helped me with that.

Have fun ;-)
 
Last edited by a moderator:
would the wifi adaptor just plug into the usb host port? would there be a possibility for a browser?
 
where can you get a USB wifi adapter that will connect into the mini usb port....
 
techFreak posted on Jul 26 2006 at 02:55 AM said:
I searched the forum and got a few broken links.
Emu&Co posted on Jul 26 2006 at 09:53 AM said:
;-) Now guess, what I wanted to post right now

techFreak: Did you search the Board?
See above, I had to fix those links, they had a ")" on the end and wouldn't download for him.

cwncool posted on Jul 26 2006 at 10:40 AM said:
would the wifi adaptor just plug into the usb host port? would there be a possibility for a browser?
Yes. Yes.

yaustar posted on Jul 26 2006 at 11:17 AM said:
Yes and there is already a browser (ableit in a desktop enverionment)
There are 3 or maybe 4 options already for a browser, Links, Dillo, and Opera I know of. Get Qtopia or GPE to use Dillo or Opera. I think Links runs standalone (not really sure).

cwncool posted on Jul 26 2006 at 12:55 PM said:
where can you get a USB wifi adapter that will connect into the mini usb port....
I don't think that exists silly ;) :p :).
 
Last edited by a moderator:
nubie posted on Jul 26 2006 at 01:24 PM said:
cwncool posted on Jul 26 2006 at 12:55 PM said:
where can you get a USB wifi adapter that will connect into the mini usb port....
I don't think that exists silly ;) :p :).
Are the only ways to use a USB wifi adaptor, either Carrying the BoB with you all the time or do mod the GP2X with the HackADay tutorial?
 
Last edited by a moderator:
cwncool posted on Jul 26 2006 at 02:28 PM said:
Are the only ways to use a USB wifi adaptor, either Carrying the BoB with you all the time or do mod the GP2X with the HackADay tutorial?
NO.

If done properly it would only be the size of the TV-Out cable, it would just have a USB on it instead of (or in addition to) TV-Out.

Edit: to clarify further, the USB HOST is on the EXT port on the bottom, you connect there.


I have made a USB cable, it is not at all dangerous to the GP2X to do so.

Plan on a battery to power the Wifi if you want any range, they draw a lot of current.

And the BoB is an abomination any engineer with the least pride would be ashamed of.
 
Last edited by a moderator:
I've bought Zonet USB Wifi card which uses ZD1211 chipset hoping to set it work with my GP2X. But the inteface wlan0 never appear with ifconfig. The modprobe commad run successfully but "ifconfig wlan0 up" does not work at all. Do you have any idea, what could be the problem?
 
Use this config. Call it load.gpe and add it to SD root: (Add iwlist and iwconfig to root, too.

modprobe -v zd1211.o
sleep 3
ifconfig wlan0 up
sleep 3
./iwconfig wlan0 ESSID TestNet mode Ad-Hoc rate auto channel 1
sleep 3
ifconfig wlan0 192.168.101.2 netmask 255.255.255.0
sleep 3
./iwconfig
sleep 3
ifconfig
sleep 3
ifconfig wlan0
sleep 3
./iwlist wlan0 scan
sleep 3
cd /usr/gp2x
./gp2xmenu

Call this one loadx.gpe and put it to root, too.
/mnt/sd/load.gpe 1>stdout.txt 2>stderr.txt
cd /usr/gp2x
exec /usr/gp2x/gp2xmenu

Now try again. If it still does not work, post the two txt files which are generated in root
 
It also might be worth checking dmesg, which returns recent kernel log messages.
example: dmesg > dmesg.txt
 
I've got a rt2570 usb wifi card, and i want to test it on my gp2X

i've compiled the module but when i insmod it i get the following kernel messages:
klogd: usb.c: registered new driver rt2500usb
klogd: Device Descriptor not matching

and i don't have any wlan interface, is there a mknod like command needed ?
i don't understand .. unless the kernel don't have native wireless driver ( did you recompile your kernel ?) or buggy driver for arm (i tested it and it works on my amd64 computer with the same usb wifi card)

Finaly when plugin the wifi card it doesn't seems to see it:

Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 1, portstatus 100, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 3, portstatus 100, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 101, change 1, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4 connection change
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 101, change 1, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 101, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 101, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 101, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 101, change 0, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: port 4, portstatus 103, change 10, 12 Mb/s
Jan 1 00:02:48 gp2x daemon.debug klogd: hub.c: new USB device ULL>-1.4, assigned address 7
Jan 1 00:02:49 gp2x daemon.debug klogd: usb.c: kmalloc IF c19b88a0, numif 1
Jan 1 00:02:49 gp2x daemon.debug klogd: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
Jan 1 00:02:49 gp2x daemon.debug klogd: usb.c: USB device number 7 default language ID 0x409
Jan 1 00:02:49 gp2x daemon.info klogd: Manufacturer: ANI
Jan 1 00:02:49 gp2x daemon.info klogd: Product: 802.11g WLAN Adapter
Jan 1 00:02:49 gp2x daemon.debug klogd: usb.c: unhandled interfaces on device
Jan 1 00:02:49 gp2x daemon.warn klogd: usb.c: USB device 7 (vend/prod 0x2001/0x3c00) is not claimed by any active driver.
Jan 1 00:02:49 gp2x daemon.warn klogd: Length = 18
Jan 1 00:02:49 gp2x daemon.warn klogd: DescriptorType = 01
Jan 1 00:02:49 gp2x daemon.warn klogd: USB version = 2.00
Jan 1 00:02:49 gp2x daemon.warn klogd: Vendor:product = 2001:3c00
Jan 1 00:02:49 gp2x daemon.warn klogd: MaxPacketSize0 = 64
Jan 1 00:02:49 gp2x daemon.warn klogd: NumConfigurations = 1
Jan 1 00:02:49 gp2x daemon.warn klogd: Device version = 0.01
Jan 1 00:02:49 gp2x daemon.warn klogd: Device Class:SubClass:protocol = 00:00:00
Jan 1 00:02:49 gp2x daemon.warn klogd: Per-interface classes
Jan 1 00:02:49 gp2x daemon.warn klogd: Configuration:
Jan 1 00:02:49 gp2x daemon.warn klogd: bLength = 9
Jan 1 00:02:49 gp2x daemon.warn klogd: bDescriptorType = 02
Jan 1 00:02:49 gp2x daemon.warn klogd: wTotalLength = 0020
Jan 1 00:02:49 gp2x daemon.warn klogd: bNumInterfaces = 01
Jan 1 00:02:49 gp2x daemon.warn klogd: bConfigurationValue = 01
Jan 1 00:02:49 gp2x daemon.warn klogd: iConfiguration = 00
Jan 1 00:02:49 gp2x daemon.warn klogd: bmAttributes = 80
Jan 1 00:02:49 gp2x daemon.warn klogd: MaxPower = 300mA
Jan 1 00:02:49 gp2x daemon.warn klogd:
Jan 1 00:02:49 gp2x daemon.warn klogd: Interface: 0
Jan 1 00:02:49 gp2x daemon.warn klogd: Alternate Setting: 0
Jan 1 00:02:49 gp2x daemon.warn klogd: bLength = 9
Jan 1 00:02:49 gp2x daemon.warn klogd: bDescriptorType = 04
Jan 1 00:02:49 gp2x daemon.warn klogd: bInterfaceNumber = 00
Jan 1 00:02:49 gp2x daemon.warn klogd: bAlternateSetting = 00
Jan 1 00:02:49 gp2x daemon.warn klogd: bNumEndpoints = 02
Jan 1 00:02:49 gp2x daemon.warn klogd: bInterface Class:SubClass:protocol = ff:ff:ff
Jan 1 00:02:49 gp2x daemon.warn klogd: iInterface = 00
Jan 1 00:02:49 gp2x daemon.warn klogd: Endpoint:
Jan 1 00:02:49 gp2x daemon.warn klogd: bLength = 7
Jan 1 00:02:49 gp2x daemon.warn klogd: bDescriptorType = 05
Jan 1 00:02:49 gp2x daemon.warn klogd: bEndpointAddress = 81 (in)
Jan 1 00:02:49 gp2x daemon.warn klogd: bmAttributes = 02 (Bulk)
Jan 1 00:02:49 gp2x daemon.warn klogd: wMaxPacketSize = 0040
Jan 1 00:02:49 gp2x daemon.warn klogd: bInterval = 00
Jan 1 00:02:49 gp2x daemon.warn klogd: Endpoint:
Jan 1 00:02:49 gp2x daemon.warn klogd: bLength = 7
Jan 1 00:02:49 gp2x daemon.warn klogd: bDescriptorType = 05
Jan 1 00:02:49 gp2x daemon.warn klogd: bEndpointAddress = 01 (out)
Jan 1 00:02:49 gp2x daemon.warn klogd: bmAttributes = 02 (Bulk)
Jan 1 00:02:49 gp2x daemon.warn klogd: wMaxPacketSize = 0040
Jan 1 00:02:49 gp2x daemon.warn klogd: bInterval = 00
Jan 1 00:02:49 gp2x daemon.debug klogd: usb.c: kusbd: /sbin/hotplug add 7
Jan 1 00:02:49 gp2x daemon.warn klogd: kusbd_policy: /sbin/hotplug add 7, ret=0x0
 
definetely you don't need to mknod anything
networks interfaces are not like these devices found in /dev/
if you search, you're not going to find something like /dev/eth0 or /dev/ppp0

and it's pretty sure that linux is not capable of finding the driver itself, so you should manually modprobe it

use modprobe instead of insmod it's easier and safer, but you need to move the module to it's subdirectory in /lib/modules and exec a depmod -a after

also perhaps you may need some aliases found on /etc/modules.conf, but I'm quite sure that this is not the case
 
Back
Top