Find the answer to your Linux question:
Results 1 to 5 of 5
I want to extract details like DefaultIPGateway Used,DNSServer Search Order,Primary WINS,Secondary WINS.. I am using Red Hat Linux 9.0 (Shrike) Is there a command or a configuration file file from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    24

    Finding DHCP related information


    I want to extract details like DefaultIPGateway Used,DNSServer Search Order,Primary WINS,Secondary WINS.. I am using Red Hat Linux 9.0 (Shrike) Is there a command or a configuration file file from which these details can be extracted....

  2. #2
    Just Joined!
    Join Date
    Nov 2005
    Location
    Nigeria
    Posts
    5

    To get details you need

    hello I am a mandriva user and I know that mandriva and Redhat share almost the same commands so to do this you simply edit this file which is /etc/dhcp.conf

    That should help......

  3. #3
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    there are a couple commands you can use to display the info you are looking for..

    substitute the proper interface number for your machine in place of the eth1 used in the example..

    mail:/etc# ifconfig eth1
    eth1 Link encap:Ethernet HWaddr 00:02:B3:EE:5B:FD
    inet addr:192.168.0.207 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::202:b3ff:feee:5bfd/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1103588 errors:0 dropped:0 overruns:0 frame:0
    TX packets:46509 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:160790164 (153.3 MiB) TX bytes:7866745 (7.5 MiB)
    Base address:0xdf80 Memory:ff8a0000-ff8c0000

    mail:/etc# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
    default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1



    mail:/etc# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.0.25
    nameserver 192.168.0.24
    search wrgservices.com
    far...out

  4. #4
    Just Joined!
    Join Date
    Nov 2005
    Location
    Nigeria
    Posts
    5

    I need help ASAP

    Hi all,

    I am badly in need of a laptop used or new which ever.
    Specification:

    pentium 3 or 4
    RAM at least 256
    HD at least 20GB
    CD-ROM or CD-RW
    on board wireless card
    Brand (IBM thinkpad T42 centrino or any Compaq presario V2000)

    Thanks

  5. #5
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431

    Re: I need help ASAP

    Quote Originally Posted by karmalu
    I am badly in need of a laptop used or new which ever.
    I don't think this is the right place to ask for this... Maybe under the "Classifieds" section, in your own thread .

Posting Permissions

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