1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wireless Ethernet Bridge Mode - V1.13 Help

Discussion in 'Tomato Firmware' started by rdconsult, Dec 28, 2007.

  1. rdconsult

    rdconsult LI Guru Member

    Hello,

    WRT54GL 1.1 configured as Wireless Bridge and Speedport W 700V or Speedport W 701V as Access Point ( tested with both routers/AP s ).

    After activating the SSID to display, the AP is seen by the scan function.

    Security is WAP/WAP2 PKS and TKIP

    The WEB GUI is working and I can ping the WRT54GL.

    I can not ping the AP.

    I do have an Ethernet Bridge D-LINK DWL-G810 Rev. C2 with FW Ver. 3.11 tested and running with both router/AP s.

    How to track down the problem?

    Rainer
     
  2. kspare

    kspare Computer Guy Staff Member Member

    What are the ip address' of the bridge and the AP?
     
  3. jsmiddleton4

    jsmiddleton4 Network Guru Member

    I had to use WPA and AES. SSID's the same, channel the same.
     
  4. rdconsult

    rdconsult LI Guru Member


    The ip address of the AP is 192.168.2.1 and the brigde is 192.168.2.75.

    I have done test with static ip and ip by DHCP on computer connecte to the WRT54GL.

    Gateway address and DNS is set to 192.168.2.1 in the LAN configuration section.

    Rainer
     
  5. rdconsult

    rdconsult LI Guru Member

    The channel, SSID and shared key are the same.

    Have check it again and again, check the value in the log file.

    All values are correct.

    I cannot use AES encryption for the connection, no selection at the AP s WEB Interface.

    Rainer
     
  6. rdconsult

    rdconsult LI Guru Member

    Additonal infomation - syslog

    Jan 1 01:00:07 unknown syslog.info syslogd started: BusyBox v1.2.2
    Jan 1 01:00:07 unknown user.notice kernel: klogd started: BusyBox v1.2.2 (2007.12.05-10:35+0000)
    Jan 1 01:00:07 unknown user.warn kernel: CPU revision is: 00029008
    Jan 1 01:00:07 unknown user.warn kernel: Primary instruction cache 16kb, linesize 16 bytes (2 ways)
    Jan 1 01:00:07 unknown user.warn kernel: Primary data cache 8kb, linesize 16 bytes (2 ways)
    Jan 1 01:00:07 unknown user.warn kernel: Linux version 2.4.20 (root@etch) (gcc version 3.2.3 with Broadcom modifications) #3 Wed Dec 5 03:05:26 PST 2007
    Jan 1 01:00:07 unknown user.warn kernel: Setting the PFC value as 0x15
    Jan 1 01:00:07 unknown user.warn kernel: Determined physical RAM map:
    Jan 1 01:00:07 unknown user.warn kernel: memory: 01000000 @ 00000000 (usable)
    Jan 1 01:00:07 unknown user.warn kernel: On node 0 totalpages: 4096
    Jan 1 01:00:07 unknown user.warn kernel: zone(0): 4096 pages.
    Jan 1 01:00:07 unknown user.warn kernel: zone(1): 0 pages.
    Jan 1 01:00:07 unknown user.warn kernel: zone(2): 0 pages.
    Jan 1 01:00:07 unknown user.warn kernel: Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
    Jan 1 01:00:07 unknown user.warn kernel: CPU: BCM5352 rev 0 at 200 MHz
    Jan 1 01:00:07 unknown user.warn kernel: Calibrating delay loop... 199.47 BogoMIPS
    Jan 1 01:00:07 unknown user.info kernel: Memory: 14480k/16384k available (1316k kernel code, 1904k reserved, 108k data, 64k init, 0k highmem)
    Jan 1 01:00:07 unknown user.info kernel: Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
    Jan 1 01:00:07 unknown user.info kernel: Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
    Jan 1 01:00:07 unknown user.warn kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    Jan 1 01:00:07 unknown user.warn kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Jan 1 01:00:07 unknown user.warn kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Jan 1 01:00:07 unknown user.warn kernel: Checking for 'wait' instruction... unavailable.
    Jan 1 01:00:07 unknown user.warn kernel: POSIX conformance testing by UNIFIX
    Jan 1 01:00:07 unknown user.warn kernel: PCI: no core
    Jan 1 01:00:07 unknown user.warn kernel: PCI: Fixing up bus 0
    Jan 1 01:00:07 unknown user.info kernel: Linux NET4.0 for Linux 2.4
    Jan 1 01:00:07 unknown user.info kernel: Based upon Swansea University Computer Society NET3.039
    Jan 1 01:00:07 unknown user.warn kernel: Initializing RT netlink socket
    Jan 1 01:00:07 unknown user.warn kernel: Starting kswapd
    Jan 1 01:00:07 unknown user.info kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    Jan 1 01:00:07 unknown user.info kernel: devfs: boot_options: 0x1
    Jan 1 01:00:07 unknown user.info kernel: Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
    Jan 1 01:00:07 unknown user.warn kernel: pty: 256 Unix98 ptys configured
    Jan 1 01:00:07 unknown user.info kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    Jan 1 01:00:07 unknown user.info kernel: ttyS00 at 0xb8000300 (irq = 3) is a 16550A
    Jan 1 01:00:07 unknown user.info kernel: ttyS01 at 0xb8000400 (irq = 0) is a 16550A
    Jan 1 01:00:07 unknown user.warn kernel: HDLC line discipline: version $Revision: 1.1.1.4 $, maxframe=4096
    Jan 1 01:00:07 unknown user.info kernel: N_HDLC line discipline registered.
    Jan 1 01:00:07 unknown user.info kernel: PPP generic driver version 2.4.2
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.debug kernel: Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
    Jan 1 01:00:07 unknown user.notice kernel: Amd/Fujitsu Extended Query Table v3.3 at 0x0040
    Jan 1 01:00:07 unknown user.notice kernel: number of CFI chips: 1
    Jan 1 01:00:07 unknown user.notice kernel: Flash device: 0x400000 at 0x1c000000
    Jan 1 01:00:07 unknown user.notice kernel: Creating 5 MTD partitions on "Physically mapped flash":
    Jan 1 01:00:07 unknown user.notice kernel: 0x00000000-0x00040000 : "pmon"
    Jan 1 01:00:07 unknown user.notice kernel: 0x00040000-0x003f0000 : "linux"
    Jan 1 01:00:07 unknown user.notice kernel: 0x000e0f20-0x002f0000 : "rootfs"
    Jan 1 01:00:07 unknown user.notice kernel: 0x002f0000-0x003f0000 : "jffs2"
    Jan 1 01:00:07 unknown user.notice kernel: 0x003f0000-0x00400000 : "nvram"
    Jan 1 01:00:07 unknown user.err kernel: sflash: found no supported devices
    Jan 1 01:00:07 unknown user.info kernel: NET4: Linux TCP/IP 1.0 for NET4.0
    Jan 1 01:00:07 unknown user.info kernel: IP Protocols: ICMP, UDP, TCP, IGMP
    Jan 1 01:00:07 unknown user.info kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
    Jan 1 01:00:07 unknown user.info kernel: TCP: Hash tables configured (established 1024 bind 2048)
    Jan 1 01:00:07 unknown user.info kernel: Linux IP multicast router 0.06 plus PIM-SM
    Jan 1 01:00:07 unknown user.warn kernel: ip_conntrack version 2.1 (4099 buckets, 2048 max) - 368 bytes per conntrack
    Jan 1 01:00:07 unknown user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
    Jan 1 01:00:07 unknown user.info kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    Jan 1 01:00:07 unknown user.info kernel: NET4: Ethernet Bridge 008 for NET4.0
    Jan 1 01:00:07 unknown user.alert kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
    Jan 1 01:00:07 unknown user.alert kernel: All bugs added by David S. Miller <davem@redhat.com>
    Jan 1 01:00:07 unknown user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
    Jan 1 01:00:07 unknown user.info kernel: Mounted devfs on /dev
    Jan 1 01:00:07 unknown user.info kernel: Freeing unused kernel memory: 64k freed
    Jan 1 01:00:07 unknown user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
    Jan 1 01:00:07 unknown user.warn kernel: ip_conntrack_pptp version 1.9 loaded
    Jan 1 01:00:07 unknown user.warn kernel: ip_nat_pptp version 1.5 loaded
    Jan 1 01:00:07 unknown user.warn kernel: ip_conntrack_rtsp v0.01 loading
    Jan 1 01:00:07 unknown user.warn kernel: ip_nat_rtsp v0.01 loading
    Jan 1 01:00:07 unknown user.warn kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.38.0
    Jan 1 01:00:07 unknown user.warn kernel: eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.38.0
    Jan 1 01:00:07 unknown user.warn kernel: tomato_ct.c [Dec 5 2007 02:52:46]
    Jan 1 01:00:07 unknown user.info kernel: vlan0: dev_set_promiscuity(master, 1)
    Jan 1 01:00:07 unknown user.info kernel: device eth0 entered promiscuous mode
    Jan 1 01:00:07 unknown user.info kernel: device vlan0 entered promiscuous mode
    Jan 1 01:00:07 unknown user.info kernel: device eth1 entered promiscuous mode
    Jan 1 01:00:07 unknown user.info kernel: br0: port 2(eth1) entering learning state
    Jan 1 01:00:07 unknown user.info kernel: br0: port 1(vlan0) entering learning state
    Jan 1 01:00:07 unknown user.info kernel:
    Jan 1 01:00:07 unknown user.info kernel: br0: topology change detected, propagating
    Jan 1 01:00:07 unknown user.info kernel: br0: port 1(vlan0) entering forwarding state
    Jan 1 01:00:07 unknown user.info kernel: br0: topology change detected, propagating
    Jan 1 01:00:07 unknown user.warn kernel: vlan1: Setting MAC address to 00 1d 7e 18 df e3.
    Jan 1 01:00:08 unknown cron.notice crond[115]: crond 2.3.2 dillon, started, log level 9
    Jan 1 01:32:09 unknown user.warn kernel: nvram_commit(): init
    Jan 1 01:32:11 unknown user.warn kernel: nvram_commit(): end
    Jan 1 01:33:21 unknown user.warn kernel: nvram_commit(): init
    Jan 1 01:33:23 unknown user.warn kernel: nvram_commit(): end
    Jan 1 01:33:24 unknown user.notice kernel: Kernel log daemon exiting.
    Jan 1 01:33:24 unknown syslog.info System log daemon exiting.
    Jan 1 01:33:24 unknown syslog.info syslogd started: BusyBox v1.2.2
    Jan 1 01:33:25 unknown user.notice kernel: klogd started: BusyBox v1.2.2 (2007.12.05-10:35+0000)


    Rainer
     
  7. kspare

    kspare Computer Guy Staff Member Member

    Can you post a pic of the basic config page on the wrg54g and the wireless page on the other router? I'd like to see whats entered.
     
  8. rdconsult

    rdconsult LI Guru Member

    Wireless Ethernet Bridge (WET) in now working

    found the following hint in the DD-WRT Tutorial

    ================

    WPA & WPA2

    Do not choose mixed mode (WPA+WPA2) on the Client-Bridge: the AP and the bridge would not be able to auto-negociate an encryption scheme, the bridge would not be able to connect to the AP.

    Pick up one scheme (WPA or WPA2) on the bridge side: both schemes work nice - as long as the AP is configured for -, but you cannot let the bridge to make the decision.


    source: http://www.dd-wrt.com/wiki/index.php/Wireless_Bridge
    =================

    Changed the Security
    from WAP/WAP2 PSK and TKIP
    to WAP PSK and TKIP


    and the configuration starts to work.

    Here is the Status and the Basic Network Screen shot of the running configuration attachments.

    kind regards

    Rainer
     

    Attached Files:

  9. rdconsult

    rdconsult LI Guru Member

    Question:

    Does the parameter "Default Gateway", "Static DNS" and "Group Key Renewal" make sense in a Wireless Ethernet Bridge ( WET ) configurations?

    Rainer
     
  10. maheath

    maheath LI Guru Member


    Well, it works witouth as I found out. But entering gateway AND static DNS to the "main" router allows the bridge router itself to be able to read the time from a time server. It is nice to have correct timestamps in the log. :smile:
     
  11. jsmiddleton4

    jsmiddleton4 Network Guru Member


    So your internet connection does not do dhcp? You have static ip's to use?

    I'm just trying to figure out how you have this setup and why it works.

    My main is dhcp from my broadband provider. So my "client" has the main router's IP information in its gateway/dns fields.

    You are saying that is not how you have it setup? You have static IP's in the main, left the client blank and it works?

    Jim
     
  12. maheath

    maheath LI Guru Member

    My answer could be misunderstood - I did not enter anything in the main router, but entered its address in the bridge router. ;-)

    The main router (r1 - 192.168.1.1) is connected to the broadband modem and does all the dhcp stuff,
    and also works as a wireless access point.
    So this is the gateway on my net, and also dns because dnsmasq is enabled.

    The second router (r2 - 192.168.1.2) is set up as a WET against r1.

    Internet worked fine for clients connect to r2 without entering gateway and dns in this router (r2)
    - because the bridge is transparent and values are fetched from r1.
    But the Tomato running on r2 itself never managed to get the correct time from the time-servers,
    so it was difficult to read the logs.

    When I entered r1's IP 192.168.1.1 as gateway and dns on r2 it managed to contact the time servers.

    But everything else worked without it, as it is only a transparent bridge...

    Is there any other way to get a bridge to read correct time - did I do it wrong? :smile:
     
  13. Kiwi8

    Kiwi8 LI Guru Member

    Set Static DNS server on the second router to be 192.168.1.1.
     
  14. rdconsult

    rdconsult LI Guru Member

    Wireless Ethernet Bri dge Mode and Parameter "Group Key Renewal"

    Okay, we have an answer for the usage of the parameter "Default Gateway" abd "Static DNS" .

    --> get the time service for the log entries of the bridge logs.


    What about the parameter "Group Key Renewal".

    Is this not a router only option and make no sense in Bridge Mode?

    kind regards

    Rainer
     

Share This Page