OpenWrt Forum Archive

Topic: TP-Link MR3020 how to in mac osx?

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi!

I am new to hardware hacking though *not* very new to generally using *nix like systems that is I am comfortable with the command line.

I have a TP-Link MR3020 and wanted to try out this tutorial [1] and so I followed instructions on downloading the OpenWRT firmware and using the router's web GUI to upload it. Once I did that I see that I have no wifi access to connect to the router and that I must connect to it using a Ethernet cable.  I have a Macbook Air running OS X which doesn't have a Ethernet port in-built. So, I got a Ethernet to USB adapter, connected a Ethernet cable to it and connected the other end to my TP-Link router. After this, I ran `iwconfig` on my OSX and...

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    options=3<RXCSUM,TXCSUM>
    inet6 ::1 prefixlen 128
    inet 127.0.0.1 netmask 0xff000000
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
    ether 10:40:f3:89:d4:f0
    nd6 options=1<PERFORMNUD>
    media: autoselect (<unknown type>)
    status: inactive
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    options=60<TSO4,TSO6>
    ether b2:00:1f:92:cd:20
    media: autoselect <full-duplex>
    status: inactive
p2p0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 2304
    ether 02:40:f3:89:d4:f0
    media: autoselect
    status: inactive
bridge0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    ether 12:40:f3:98:bd:00
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x2
    member: en1 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 5 priority 0 path cost 0
    media: <unknown type>
    status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
    inet6 fe80::45c0:63bf:d93e:70e4%utun0 prefixlen 64 scopeid 0x8
    inet6 fd8c:e69b:88d0:c79e:45c0:63bf:d93e:70e4 prefixlen 64
    nd6 options=1<PERFORMNUD>

Beyond this I don't know to set the IP address of my macbook to 192.168.1.1 and telnet into router. How do I go about this? Thanks so much!!

[1] http://www.linux-magazine.com/Online/Fe … att-Server

It was my Mac OSX not recognizing my cheap Ethernet to USD adapter. Solution here: blog.inkandfeet.com/How-To-Use-A-Generic-Usb-20-10100M-Ethernet-Adaptor-Rd9700-On-Mac-Os-1010-Mavericks.

Now am able to telnet/ssh into my router, w00!

OK I did something and now I lost access to the openwrt installation on my tplink mr3020 router. Failsafe mode (activated by pressing reset button) doesn't allow me to telnet:

telnet 192.168.1.1
Trying 192.168.1.1...
telnet: connect to address 192.168.1.1: Network is unreachable
telnet: Unable to connect to remote host

What does this mean?

Doh! In the '/etc/config/wireless I didn't put in 'option disabled 0'
and also instead of customizing the wireless network first time itself, i just let the defaults be (that is the: Openwrt SSID and no encryption), then I was able to see the network and connect to my ISP smile

I modified the default Openwrt network to my liking and took a backup, everything is working great! thanks openwrt! smile

Now back to trying out my One-Watt Server experiment!

The discussion might have continued from here.