#!/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
#!/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:adhocCode:#!/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
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:for me it works with caanoo wifi stick
BAFelton said:What's your firmware ? You have better compatibility with 1.6 and 1.6.1 .
Rikku2000 said:for me it works with caanoo wifi stick