Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2006, 08:23 AM
|
#1
|
Member
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211
Rep:
|
howto re-execute dhcp without re-booting?
every time my isp goes down, and later get up again, I must restart the (cable)modem, but also the pc, coz it looks like
slack (or the dhcp service or whatever) needs to re-read the data the modem is supplying.
so, is there any way to re-execute the "read" process that slack execute during boot-time, just to avoid re-booting the whole box?
thanks in advance.
|
|
|
04-22-2006, 09:09 AM
|
#2
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Suppose your network interface is called "eth0", then the command to re-initialize the interface (including re-querying your cable modem for an IP address) is
Code:
/etc/rc.d/rc.inet1 eth0_restart
By the way, my cable modem has a browser based configuration interface, where I can instruct the modem to "renew" its IP address that it gets from my ISP. So, if I have problems with my ISP, I always just do this IP address renewal, and there is no need to power-cycle the modem. Maybe your cable modem has a similar feature?
Eric
|
|
|
04-22-2006, 09:27 AM
|
#3
|
Member
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211
Original Poster
Rep:
|
yeps, alien bob.. it's all I was looking for
thanx-a-lot
|
|
|
04-22-2006, 10:12 AM
|
#4
|
Member
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211
Original Poster
Rep:
|
sorry ... I didn't saw the 2nd part of your reply, til now..
I just finish reading my modem user's manual (motorola sb5100 series) and nothing says about a borwser based config ingerface.. in fact, in the troubleshooting section says "to restart the modem: un-plug it, or press the reset button in the rear panel" ..but there's no reset button in my modem, only a "stand-by" btn ( reset != stand-by  ..so, guess there's no way but unpluggin the device. Despite of it, gonna make some google about it.
thanks again,
|
|
|
04-22-2006, 10:34 AM
|
#5
|
Member
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211
Original Poster
Rep:
|
yeeeps.. google rules! 
my modem have a web-based interfase ..located at h t t p://192.168.100.1
think this is what you were talking about.. I can re-start the modem thru this page.. (your help was more useful than I expected)
btw: watta mysterious thing.. why the very modem manofacturer don't say a single world about this feature??
-best regards,
|
|
|
04-23-2006, 02:57 PM
|
#6
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep: 
|
also running 'dhcpcd -B' helps.
|
|
|
All times are GMT -5. The time now is 03:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|