OpenWrt Forum Archive

Topic: WRTSL54GS networking config

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

Does anyone have a kamikaze 2.4 network config they can share?

At one time I think I had it working, but since then I've rebuilt kamikaze from SVN again, and now for the life of me I cannot get bridging to work....

I've checked everything, it looks OK, but I can't connect via wireless.  The only difference from the previous is that I used to have eth0, eth1, and eth2, and now I have eth0, eth1, and wl0. 

Also, my wds connections no longer show up in ifconfig, but they do in iwconfig....

My Zaurus tries to connect, but shows a signal strength of 1% from the AP.....  Tha AP is trying to send out information, but it's as if the transmitter is off....  The Zaurus cn pick up the AP, gets the SSID and the MAC address, but cannot connet.

It all works in RC5.

From the AP logs:

Jan  1 00:08:44 (none) daemon.info dnsmasq[381]: DHCPDISCOVER(br0) 00:0f:66:10:04:af
Jan  1 00:08:44 (none) daemon.info dnsmasq[381]: DHCPOFFER(br0) 192.168.128.118 00:0f:66:10:04:af
Jan  1 00:10:50 (none) daemon.info dnsmasq[381]: DHCPDISCOVER(br0) 00:0f:66:10:04:af
Jan  1 00:10:50 (none) daemon.info dnsmasq[381]: DHCPOFFER(br0) 192.168.128.118 00:0f:66:10:04:af

Any suggestions?  Config info follows.

--Yan

root@OpenWrt:/# ifconfig
br0       Link encap:Ethernet  HWaddr 00:10:18:90:20:DB
          inet addr:192.168.128.17  Bcast:192.168.128.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1820 (1.7 KiB)  TX bytes:2039 (1.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:14:BF:E5:2C:50
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1810 (1.7 KiB)  TX bytes:1795 (1.7 KiB)
          Interrupt:4

eth1      Link encap:Ethernet  HWaddr 00:90:4C:60:00:2B
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vlan0     Link encap:Ethernet  HWaddr 00:14:BF:E5:2C:50
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2078 (2.0 KiB)  TX bytes:2127 (2.0 KiB)

wl0       Link encap:Ethernet  HWaddr 00:10:18:90:20:DB
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:21 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:2 Base address:0x2000

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

vlan0     no wireless extensions.

br0       no wireless extensions.

wl0       IEEE 802.11-DS  ESSID:"SeinerMobile"
          Mode:Master  Frequency:2.437 GHz  Access Point: 00:10:18:90:20:DB
          Tx-Power:19 dBm
          Link Noise level:-99 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:42  Invalid misc:0   Missed beacon:0

wds0.1    no wireless extensions.

wds0.2    no wireless extensions.

root@OpenWrt:/# cd /etc/config
root@OpenWrt:/etc/config# cat network
#### VLAN configuration
vlan0hwname=et0
vlan1hwname=et1
vlan0ports="0 1 2 3 5*"
vlan1ports="4 5"


#### LAN configuration
lan_proto="static"
lan_ifname="br0"
lan_ifnames="vlan0 wl0"
lan_ipaddr="192.168.128.17"
lan_netmask="255.255.255.0"
lan_dns="192.168.128.2"
lan_gateway="192.168.128.1"

wan_proto=dhcp
#wan_ifname="eth1"
#wan_device="eth1"
wan_ifname="vlan1"
wan_device="vlan1"
#wan_ipaddr="192.168.128.16"
#wan_netmask="255.255.255.0"
#wan_gateway="192.168.128.1"
#wan_dns="192.168.128.2"

One more item:

root@OpenWrt:/# cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 18
   wl0: 0000    0     1   158        0      0      0     10      0        0

Well, I guess my experiments are on hold....  I've bricked the router, my MAX233 chips are backordered....

The bloody thing is it still connects via wds to my other router, but acts as if boot-wait is off, and won't respond to any known IP.  :-(

I guess it's time to try soldering on a jtag....

--Yan

The discussion might have continued from here.