Misc 3DS won't find hostapd hotspot

mid-kid

GBAtemp spamBOT
OP
Member
Joined
Aug 2, 2012
Messages
879
Trophies
0
Age
25
XP
1,163
Country
I'm trying to create a hotspot with my computer for my 3DS.
OS is Funtoo, with dnsmasq 2.72 and hostapd 2.0.
I think I've set it up correctly, but my 3DS can't see the hotspot, while my laptop can, and connection works.
Configuring the network manually on the 3DS doesn't work either.
An ethernet cable is connected to the router, and I've got a USB dongle (Realtek RTL8188CUS) to create the hotspot.

These are my configuration files.

dnsmasq.conf:
Code:
no-resolv
interface=wlan0
dhcp-range=10.0.0.3,10.0.0.20,12h
server=8.8.8.8
server=8.8.4.4

hostapd.conf:
Code:
interface=wlan0
driver=nl80211
ssid=waffles
hw_mode=g
channel=1
wpa=0

start.sh:
Code:
#!/bin/bash
set -e
 
ifconfig wlan0 down
ifconfig wlan0 up 10.0.0.1 netmask 255.255.255.0
sleep 2
 
dnsmasq -C ./dnsmasq.conf
 
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface wlan0 -j ACCEPT
 
echo 1 > /proc/sys/net/ipv4/ip_forward
 
hostapd ./hostapd.conf -d
killall dnsmasq

I hope somebody can point out where I went wrong.
 

mid-kid

GBAtemp spamBOT
OP
Member
Joined
Aug 2, 2012
Messages
879
Trophies
0
Age
25
XP
1,163
Country
Maybe try another driver? rt1871xdrv should work as well with the chipset.
I think the source of the problem is the hostapd config.
Many thanks to you, dear sir. This method worked.

Here's what I did:
I downloaded hostapd 2.2 and followed the installation instructions for the driver. (I left the source and compiled files under the hostapd-2.2 directory, as can be seen in start.sh, soon to follow)
Next, I followed the installation instructions for the kernel module. (Keep in mind where make installed the module in case you want to remove it.).
I did "rmmod <module>" for every module in this list and their dependencies, and modprobed the recently installed module.
Then, I altered the configurations a bit:

hostapd.conf:
Code:
interface=wlan0
driver=rtl871xdrv
device_name=RTL8192CU
manufacturer=Realtek
ssid=waffles
hw_mode=g
ieee80211n=1
channel=1
wpa=0

start.sh:
Code:
Line 19: ./hostapd-2.2/hostapd/hostapd ./hostapd.conf -d

Now the hotspot can be seen by the 3DS.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    @SylverReZ, is Pollys alt I knew it
  • BigOnYa @ BigOnYa:
    Yea I see him every once whi!e , incognito
  • SylverReZ @ SylverReZ:
    @K3Nv2, I'm not him. Keep looking.
    +1
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +2
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    +1
    SylverReZ @ SylverReZ: @BigOnYa, https://www.youtube.com/watch?v=YgtO5sebA9U