Activating Wireless Under Gmenu2X


PIEMMEWEB

Still Fresh
Joined
Aug 18, 2011
Messages
8
Hello,
is there a simple app or trick to activate wireless connection under Gmenu2x?
I'm using menu with hacked autorun.gpu and console settings doesn't works, then I cannot activate wireless connection.
Can you help me? thanks ;)
 
I tried the following script:

#! / Bin / sh
insmod / lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
ifconfig ra0 inet 192.168.1.20 up
route add default gw 192.168.1.1
/ Lib/modules/2.6.24/kernel/net/wireless/tools/iwconfig ra0 mode managed
/ Lib/modules/2.6.24/kernel/net/wireless/tools/iwconfig ra0 essid "MYSSID"
/ Lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set AuthMode = WPAPSK
/ Lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set EncrypType = TKIP
/ Lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set WPAPSK = "MYPASSWORD"
echo "nameserver 192.168.1.1"> / etc / resolv.conf
cd / usr/gp2x /
exec / usr/gp2x/gp2xmenu


but it doesn't works, the wifi dongle doesn't blink and the caanoo freeze.
What's the matter?
 
infrastruktur:
Code:
#!/bin/sh
# af_packet setting
insmod /lib/modules/2.6.24/kernel/net/packet/af_packet.ko
sleep 1
# usb-host module setting
insmod /lib/modules/2.6.24/kernel/drivers/usb/core/usbcore.ko
insmod /lib/modules/2.6.24/kernel/drivers/usb/host/hcd9032.ko
sleep 1
# wifi module setting
insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
sleep 1
# ip & Ad-hoc setting
ifconfig ra0 up
sleep 1
#/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set NetworkType=Adhoc
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set AuthMode=WPAPSK
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set EncrypType=TKIP
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set SSID="Virgin"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set WPAPSK=Gre4tw00d
sleep 1
ifconfig ra0 192.168.0.77 netmask 255.255.255.0 up
#udhcpc start
#udhcpc -i ra0 
#sleep 1
adhoc
Code:
#!/bin/sh
# module clear
# af_packet setting
insmod /lib/modules/2.6.24/kernel/net/packet/af_packet.ko
insmod /lib/modules/2.6.24/kernel/net/ipv4/netfilter/ip_tables.ko
sleep 1
# usb setting
insmod /lib/modules/2.6.24/kernel/drivers/usb/core/usbcore.ko
sleep 1
insmod /lib/modules/2.6.24/kernel/drivers/usb/host/hcd9032.ko
sleep 1
# wireless setting
insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
sleep 2
ifconfig ra0 up
sleep 2
# ad-hoc & ip setting
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set NetworkType=Adhoc
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set AuthMode=OPEN
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set EncrypType=NONE
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set SSID="gph-adhoc"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set WirelessMode=4 #54Mbps 
sleep 1
ifconfig ra0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 up
#udhcpd start
#udhcpd -f
 
Rikku2000 said:
infrastruktur:
Code:
#!/bin/sh
# af_packet setting
insmod /lib/modules/2.6.24/kernel/net/packet/af_packet.ko
sleep 1
# usb-host module setting
insmod /lib/modules/2.6.24/kernel/drivers/usb/core/usbcore.ko
insmod /lib/modules/2.6.24/kernel/drivers/usb/host/hcd9032.ko
sleep 1
# wifi module setting
insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
sleep 1
# ip & Ad-hoc setting
ifconfig ra0 up
sleep 1
#/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set NetworkType=Adhoc
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set AuthMode=WPAPSK
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set EncrypType=TKIP
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set SSID="Virgin"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set WPAPSK=Gre4tw00d
sleep 1
ifconfig ra0 192.168.0.77 netmask 255.255.255.0 up
#udhcpc start
#udhcpc -i ra0 
#sleep 1
adhoc
Code:
#!/bin/sh
# module clear
# af_packet setting
insmod /lib/modules/2.6.24/kernel/net/packet/af_packet.ko
insmod /lib/modules/2.6.24/kernel/net/ipv4/netfilter/ip_tables.ko
sleep 1
# usb setting
insmod /lib/modules/2.6.24/kernel/drivers/usb/core/usbcore.ko
sleep 1
insmod /lib/modules/2.6.24/kernel/drivers/usb/host/hcd9032.ko
sleep 1
# wireless setting
insmod /lib/modules/2.6.24/kernel/net/wireless/rt3070sta.ko
sleep 2
ifconfig ra0 up
sleep 2
# ad-hoc & ip setting
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set NetworkType=Adhoc
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set AuthMode=OPEN
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set EncrypType=NONE
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set SSID="gph-adhoc"
/lib/modules/2.6.24/kernel/net/wireless/tools/iwpriv ra0 set WirelessMode=4 #54Mbps 
sleep 1
ifconfig ra0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 up
#udhcpd start
#udhcpd -f

Doesn't works :(

I copied all in a .gpe file using Notepad++ , that's right?
I'm using Atlantis A02-UP1-WN wifi dongle that works with wifi config in the gph-menu
Any suggests?
 
Last edited by a moderator:
Rikku2000 said:
for me it works with caanoo wifi stick

The stick that I'm using is Realtek RTL8188SU chipset, need I to use alternative driver?
 
Last edited by a moderator:
BAFelton said:
What's your firmware ? You have better compatibility with 1.6 and 1.6.1 .

My firmware is 1.6.0

I don't know if need to write it inside .gpe or .ini file. What's the best way?
 
Last edited by a moderator:
Back
Top