Results 1 to 7 of 7

Thread: Client mode with NAT on WL-500b/g

  1. #1
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270

    Lightbulb Client mode with NAT on WL-500b/g

    This is the working command sequence for manual IP address assignment (WL-500b was set to AP only mode by web
    configurator first).
    WARNING - I did not think about any security settings yet so please take this settings as an example only.

    brctl delif br0 eth2
    ifconfig eth2 down
    rmmod wl
    echo 1 > /proc/sys/net/ipv4/ip_forward
    insmod /mnt/usbfs/wl_apsta.o # file path to root of the USB flash disk - not necessary if you copy wl_apsta.o to /tmp folder using FTP
    # (see the wl_apsta.o attached)
    # reply: Using /mnt/usbfs/wl_apsta.o
    ifconfig eth2 AB.CD.EF.GH netmask 255.255.255.0 up # AB.CD.EF.GH = concrete IP address granted by Access Point Administrator
    wl ap 0
    wl scan
    wl scanresults

    #reply – must be something like:
    # SSID: "AP.Node"
    # Mode: Managed RSSI: -71 dBm noise: -98 dBm Channel: 8
    # BSSID: 00:01:23:AB:CD:EF Capability: ESS
    # Supported Rates: [ 1(b) 2(b) 5.5 11 ]
    #
    # some other APs can be listed as well

    wl join 'AP.Node'
    route add default gw CD.EF.GH.IJ eth2 # CD.EF.GH.IJ = gateway address
    # udhcpc -i eth2 -s /bin/true # optional - if there's a DHCP server running on wireless network

    # NAT activation:
    iptables -t nat -P POSTROUTING DROP
    iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE

    # ping 216.239.57.99 # test - Google.com



    Update 27-Feb-2004: With latest available Firmware patch 1.6.5.3-2 made by Oleg ( http://files.wl500g.info/asus/wl500g...-1.6.5.3-2.trx ) it's not necessary to copy wl_apsta.o to the router anymore. The updated wl.o module is already inside.
    This firmware is for WL-500g but it is possible to update WL-500b through Firmware Restoration utility.


    Update 08-Jul-2004: With latest available customized firmware 1.7.5.9-2 made by Oleg (see http://wl500g.info/showthread.php?t=530 ) the client mode configuration is significantly simplified (FYI the first customized firmware revision with this feature was 1.7.5.6-3). You just need to perform these steps:
    - reset the router to factory defaults
    - update the router with 1.7.5.9-2 firmware, go to web configurator
    - set the router SSID to SSID of the AP you wish to connect
    - set LAN interface parameters, also set LAN parameters on workstations connected to router's LAN ports
    - set WAN interface parameters in accordance to parameters of wireless network provided by AP administrator (note that in client mode the WAN and WLAN functions are exchanged)

    - execute the following nvram commands using Telnet (one times only):
    nvram set 13_x_ClientMode=1 # (0 = ap, 1 = sta, 2 = wet)
    nvram set 13_x_IBSS=1 # execute only if you need IBSS (Ad-hoc) mode (0 = bss, 1 = ibss)
    nvram commit # commit settings
    reboot # router restart

    After the reboot the router should automatically connect to preferred AP. It may take a long time if the signal quality is low.
    Use wl assoc command to check the connection status.
    Attached Files Attached Files
    Last edited by Technik; 08-07-2004 at 03:47. Reason: Update

  2. #2

    Belkin 7230

    From what I understand the Belkin 7230 should also be able to do this, but so far it hasn't worked. I followed these directions, but even after committing the changes they all go away upon rebooting. Also, after setting these changes I'm still unable to ping anything connected to the other router, though the Belkin seems to think it's connected properly when I check "wl assoc".

    Also, the wl_apsta.o file gets deleted from the /tmp folder upon rebooting. Any idea how to stop that from happening?

    Thanks!

  3. #3

    Linksys to ASUS NAT settings

    From what I understand, I'm trying to do the same thing but with a Linksys going to the ASuS.

    Setup: Cable Modem-->Linskys wireless router --> (wireless connection)-->WL-500g -->wired PC and wireless laptop


    If I'm not in the same ballpark, let me know. That being said, with the new firmware, is it necessary to do all the manual entry below or can most of the steps below be accomplished thru the GUI.

    Thanks

    duwrt

  4. #4

    wlan client ?

    Its possible connect to source zcom AP of my destination asus500b ? (as a home gateway). Asus must act as a router for lan clients. Wlan (static IP) and Lan DNS. I read somewhere that asus 500 can be router only for WAN port....

  5. #5
    Join Date
    Apr 2004
    Location
    Hungary, Budapest
    Posts
    11
    Is Update 08-Jul-2004 applies to the latest firmware too?
    I'm trying to use pppoe over the wifi interface. How can i do that?

    *update: It's a wl500g
    Last edited by Josephus; 17-03-2005 at 16:18.
    Josephus
    HuWiCo - Hungarian Wireless Community
    http://www.huwico.hu

  6. #6
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Josephus
    Is Update 08-Jul-2004 applies to the latest firmware too?
    I'm trying to use pppoe over the wifi interface. How can i do that?

    *update: It's a wl500g
    No, there is now completelly different client mode, which is web integrated. Once it's activated WAN port is in fact wi-fi.

  7. #7
    Quote Originally Posted by Oleg
    No, there is now completelly different client mode, which is web integrated. Once it's activated WAN port is in fact wi-fi.
    I am running 1.9.2.7-5a, is the web integrated client-mode that you mention available in that release? If so, how can I configure it?

Similar Threads

  1. Client mode
    By antidot in forum WL-500g Q&A
    Replies: 5
    Last Post: 31-07-2005, 14:09
  2. Use WL-HDD in client mode , please help
    By marciton in forum WL-HDD Q&A
    Replies: 7
    Last Post: 22-07-2005, 09:50
  3. AP client mode + AP repeater mode!
    By organetic in forum WL-500g Q&A
    Replies: 1
    Last Post: 27-12-2004, 18:19
  4. Asus WL-500b & Client Mode
    By cooper.zl in forum WL-500g Q&A
    Replies: 1
    Last Post: 17-10-2004, 18:27
  5. WL-500b/g in client mode?
    By Technik in forum WL-500g Q&A
    Replies: 14
    Last Post: 25-05-2004, 09:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •