LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Pkgtool sucks!! (https://www.linuxquestions.org/questions/slackware-14/pkgtool-sucks-201989/)

BajaNick 07-06-2004 10:05 PM

Pkgtool sucks!!
 
I just ran pkgtool to turn off hotplug activation and now I cant get on the internet, WTF??. I set it back and still no internet. This sucks!!
When I run ./rc.M I get unexpected end of line error.

gbonvehi 07-06-2004 10:33 PM

Maybe that's because hotplug was loading your network cards drivers?

BajaNick 07-06-2004 10:39 PM

Well, I reenabled it and still no connection. :(

slackMeUp 07-06-2004 11:50 PM

well ... . then find out what type of network card you have, look up what driver the card uses. . .
then do an "lsmod" to see if it is loaded. . . if not load the driver.

Cerbere 07-07-2004 12:07 AM

Sounds like pkgtool did what you asked it to.

So is it pkgtool that sucks, or . . . maybe the loose connection is between the keyboard and the chair.

Enjoy!
--- Cerbere

major.tom 07-07-2004 02:33 AM

Did you reboot after re-enabling hotplug?

...or run "/etc/rc.d/rc.hotplug start"?

Once you get it working again, if you still prefer not to use hotplug, use advice above and run lsmod to help you determine exactly which driver is being loaded for your network card. Then either uncomment that line in /etc/rc.d/rc.modules or create an executable file rc.netdevice in the same folder that loads the module for you. (This prevents you from having to remember the driver and uncomment it if you find run -current and update kernel-modules.)

eg.

/sbin/modprobe <driver>

Once you have the driver, you should now be able to either remove hotplug, chmod -x /etc/rc.d/rc.hotplug, or (I guess; never used it) use pkgtool to disable it.

Keep in mind that if hotplug is what enables other required devices (sound card) you'll have to uncomment the appropriate lines in rc.modules if you want them to work without hotplug.

Garry

BajaNick 07-07-2004 07:27 PM

Thanks major tom, the detailed info you gave helped out alot. I guess I do need hotplug enabled, But pkgtool would not re-enable it even after reboot. I thought hot plug was for USB devices or something that you plug in without shutting down.

major.tom 07-07-2004 08:45 PM

It does that (USB) but it also auto-detects hardware, so if you disable it, you have to manually ensure that the appropriate modules are loaded. (Once only, of course. From then on, it should continue to work.)

Garry


All times are GMT -5. The time now is 06:55 PM.