OpenWrt Forum Archive

Topic: Rb751

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

It is working, stable and has support for LAN, WLAN and USB on both RB751U-2HnD and RB751G-2HnD.

Missing links are:
- no support for WLAN led
- no support for higher tx power rates (not sure about that).

After using OpenWRT you can easily go back to RouterOS by using MikroTik's Netinstall.

Tutor that also aplies to RB751U/G: http://blog.poettner.de/2011/05/27/open … rd-411750/
However, instead of compiling by your own you can just use my binaries located here: http://ayufan.eu/local/rb751/r31151/

ayufan

(Last edited by ayufan on 2 Apr 2012, 11:47)

@brainsucker

I will work with netinstall and maybe prepare an OpenWRT.npk? smile)
It would be awesome big_smile

(Last edited by ayufan on 2 Apr 2012, 11:48)

I have my own npktool that is compatible with newest version (that one since v.3.22) of npk format.

ayufan wrote:

I have my own npktool that is compatible with newest version (that one since v.3.22) of npk format.

ouch :-O Then it looks like very real idea smile
You might steal some portion of routeros userbase (although personally I would prefer to try it with ramfs first, before flashing some 3rd party NPK on my router, but its me) smile

@brainsucker

1. ramfs built-in to netinstall as user-friendly bootp and tftp server?
2. or .npk for install through netinstall?

I will try it tomorrow...

Is there any way to install it using Windows?

Could someone post a small tutorial for this?

Someone should update the supported page, no?

(Last edited by vdias on 2 Apr 2012, 20:18)

You can use the  tftpd32 from @brainsucker post 2012-03-23 10:04:16.

What files do i need to download and copy to the TFTP folder?

Need some help with this?

Just tried tftp, but with no luck... Mikrotik downloads the elf file, but after 30min still no ping...

LOG:
Rcvd BootP Msg for IP 0.0.0.0, Mac 00:0C:42:FB:3E:30 [03/04 19:57:36.625]
Client requested address 0.0.0.0 [03/04 19:57:36.625]
DHCP: proposed address 192.168.1.1 [03/04 19:57:36.625]
3648 Request 2 not processed [03/04 19:57:36.626]
Connection received from 192.168.1.1 on port 35033 [03/04 19:57:36.627]
Read request for file <openwrt-ar71xx-nand-vmlinux-initramfs.elf>. Mode octet [03/04 19:57:36.627]
OACK: <blksize=1452,> [03/04 19:57:36.627]
Using local port 62961 [03/04 19:57:36.627]
<openwrt-ar71xx-nand-vmlinux-initramfs.elf>: sent 3209 blks, 4658284 bytes in 2 s. 0 blk resent [03/04 19:57:38.700]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:42:FB:3E:30 [03/04 19:58:05.486]
Client requested address 0.0.0.0 [03/04 19:58:05.486]
DHCP: proposed address 192.168.1.1 [03/04 19:58:08.097]
3648 Request 2 not processed [03/04 19:58:08.098]

(Last edited by vdias on 3 Apr 2012, 18:46)

@vdias

Did you change the connection to the RB751 from the WAN port to one of the LAN ports once the elf file had been loaded?

If it loads successfully you should be able to telnet in when connected to the LAN port. Default address is usually 192.168.1.1

Whitelighter wrote:

@vdias

Did you change the connection to the RB751 from the WAN port to one of the LAN ports once the elf file had been loaded?

If it loads successfully you should be able to telnet in when connected to the LAN port. Default address is usually 192.168.1.1

No i didn't... thanks for the tip...

Whitelighter wrote:

@vdias

Did you change the connection to the RB751 from the WAN port to one of the LAN ports once the elf file had been loaded?

If it loads successfully you should be able to telnet in when connected to the LAN port. Default address is usually 192.168.1.1

Tried that, and the only port that give me ping was the POE port (ether1), none of lan gave me ping...

?!?!?!?!?

I'm really stuck on this one... I'm trying to follow this tutorial " http://blog.poettner.de/2011/05/27/open … rd-411750/ "

Why did i bought this device, why???

(Last edited by vdias on 4 Apr 2012, 18:27)

@vdias

I'm assuming you are using Windows to boot the image from and ayufan's pre-built image? I'm using Linux and my own custom compiled image (I doubt the image is the problem as it works for ayufan), so there could be some OS differences that make netbooting challenging. As I'm not running Windows I can't advise if you need to do anything specific.

Which model do you have? RB751U or RB751G?

Are you sure it is loading the image? When my RB751U is running OpenWRT only the power LED works, no ethernet port LEDs or wireless LEDs.

The only other possibility I can think of is it getting confused with IP address assignments. OpenWRT uses DHCP on the WAN interface and is configured with IP address 192.168.1.1 for the LAN interface. It looks from your previous post you are netbooting it from subnet 192.168.1.x and assigning the router 192.168.1.1. If it is loading OpenWRT then there is a good chance the WAN port will also get 192.168.1.1 via DHCP. So you have the same IP on both WAN and LAN.

Try this. Set your PC to use an address in the 192.168.2.x subnet. Configure DHCP to hand out an address in the 192.168.2.x subnet and have the tftp server ready. Follow instructions to netboot the RB751 with your PC connected to WAN port of the RB751. Once it has tftp'd the image from your PC, reconfigure your PC address to use an address in the 192.168.1.x subnet. Connect your PC to one of the LAN ports on the RB751 and try to telnet to 192.168.1.1.

Good luck.

Thanks Whitelighter!

It work, i now have my 751g running OpenWRT...

Time to configure everything... I'm a DD-WRT user for a long time, but completely new to openwrt, any suggestion or tweaks?

Will try to configure my home network like this:


ZyXEL ADSL Modem (Bridge MODE) -> Mikrotik PPPoe CLient -> LAN / WAN

@vdias

Excellent news! smile

There is a bit of a learning curve with OpenWRT, but once you overcome that, you'll find you have a very versatile router!

You shouldn't have a problem with that network setup.

Setup your PPPOE details in /etc/config/network

config interface 'wan'
        option ifname 'eth1'
        option proto 'pppoe'
        option username 'change_me'
        option password 'change_me'

Setup your wireless details in /etc/config/network

In config wifi-device radio0 remove

option disabled 1

In config wifi-iface secure your wireless

        option encryption 'psk2'
        option key 'your_pre_shared_key'

Update any other setting as necessary.

Check out http://wiki.openwrt.org/doc/uci for further info.

Hi Everyone,
I have an RB751G-2hnd and can't get my head around RouterOS.
I am thinking of dumping it and getting something else since I don't have the knowledge to enable me to set it up how I want and it's pointless in doing a course for a home use only router. I should have looked more into it before jumping the gun and buying the router.

Is OpenWRT more user friendly?
Is it command line only or is the a GUI option aswell? I can't find anything that say either or.
Is the documentation more user friendly? I only ask this because if instructions are clear and precise I can get things done when they are right in front of me.
Will OpenWRT allow me to log the data use per IP address and set download limits? This is what I mainly want it for as well as mac address filtering, DHCP, firewall and wireless etc

Thanks

Chris

Everything already working, but im having lots of pppoe disconections...

Cpu normal... Mem normal... But the pppoe connection just close...

The router that im using in bridge mode never had this problems when it was on router mode... the problem seems to be with the pppoe client configuration on the openwrt...

@Chris261

RouterOS is very nice system and easy to learn. If you need something more (DLNA?) than you should switch to OpenWRT. OpenWRT as it is, is hard to learn. It's just linux with some fancy addons like uci/luci.

@vdias

Maybe some keep-alive or dial-on-demand settings?

(Last edited by ayufan on 5 Apr 2012, 10:02)

Thanks ayufan!
Do you know if the Learn RouterOS book is worth buying for someone who has never used it before?

Thanks again,

Chris

There is, but everything can be found on the Internet:
http://wiki.mikrotik.com/wiki/Manual:First_time_startup
http://wiki.mikrotik.com/wiki/Manual:In … figuration

Also put that pre-release version. It contains Quick Set for RB751U/G:
http://www.mikrotik.com/download/share/ … .15rc1.npk
http://wiki.mikrotik.com/wiki/Manual:Quickset

How to upgrade:
http://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS
http://wiki.mikrotik.com/wiki/Manual:Netinstall


It is definietly more user-friendly than OpenWrt after start-up headache.

(Last edited by ayufan on 5 Apr 2012, 15:43)

Thanks heaps!

Looks like I will be spending the weekend reading.
I definitely don't want to give up on trying to work it out.

Thanks

Chris

(Last edited by Chris261 on 6 Apr 2012, 06:44)

Hi, our initial support for rb751U and rb751G has been accepted into openwrt trunk with revision 31208. Thanks again everyone.

I have asked the lead developer for the ar71xx platform for some advice on the txpower issue.

@aryufan
On the WLAN led issue, did you make any progress?

I'm facing 2 or 3 pppoe disconnections in a hour...

I'm using mikrotik as a pppoe client connected to a ZyXEL that is on bridge mode...

Apr  8 19:40:48 MikroTik daemon.warn pppd[1123]: Connected to XXXXXXXXXXX via interface eth0.2
Apr  8 20:04:31 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:04:31 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:05:16 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:05:16 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:06:01 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:06:01 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:06:46 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:06:46 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:07:31 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:07:31 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:08:16 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:08:16 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:09:01 MikroTik daemon.warn pppd[1123]: Timeout waiting for PADO packets
Apr  8 20:09:01 MikroTik daemon.err pppd[1123]: Unable to complete PPPoE Discovery
Apr  8 20:09:33 MikroTik daemon.warn pppd[8268]: Timeout waiting for PADO packets
Apr  8 20:09:33 MikroTik daemon.err pppd[8268]: Unable to complete PPPoE Discovery
Apr  8 20:10:18 MikroTik daemon.warn pppd[8268]: Timeout waiting for PADO packets
Apr  8 20:10:18 MikroTik daemon.err pppd[8268]: Unable to complete PPPoE Discovery
Apr  8 20:11:03 MikroTik daemon.warn pppd[8268]: Timeout waiting for PADO packets
Apr  8 20:11:03 MikroTik daemon.err pppd[8268]: Unable to complete PPPoE Discovery
Apr  8 20:11:33 MikroTik daemon.warn pppd[8268]: Connected to XXXXXXXXXXXX via interface eth0.2

This is my /etc/config/network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config interface 'lan'
    option ifname 'eth0.1'
    option type 'bridge'
    option proto 'static'
    option netmask '255.255.255.0'
    option ipaddr '10.10.10.1'

config interface 'wan'
    option ifname 'eth0.2'
    option proto 'pppoe'
    option username 'adslppp@telefonicanetpa'
    option password 'adslppp'
    option defaultroute '1'
    option peerdns '1'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0t 2 3 4 5'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '0t 1'

Any ideas?

(Last edited by vdias on 8 Apr 2012, 18:42)

My PPPoe connection drop every hour... and it cannot reconnect... need to manually restart my adsl router modem... never happen with other firmwares or routers...

Hi,
I've flashed my rb751u2hnd, but when I try to mount pendrive I get an error. I've installed usb-storage, kmod-fs-ext4... I also tried using different pendrives and filesystems. I also reflashed my router, but it didn't helped.

root@OpenWrt:~# ls /dev/sd*
/dev/sda   /dev/sda1
root@OpenWrt:~# mount -t ext4 /dev/sda1 /mnt/a
mount: mounting /dev/sda1 on /mnt/a failed: No such device
root@OpenWrt:~# fdisk -l /dev/sda

Disk /dev/sda: 1955 MB, 1955020800 bytes
61 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 3782 * 512 = 1936384 bytes
Disk identifier: 0x249aeb1a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1009     1907988   83  Linux
root@OpenWrt:~#

In logs, I see this device as /dev/sda.
The directory /mnt/a exist.

Could anyone help me?

(Last edited by hape on 10 Apr 2012, 08:27)