How to enable wireless access point for WRT300N

From product data, "First, there’s the Wireless Access Point, which lets you connect to the network without wires."
I already have a WRT54GX-V2 setup to modem.
My intention for this WRT300N is to extend the network connectivity without any lan cable running along my house for those devices which only support LAN wire.
Try to search/google around, there is no hint/help to configure AP in WRT300N.
May I know how should I configure WRT300N so that i will be as an access point to WRT45GX-V2 without any wired connection between these 2 router.
Thanks.

Is that mean I can do that with WAP4400N only if we want to sustain wireless-N mode?
Yes. With standard firmware, yes. (If there is a N WET wireless bridge, that would do it, too, of course)
Is there any way to configure WRT300N to connect to WRT54GX by wireless?
It may be possible if you can flash third party firmware like dd-wrt on the router (either one). I would suggest to check the dd-wrt wiki for notes on which routers are supported and which not. However, a bad flash may brick your router and it is probably not covered by warranty then...
If use wired connection, do I need to change any configuration vs. default factory setup?
If you can run a wire I would suggest this setup.
EDIT: as Ricewind correctly noted, the Linksys WETs are the wireless bridges. The WRE is a repeater.
Message Edited by gv on 04-13-2008 02:25 PM

Similar Messages

  • Can I use this as a wireless access point for my network

    can I use this as a wireless access point for my network

    umm... use what?
    A Time Capsule? Sure. It's just like many other wireless base stations. It can run in either bridge or route mode - in bridge mode it's just like an access point linking the wired and wireless networks together.

  • How can I see "access point" for "connection method" to use Bluetooth tethering?

    I have been using WiFi tethering.  However, as everybody knows, the battery of my Nexus 5 goes down so fast.  Now I wish to use Bluetooth tethering.  I updated my Nexus 5 to Android 5.0.  I have a desktop PC, notebook PC and new Surface
    Pro 3 all with Windows 8.1 Update.  Up to pairing everything goes OK but when I click the "Nexus 5" graphic on the control panel, I could see only "direct connection" (no "access point").  Some website indicates "KB290440"
    but it is not found in the history of update.   I would therefore appreciate if somebody would kindly help me to use Bluetooth tethering.
    By the way, the Windows system I am using is Japanese.
    Thank you in advance.
     

    Some website indicates "KB290440" but it is not found in the history of update.  
    That's the latest "servicing stack".  I think it is optional.  More significant I think would be whether you have the latest rollup, which is also optional, so far.  E.g. at the top of View your update history see what you have for 
    "Most recent cumulative update: "
    FWIW here is mine:
    http://support2.microsoft.com/?kbid=3000850
    HTH
    Robert Aldwinckle

  • How do I setup my MacBook Pro (2009) as a wireless access point for all my wireless device to access the Internet using a USB wireless adapter?

    I connect to the Internet with a USB Super Antenna from CCrane.
    I want to establish a network on my Mac to allow my other wireless devices to use the USB connection at the USB.
    Any ideas?

    Yes, that would work, however it would cost me $2000 for the monitors.

  • RV325 Router: Adding a wireless access point for wireless printer

    Hi all,
    I am trying to add a Linksys ea6350 wireless router to the RV 325 router with the goal of having a wireless printer on the network. I can connect wirelessly to the router and access the internet; PC's that are on the wireless router can find the printer and print. However, PCs that connected to the RV via LAN cannot. I am assuming that this has to do with how the traffic from the wireless router is handled and that basically at the moment both routers are functioning as two separate networks. 
    Is this something that can be remedied from the Cisco router side? Or the Linksys? Or Both?
    Thank you

    Hi Jow, it sounds like you have this EA router connecting through the WAN port going in to your RV router, that would make the most sense because it would NAT your connection, allowing you to wirelessly connect but your LAN connection to the RV325 not working.
    If you want to fix this, move your connect from the EA router on to a "LAN port", disable the DHCP server then make sure it is on the same IP subnet as the RV325  and just let it broadcast the wireless signal. The EA router LAN ports are normal switch port so it will work ok.

  • Can an iMac serve as a wireless access point server?

    I have a current iMac with standard built in wireless capability but I'm on the net with wires (RJ45 twisted pair ethernet CAT5 cables). Can my iMac serve as a wireless access point for a new device in the house (Nintendo Wii)? Is there a setting I can turn on, or software that can be downloaded to have the iMac act as a server instead of just a client on a wireless network? I know that it's best to have dedicated hardware do this, but I'm looking for a software solution to use while I decide what to buy.
    Currently I have a DSL connection and a star style home network. The DSL modem has an ethernet cable to a hub, and our 2 macs connect with wires to the hub. (I have an older DSL modem that has no wireless capability, I know that upgrading the DSL connection involves a new modem that includes wireless, but the phone company makes no guarantees about supporting Macs, so I have to do some research first.)
    -Ken

    If your iMac connects to internet from ethernet cable, you can use airport to share the connection wirelessly by creating a network from airport, then go to system preference > sharing > internet and enable internet sharing. But if you already have a wireless router, Mac should be compatible, there is nothing inherently different between iMac's airport and PC's wireless card.
    For Wii, I have no experience myself but there are plenty of posts on this forum, like this one: http://discussions.apple.com/thread.jspa?messageID=4528652&#4528652
    (linked to http://www.virtualmatt.com/?p=7)

  • Set up time capsule as wireless access point

    I am trying to set up my old apple time capsule as a wireless access point for my girlfriend. She is at college and the university does not permit routers, so I am trying to set the time capsule up so that is just takes the hardwired internet and allows wireless access to the internet so she can use her iPad and MacBook Air on the wireless instead of having to use a gigabit adapter to use the ethernet. The time capsule has the newest firmware and she is running mavericks which has the newest airport utility software. However I am not sure what settings to use to make this work. I am fairly intelligent when it comes to computers however I am not very skilled in networking. If anyone can help I would greatly appreciate it.
    Thank you in advance!

    How old is the Time Capsule? Running what firmware?
    You have a problem.. If you cannot use the TC in router mode, then you are going to have to use it in bridge.. and it then depends on if the Uni system will hand out mulitple IP addresses. .which I doubt. In the end you might be stuck.. and it is not possible really with any system..
    Bridge normally requires that the TC take an IP address and then clients connecting to the TC wireless will also get IP addresses.. but if the uni system only hands out one address then the TC has already captured it and there are no more available.. but try that method first.. as it is the easiest.
    If it fails there is a more complicated method.. where we can give the TC a separate static IP in a different IP range and the wireless will still be bridged.. so the MBA or the ipad can use the wireless.. but only one can ever be online at a time.
    The only way around this is to use the TC as a router contra the rules in the uni.. although I would suggest the uni only cares if you break their system. Most people don't.. but I am unsure what happens if you do.
    Ask their IT people how to use a wireless only device like ipad, when they only provide ethernet. You might find there already is a wireless internet system as well.

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • 1242AG Wireless Access Point - Cannot Get DHCP IP for BVI1 interface - Multiple SSIDs...

    Hello,
    I am attempting to set up three Cisco 1242AG Wireless Access Points with multiple SSID's. I used the web interface and directions online to set up the two networks I want and at least one of the networks work wirelessly.
    However, I have two problems:
    The first, which is the most important, is that the "management" interface, BVI1, doesn't get an ip address from our DHCP server. I set the VLAN 60 (which you'll see in the documenation below) to be the native VLAN on the device as well as on the switch that the device is connected to as well as other settings in the configeration file below. Because of this, I can only manage the device via the console port which would be a huge pain once all of the devices are mounted.
    The second problem is that I am not sure how to get both wireless networks broadcasting their SSID's. I have to manually type in the SSID for the second wireless network I have which I would prefer I don't have to. Anyway I can enable broadcasting on all of the SSID's?
    Thank you for your time.
    Regards,
    Christopher Koeber
    Using 7916 out of 32768 bytes
    version 12.4
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname AP-18.wesleysem.edu
    enable secret {Number Here} {Encrypted Password Here}
    enable password {Number Here} {Encrypted Password Here}
    aaa new-model
    aaa session-id common
    dot11 syslog
    dot11 vlan-name Kresge vlan 20
    dot11 vlan-name Library vlan 30
    dot11 vlan-name Public vlan 60
    dot11 vlan-name Secure_Public vlan 70
    dot11 vlan-name Secure_Seminary vlan 80
    dot11 vlan-name Server_Room vlan 1
    dot11 vlan-name Straughn vlan 40
    dot11 vlan-name Trott vlan 10
    dot11 vlan-name Web_Room vlan 50
    dot11 ssid (Secure) Wesley Campus
    vlan 80
    authentication open
    authentication key-management wpa version 2
    wpa-psk ascii {Number Here} {WPA Key Here}
    dot11 ssid Public
    vlan 60
    authentication open
    mobility network-id 60
    username Cisco password {Number Here} {Encrypted Password Here}
    username admin privilege 15 secret {Number Here} {Encrypted Password Here}!
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption vlan 80 mode ciphers aes-ccm
    ssid (Secure) Campus
    ssid Public
    mbssid
    station-role root
    interface Dot11Radio0.1
    encapsulation dot1Q 1
    no ip route-cache
    bridge-group 254
    bridge-group 254 block-unknown-source
    no bridge-group 254 source-learning
    no bridge-group 254 unicast-flooding
    bridge-group 254 spanning-disabled
    interface Dot11Radio0.10
    encapsulation dot1Q 10
    no ip route-cache
    bridge-group 10
    bridge-group 10 subscriber-loop-control
    bridge-group 10 block-unknown-source
    no bridge-group 10 source-learning
    no bridge-group 10 unicast-flooding
    bridge-group 10 spanning-disabled
    interface Dot11Radio0.20
    encapsulation dot1Q 20
    no ip route-cache
    bridge-group 20
    bridge-group 20 subscriber-loop-control
    bridge-group 20 block-unknown-source
    no bridge-group 20 source-learning
    no bridge-group 20 unicast-flooding
    bridge-group 20 spanning-disabled
    interface Dot11Radio0.30
    encapsulation dot1Q 30
    no ip route-cache
    bridge-group 30
    bridge-group 30 subscriber-loop-control
    bridge-group 30 block-unknown-source
    no bridge-group 30 source-learning
    no bridge-group 30 unicast-flooding
    bridge-group 30 spanning-disabled
    interface Dot11Radio0.40
    encapsulation dot1Q 40
    no ip route-cache
    bridge-group 40
    bridge-group 40 subscriber-loop-control
    bridge-group 40 block-unknown-source
    no bridge-group 40 source-learning
    no bridge-group 40 unicast-flooding
    bridge-group 40 spanning-disabled
    interface Dot11Radio0.50
    encapsulation dot1Q 50
    no ip route-cache
    bridge-group 50
    bridge-group 50 subscriber-loop-control
    bridge-group 50 block-unknown-source
    no bridge-group 50 source-learning
    no bridge-group 50 unicast-flooding
    bridge-group 50 spanning-disabled
    interface Dot11Radio0.60
    encapsulation dot1Q 60 native
    no ip route-cache
    bridge-group 1
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio0.70
    encapsulation dot1Q 70
    no ip route-cache
    bridge-group 70
    bridge-group 70 subscriber-loop-control
    bridge-group 70 block-unknown-source
    no bridge-group 70 source-learning
    no bridge-group 70 unicast-flooding
    bridge-group 70 spanning-disabled
    interface Dot11Radio0.80
    encapsulation dot1Q 80
    no ip route-cache
    bridge-group 80
    bridge-group 80 subscriber-loop-control
    bridge-group 80 block-unknown-source
    no bridge-group 80 source-learning
    no bridge-group 80 unicast-flooding
    bridge-group 80 spanning-disabled
    interface Dot11Radio1
    no ip address
    no ip route-cache
    shutdown
    encryption vlan 80 mode ciphers aes-ccm
    dfs band 3 block
    channel dfs
    station-role root
    interface Dot11Radio1.1
    encapsulation dot1Q 1
    no ip route-cache
    bridge-group 254
    bridge-group 254 block-unknown-source
    no bridge-group 254 source-learning
    no bridge-group 254 unicast-flooding
    bridge-group 254 spanning-disabled
    interface Dot11Radio1.10
    encapsulation dot1Q 10
    no ip route-cache
    bridge-group 10
    bridge-group 10 subscriber-loop-control
    bridge-group 10 block-unknown-source
    no bridge-group 10 source-learning
    no bridge-group 10 unicast-flooding
    bridge-group 10 spanning-disabled
    interface Dot11Radio1.20
    encapsulation dot1Q 20
    no ip route-cache
    bridge-group 20
    bridge-group 20 subscriber-loop-control
    bridge-group 20 block-unknown-source
    no bridge-group 20 source-learning
    no bridge-group 20 unicast-flooding
    bridge-group 20 spanning-disabled
    interface Dot11Radio1.30
    encapsulation dot1Q 30
    no ip route-cache
    bridge-group 30
    bridge-group 30 subscriber-loop-control
    bridge-group 30 block-unknown-source
    no bridge-group 30 source-learning
    no bridge-group 30 unicast-flooding
    bridge-group 30 spanning-disabled
    interface Dot11Radio1.40
    encapsulation dot1Q 40
    no ip route-cache
    bridge-group 40
    bridge-group 40 subscriber-loop-control
    bridge-group 40 block-unknown-source
    no bridge-group 40 source-learning
    no bridge-group 40 unicast-flooding
    bridge-group 40 spanning-disabled
    interface Dot11Radio1.50
    encapsulation dot1Q 50
    no ip route-cache
    bridge-group 50
    bridge-group 50 subscriber-loop-control
    bridge-group 50 block-unknown-source
    no bridge-group 50 source-learning
    no bridge-group 50 unicast-flooding
    bridge-group 50 spanning-disabled
    interface Dot11Radio1.60
    encapsulation dot1Q 60 native
    no ip route-cache
    bridge-group 1
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio1.70
    encapsulation dot1Q 70
    no ip route-cache
    bridge-group 70
    bridge-group 70 subscriber-loop-control
    bridge-group 70 block-unknown-source
    no bridge-group 70 source-learning
    no bridge-group 70 unicast-flooding
    bridge-group 70 spanning-disabled
    interface Dot11Radio1.80
    encapsulation dot1Q 80
    no ip route-cache
    bridge-group 80
    bridge-group 80 subscriber-loop-control
    bridge-group 80 block-unknown-source
    no bridge-group 80 source-learning
    no bridge-group 80 unicast-flooding
    bridge-group 80 spanning-disabled
    interface FastEthernet0
    ip dhcp client update dns
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    interface FastEthernet0.1
    encapsulation dot1Q 1
    no ip route-cache
    bridge-group 254
    no bridge-group 254 source-learning
    bridge-group 254 spanning-disabled
    interface FastEthernet0.10
    encapsulation dot1Q 10
    no ip route-cache
    bridge-group 10
    no bridge-group 10 source-learning
    bridge-group 10 spanning-disabled
    interface FastEthernet0.20
    encapsulation dot1Q 20
    no ip route-cache
    bridge-group 20
    no bridge-group 20 source-learning
    bridge-group 20 spanning-disabled
    interface FastEthernet0.30
    encapsulation dot1Q 30
    no ip route-cache
    bridge-group 30
    no bridge-group 30 source-learning
    bridge-group 30 spanning-disabled
    interface FastEthernet0.40
    encapsulation dot1Q 40
    no ip route-cache
    bridge-group 40
    no bridge-group 40 source-learning
    bridge-group 40 spanning-disabled
    interface FastEthernet0.50
    encapsulation dot1Q 50
    no ip route-cache
    bridge-group 50
    no bridge-group 50 source-learning
    bridge-group 50 spanning-disabled
    interface FastEthernet0.60
    encapsulation dot1Q 60 native
    no ip route-cache
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface FastEthernet0.70
    encapsulation dot1Q 70
    no ip route-cache
    bridge-group 70
    no bridge-group 70 source-learning
    bridge-group 70 spanning-disabled
    interface FastEthernet0.80
    encapsulation dot1Q 80
    no ip route-cache
    bridge-group 80
    no bridge-group 80 source-learning
    bridge-group 80 spanning-disabled
    interface BVI1
    ip address dhcp client-id FastEthernet0
    no ip route-cache
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    bridge 1 route ip
    line con 0
    line vty 0 4
    end

    I am using a third party DHCP server which is our Windows Domain Controller. I have the ip helper-address set for the native vlan of the Access Point through a layer 3 distribution switch (a Catalyst 4506) that the current switch connects to.
    I didn't see any event on the logs for the AP.
    Let me know if I need to do something else.
    Thanks.

  • How to find out wireless access point?

    Hi all!
    I want to write one simple program which could detect all wireless access point're running around me. So pls somebody could tell me what I have to do now?
    Thank you so much!

    Dear prometheuzz !
    I knew it but :) OS default can't detect AP which not
    broadcast SSID. By the way why U said that Java is
    not suitable for this task???Dear viethanguyen ,
    Java doesnt have this functionality, cause Java is a High Level language, and what you are asking for is low level programming that is related to the underlying OS system calls and modules. So if your OS doesnt have/support this functionality, then how you expect Java to have it!. And if you are using GNU/Linux search for tools like kismet, air-snort ...etc.
    Amr M. Kamel

  • How to Setup WRITTEN as a wireless access point to work with WRITTEN

    Hi,
    I had a router WRITTEN which was not covering the whole space in my house. I was looking for a N wireless access point or a range extender.
    The shop seller convinced me to buy WRITTEN saying that the Dual N will fix my problem.
    well it did not. The reception in some locations is still poor.
    the same reseller advised me to use the 350N as a wireless access point instead of buying one. The question is how to do it.
    I am thinking about the following:
    1- Have the WRITTEN installed next to the internet modem connect to the modem by cable
    2- in another room have the WRITTEN (approx 20 meters away) not connected by a cable to the WRITTEN 
    3- When using the laptop in the weak reception area, I try to connect wirelessly to WRITTEN which should be also connected wirelessly to the WRITTEN
    Would that be possible. I hope so since there is no way to have a cable connecting the 350N and 610N due to many reasons
    appreciate your help in adance

    I am sorry but the spelling checker repalced my router names to another word
    the correct text is:
    I had a router WRT350N which was not covering the whole space in my house. I was looking for a N wireless access point or a range extender.
    The shop seller convinced me to buy WRT610N saying that the Dual N will fix my problem.
    well it did not. The reception in some locations is still poor.
    the same reseller advised me to use the 350N as a wireless access point instead of buying one. The question is how to do it.
    I am thinking about the following:
    1- Have the WRT610N installed next to the internet modem connect to the modem by cable
    2- in another room have the WRIT350N (approx 20 meters away) not connected by a cable to the WRT610N
    3- When using the laptop in the weak reception area, I try to connect wirelessly to WRT350N which should be also connected wirelessly to the WRT610N
    Would that be possible. I hope so since there is no way to have a cable connecting the 350N and 610N due to many reasons
    appreciate your help in adance

  • How do i set up a wireless access point with ny time capsule

    I am using a new Airport Extreme and want to utilize my older TC to create a wireless access point or maybe an aditional router using the same newtwork.  What are the steps to set this up?
    Thanks
    Alamo

    You will first need to perform a Factory Default Reset on the Time Capsule.
    Resetting an AirPort Base Station or Time Capsule FAQ
    Then, temporarily locate it in close proximity (same room or nearby) to the AirPort Extreme.
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click the tab in the upper left hand corner of the AirPort Utility window that reads Other AirPort Base Stations (1), then click the Time Capsule
    AirPort Utility will take a moment or two to analyze your network, then announce that the TC will be configured to extend your wireless network.
    Enter a name for the TC (you can use the same device name that you used before if you wish) and click Next.
    AirPort Utility will take a another minute or two to configure the TC and then tell you that the setup is complete. Click Done
    At this point, power down the TC and move it to a location that is approximately half the distance from the AirPort Extreme and the area that needs more wireless coverage.....to give the TC a good strong signal to "extend"
    Power up the TC and wait for the green light and then you are all set.

  • Can I use the Ethernet Port for a computer when it is also used as a wireless network with an Airport Extreme as the access point for the wireless network

    Can I use the Ethernet Port  of the A1264 Airport Express to connect to the Ethernet port of a computer that does not have wireless capability when the Airport Express is also used on a wireless network with an Airport Extreme 5th generation as the access point for the network?
    I have AE 5th gen
    looking to buy (from ebay) the AEX A1264
    Various computers, printers and hubs for the network
    Is this possible to do?

    Bob, Thanks for the info. I have read different articles that said yes, but I wanted to make sure before I commit to buy. I have an older A1084 which I could not use the Ethernet port. I know at one point I was able to when I was on 10.4. Now that I am on an Intel processor and 10.8 I am going to have to upgrade some of my Apple wireless hardware.
    Thanks Again.

  • Need some advice for AP IOS upgrade (Wireless Access Point 3702 Series) ?

    Hi to all
    I recently purchase a Wireless Access Point (AIRCAP 3702E-E) with 4 antenna, i will use this device like wifi hotspot in my home.
    I would like to upgrade it but i see two kind of AP IOS :
    Lightweight AP IOS Software
    Autonomous AP IOS
    What are the difference ?
    In case of Lightweight AP IOS Software will be the one to choose, i have multiple IOS :
    Wireless Lan, ap3g2-k9w8-tar.152-4.JB4.tar
    Wireless Lan Recovery, ap3g2-rcvk9w8-tar.152-4.JB4.tar
     Someone can tell me what is the difference between these two versions ?
    Best Regards.
    Elrick.

    Hi Elrick,
    Cisco AP AIRCAP3702E is Cisco enterprise unit.  Cisco small business support WAP4410N, WAP121, WAP321, WAP551, and WAP561 AP. However I will answer your questions.
    Lightweight AP ISO you can use it ONLY if you connect AP to wireless controller
    Autonomous AP ISO for manage and modify AP  by it self not required wireless controller.
    Thanks,
    Moh

  • How to Turn Your Mac into a Wireless Access Point?

    How do i Turn my Mac into a Wireless Access Point in my home? even a link to where it tells me step by step would be great thanks!

    Click here and follow the instructions.
    (44739)

Maybe you are looking for

  • Huge increase in monthly payments AND billed for w...

     I moved back to BT for calls a couple of years ago and set up a monthly payment plan to help with the cost as I'm on  a low income. In March I also signed up for BT Broadband. My payments up until then had been £45 a month, BT anytime plan ( I use a

  • How to change operator of join conditions in where clause?

    Hello I have a situation... I want to change the operator between each join conditions in the where clause when these join conditions are not from the same join.. For example, I have the following schema: Dim1 ------ DimA -------Fact1 Dim1-------DimB

  • Dm_exec_cached_plans undocumented column parent_plan_id?

    I recently paid attention that dm_exec_cached_plans has a column called parent_plan_id. it's not mention in BOL (see below), and it appears to be always null. What gives? https://msdn.microsoft.com/en-us/library/ms187404(v=sql.110).aspx Mordechai Dan

  • Configurator look and feel customization

    Hi all I have customised the BLAF.css file and bounced the appache..but it is not affecting . If there is any steps that i am missing? If anybody know please help me out...

  • Multiple queries/Merged dimension dispalying data in report

    Hi All, I am using BOXI 3.1, In my report i have 2 queries both are using the same universe. First query will return data for current date and second query return for previous date. This is the only diffrence between 2 query apart from this it has sa