How can I disable the nf_conntrack until after I boot?
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!
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.
How can I disable the nf_conntrack until after I boot?
I have installed Mepis 8 and have tried many things to get past a hitch in the boot script. To install the distro to my hard drive I had to remove my pci wireless adapter because it would hang at the nf_conntrack script. After installation I went to network manager and unchecked the "start at boot" box for the network and went to /etc/default/mepis-network script and inserted no in the script at the point of NDIS=(yes or no). I re-installed the card and booted with GRUB cheatcode nonet and/or nondis (thinking ndiswrapper might be in conflict with another module) it stopped again. I then tried using a pocket live cd to boot and tried getting the card to work, no problem, a few commands and it worked, but I didn't know how to save the settings to Mepis (still learning). I tried to re-boot, thinking maybe it got saved, nope, still hangs. I have learned that nf_commtrack is directly related to network usability and would be fine if I could get past it and boot.
Is there a way to initiate nf_commtrack at another time after the boot sequence so the card can be configured?? Or, can I use the other OS and configure the card and save it in the Mepis files?
Here is the puter hardware config:
HP vectra VL400 with a P3 1 GHz processor, 512 MB ram, 30 GB HD, Matrox dual head video card, USB pci card (to add more usb ports), and trying to use the SMC smcwpci-g wireless pci adapter with the Realtek RTL 8185 chipset.
Just wanted to help, though I am not familiar with mepis.
Is there a way to recompile your kernel omitting nf_commtrack daemon? Check Mepis documentation if this is possible, or maybe there is a way of switching it off at boot time. This is a distro specific issue and usually distro documentations have enough to solve this.
Sometimes disabling some unused bios sponsored devices will solve the problem. I recently came accross an issue with "bluetooth" that hangs the entire process after loading the hal daemon: mint, ubuntu and slackware none went past the obstacle, although "compatibility mode" can hurdle it, but I didn't want to run compatibility mode as normal; switching off some minor devices and drivers in the bios solved the problem.
I have figured out the difficulty and repaired it. It seems there are two similar drivers for the wireless card that I have and were in conflict. I "blacklist"ed the driver not directly usable with my card and it booted. I later had trouble with connecting, but fixed that also. The computer operates fine now.
I want to thank you for your response, especially for the e-mail that was sent. I was during this process not receiving a lot of help and was beginning to get discouraged, so I'm very glad that you responded and even sent an e-mail in response.
For those that may run into this problem, the distro had ndiswrapper with the direct driver for the wireless card and it also had a similar (older model) driver. I basically disabled the (older driver) model and let ndiswrapper install the proper driver. This allowed the boot process to continue (this distro checks for network activity at boot).
The connection problem pertained to having an embedded ethernet port along with my added pci wireless card. The drivers were installed for both but the computer couldn't find which one was "active". I again disabled the driver for the ethernet connection and had wireless access.
Thanks guserx for posting your problem and solution. It helped me booting and installing MEPIS to an old machine, very similar in components with yours (even the troublesome wireless card Realtek8185!). Thanks a lot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.