› Foros › Nintendo 3DS › Scene
#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=ppp0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
i="0"
h="0"
p="0"
ssid="attwifi"
echo 'Empezando Homepass...'
for i in {0..34}
do
for h in {0..2}
do
# kill all existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $i in
0) k="40";;
1) k="41";;
2) k="42";;
3) k="43";;
4) k="44";;
5) k="45";;
6) k="46";;
7) k="47";;
8) k="48";;
9) k="49";;
10) k="4A";;
11) k="4B";;
12) k="4C";;
13) k="4D";;
14) k="4E";;
15) k="4F";;
16) k="50";;
17) k="51";;
18) k="52";;
19) k="53";;
20) k="54";;
21) k="55";;
22) k="56";;
23) k="57";;
24) k="58";;
25) k="59";;
26) k="5A";;
27) k="5B";;
28) k="5C";;
29) k="5D";;
30) k="5E";;
31) k="5F";;
32) k="60";;
33) k="99";;
*) k="00";;
esac
case $h in
0) f="4E";;
1) f="42";;
2) f="40";;
*) f=$f;;
esac
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $f:53:50:4F:4F:$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "wpa=0" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "MAC address $f:53:50:4F:4F:$k"
echo "SSID: ${ssid}"
echo "Country: ${country}"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 70
done
done
exit
Ninoh-FOX escribió:Ese es todo el Script? Normal, solo tiene 3 cambios de mac.
he hecho un script algo mas ligero para usarlo con los moden usb de internet movil, va bastante bien, solo que solo tiene un ssid ya que si reinicio la red se desenchufa el pincho, pero mientras escribia esto ya me ha salido mi primera luz verde
el Script para monden USB 3G:#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=ppp0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
i="0"
h="0"
p="0"
ssid="attwifi"
echo 'Empezando Homepass...'
for i in {0..34}
do
for h in {0..2}
do
# kill all existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $i in
0) k="40";;
1) k="41";;
2) k="42";;
3) k="43";;
4) k="44";;
5) k="45";;
6) k="46";;
7) k="47";;
8) k="48";;
9) k="49";;
10) k="4A";;
11) k="4B";;
12) k="4C";;
13) k="4D";;
14) k="4E";;
15) k="4F";;
16) k="50";;
17) k="51";;
18) k="52";;
19) k="53";;
20) k="54";;
21) k="55";;
22) k="56";;
23) k="57";;
24) k="58";;
25) k="59";;
26) k="5A";;
27) k="5B";;
28) k="5C";;
29) k="5D";;
30) k="5E";;
31) k="5F";;
32) k="60";;
33) k="99";;
*) k="00";;
esac
case $h in
0) f="4E";;
1) f="42";;
2) f="40";;
*) f=$f;;
esac
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $f:53:50:4F:4F:$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "wpa=0" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "MAC address $f:53:50:4F:4F:$k"
echo "SSID: ${ssid}"
echo "Country: ${country}"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 70
done
done
exit
magnikos escribió:Ninoh-FOX escribió:Ese es todo el Script? Normal, solo tiene 3 cambios de mac.
he hecho un script algo mas ligero para usarlo con los moden usb de internet movil, va bastante bien, solo que solo tiene un ssid ya que si reinicio la red se desenchufa el pincho, pero mientras escribia esto ya me ha salido mi primera luz verde
el Script para monden USB 3G:#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=ppp0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
i="0"
h="0"
p="0"
ssid="attwifi"
echo 'Empezando Homepass...'
for i in {0..34}
do
for h in {0..2}
do
# kill all existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $i in
0) k="40";;
1) k="41";;
2) k="42";;
3) k="43";;
4) k="44";;
5) k="45";;
6) k="46";;
7) k="47";;
8) k="48";;
9) k="49";;
10) k="4A";;
11) k="4B";;
12) k="4C";;
13) k="4D";;
14) k="4E";;
15) k="4F";;
16) k="50";;
17) k="51";;
18) k="52";;
19) k="53";;
20) k="54";;
21) k="55";;
22) k="56";;
23) k="57";;
24) k="58";;
25) k="59";;
26) k="5A";;
27) k="5B";;
28) k="5C";;
29) k="5D";;
30) k="5E";;
31) k="5F";;
32) k="60";;
33) k="99";;
*) k="00";;
esac
case $h in
0) f="4E";;
1) f="42";;
2) f="40";;
*) f=$f;;
esac
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $f:53:50:4F:4F:$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "wpa=0" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "MAC address $f:53:50:4F:4F:$k"
echo "SSID: ${ssid}"
echo "Country: ${country}"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 70
done
done
exit
y como lo modifico??
Ninoh-FOX escribió:magnikos escribió:Ninoh-FOX escribió:Ese es todo el Script? Normal, solo tiene 3 cambios de mac.
he hecho un script algo mas ligero para usarlo con los moden usb de internet movil, va bastante bien, solo que solo tiene un ssid ya que si reinicio la red se desenchufa el pincho, pero mientras escribia esto ya me ha salido mi primera luz verde
el Script para monden USB 3G:#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=ppp0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
i="0"
h="0"
p="0"
ssid="attwifi"
echo 'Empezando Homepass...'
for i in {0..34}
do
for h in {0..2}
do
# kill all existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $i in
0) k="40";;
1) k="41";;
2) k="42";;
3) k="43";;
4) k="44";;
5) k="45";;
6) k="46";;
7) k="47";;
8) k="48";;
9) k="49";;
10) k="4A";;
11) k="4B";;
12) k="4C";;
13) k="4D";;
14) k="4E";;
15) k="4F";;
16) k="50";;
17) k="51";;
18) k="52";;
19) k="53";;
20) k="54";;
21) k="55";;
22) k="56";;
23) k="57";;
24) k="58";;
25) k="59";;
26) k="5A";;
27) k="5B";;
28) k="5C";;
29) k="5D";;
30) k="5E";;
31) k="5F";;
32) k="60";;
33) k="99";;
*) k="00";;
esac
case $h in
0) f="4E";;
1) f="42";;
2) f="40";;
*) f=$f;;
esac
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $f:53:50:4F:4F:$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "wpa=0" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "MAC address $f:53:50:4F:4F:$k"
echo "SSID: ${ssid}"
echo "Country: ${country}"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 70
done
done
exit
y como lo modifico??
Lo que has puesto es todo el Script, no?
hmmmm no se si los comandos de linux funcionaran en un moden, pero siempre puedes ir copiando tantas lineas como quieras con diferentes MAC, aunque te quedar enorme.
nota: Madre mia con el moden USB, 7 tios de golpe y uno de ellos era Pukas!!!
PuKaS escribió:¿Puede alguien probar esta MAC?
4E:4E:4E:4F:4F:10
link82 escribió:PuKaS escribió:¿Puede alguien probar esta MAC?
4E:4E:4E:4F:4F:10
Estabas en ella y me dice que te gusta la fotografía, jajaja.
link82 escribió:Ya me he pasado un ratito por esa mac, así que debería estar mi mii en ella.
shin-gori escribió:existen como 3 cromos exclusivos de japon, uno de una aerolínea, otro de un big mac (no address) y otro mas que no me acuerdo, nosotros podremos tener esos cromos exclusivos?? porque me encontrado con japoneses que no los tienen, alguien los ha visto?
1ro Abrimos el terminal y escribimos lo siguiente:sudo apt-get update && sudo apt-get install rfkill dnsmasq hostapd
osudo aptitude update && sudo aptitude install rfkill dnsmasq hostapd
2do escribimos en el terminaliwconfig
y te saldra algo parecido a esto:ninoh-fox@averatec-1500-Series:~$ iwconfig
ppp0 no wireless extensions.
lo no wireless extensions.
wwan0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
eth0 no wireless extensions.
ninoh-fox@averatec-1500-Series:~$
es para saber cual es nuestro puerto wifi, el mio en este caso es wlan0.
3ro abrimos el terminal y creamos los archivos scripts con gedit:
primero este:gedit home_zone.sh
con el siguiente codigo:#!/bin/bash
# 13/08/2013
#This is dicamarques edition of the script with mac changed to the ones from the list here https://docs.google.com/spreadsheet/lv?key=0AvvH5W4E2lIwdEFCUkxrM085ZGp0UkZlenp6SkJablE and easier wlan config
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
[b]zone=wlan0[/b]
# * this is the network interface used to access the internet; can be almost anything
[b]world=eth0[/b]
# some local variables; using default values so that something is there
ssid="attwifi"
mac=4E:53:50:4F:4F:46
country=DE
name="Main MAC (All/Any)"
#
# local function that sets up the local variables;
# crude but better than having to change the script every time
# NOTE: this part should be heavily modified so that it doesn't
# depend on a static config. Maybe something with an external
# file or something, so you don't have to share your relay point
# with the entire world if you don't want to.
#
InitZone() {
# kill all existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
case $1 in
"stop")
# emergency exit - restore old network state
echo "Stopping Nintendo Zone hotspot"
/etc/init.d/network-manager restart # yeah... didn't find a better way to fix it...
exit
;;
"random") #thanks to duke_srg for this. Edit the title line with the games you have. The default has Mk7, Super Mario 3D world and AC:NL
#For more codes see https://docs.google.com/spreadsheet/ccc?key=0Ajsweg1Cjr5_dGhlaDNfd2Fid0ZpNTBYQ2pwVUlLT3c#gid=0 just add the ctr code here
#everytime you run random it picks a different mac, so once you get mk, then ac...
TITLES=AMKAREEGD
BASE=NSP
RANDOM=$(head -c 2 /dev/urandom | hexdump -e '1/2 "%u"')
CTR=$(($RANDOM%$(($(expr length $TITLES)/3))))
mac=$(echo $BASE$TITLES | cut -c 1-3,$(($CTR*3+4))-$(($CTR*3+6)) | hexdump -e '6/1 "%02X:"' | head -c 17)
ssid="attwifi"
country=DE
name="Random MAC from custom title list"
;;
"default")
# default settings, my old WiFi card that recently died
;;
"spoof1")
ssid="attwifi"
mac=4E:53:50:4F:4F:46
country=DE
name="Main MAC (All/Any)"
;;
"spoof2")
ssid="attwifi"
mac=4E:53:50:4F:4F:47
country=DE
name="2nd Global Spoof (AC:NL)"
;;
"spoof3")
ssid="attwifi"
mac=4E:53:50:4F:4F:48
country=DE
name="3nd Global Spoof (Fire Emblem / EO4 / SMT4)"
;;
"spoof4")
ssid="attwifi"
mac=4E:53:50:4F:4F:49
country=DE
name="4nd Global Spoof (...)"
;;
"spoof5")
ssid="attwifi"
mac=4E:53:50:4F:4F:50
country=DE
name="5nd Global Spoof (...)"
;;
"spoof6")
ssid="attwifi"
mac=4E:53:50:4F:4F:51
country=DE
name="6nd Global Spoof (...)"
;;
"milan")
ssid="attwifi"
mac=d8:6c:e9:f3:eb:96
country=DE
name="DONT UsE THis ONE!"
;;
esac
}
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
InitZone $1
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $mac
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "wpa=0" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/ms/hostapd/hostapd_mac_file" >> $tmpfile
echo "Starting Nintendo Zone hotspot, using config ''${name}''"
echo "SSID: ${ssid}"
echo "Country: ${country}"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
nota: en este archivo tanto en el siguiente el valor zone= se refiere al moden o antena wifi que usaremos para crear la zona nintendo el cual deberiamos haber identificado con el comando de antes, el valos world= se refiere al puerto de intrada de internet del ordenador.
y luego este:
version con varios ssid para los que tengan el internet por cable:gedit wifi_zoneMULTI.sh
codigo:#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=eth0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
n="0"
i="0"
p="0"
b="0"
a="0"
echo 'Empezando Homepass...'
sudo killall hostapd
sudo service hostapd start
for p in {0..1}
do
for b in {0..6}
do
for a in {0..15}
do
for n in {1}
do
# kill all existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $n in
1) d=$[$d+1];;
*) d=$[$d+1];;
esac
case $a in
10) k="A";;
11) k="B";;
12) k="C";;
13) k="D";;
14) k="E";;
15) k="F";;
*) k=$a;;
esac
case $b in
0) l="4";;
1) l="5";;
2) l="6";;
3) l="7";;
4) l="8";;
5) l="9";;
6) l="0";;
*) l=$b;;
esac
case $p in
0) ssid="attwifi"; zona="USA"; text="= | SSID: attwifi | =";;
1) ssid="_The Cloud"; zona="EUR"; text="= | SSID: _The Cloud | =";;
*) ssid=$ssid;;
esac
sudo service hostapd stop
sudo service hostapd start
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether 4E:53:50:4F:4F:$l$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "hw_mode=g" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "macaddr_acl=0" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "================================================="
echo "= _ _ _ _ _ ="
echo "= | \ | (_)_ __ | |_ ___ _ __ __| | ___ ="
echo "= | \| | | '_ \| __/ _ \ '_ \ / _' |/ _ \ ="
echo "= | |\ | | | | | || __/ | | | (_| | (_) | ="
echo "= |_| \_|_|_| |_|\__\___|_| |_|\__,_|\___/ ="
echo "= _______ _ __ ___ ="
echo "= |_ / _ \| '_ \ / _ \ ="
echo "= / / (_) | | | | __/ ="
echo "= /___\___/|_| |_|\___| ="
echo "= --------------------------------- ="
echo "= | MAC address 4E:53:50:4F:4F:${l}${k} | ="
echo "${text}"
echo "= | Country: ${country} | ="
echo "= | Zona: ${zona} | ="
echo "= --------------------------------- ="
echo "= _____ ___ _ _ ="
echo "= | ____/ _ \| | _ __ ___| |_ ="
echo "= | _|| | | | | | '_ \ / _ \ __| ="
echo "= | |__| |_| | |___ | | | | __/ |_ ="
echo "= |_____\___/|_____| |_| |_|\___|\__| ="
echo "= original script gbatemp.net ="
echo "= edit: Ninoh-FOX ="
echo "==========================================224/$d"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 120
done
done
done
echo "Reiniciando Nintendo Zone hotspot"
sudo service hostapd restart
done
done
sudo killall hostapd
exit
version con un solo servidor para los que tengan internet por cable:gedit wifi_zone.sh
codigo:#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=eth0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
n="0"
d="0"
i="0"
h="0"
b="0"
a="0"
ssid="attwifi"
echo 'Empezando Homepass...'
sudo killall hostapd
sudo service hostapd start
for h in {0..3}
do
for b in {0..3}
do
for a in {0..15}
do
for n in {1}
do
# kill all
# existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $n in
1) d=$[$d+1];;
*) d=$[$d+1];;
esac
case $h in
0) f="4E:53:50";;
1) f="42:53:50";;
2) f="40:53:50";;
3) f="4E:4E:4E";;
*) f=$f;;
esac
case $a in
10) k="A";;
11) k="B";;
12) k="C";;
13) k="D";;
14) k="E";;
15) k="F";;
*) k=$a;;
esac
case $b in
0) l="4";;
1) l="5";;
2) l="9";;
3) l="0";;
*) l=$b;;
esac
sudo service hostapd stop
sudo service hostapd start
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $f:4F:4F:$l$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "hw_mode=g" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "macaddr_acl=0" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "================================================="
echo "= _ _ _ _ _ ="
echo "= | \ | (_)_ __ | |_ ___ _ __ __| | ___ ="
echo "= | \| | | '_ \| __/ _ \ '_ \ / _' |/ _ \ ="
echo "= | |\ | | | | | || __/ | | | (_| | (_) | ="
echo "= |_| \_|_|_| |_|\__\___|_| |_|\__,_|\___/ ="
echo "= _______ _ __ ___ ="
echo "= |_ / _ \| '_ \ / _ \ ="
echo "= / / (_) | | | | __/ ="
echo "= /___\___/|_| |_|\___| ="
echo "= --------------------------------- ="
echo "= | MAC address ${f}:4F:4F:${l}${k} | ="
echo "= | SSID: ${ssid} | ="
echo "= | Country: ${country} | ="
echo "= --------------------------------- ="
echo "= _____ ___ _ _ ="
echo "= | ____/ _ \| | _ __ ___| |_ ="
echo "= | _|| | | | | | '_ \ / _ \ __| ="
echo "= | |__| |_| | |___ | | | | __/ |_ ="
echo "= |_____\___/|_____| |_| |_|\___|\__| ="
echo "= original script gbatemp.net ="
echo "= edit: Ninoh-FOX ="
echo "==========================================256/$d"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 90
done
done
done
done
echo "Apagando Nintendo Zone hotspot"
sudo killall hostapd
exit
y version para los que tengan un moden usb de internet movil:gedit wifi_zoneUSB.sh
codigo:#!/bin/bash
#!/bin/bash
#
# wifi_zone_new
# A script that emulates a Nintendo Zone in a way that you can actually connect to
# other people all over the world.
#
# Initial version written by Somebunny (9. August 2013).
#
#
# documentation (sort of)
#
# You will need the following packages/programs:
# - rfkill
# - dnsmasq (will be killed if already running)
# - hostapd (will be killed if already running)
# You should not need any additional configuration work.
#
# This script MUST be run as root, or using sudo, reconfiguring network
# interfaces does not seem to work when run by non-root.
#
# Please adapt the following sections to your own computer:
# - variables "zone" and "world", found below
# - you can add hotsopts in "InitZone()", just copy what is there
#
# Usage: call the script with one extra parameter that describes the
# MAC address to use. I have prepared some options that work from
# the thread in the gbatemp forums.
#
# Shutdown: call the script with the parameter "stop".
#
#
# A first attempt to organise everything in a somewhat smarter way.
#
# First, some obligatory checks.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
echo "I don't like this either, but some calls here are really picky!"
exit 1
fi
# some global settings; you should only need to adapt them for your system once
# * this is the network interface used for your custom AP; must be wireless
zone=wlan0
# * this is the network interface used to access the internet; can be almost anything
world=ppp0
# some local variables; using default values so that something is there
country=ES
name="Main MAC (All/Any)"
n="0"
d="0"
i="0"
h="0"
b="0"
a="0"
ssid="attwifi"
echo 'Empezando Homepass...'
sudo killall hostapd
sudo service hostapd start
for h in {0..3}
do
for b in {0..3}
do
for a in {0..15}
do
for n in {1}
do
# kill all
# existing support tools
killall dnsmasq 2> /dev/null
killall hostapd 2> /dev/null
# flush routing entries
iptables --flush
# deconfigure network interface
/sbin/ifconfig $zone down
# networkmanager often leaves a lock on the wireless hardware, remove it
rfkill unblock wifi
# set up parameters
#InitZone $1
case $n in
1) d=$[$d+1];;
*) d=$[$d+1];;
esac
case $h in
0) f="4E:53:50";;
1) f="42:53:50";;
2) f="40:53:50";;
3) f="4E:4E:4E";;
*) f=$f;;
esac
case $a in
10) k="A";;
11) k="B";;
12) k="C";;
13) k="D";;
14) k="E";;
15) k="F";;
*) k=$a;;
esac
case $b in
0) l="4";;
1) l="5";;
2) l="9";;
3) l="0";;
*) l=$b;;
esac
sudo service hostapd stop
sudo service hostapd start
# give our wifi device a static IP address in the correct range so hostapd can associate with it
/sbin/ifconfig $zone hw ether $f:4F:4F:$l$k
/sbin/ifconfig $zone 192.168.23.1 up
# start dnsmasq
dnsmasq -i $zone --dhcp-range=192.168.23.50,192.168.23.150,255.255.255.0,12h
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# set basic routes so that our associated devices can reach the web
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface $world -j MASQUERADE
iptables --append FORWARD --in-interface $zone -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
# start hostapd, spawn a temporary file
TMPDIR=`mktemp -d`
tmpfile=$TMPDIR/nztmp
echo $tmpfile
trap "rm -rf $TMPDIR" EXIT
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "hw_mode=g" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "macaddr_acl=0" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
# uncomment the following two lines if you want MAC filtering
#echo "macaddr_acl=1" >> $tmpfile
#echo "accept_mac_file=/home/`whoami`/hostapd/hostapd_mac_file" >> $tmpfile
echo "================================================="
echo "= _ _ _ _ _ ="
echo "= | \ | (_)_ __ | |_ ___ _ __ __| | ___ ="
echo "= | \| | | '_ \| __/ _ \ '_ \ / _' |/ _ \ ="
echo "= | |\ | | | | | || __/ | | | (_| | (_) | ="
echo "= |_| \_|_|_| |_|\__\___|_| |_|\__,_|\___/ ="
echo "= _______ _ __ ___ ="
echo "= |_ / _ \| '_ \ / _ \ ="
echo "= / / (_) | | | | __/ ="
echo "= /___\___/|_| |_|\___| ="
echo "= --------------------------------- ="
echo "= | MAC address ${f}:4F:4F:${l}${k} | ="
echo "= | SSID: ${ssid} | ="
echo "= | Country: ${country} | ="
echo "= --------------------------------- ="
echo "= _____ ___ _ _ ="
echo "= | ____/ _ \| | _ __ ___| |_ ="
echo "= | _|| | | | | | '_ \ / _ \ __| ="
echo "= | |__| |_| | |___ | | | | __/ |_ ="
echo "= |_____\___/|_____| |_| |_|\___|\__| ="
echo "= original script gbatemp.net ="
echo "= edit: Ninoh-FOX ="
echo "==========================================256/$d"
hostapd $tmpfile -B -d > /dev/null 2> /dev/null
rm -rf $TMPDIR
sleep 90
done
done
done
done
echo "Apagando Nintendo Zone hotspot"
sudo killall hostapd
exit
en el archivo que creeis buscais la siguiente linea:echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
y sustituis TU CLAVE WIFI por la clave que querais.
4to una vez editatos todos los archivos le damos permiso de ejecucion en el terminal de la siguiente forma:sudo chmod +x ./nombre del archivo.sh
5to editamos el siguiente archivo de esta forma:sudo gedit /etc/dnsmasq.conf
y escribimos arriba del todo:# Configuration file for dnsmasq.
# disables dnsmasq reading any other files like /etc/resolv.conf for nameservers
no-resolv
# Interface to bind to
interface=wlan0
# Specify starting_range,end_range,lease_time
dhcp-range=10.0.0.3,10.0.0.20,12h
# dns addresses to send to the clients
server=8.8.8.8
server=8.8.4.4
y lo salvamos.
6to configurar la consola:
todas las redes tienen clave wap2, por lo que la consola no las pillara, para ello entra en la configuracion del sistema y busca las redes con la clave que tu le hayas puesto (recuerda busca TU CLAVE WIFI en los scripts para poner la que tu quieras)
para el de varios SSID son 3 redes y para los demas una.
Una vez metidas en la lista de redes no deberiais tener problemas para entrar en ellas.
7to arrancar el programa:
escribimos en el terminal:osudo ./wifi_zone.sh
osudo ./wifi_zoneUSB.sh
para ejecutar el que queramos.sudo ./wifi_zoneMULTI.sh
listo, zona wifi funcionando.
8to para parar el proceso cerramos el terminal, abrimos uno nuevo y escribimos lo siguiente:sudo ./home_zone stop
Dongoros escribió:Se ve que la gente no sabe usar spoilers...
Ninoh-FOX escribió:Dongoros escribió:Se ve que la gente no sabe usar spoilers...
Ya esta hombre, ya esta... y aun asi ha quedado grande...
carrodeguas escribió:Ninoh-FOX escribió:Dongoros escribió:Se ve que la gente no sabe usar spoilers...
Ya esta hombre, ya esta... y aun asi ha quedado grande...
Está genial para aquellos que pedían una y otra vez un tutorial paso a paso. Te ha quedado muy bien y muy currado.
Coolfogo escribió:Hola.
Estoy intentando hacer funcionar los scrips y no hay manera. lo único que consigo es quedarme sin conexión.
Se me instalan los paquetes sin problemas y el scrip parece que va. pero no me aparece ninguna wifi nueva en la red y me deja el equipo sin conexion.
Lo estoy haciendo desde la eth0 a la wlan0 como esta en el scrip.
Un saludo
sudo apt-get update && sudo apt-get install rfkill dnsmasq hostapd
lo no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
net.ipv4.ip_forward = 1
/tmp/tmp.vMBPUeCfg3/nztmp
MAC address 40:53:50:4F:4F:40
SSID: attwifi
Country: ES
net.ipv4.ip_forward = 1
/tmp/tmp.kKOT33spKv/nztmp
MAC address 4E:53:50:4F:4F:41
SSID: attwifi
Country: ES
net.ipv4.ip_forward = 1
/tmp/tmp.Q0O1wmv5dk/nztmp
MAC address 42:53:50:4F:4F:41
SSID: attwifi
Country: ES
Ninoh-FOX escribió:
¿Os habeis dado cuenta de lo super jugones que son los japoneses? La mayoria que me encuentro tienen todos los juegos de la plaza y casi todos los cromos (encontre uno que los tenia todos)
Seguro que en japon los juegos estan tirados de precio y los programas de 3ds son gratis, porque si no no me lo explico
Coolfogo escribió:Tengo ubuntu instalado la version 12.04 LTS.
Instale todos los paquetes consudo apt-get update && sudo apt-get install rfkill dnsmasq hostapd
Me dio problemas al principio porque me decia que el puerto 53 estaba en uso. Desinstale y volvi a instalar y no me dio problemas.
Tengo el portatil conectado al router con cable y la wifi sin usarse.
Esto me da el iwconfig:lo no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
y luego uso el scrip wifi_zoneMULTI.sh donde cambié la clave wifi y al ejecutarlo se me queda aqui:net.ipv4.ip_forward = 1
/tmp/tmp.vMBPUeCfg3/nztmp
MAC address 40:53:50:4F:4F:40
SSID: attwifi
Country: ES
net.ipv4.ip_forward = 1
/tmp/tmp.kKOT33spKv/nztmp
MAC address 4E:53:50:4F:4F:41
SSID: attwifi
Country: ES
net.ipv4.ip_forward = 1
/tmp/tmp.Q0O1wmv5dk/nztmp
MAC address 42:53:50:4F:4F:41
SSID: attwifi
Country: ES
repitiendose a cada rato. escaneo wifi con un movil y no me aparece nada.
Que puedo estar haciendo mal?
Gracias
Empezando Homepass...
net.ipv4.ip_forward = 1
/tmp/tmp.v8rR25OQa4/nztmp
=================================================
= =
= =
= =
= Nintendo ZONE!!! =
= =
= EOL!! =
= =
= --------------------------------- =
= - MAC address 4E:4E:50:4F:4F:10 - =
= - SSID: attwifi - =
= - Country: ES - =
= --------------------------------- =
= =
= =
= =
= =
= =
= =
= =
= original script gbatemp.net =
= edit: Ninoh-FOX =
= 420/1 =
carrodeguas escribió:Ninoh-FOX escribió:
¿Os habeis dado cuenta de lo super jugones que son los japoneses? La mayoria que me encuentro tienen todos los juegos de la plaza y casi todos los cromos (encontre uno que los tenia todos)
Seguro que en japon los juegos estan tirados de precio y los programas de 3ds son gratis, porque si no no me lo explico
Lo de los cromos no lo veo difícil. Yo los tengo todos desde hace más o menos una semana; eso si le dediqué mucho, mucho pero mucho tiempo a poner manualmente cada MAC y sólo iba a por los cromos para no perder mucho tiempo en los demás juegos. Lo que ya veo titánico son ejércitos que veo de 9.999.999 soldados japoneses y no son precisamente dos o tres que tengan ese número...
Lord_Gouki escribió:carrodeguas escribió:Ninoh-FOX escribió:
¿Os habeis dado cuenta de lo super jugones que son los japoneses? La mayoria que me encuentro tienen todos los juegos de la plaza y casi todos los cromos (encontre uno que los tenia todos)
Seguro que en japon los juegos estan tirados de precio y los programas de 3ds son gratis, porque si no no me lo explico
Lo de los cromos no lo veo difícil. Yo los tengo todos desde hace más o menos una semana; eso si le dediqué mucho, mucho pero mucho tiempo a poner manualmente cada MAC y sólo iba a por los cromos para no perder mucho tiempo en los demás juegos. Lo que ya veo titánico son ejércitos que veo de 9.999.999 soldados japoneses y no son precisamente dos o tres que tengan ese número...
Yo ya llevo casi 3 millones de soldados, retando a otros monarcas se sube rapido.
Ninoh-FOX escribió:EDIT: Mirad, me he encontrado con uno que se parece al de cazadores de mitos
JenXon escribió:Ayer estuve por un hotspots por Huelva, concretamente en el de Renfe, y si que funciona
Coolfogo escribió:Hola.
Estoy intentando hacer funcionar los scrips y no hay manera. lo único que consigo es quedarme sin conexión.
Se me instalan los paquetes sin problemas y el scrip parece que va. pero no me aparece ninguna wifi nueva en la red y me deja el equipo sin conexion.
Lo estoy haciendo desde la eth0 a la wlan0 como esta en el scrip.
Un saludo
mon.wlan0 Link encap:UNSPEC direcciónHW 00-19-DB-0F-91-94-30-30-00-00-00-00-00-00-00-00
ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST MTU:1500 Métrica:1
Paquetes RX:50 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:0 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:1000
Bytes RX:6160 (6.1 KB) TX bytes:0 (0.0 B)
echo "interface=${zone}" >> $tmpfile
echo "driver=nl80211" >> $tmpfile
echo "ssid=${ssid}" >> $tmpfile
echo "country_code=${country}" >> $tmpfile
echo "hw_mode=g" >> $tmpfile
echo "channel=1" >> $tmpfile
echo "macaddr_acl=0" >> $tmpfile
echo "auth_algs=1" >> $tmpfile
echo "ignore_broadcast_ssid=0" >> $tmpfile
echo "wpa=3" >> $tmpfile
echo "wpa_passphrase=TU CLAVE WIFI" >> $tmpfile
echo "wpa_key_mgmt=WPA-PSK" >> $tmpfile
echo "wpa_pairwise=TKIP" >> $tmpfile
echo "rsn_pairwise=CCMP" >> $tmpfile
Ninoh-FOX escribió:JenXon escribió:Ayer estuve por un hotspots por Huelva, concretamente en el de Renfe, y si que funciona
A mi en google me salia que estaba en la oficinas de correos, pero bueno, no estan muy lejos de renfe, un fallo permisible, la verdad es que siempre llevo la consola encima pero nunca me ha dado por ir hasta allí porque no suelo moverme por esa zona de Huelva.
GeorgeLXX escribió:Hola, yo estoy usando un Note 2 rooteado y el wifi tether y por fin ayer pude entrar en nintendo zone, pero no me salta el street pass, he probado con la consola abierta y cerrada, he usado la Mac standar 4E:50:53:4F:4F:46 y algunas más, he puesto como red (_The Cloud), alguien me puede ayudar?
Lina escribió:una pregunta haciendo esto también se te puede actualizar la consola ??
GeorgeLXX escribió:Hola, yo estoy usando un Note 2 rooteado y el wifi tether y por fin ayer pude entrar en nintendo zone, pero no me salta el street pass, he probado con la consola abierta y cerrada, he usado la Mac standar 4E:50:53:4F:4F:46 y algunas más, he puesto como red (_The Cloud), alguien me puede ayudar?
Elnef escribió:La verdad es que no he visto a nadie usar las 4E:4E que comentas.
Sólo las 4E:53:50:4F:4F:XX, 42:53:50:4F:4F:XX, 40:53:50:4F:4F:XX variando las XX entre 00 y FF
Así tienes 256 para cada una que ya creo que con 768 variantes tienes más que suficiente.
Insert script in Administration - Commands:
Code:
wget -O /tmp/nzone.sh http://duke-srg.dyndns.org/3ds/nzone/nzone.sh; chmod +x /tmp/nzone.sh; /tmp/nzone.sh
and push hit Apply Settings. This script will install the MAC changing script to your router, set up cron to run the script and reboot router to apply changes. After reboot you can change the MAC lists to get and time period to run the MAC change, just go to Administration - Management - Cron and edit the line. You can change the second asterisk with the working hours of the script, e.x. "* 1-7 * * *..." will run MAC change from 1:00 to 07:59 (am). Do not change the first asterisk, this script designed to run every minute and calculate if it is time to change MAC based on the MAC quantity and cooldown time. The script parameter (by default 49,BASE16,GBATEMP) is a comma-separated address-list identifiers. This script will connect to my server and get your selected lists. For now only these lists are available:
BASE1 - the common prime "@SPOOF" address
BASE16 - the common prime 16 addresses range
BASE256 - the prime 256 addresses range
1 to 3 digit number - the Country Code for Nintendo Zone official hot spot MACS. For now only "49" for USA is available.
3 character game CTR code - to have a desired game title streetpass data. See example below or use my compilation of StreetPass CTR codes. Use only CTR codes for the games you have enabled streetpass!
GBATEMP - custom addresses from GBATEMP users static MAC adresses.
This script will cycle randomly through all MACs in list, one time per each MAC, and try to update list from the server.