SlackwareThis 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.
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.
Well, the title tells you the situation. I was working with my partitions last week, stupid mistake. Anyway lost the entire contents of my hard drive on my laptop so I am starting all over. Almost a year's worth of work configuring.....gone. Fortunately, I had complete backups of all my important work, so no loss there. What I didn't have was backups on configs I had done: wireless, sound, etc. I do, however, have notes on all the help I got here setting up before, so I feel good about getting it all going again.
I have re-installed, but this time I decided to go with Slackware current. No problem installing. But, in this kernel, my wireless is not natively supported, so I use a USB stick that uses the zd1211rw driver and it modprobed just fine. Just need it to get online to get the 2.6.27 kernel that DOES support my wireless.
But, I have an odd problem that I have not encountered before. Of course I have read the Slackbook wireless HOWTO HOWTO.
The problem is this: I can get the wireless set up no problem, I even get a DHCP IP address with dhclient, I can ping the router, but it will not connect to the net or other machine on my home network.
Please don't yell at me if I am missing that is obvious. I am just not familiar with DNS, which may be my problem. This is a completely fresh install with kernel 2.6.24.7-huge-smp, no other configuration at this point.
I am not familiar with dhclient, as I have always used dhcpcd. One thing that I found when dealing with static IP's is that you need to have your gateway (IP address of your router) setup through route, as well as having a nameserver listed in your /etc/resolv.conf.
First I would try using dhcpcd wlan0 (or whatever device yours uses) and see if it sets up all that info for you (which it does for me), otherwise you can setup a static address. Although I don't remember the commands right off as I have a wireless script that does it for me (you can access the script at http://bpws.sf.net )
Thank you, /etc/resolv.conf is indeed empty. To use dhcpd, I am being prompted set up the dhcpd.conf file, which is very confusing. I am using a simple home router with three machines connected and never had this issue before. I am thinking that something I entered during my Slack install has created this issue, though I use the same entries I have always used. Perhaps someone will post a sample file for both of these to get me started.
Thank you, /etc/resolv.conf is indeed empty. To use dhcpd, I am being prompted set up the dhcpd.conf file, which is very confusing. I am using a simple home router with three machines connected and never had this issue before. I am thinking that something I entered during my Slack install has created this issue, though I use the same entries I have always used. Perhaps someone will post a sample file for both of these to get me started.
Bob
Once I get home, I will post my conf file. But I am glad to see you got it working.
Well, the Slack Book details setting up frequency scaling very well, but doesn't say what to do with this. I have compiled my 2.6.27 kernel, running well, but cannot get cpufreq scaling to work. I have uncommented /sbin/powernow-k8 and APCI Processor in /etc/rc.d/rc.modules, but still no go.
Quote:
root@bob-laptop:/home/bob# dmesg | grep powernow
powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57 processors (2 cpu cores) (version 2.20.00)
powernow-k8: ACPI Processor support is required for SMP systems but is absent. Please load the ACPI Processor module before starting this driver.
powernow-k8: ACPI Processor support is required for SMP systems but is absent. Please load the ACPI Processor module before starting this driver.
I shouldn't be getting this message I don't think. Anyone have any ideas?
Once I get home, I will post my conf file. But I am glad to see you got it working.
Well, my dhcpd.conf file has no configuration options, so I don't know why you are getting that error.
As for your new one, some googling turned up this post.
Basically it says you need to enable "AM2 Boost Enable" in the bios, or something similar to that. But if you built your own kernel, it could be a module you accidentally didn't build.
If you own a laptop, I can highly suggest building the cpu frequency daemon. It gives you a ton of options on the scaling limits for various power settings (ie, on AC, battery at specific levels, etc).
Well, my dhcpd.conf file has no configuration options, so I don't know why you are getting that error.
As for your new one, some googling turned up this post.
Basically it says you need to enable "AM2 Boost Enable" in the bios, or something similar to that. But if you built your own kernel, it could be a module you accidentally didn't build.
If you own a laptop, I can highly suggest building the cpu frequency daemon. It gives you a ton of options on the scaling limits for various power settings (ie, on AC, battery at specific levels, etc).
Hello again,
Yes it is a laptop and I did compile this kernel myself. I am sure I included the ACPI processor and powernow_k8 (which is what I need to get this to work, but as shown it is complaining that it can't even find the module ppowernow_k8 or acpi_processor.
I had this working just fine prior to wiping the drive in 12.1. Need to get it sorted soon, though, because this laptop runs really hot without it.
Yes, I am looking at the config now, I do have processor checked in the ACPI support section. In frequency scaling, I have CPU frequency scaling checked, frequency translation statistics, and userspace governor "ondemand".
I have recompiled twice now and still get the error that the powernow-k8 module is not found.
Still getting a couple of error messages in dmesg, but the fourth recompile got freq scaling to work. I guess I have been at this too long....eyes getting weary and missing things.
But got Slack up now and this is the first time I have used current. The adventure begins again.
Thanks everyone.
Bob
Last edited by BobNutfield; 10-08-2008 at 12:07 PM.
Yes, I am looking at the config now, I do have processor checked in the ACPI support section. In frequency scaling, I have CPU frequency scaling checked, frequency translation statistics, and userspace governor "ondemand".
Hi Bob, I'm glad you sorted it out. In case you need to do this again: What I was referring to is not
Code:
--- ACPI (Advanced Configuration and Power Interface) Support
<*> Processor
but instead the last line in
Code:
CPU Frequency scaling --->
<*> AMD Opteron/Athlon64 PowerNow!
[*] ACPI Support
The latter won't be visible unless the first is enabled (so you may have skipped it if you did the cpufreq selections first).
Got it all up and working now...sound, ATI driver cpu scaling, wireless, the works. Now I am going to restore my files from backup and leave it alone!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.