Tutorial [HOW-TO] Have a homemade Streetpass Relay

What method you are using?

  • Linux

    Votes: 93 7.9%
  • Android

    Votes: 133 11.4%
  • Router

    Votes: 226 19.3%
  • Windows

    Votes: 426 36.4%
  • A pony with a wifi antenna O.o?

    Votes: 292 25.0%

  • Total voters
    1,170
Status
Not open for further replies.

keyra

Spoderman self proclamed fan
Member
Joined
Dec 23, 2008
Messages
820
Trophies
0
XP
635
Country
France
yup same version for my tplink

Modèle du Routeur
TP-Link TL-WR841ND v8
Version du Micrologiciel
DD-WRT v24-sp2 (07/24/13) std - build 22118
 

Rahzadan

Active Member
Newcomer
Joined
May 28, 2007
Messages
44
Trophies
0
Age
40
XP
356
Country
Canada

Lyomak

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
436
Trophies
1
Age
39
Location
Bogotá
Website
twitch.tv
XP
389
Country
Colombia
anyone have any tips on getting ssh to work correctly on dd-wrt? everything else works fine just tired of using putty

additional info:


Router Model
TP-Link TL-WR741ND v1

Firmware Version
DD-WRT v24-sp2 (03/25/13) std - build 21061

Kernel Version
Linux 3.5.7 #6148 Mon Mar 25 08:58:25 CET 2013 mips


Did you read this? http://www.dd-wrt.com/wiki/index.php/SSH

And what's the configuration of your router? I have the same one but v2.4 and when I flash it with dd-wrt I get Limited connection and I can't enter to the web GUI, even using ethernet cable. When three or more devices connects to the network and I don't know how to configure it properly, I tried using the builds 22118, 21061 and 15778.

Check this out if you know something http://www.dd-wrt.com/phpBB2/viewtopic.php?p=770861#770861
 

retrogradesnowcone

Member
Newcomer
Joined
Aug 12, 2013
Messages
22
Trophies
0
Age
99
XP
42
Country
United States
worked fine after upgrading to the new firmware, thanks all

valkart my setup is as follows

modem/router combo box from isp (192.168.1.254) --> dd-wrt router (192.168.1.253)

make sure any computers connecting via ethernet are in the dd-wrt router not the combo box. make sure to disable dhcp on the dd-wrt BUT configure the default gateway & dns settings on the main config page (both should be the ip of the combo box)
 

BerserkLeon

Not-so-new member
Member
Joined
Mar 22, 2010
Messages
460
Trophies
1
Age
34
Location
Pennsylvania
XP
538
Country
United States
Yes, that is the latest build, but it's not in the router database because it's not deemed to be stable enough. Builds make it into the router database when they are determined to be stable enough.

that's funny, 13604 was in the database for my router for the longest time.
Ed: actually it still is! 13604 is widely regarded as one of the worst builds for broadcom chipsets, yet there it is in the db for my WNDR3300. I ran it for over a year, recently upgraded and I've seen how much it sucked.
I'm never using the db again :\
 

Lyomak

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
436
Trophies
1
Age
39
Location
Bogotá
Website
twitch.tv
XP
389
Country
Colombia
worked fine after upgrading to the new firmware, thanks all

valkart my setup is as follows

modem/router combo box from isp (192.168.1.254) --> dd-wrt router (192.168.1.253)

make sure any computers connecting via ethernet are in the dd-wrt router not the combo box. make sure to disable dhcp on the dd-wrt BUT configure the default gateway & dns settings on the main config page (both should be the ip of the combo box)


My ISP modem have 192.168.1.254 as IP and I access the internet by using PPPoE: username and password of my ISP. Do you mean that I have to use 192.168.1.254 as gateway and dns on dd-wrt config? And the login on the modem, should I configure it on the modem? or let the router do the login? And by last: which build should I use? Thank you.
 

JODIsBack

Member
Newcomer
Joined
Sep 17, 2009
Messages
18
Trophies
0
XP
119
Country
United States
I don't know if I've mentioned this already but I've followed Android Guide 1, and when I pick "Auto" for Device it doesn't show the Wi-Fi driver reload options but when I pick Generic ICS/JB (wlan0) it does.

Also I looked for that mac.info file as well as nvmac.info. Neither of them exist, even when looking in ES File Explorer with the hidden files option checked. It's pissing me off because I can't seem to find ANYONE ELSE who doesn't have that file.

I am on kernel version 2.6.35.7, maybe that might have something to do with it?

I guess no one knows...
 

syrusdark

Active Member
Newcomer
Joined
Nov 10, 2011
Messages
26
Trophies
0
Age
35
Location
Rio de Janeiro
XP
167
Country
Brazil
I don't know if I've mentioned this already but I've followed Android Guide 1, and when I pick "Auto" for Device it doesn't show the Wi-Fi driver reload options but when I pick Generic ICS/JB (wlan0) it does.

Also I looked for that mac.info file as well as nvmac.info. Neither of them exist, even when looking in ES File Explorer with the hidden files option checked. It's pissing me off because I can't seem to find ANYONE ELSE who doesn't have that file.

I am on kernel version 2.6.35.7, maybe that might have something to do with it?

It's probably a difference in your device, not all of them work the same way. On my Galaxy Note, I also didn't have the .info files, and couldn't get either of the methods listed in the OP to work at all, and even fiddling with the settings of the Tethering app had no positive results.

After a lot of searching around for ways to change the MAC, I found out that using a terminal emulator with BusyBox was the only thing that worked, and even then it was a chore. Then someone linked me to this thread, and the app this guy made works wonders for me, using the BusyBox method.
 

keyra

Spoderman self proclamed fan
Member
Joined
Dec 23, 2008
Messages
820
Trophies
0
XP
635
Country
France
My ISP modem have 192.168.1.254 as IP and I access the internet by using PPPoE: username and password of my ISP. Do you mean that I have to use 192.168.1.254 as gateway and dns on dd-wrt config? And the login on the modem, should I configure it on the modem? or let the router do the login? And by last: which build should I use? Thank you.

i'm behind another box
it should be like this

your modem/router 192.168.1.254 > ddwrt 192.168.1.x, no wan, no dhcp server, dns / gateway 192.168.1.254

 

Jimbolicious

Well-Known Member
Member
Joined
Aug 8, 2013
Messages
114
Trophies
0
Age
42
XP
129
Country
United States
Thank you for your suggestions Jimbolicious. I used the link you gave me to upgrade the firmware but unfortunately after I installed it using the update button on the repeater's settings. It said the install was complete. I waited for it to restart for a few minutes and it never did. It now isn't broadcasting a signal and won't let me connect to it with the Ethernet cable anymore. I tried a factory reset but that hasn't seemed to help either... Looks like i'm starting from the beginning again :(
Oh I should've warned you... I was on my phone writing then and thought I covered everything. Your settings will revert to factory. So it's back to 192.168.10.1 so you'll have to that initial setup again. And be sure to use numbers only as the address because if you use 192.168.10.1/home.htm it won't find it because they change to .asp and it's just easier that way.
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,537
Country
Netherlands
puttygen will generate a keypair for you to use, you paste the public key into the webgui by sshd on the services tab. If you run 21061, that's a bad build and SSHd won't work on it.


Possible? Yes. Likely? No. at least 70% of humanity... knows nothing about networking. The only time you should REALLY worry about people sniffing your network, is in college.

And the guy asking this happens to be in college :grog: so this is quite relevant then :P
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,537
Country
Netherlands
Sorry, my idiot was showing.

Ahh well, I like idiots ;) especially when I am on vacation, then I can use their internet with little effort. The main problem with these 70% things is that when using internet banking, even 0.1% is too much of a risk if you ask me and that is what I use here in the Netherlands.

Maybe it also is a local thing, as a lot of people (mostly unknowingly people) have been hacked easily through wireless setups and have had their bank accounts cleaned out. This made me pretty paranoid when it comes to wireless security plus, WPA2 is easier to setup than MAC filtering through DD-WRT. And don't forget, all wired devices in the same IP range are as easily hacked as the Wi-Fi access point it is connected to!
 

JODIsBack

Member
Newcomer
Joined
Sep 17, 2009
Messages
18
Trophies
0
XP
119
Country
United States
It's probably a difference in your device, not all of them work the same way. On my Galaxy Note, I also didn't have the .info files, and couldn't get either of the methods listed in the OP to work at all, and even fiddling with the settings of the Tethering app had no positive results.

After a lot of searching around for ways to change the MAC, I found out that using a terminal emulator with BusyBox was the only thing that worked, and even then it was a chore. Then someone linked me to this thread, and the app this guy made works wonders for me, using the BusyBox method.

Can you elaborate on what I need to do with the terminal emulator & busybox to get it to work? That app also seems pretty interesting, I downloaded it
 

alexwh

New Member
Newbie
Joined
Aug 22, 2013
Messages
2
Trophies
0
XP
95
Country
United States
Hey there, I wanted to automate the Linux scripts so you could cycle them, so I made a couple of extra scripts to do that. It'll auto cycle to the next "spoofX" when your DS disconnects from the AP (after it checks for and retrieves streetpasses), so you don't need to guess wait times. If your DS never disconnects, it will time out and move to the next spoof after 4 minutes. It requires expect, you can get it from your distro's package manager.

You can get the scripts from here: https://github.com/alexwh/homepass-spoof

To set it up, you need to edit the "macs" file and put your DS' MAC on one line, then edit "spawnhostapd.expect" and replace your-ds-mac (make sure it's lower case and seperated by colons, not dashes, e.g. 'expect "${zone}: AP-STA-DISCONNECTED 00:00:00:00:00:00"'). If you're not using wlan0 as your broadcast device, you need to edit it in hostapd.conf

chmod all the scripts (chmod +x *.sh;chmod +x *.expect)

To run it, do "sudo ./cycle.sh start-spoof end-spoof wlan-dev world-dev". For example, "sudo ./cycle.sh 1 21 wlan0 eth0".
 
Last edited by alexwh,
  • Like
Reactions: DSoryu

Rahzadan

Active Member
Newcomer
Joined
May 28, 2007
Messages
44
Trophies
0
Age
40
XP
356
Country
Canada
duke_srg:

Your v3.2 script appears to be working optimally now, thanks :) I had a thought: Could there be a way to add private MACs into the rotation somehow? I have friends I would like to homepass with but we would want to keep the MACs private so no one else homepasses with us.
 

Lyomak

Well-Known Member
Member
Joined
Jun 24, 2009
Messages
436
Trophies
1
Age
39
Location
Bogotá
Website
twitch.tv
XP
389
Country
Colombia
i'm behind another box
it should be like this

your modem/router 192.168.1.254 > ddwrt 192.168.1.x, no wan, no dhcp server, dns / gateway 192.168.1.254



worked fine after upgrading to the new firmware, thanks all

valkart my setup is as follows

modem/router combo box from isp (192.168.1.254) --> dd-wrt router (192.168.1.253)




make sure any computers connecting via ethernet are in the dd-wrt router not the combo box. make sure to disable dhcp on the dd-wrt BUT configure the default gateway & dns settings on the main config page (both should be the ip of the combo box)

THANK YOU! It finally worked! I tested it with 5 devices going to live streaming videos and the connection worked like a charm.... until the wireless of the router randomly drops off, leaving all devices with no connection and I can fix it by only power cycling the router or appling settings again on dd-wrt control panel. Now I have to search on google for a solution for that before my family gets mad at me again. xD
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @OctoAori20, Cool. Same here.