Re: accessing Linksys DHCP Client Table



Philip wrote:
I use a Linksys WRT54G router for my home LAN. My Fedora server uses a
static IP. However, my XP box hosts the printer and uses DHCP to get its
IP. Every so often the XP address changes and the Fedora box hosts file
has to be updated to access the printer.

Has anyone got a ready solution to access the router's DHCP Client Table
and update a hosts file?

I could write a script, but I thought I'd check to see if there is not
already a solution out there.

Phil

Does the router's DNS resolve your XP box's IP address? If so, then you
don't need to update your hosts file. If not, then use wget to download
the status page from the router containing its client table and use grep
and cut (or awk or perl) to get the XP box's address. The exact details
are probably model and firmware dependent.

Robert

.



Relevant Pages

  • Re: internet trouble
    ... >> declaration with no address range. ... Hello Chris et al, I now have connection to the internet, using dhcp. ... subnet 10.152.187.0 netmask 255.255.255.0 { ... # Fixed IP addresses can also be specified for hosts. ...
    (alt.os.linux)
  • Re: Running out of DHCP address leases howto rectify?
    ... which also hosts DNS and DHCP for 4 floors. ... We have about 20 DHCP leases available on the existing 147.109.x.y ... This subnet needs to be migrated to a 10.16.128.0/23 subnet range ... If you want to keep with the separate subnets for each floor, ...
    (microsoft.public.windows.server.general)
  • Re: network and router questionhelp
    ... Does your router allow multiple hosts on a given port? ... ethernet hub connected to a router with no one talking to anybody. ... the hosts to be using DHCP, so configure that client in place of the ... address on this network out of mid-air. ...
    (alt.linux)
  • Re: accessing Linksys DHCP Client Table
    ... Every so often the XP address changes and the Fedora box hosts file ... Has anyone got a ready solution to access the router's DHCP Client Table ...
    (comp.os.linux.networking)
  • Re: Does my network have a bear pit?
    ... As for switches, we use a series of Intel 510T switches, some with a fiber ... You can adjust the Exclusions in the existing Scope to block out anything higher ... ....Then after giving it a a few days for the DHCP Clients to gracefully ... When you finally hit over 200 Hosts then build in a router and new segment into ...
    (microsoft.public.windows.server.networking)