Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was trying to get the wireless working on the boy's laptop with the bc43 driver and the howto I was following said to
delete the files in /etc/udev/rules.d and reboot the machine.
On reboot the machine booted fine but I am unable to log into the gui except in single user mode with starx. I know better but I didn't make copies of the files so I can't just put them back from a liveCD. When I loged in from root there was a message about hal not working right.
I am able to log into a shell from "init 2" as a normal user. Another thing I notice is that the mouse does not work.
How do I reinitialize the /etc/udev/rules.d folder?
I have read other post that said to delete files out of that folder and reboot, so it seams to be a normal thing.
I have tried /etc/init.d/udev restart but that was no help.
I am ready. Go ahead and explain to me how dumb that was.
I thought as much. I looked at that folder on my laptop and saw those files. That is why I tryed the reinstall thing.
I had hoped that there was a copy of the udev package in cache somewhere that I could extract the files out of. But I don't know where I would look for it. It is possible for me to download it to my laptop and extract the files to a cd. Would I then be able to put them back where they belong?
I have made it a habit of using rcs to backup old configurations before making changes.
I'll create an RCS subdirectory and then run "sudo ci -l <configfile>" before making my changes.
You can add comments when checking explaining the changes.
You might want to check your cron jobs to see if it makes periodic backups of important config files in /etc/, or perhaps just after installation.
No need for knoppix if you can boot into single user mode.
At the grub screen highlight the kernel, press e, highlight the kernel line, add 1 to the end, press enter, press b.
See if you have the deb in /var/cache/apt/archives/udev_version_amd64.deb or some such. If not, use the deb you downloaded.
In some dir of choise do "dpkg -x /var/cache/apt/archives/udev_version_amd64.deb ."
Copy over the files from etc/udev/rules.d/ to /etc/udev/rules.d/
If that won't work and you have the deb:
"dpkg -r udev"
"dpkg -i /var/cache/apt/archives/udev_version_amd64.deb"
Obviously change the version to what you actually have there.
I got the gui back this morning. I had to use a two step process, might not have if I had to if I had your instructions.
1 copy the udev package to a folder in the vista partition in vista because knoppix and the broken box, I deleted the files that let it see the memory card, won't access the memory card.
2 boot knoppix and put the files in the proper folder.
On reboot I was able to log into the gui. I did run # aptitude reinstall udev, which was successfull.
I still am not able to access the memory card or the wireless. Everything else seams to be working fine.
I am in the process of copying the file from my laptop to the boy's in the hope that it will fix those two problems. It is also running amd64 lenny. But it is a HP where the boy's is Acer. Not sure that will matter or not.
Just out of interest, which howto told you to delete rules.d/* ?
Plug in the memory card and do "dmesg" after it's settled. Post relevant output, or just output of "dmesg|tail -15" or so.
Post relevant output of "lspci -v" for the wireless.
Come to think of it, you might want to start a new thread for the wifi card.
I have the system back up and it is in the process of updating. I put most of the contents of /udev form my laptop on the boy's and that fixed the memory card porblem.
I still don't have the wireless working. It seams that the b43 driver does not support the bcm4312 very well and I could not get it to work. I installed nidiswrapper and I did not succeed there either.
Thanks for the pointers on getting access to a memory card to work makuyl.
I missread the howto. It said to delete all the rules in /etc/udev/rules.d/z25_persistent-net.rules
I don't have that file or folder on any of my machines. I can't say if it was on this machine before I deleted the files.
At any rate it is just the wireless that is not working now and that didn't work before I was stupid.