I spent some time trying to make the wifi router run as a client, but to no avail. The only thing I saw in dmesg ifter enabling wifi was
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
It seems there's a number of people with similar problem.
Finally I located the fault in the device's default configuration:
config wifi-device radio0
option type mac80211
# option channel 11
option hwmode 11ng
...
There seems to be a problem with the 802.11n mode, after changing the setting to just '11g' the client mode works as a charm.
Wednesday, January 29, 2014
Sunday, January 26, 2014
Goodbye SamKnows, welcome OpenWRT
It's two years since I joined the SamKnows project, my obligations to them are fulfilled now so I flashed the whitebox with OpenWRT:
hajma@debian:~$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.18.4 (2011-05-09 13:23:52 BST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_
___ __ _ _ __ ___ | | ___ __ _____ _____
/ __|/ _` | '_ ` _ \| |/ / '_ \ / _ \ \ /\ / / __|
\__ \ (_| | | | | | | <| | | | (_) \ V V /\__ \
|___/\__,_|_| |_| |_|_|\_\_| |_|\___/ \_/\_/ |___/
P E R F O R M A N C E M O N I T O R I N G
OS: OpenWRT Bleeding edge, r26878
SW: WR741ND Build
-------------------------------------------------
root@(none):/# mount_root
root@(none):/# cd /tmp
root@(none):/tmp# scp hajma@192.168.1.2:Downloads/tplink.bin /tmp/
Host '192.168.1.2' is not in the trusted hosts file.
(fingerprint md5 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx)
Do you want to continue connecting? (y/n) y
hajma@192.168.1.2's password:
tplink.bin 100% 3840KB 1.3MB/s 00:03
root@(none):/tmp# mtd -r write /tmp/tplink.bin firmware
Unlocking firmware ...
Writing from /tmp/tplink.bin to firmware ...
Rebooting ...
Connection closed by foreign host.
hajma@debian:~$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.19.4 (2014-01-24 11:29:03 MST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r39382)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#
hajma@debian:~$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.18.4 (2011-05-09 13:23:52 BST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_
___ __ _ _ __ ___ | | ___ __ _____ _____
/ __|/ _` | '_ ` _ \| |/ / '_ \ / _ \ \ /\ / / __|
\__ \ (_| | | | | | | <| | | | (_) \ V V /\__ \
|___/\__,_|_| |_| |_|_|\_\_| |_|\___/ \_/\_/ |___/
P E R F O R M A N C E M O N I T O R I N G
OS: OpenWRT Bleeding edge, r26878
SW: WR741ND Build
-------------------------------------------------
root@(none):/# mount_root
root@(none):/# cd /tmp
root@(none):/tmp# scp hajma@192.168.1.2:Downloads/tplink.bin /tmp/
Host '192.168.1.2' is not in the trusted hosts file.
(fingerprint md5 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx)
Do you want to continue connecting? (y/n) y
hajma@192.168.1.2's password:
tplink.bin 100% 3840KB 1.3MB/s 00:03
root@(none):/tmp# mtd -r write /tmp/tplink.bin firmware
Unlocking firmware ...
Writing from /tmp/tplink.bin to firmware ...
Rebooting ...
Connection closed by foreign host.
hajma@debian:~$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.19.4 (2014-01-24 11:29:03 MST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r39382)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#
Subscribe to:
Posts (Atom)