I've managed to configure my raspberry pi as a wireless router using a bunch of articles over the Internet. ISP cable is inserted to the ethernet-port and my laptop is connected to the wireless network. I use a wireless dongle:
Code: Select all
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless AdapterCode: Select all
kworker/[some_characters_and_numbers]Code: Select all
top - 18:57:26 up 18 days, 1:07, 2 users, load average: 1.85, 1.09, 0.72
Tasks: 84 total, 2 running, 82 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6.8 us, 28.6 sy, 0.0 ni, 12.7 id, 0.0 wa, 0.0 hi, 51.9 si, 0.0 st
KiB Mem: 447996 total, 344376 used, 103620 free, 140676 buffers
KiB Swap: 102396 total, 0 used, 102396 free, 89200 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29144 root 20 0 0 0 0 R 46.0 0.0 0:37.07 kworker/u2:3
23964 pi 20 0 46648 14m 1492 S 13.4 3.2 5766:26 transmission-da
28808 root 20 0 0 0 0 S 9.4 0.0 0:27.06 kworker/u2:0
3 root 20 0 0 0 0 S 5.3 0.0 568:18.74 ksoftirqd/0
21 root 20 0 0 0 0 S 2.5 0.0 130:17.80 kswapd0
29085 pi 20 0 4812 1508 1044 R 2.2 0.3 0:03.40 top
I should also mention, that i measured speed by using iperf. Measuring topology is "PC - ethernet cable - Rpi". When i install an endpoint (let's call it an endpoint, no matter who acts as a server and who is iperf -c). With this topology i got almost wire-speed. But when i modify topology to the following: "PC - ethernet cable - Rpi - wireless waves - laptop with iperf" speed measurements fall down to 10-12-15Mbps (varying tcp window size) and doesn't go any higher. The main reason i described this topologies and iperf-related stuff is the following conclusion: once you get wireless connection, speed dramatically falls down. I beleive that something is wrong with the wireless adapter.
Thanks a lot and sorry for my english, it's not my native language.