LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2004, 10:05 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
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.

Last edited by BajaNick; 07-06-2004 at 10:07 PM.
 
Old 07-06-2004, 10:33 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Maybe that's because hotplug was loading your network cards drivers?
 
Old 07-06-2004, 10:39 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Well, I reenabled it and still no connection.
 
Old 07-06-2004, 11:50 PM   #4
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
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.
 
Old 07-07-2004, 12:07 AM   #5
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 07-07-2004, 02:33 AM   #6
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
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

Last edited by major.tom; 07-07-2004 at 02:35 AM.
 
Old 07-07-2004, 07:27 PM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
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.
 
Old 07-07-2004, 08:45 PM   #8
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pkgtool does nothing?! alienDog Slackware 8 10-31-2004 05:11 PM
Pkgtool Corallis Slackware 6 09-01-2004 11:49 PM
pkgtool sio Linux - General 0 07-30-2003 12:47 PM
using pkgtool ivans Slackware 2 05-28-2003 09:37 PM
pkgtool ktindle Slackware 4 12-15-2002 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration