+ Post New Thread
Results 1 to 6 of 6
*nix Thread, re/starting dhcp client in Linux in Technical; One thing MS Windows appears to have over most Linux distros I have tried is the ease with which you ...
  1. #1

    Join Date
    Mar 2006
    Posts
    537
    Thank Post
    2
    Thanked 3 Times in 2 Posts
    Rep Power
    18

    re/starting dhcp client in Linux

    One thing MS Windows appears to have over most Linux distros I have tried is the ease with which you can restart the dhcp client after a break in network connection. If you plug in a network cable to the back of the PC windows will start acquiring an address. If that's too easy then you can also do IPCONFIG /RENEW.

    With Linux, in many cases you have to either have to have the cable plugged in before booting or try to find some gui tool to force address acquisition. Now from what I read you should be able to use ipconfig up to give the dhcp client a fillip but that doesn't seem to work. The one counter example I found is Puppy Linux with dhcpcd. For other distros life is not so simple or maybe it is and I am the simple one

  2. #2

    Join Date
    Mar 2007
    Location
    St. Albans, Hertfordshire
    Posts
    22
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: re/starting dhcp client in Linux

    Ubuntu Network Commands

    For most distro's just use the man command and look up DHCP. From my experiance using ifconfig eth0 down and ifconfig eth0 up for wired connections is fine.

  3. #3

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,088
    Thank Post
    511
    Thanked 2,308 Times in 1,784 Posts
    Blog Entries
    24
    Rep Power
    803

    Re: re/starting dhcp client in Linux

    simply running 'dhclient' should do the job in most cases.

  4. #4

    Join Date
    Mar 2006
    Posts
    537
    Thank Post
    2
    Thanked 3 Times in 2 Posts
    Rep Power
    18

    Re: re/starting dhcp client in Linux

    I tried the suggested methods with a copy of DSL live CD. The network cable was removed and only reinserted after the desktop had appeared.

    No dhcpclient command. ifconfig down then up didn't work. It appears that DSL uses the pump command for automated host configuration. I thought this became deprecated a few years back. Oh well.

  5. #5

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,088
    Thank Post
    511
    Thanked 2,308 Times in 1,784 Posts
    Blog Entries
    24
    Rep Power
    803

    Re: re/starting dhcp client in Linux

    did you use dhcpclient or dhclient? The prior doesn't exist, the latter does...

    What version of DSL are you using?

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: re/starting dhcp client in Linux

    Other common dhcp clients on Linux include 'pump' and 'dhcpcd'.

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange Server Mail Client In Linux
    By FN-GM in forum *nix
    Replies: 6
    Last Post: 16th October 2007, 08:29 PM
  2. Replies: 6
    Last Post: 11th July 2007, 03:32 PM
  3. World Series Starting soon
    By russdev in forum General Chat
    Replies: 8
    Last Post: 24th October 2006, 12:25 PM
  4. RIS with Linux dhcp
    By edie209 in forum *nix
    Replies: 15
    Last Post: 10th October 2006, 08:09 AM
  5. Services Not Starting...
    By RichCowell in forum Windows
    Replies: 6
    Last Post: 17th January 2006, 11:42 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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