Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
I am running the latest version of slackware (v 11.0) and I am wondering if there is a way to make slackware tell me that it has picked up the dynamic ip address from my ISP.
When I reboot the machine I see it waits for a moment when trying to get the ip address but it would be nice to see that it got it, or that it didn't get it.
If I put the command to call 'rc.inet1' from the rc.local file - than I see when the
ip address is recieved. But not where it normally is run from.
Can anyone tell me if this is possible and if so, what do I have to do to see the ip address being recieved..
Firstly, you should configure /etc/dhcpc/dhcpcd.exe from the sample. That puts out a line whenever an IP is acquired.
Then, which kernel are you running. Out of the box, the 2.4 based system uses hotplug, which does an excellent job of supressing all the messages generated by the scripts that are run as each device has been discovered. So you won't see the message. HA
I am running the kernel provided, right out of the box. 2.4.33.3.
And what I want to see is what is happening at the time of 'boot'.
I know that after the machine comes up I can look at what the ip address is by doing ifconfig eth0/eth1 etc... but I would like to see the system acquiring the ip address while it is coming up.
Right now - I see it sitting there, at the point where it is trying to acquire the address (waiting for the 60 secs) and after that it takes off. Away it goes..
What I did to gain some assurance, was to add rc.inet1 restart to the rc.local file.
That shows me that it gets the ip address or fails. But I would like to do it right and only acquire the address from the rc.M file..
But - apparently kernel 2.4 suppresses all that is happening during boot which means I will never see it picking up the address as long as I run kernel 2.4 ??
What a bummer...
And kernel 2.6 is no good for some of my applications....
Thanks anyway fellows. Your input is appreciated..
In my experience, if the boot hangs for 60 seconds while trying to acquire an IP address, you can be pretty much assured that it HAS failed. It normally takes less than 3-5 seconds to get an IP address on my systems when everything is working as it should be.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.