WRT54GC - Does the DHCP Server really work?

Hi everyone,
Im new to this forum so i dont know if this problem has been discussed before and is there any solution to it.
I own a WRT54GC since January 2007 and have had no problems since then, but recently I found out some issues about the DHCP server on this unit:
This is what i have on the network for you guys to understand my network setup:
Cogeco Cable Modem for the internet (Im located in Canada), Linksys WRT54GC router, One Trendnet File/Print Server for my USB all in one Lexmark printer, and external hard drive, and an Acer laptop.
The network works perfectly (wireless internet, wired internet, printing, file transfer) except for the following DHCP issue:
DHCP server does not update the IP address of my laptop even if in the router settings i assign 5 mins or any minuites to the lease time of the IP address and I keep my laptop on and connected to the router either wireless or wired.
The router has been enabled for DHCP and can assign the IP address automatically to my laptop upon powerup. I also have allocated 6 users for DHCP and starting IP at 192.168.1.101 which means that the range is from 192.168.1.101 to 192.168.1.106
When I check who's connected to the network, I see that my lap is connected to it and the expiry of the lease time is given. I can also see that if the lease time is set to 5mins then it down counts until zero and it defaults to some wiered number after the time is over and doesnt change the IP address of my laptop. Looks like a bug in the DHCP server software. The above was tried when using the wireless connection.
When I connected the laptop using the ethernet cable to the router (wired connection) a somewhat similar behaviour but instead if I set a lease time of 5mins or any other mins, the server does not recognize this and defaults it to a lease time of a day (similar to setting 0).
I have configured my laptop for DHCP so I dont think there is anything wrong with my laptop but I do feel that the DHCP server on this WRT54GC is working abnormally.
Any suggestions?......Try it out first and see if you have the same problem.
If you dont than i will be glad if you could tell me how you were able to make it work!
Cheers.
(Edited post for guideline compliance. Thanks!)
Message Edited by JOHNDOE_06 on 10-08-2007 11:26 AM

Thanks for your reply. Im not looking forward to change my IP address every 5 mins. My question is more related the functional behaviour of the DHCP server. With all the proper settings (and I belive I have done the settings correctly), the DHCP server should update the IP addresses of any computer on the network after the lease period ends and provided the computer was on for the time the lease period is valid and not shut off. Even if I use the default lease setting of a day, it still does not change the IP address if I keep my laptop on for more than a day or so. I feel that the DHCP server is not functioning as it should. I dont really need to change my IP address and Im happy if it doesnt change, but I came across the abnormal behaviour when I was going through the setup. I just thought I should try to see how the DHCP server on this unit works and to see that it was not working as it should I thought I should ask someone on the community forum to see if this is really a normal behaviour or has linksys distributed a faulty product. My network works fine and Im the only user so Im not concerned about security. Im using WEP. To answer your other questions: There is no specific reason as to why I chose to limit DHCP to 6. I think 6 is good enough for me and as no one else is using my network I think 6 is an enough number for DHCP server to assign an unused IP address to my laptop after the lease period expires. I believe I dont need 50. The reason why I used 5 mins as lease time is because I wanted to test the DHCP server. 5 mins is short and I can wait and monitor to see if my IP address gets updated. Waiting for a day will be overkill for the simple test. Did you try it on your router? I'd be interested to know how it worked for you if it really worked. Thanks for you help!

Similar Messages

  • How does the SetDefaultReport Method really work?

    I've looked in the forum and can't find the answer in enough detail for me to understand it.
    I need to create a new print button on a system form (delivery notes) and when the user presses it, I need to change the default report for the user/bp combination on the screen, invoke the print button, then return the user's records in the RDFL table back to what they were before I made a change.
    I have it working so that everything up to the changing things back is fine. (Although if the user doesn't have any defaults already, then I have to set the same default twice, because the first set assigns the system values, even though I assign a reportcode, layout code, card code and user id).
    But the main problem is if the user/bp combination did not have a default specified in RTYP before I made my change, then I can't get rid of my default record in that table, so the next time the user goes to print via the system print button, hoping to get the system default, my default report is going to print instead and that's not what they want.  Whew!
    Is there some place on the website that might explain this process in some detail?  For instance, why are their records in this table with a negative userid number & what does that mean?  Why does the user need to be a super user for me to do this via the DI but they can do it through the application without being a SU?
    I'd really appreciate any insights, and thank you.

    Hi Rasmus,
    In regards to your trouble getting the default report so that you can set it back when your done, I think I've gotten that figured out.  It appears to me that GetDefaultReport always returns the original default for a document that is used (from the RTYP table).  This is regardless of user/customer.  What I'm doing is looking in  RDFL by user & customer for any specific default and use it if found.
    If not found, then I use the getreportdefault & assign it to that user/customer.  This puts a record in RDFL which is not the way the system would do it (It would delete the record, I believe), but it seems to have the same effect.
                'get current default report for this user for delivery docs
                ReportCode = "DLN2"
                rs.DoQuery("Select dfltreport from rdfl where userid = " & USERID & _
                        " and doumntdode = '" & ReportCode & "' and cardcode = '" & cardcode & "'")
                If Not rs.EoF Then
                    HoldLayout = rs.Fields.Item(0).Value
                    'otherwise use the system default
                Else
                    'get report layout service
                    oReportLayoutService = oCmpSrv.GetBusinessService(ServiceTypes.ReportLayoutsService)
                    'get report params
                    oReportParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiReportParams)
                    'Load the key for the default report
                    oReportParams.ReportCode = ReportCode
                    oReportParams.UserID = USERID 'This doesn''t seem to work. Changing user doesn''t change results
                    'get the default layout of the specific document (delivery note)
                    oReportParaDefault = oReportLayoutService.GetDefaultReport(oReportParams)
                    HoldLayout = oReportParaDefault.LayoutCode
                End If

  • How does the Identity Column really work?

    I am having an issue with an application using SQLServer 2008. My app has a class called SalesInvoice. I use ADO and VB6 for my app.
    The Index value for the record is the "Sales Invoice Number" which was created as an Identity_Spec with an increment of one. It was created using SSMS. It is set as the Primary Key and is Unique. It is a bigint data type.
    I have discovered in Microsoft documentation that the identity increment might get lost.  (See the quote copied form the help file.)
    "The identity property on a column does not guarantee the following:
    Uniqueness of the value – Uniqueness must be enforced by using a
    PRIMARY KEY or UNIQUE constraint or
    UNIQUE index.
    Consecutive values within a transaction – A transaction inserting multiple rows is not guaranteed to get consecutive values for the rows because other concurrent inserts might occur on the table. If values must be consecutive then the transaction
    should use an exclusive lock on the table or use the SERIALIZABLE isolation level.
    Consecutive values after server restart or other failures –SQL Server might cache identity values for performance reasons and some of the assigned values can be lost during a database failure or server restart. This can result in gaps in the
    identity value upon insert. If gaps are not acceptable then the application should use its own mechanism to generate key values. Using a
    sequence generator
    with the NOCACHE
    option can limit the gaps to transactions that are never committed.
    Reuse of values – For a given identity property
    with specific seed/increment, the identity values are not reused by the engine. If a particular insert statement fails or if the insert statement is rolled back then the consumed identity values are lost and will not be generated again. This can result
    in gaps when the subsequent identity values are generated."
    There is no issue with consecutive values within a transaction, although each invoice is written out in a transaction, as it is paired with Sales Line detail records. They are linked using the Sales Invoice Number.
    The issue comes in with the line " udtProps.InvoiceNumber = .Fields("Invoice Number")" as this is the property that returns the sales invoice number to the app that is used to actually print the invoice.
    My problem is with the 3rd bullet point from the help file. "Consecutive values after server restart or other failures ", particularly the "Other Failures" as they are not defined.
    I have pasted the sub from the class that actually persists the record, below. It includes the Error handler routine. Ia particularly concerned that the case of the Database record lock conflict error might be one of the "Other Failures" described
    in the help file above. In at least One occasion, the invoice printed with an invoice number of 690172, but was written to the database with an invoice number of 690175.
    If anybody has an in depth understanding of when the identity spec invoice number is set, returned and incremented, please help. Is it the first time the update is tried, or when the update command completes successfully?
    Private Sub Save()
        On Error GoTo ErrorHandler
        iRecLockReTry = 0
        Dim rs As ADODB.Recordset
        Dim sSQL As String
        Set rs = New ADODB.Recordset
        sSQL = "SELECT * FROM [Sales Invoices] "
        sSQL = sSQL & "WHERE [Invoice Number] = " & udtProps.InvoiceNumber
        If cnCompany.State = adStateClosed Then
            cnCompany.Open
        End If
        With rs
            .ActiveConnection = cnCompany
            .CursorLocation = adUseClient         
            .CursorType = adOpenDynamic
            .LockType = adLockPessimistic
            .Open sSQL
        End With
        If bNew Then rs.AddNew
        With rs
          ... (Values set here)
            .Update
            If bNew Then
                ' update ID property similar to below when adding record for first time
                udtProps.InvoiceNumber = .Fields("Invoice Number")
            End If
            .Close
        End With
        Set rs = Nothing
        Exit Sub
    ErrorHandler:
        If Err.Number = otErrorDBUpdateConflict Then
    '        Err.Raise 61002, sClassName, "Another user has updated this record while you were looking at it. You will have to recall the record and re-enter your changes."
            objError.ErrorHandle ERROR_CLASS_ID, otGeneralUpdateConflict, otErrorWarning
            'The way we are handling things I can't see how we would ever get this error. But Microsoft has it in as an error so it must be possible...
        ElseIf Err.Number = otErrorDBRecordLockConflict Then
            While iRecLockReTry < otErrorConstRecordLockRetry
                iRecLockReTry = iRecLockReTry + 1
                rs.Requery
                Resume
            Wend
    '        Err.Raise 61001, sClassName, "Another User has this record Locked. Do you wish to Continue trying to update?"
             objError.ErrorHandle ERROR_CLASS_ID, otGeneralRecordLockConflict, otErrorWarning
       ElseIf Err.Number = otErrorDBDuplicateIndex Then
    '        Err.Raise 61003, sClassName, "Unable to update this record because one of the fields has a duplicate index conflict. Please resolve the issue and try again."
             objError.ErrorHandle ERROR_CLASS_ID, otGeneralDuplicateIndex, otErrorWarning
        Else
    '        Err.Raise Err.Number, sClassName & "." & "Save", Err.Description, Err.HelpFile, Err.HelpContext
             objError.ErrorHandle ERROR_CLASS_ID, otGeneralUnexpectedDatabaseError, otErrorFatal
        End If
    With women, the TRUTH will not only NOT set you free, it will cause you a great deal of trouble.

    What OS do you use?
    There was an issue in the past with XP..
    ADO Recordset AddNew/Update Identity Problem.
    So run
    SQL Profiler to check what's going on.

  • Does the LAN port really work for wired internet?

    Ok. So I've seen this question asked, but nobody ever seems to come back and say "great, it worked!". If I have my AEBS connected to my DSL modem via the WAN port, Set up with my PPPOE info and set to distribute IP addressess and WDS on, can it also distribute to my desktop via the LAN port. I've seen many yeses, but I can't get it to work. The iMac also has an Airport card, and both it and my MAcBook can get to the internet fine. Also, if I set up the iMac for ethernet and connect it directly to the DSL modem (with the PPOE info in the iMac), it can also connect no problem. However, if I set the iMac up for ethernet and to get it's info via DHCP, and connect it to the AEBS LAN port, it doesn't even show an ethernet cable is connected. This leads me to believe that the LAN port is disabled in whatever config I have going with the AEBS. Any help would be great. Thanks.

    FYI, after further testing, it appears my port is loose? If I hold the cable and press firmly into the LAN port, I get a connection. if I let go of the cable, I lose it. So, if I bend the cable under the unit and scotch tape it in place... no problem. It is a refurb unit. Oh well.

  • Does the Viber app really work?

    I live in SA and have family living overseas. It would be great to be able to phone them at no cost!

    No.  The description says Compatible with iPad. Requires iOS 3.2 or later.  It would say iPot Touch if it  was compatible.

  • Does sharing the iPhoto library really work?

    Does sharing the iPhoto library really work?

    Yes I've used both apps to open the same library and it has worked. There are some things in each library that do not carry over, books for one and I'm not sure about slide shows.
    But the basic functionality works in both programs on the same library. Having wrote that I still believe in the advice we always gave out to new users before this recent change, when the library was not readable by both programs.
    That advice was to pick one program and use that one exclusively.  Before the recent change the reason for this was more obvious but now that the library can be read by both programs why stick to one?  One reason is comfort. Both programs while doing basically the same task do it just differently enough that switching between the two will be confusing. And when you are confused you are more likely to make mistakes. And mistakes in this case lead to image loss.
    Second Aperture is a fairly complex program and will require some time to learn it and use it well. If you're switching back and forth the time to learn it will be increased and you may never really get everything out of it.
    I think the great benefit of this recent change is that one it makes it a lot easier to migrate to Aperture, two if for some reason you decide that Aperture isn;t right for you there is no problem going back to iPhoto (in the past this was not possible without a great deal of effort and even then data would be lost) and three if other people in your household need to access the images in the library occasionally they can use the simpler iPhoto interface to do this.
    So my advice is stiil the same as it was before, pick one of the applications, Aperture or iPhoto, and make that your primary tool. In the long run you'll be  better off.
    regards
    PS in regards to the RAM question, 4gb will work but you'll be happier with 8gb
    good luck

  • I want to disable the DHCP server on HH3 and use l...

    Hi, i live in a flat with 5 other people so i have my HH3 connected to a linksys wrt5gl so that i can use the QoS capbilities of the linksys (tomato firmware). The linksys router can also limit bandwidth per ip address IF its also the DHCP server. When i disable the DHCP on the HH3 and enable it on the linksys the internet no longer works on any of the PC's, but if i have the DHCP on the hh3 i cannot limit bandwidth per ip on the linksys.
    In the flat before this i managed to set this up fine (wasnt with the HH3- some other router) just need some advice on how to disable DHCP on the HH3 and enable it on the linksys wrt5gl whilst still being able to connect to the net.
    Here is how its set up atm:
    Phone line>>>HH3 (assighns IP through DHCP)>>>Linksys (data goes through QoS)>>>PC's/laptops/consoles in flat
    Here is how i want it set up:
    Phone line>>>HH3 (Acts as a modem)>>>Linksys (assighns IP through DHCP to allow bandwidth limiting /data goes through QoS)>>>PC's/laptops/consoles in flat
    thanks in advance, sorry if this is hard to understand- im not so good at putting the problem into words
    Solved!
    Go to Solution.

    Hi,
    Don't know to be honest......but as an idea....you will have to disable DHCP server on the hub, apply a static ip to the Linksys, 192.168.1.100. You'll then need to set up DHCP on the Linksys....start ip 192.168.1.64 end 192.168.1.253, you'll need to add a subnet 255.255.255.0, then the gateway.....192.168.1.254 that's the ip address of the HH and that could be the real problem as normally the default gateway for DHCP on routers is the routers ip address.
    So the chandes of it working are slim.....however you dont have to use your HH on your BT broadband you can use another make/model. 
    One option to use with that router is a Draytek 120 ADSL modem, which does PPOA to PPOE.

  • Does the Apple A1096 adaptor work with the A1081 monitor? Can any one help? Thanks, Paul

    Does the Apple A1096 adaptor work with the A1081 monitor? Can any one help? Thanks, Paul

    Click on this link for the fix http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/

  • "Cannot find the DHCP server" message in 2012 R2

    Hello All,
    I am running Server 2012 R2 with a DHCP server running on it(usually).  Every few days or so, when I go into my DHCP console, I click on my server and I get the above message written in the topic of this thread??  Does anyone know why this is happening? 
    The server is literally on all the time.  It mentions that the DHCP service isn't running, but what can be shutting that down?  From what I have tried, the only way for me to rectifiy the issue is to do a restart during non-peak hours and the DHCP
    server comes right up no problem.  It doesn't seem like I am having DHCP problems in my organization even though this message is up.  Any ideas?
    Thanks,
    Chris

    Hi Chris,
    How are things going?
    Based on your description, you get “Cannot find the DHCP server” message, but it seems that the DHCP services in your organization has no problems.
    I agree with Jugganutz1871. In addition, have you recently made some changes in your DHCP server or your network? Such as, there are some cases with firewall.
    If there are any updates, please feel free to let us know.
    Best Regards,
    Tina
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Does the web server of weblogic support any plugins

    Does the web server of weblogic support any plugins similar to the ISAPI plugins for IIS or apache plugins?

    i can't seem to get it to work either AND I can't seem to find an answer here or any search that I do.  It seems that you can only view your calendar and not delegate calendars via the web view

  • Does solaris dhcp server support user class

    Does solaris dhcp server support user class(option 77). In my environment, solaris dhcp server seems just ignore this option set in the client dhcp discover.
    Does anybody can help me.

    The clients are all Windows 7 x64 (but I've replicated the problem on MacOS and Solaris clients). The server is Solaris 11 x86.
    For the problem to be the ARP cache, wouldn't the client's MAC address have to change during the reboot (i.e. the change in the client's MAC address is what causes the ARP cache to get confused, and hence the client gets blocked because of the MAC mismatch)?
    Edited by: user13534003 on May 9, 2012 1:43 AM
    Edited by: user13534003 on May 9, 2012 1:46 AM

  • Does the PS3 Bluetooth Headset work with the IPod Touch 4Gen?

    Does the PS3 Bluetooth Headset work with the IPod Touch 4Gen?
    I really need to know. I have been trying to Pair them but it never shows up on the IPod. Anyone know the problem?

    Is it A2DP?
    The ipod touch does not support telephone headsets, just stereo headsets.
    http://support.apple.com/kb/HT3647

  • In what QOS does the receiver SOAP adapter work BE or EO?

    Hi,
    In what QOS does the receiver SOAP adapter work BE or EO?
    My guess is that it is by default EO, if so how do i make it work like synchronous?
    There is no option to set it explicitly.
    Thanks]
    Shakthi

    Siva,
    In receiving adapter you can't set the status. The receiving QOS is set in the pipeline by using the Sender Comm.channel QOS.
    So for example in SOAP to SOAP scenario, if you set the Sender comm.channel as BE, then through out the Pipeline till it reaches the Receiver Comm.channel the QOS will be considered as BE only( Even though you didn't explicitly said to the Receiver comm.channel).
    Hope it helps!
    raj.

  • Where can I find the file where the static mapping allocations of the DHCP server are stored?

    In our company we are using DHCP to assign static ip addresses to our clients.
    Now we are forced to change the ip address range. To prevent changing each allocation
    of mac-address to ip-address manually with the admin tool i would like to change the allocation
    in the file where the allocations are saved. The reason ist that i just have to use copy & paste for all
    the allocations.
    So how is the file named and where can I find the file where
    the static mapping allocations of the DHCP server are stored? Is it just an ASCII file?
    Must i note anything when i change the file manually?

    From man bootpd:
    BOOTP/DHCP STATIC BINDINGS
         Static IP address to ethernet address bindings are stored in the /etc/bootptab file and in Open Directory.  Bindings specified in the /etc/bootptab file take precedence over those in Open Directory.
         See bootptab(5) for more information about the /etc/bootptab file.
         For Open Directory, bootpd looks at the /Computers records for the following properties:
    /etc/bootptab is a standard text file, while the records in Open Directory can be manipulated either through the command line, or via Workgroup Manager.

  • Does the photo transfer app work to move photos from an ipod touch to my computer?

    Does the photo transfer app work to move photos from an ipod touch to my computer?

    See:
    Copying personal photos and videos from iPhone, iPad, or iPod touch to your computer

Maybe you are looking for

  • Issues with Mail Connection in iOS6

    I have a weird issue that's been plaguing me since I upgraded to iOS 6.  My company hosts its mail using an Apple Mail server running 10.5 (yes, outdated, we know and are migrating to Google).  I used to have no problem connecting via IMAP to my mail

  • How to Open MSExcel in forms

    hello, i would like to open MSExcel when i hit a button. i used this command that follows ,, Host('Excel.exe'); nothing hapenned when i hit the button. could someone help me?

  • Inserting strings in a RandomAccessFile at a particular location

    I wrote a java program to read and display the contents of RAF. It is working. Actually,I need to read a file and search for a string in it and if the string equals certain value, then i need to insert a line in the file at that location. My problem

  • Can i put a single Itunes directory in the Shared File folder of a computer

    Can i put a single Itunes directory/song list in the Shared Folder of my computer and everyone in the house utilize the one account? This way we keep all the available music on one computer and accessible to everyone.

  • Test state changes

    In the video Create rollover effects with the State Button widget | Adobe Muse CC tutorials  he says that he can have a state change if he hovers over the text.  My question, how does he accomplish this?  I have manually created a menu, and wanted th