OpenWrt Forum Archive

Topic: rb133, eth1-2 don't work.

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.

Hello, I installed openwrt on an rb133 following the instructions at http://rb1xx.ozo.com/doku.php

eth0 is working, but, while I can ifconfig them, neither eth1 or eth2 work.

I found this post http://forum.openwrt.org/viewtopic.php?id=14680 hinting that the switch may be misconfigured, but now the package admswconfig has been moved to the "old" directory, anyway I tried it but it doesn't seem to solve the problem.

Any hint on how to get eth1 (at least) and eth2 working (I need to connect to 2 separate networks).

Thanks.

Ok, I think I solved it: eth0 is connected to port2, eth1 to port 1 and eth2 to port 0, so I created /etc/init.d/admswconfig with this content:

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org

START=39
start() {
  /sbin/admswconfig eth0 2c
  /sbin/admswconfig eth1 1c
  /sbin/admswconfig eth2 0c
}

and linked it to /etc/rc.d/S39admswconfig

The discussion might have continued from here.