I have been trawling the net for days trying to get my RPi up as a Wi-Fi access point but I keep hitting the same problem, the dongle sees nothing over the air and nothing sees the dongle.
lsusb
sees the dongle as:
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
iw list
sees the device as having the following (among other) interface modes:
- managed
- AP
- AP/WLAN
- monitor
The interface has its IP address hardcoded via the /etc/network/interfaces
file as:
auto lo eth0 wlan0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.1
netemask 255.255.255.0
broadcast 192.168.1.255
# IP of my ADSL router box
gateway 192.168.1.254
allow-hotplug wlan0
iface wlan0 inet static
address 172.29.1.1
netmask 255.255.255.0
and indeed the device comes up and is configured when I start my Pi:
/etc/network# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:87:33:51:03:88
inet addr:172.29.1.1 Bcast:172.29.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
All fine so far but things now start to fall apart. It cannot see any access points:
/etc/network# iw wlan0 scan
/etc/network#
and there are plenty around, one about two feet from the RPi itself!
In desperation I tried just configuring hostapd
to see if other Wi-Fi devices could see the RPi but nothing was detected and for some reason hostapd
removes the IP address that I configured on the interface, but that's a different problem.
Can anyone offer suggestions or assistance? This is really bugging me!
|/|artin