Slackware :: How To Save Needed Modules Config To Create .config?
Apr 9, 2011
I am running a server with a GRSecurity patched Kernel 188.8.131.52. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 184.108.40.206-huge. Still I am not sure what to remove/optimize further now.
My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)
I have a system using a Linksys WUSB54B usb wifi adapter that needs the rt2x00/rt2500 modules. Using the fresh install kernel, 220.127.116.11-smp, the modules are there and I get my interface up.
But, when I configure my own kernel, not an smp system, I cannot find the .config option in the menu for rt2x00 network adapter support and the modules are not in /lib/modules/vmlinuz-18.104.22.168-first directory tree after a "make modules_install".
I looked through the configuration menu, but could find no reference to the rt2x00 drivers.
I would like to compile my own kernel. I am familiar with how to do it and have done it in the past so I'm not looking for a how to compile a kernel. In the kernel config are many, many options. In the past when I compiled kernels I always wondered about what is needed and used. What is the best way to determine what is currently used, not set or enabled in the existing config, but actually used by my existing kernel?I have a general idea of what is loaded and could do trial and error, turn this and that off, recompile, etc but is there an easier way?
that' s work under 11.2 but stop with 11.3 i have a laptop and an external screen on my desktop when i go to kde config, modify screen resolution for external screen save the change every thing is right when i logout et login again, the config is lost and i got same resolution to my external screen than for the laptop screen I have try in root mode, try clone screen , try no clone nothing !!! every time i got laptop resolution the card is intel on HP pavillion desktop i don't have xorg.conf in etc/X11 and i was surprized to see sax2 is gone in 11.3
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 email@example.com I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
I'm a quite new Debian Jessie user. I've a very old laptop and I'm trying Openbox + tint2. Everything is ok with openbox but i have some problems with tint2, especially with tint2conf. When I try to save a config, it says "saving not yet supported".
I'm trying to create a cname in system-config-bind. I can create the record but when I go to save it I get a "Zone file save error". Here's the full output: Save of Zone file var/named/chroot/var/named/plantsareperfect.com.db failed dns_master_load_/var/named/chroot/var/named/plantsareperfect.com.db:10lantsareperfect.com:cname and other data (sorry, the rest is off the page and I cant see it) Why I can't save this cname?
Not sure why but I keep on getting the ERROR: Path is not writable when I'm trying to add a Slave Zone.
The server was commissioned by someone else and I remotely installed GNOME group, and vncserver as per the official CentOS instructions here.
Initially I tried using a normal (ie non root) user's credential for my VNC session. However, instead of asking me for my root password when I tried to open system-config-bind, it just doesn't load up. I ended up allowing the user "root" to connect to the server remotely via VNC, and was able to get system-config-bind to start.
However, I am now unable to save the settings, despite having done:
Configure the HTTP server via system-config-httpd brings up some nice gui.I start a console, login to root and start it with: system-config-httpdGoto tab Virtual Hosts, then addI name my Virtual Hosts "sea", set its document root to: /home/sea/webs/sea.hs/www where index.php is located for that 'local test server'.Host information is on Name based Virtual Host.But what do i have to enter for IP Adress and Host Name? Neither of these accept 127.0.0.1 nor localhost Further, when i try to exit, it wont let me close the app.Its not saved, hence i can even delete the default virtual hosts and its there again after restarting the app Even with adding sea /home/sea/webs/sea.hs/www or sea localhost.localdomain localhost to /etc/hosts doesnt change anything
When I try to run the 'system-config-display' program for Fedora 11 and I use the dual head tab, attempting to save the settings results in this:
Traceback (most recent call last): File "/usr/share/system-config-display/xConfigDialog.py", line 212, in ok if card.getDescription() == self.secondVideocardOptionMenu.get_menu().get_acti ve().get_data("NAME"): AttributeError: 'NoneType' object has no attribute 'get_data'
trying to enable the nvidia drivers because i wanted to use Gnome 3 and had zero luck. So once i read that suse was a better bet i installed that. the nvidia drivers have installed fine and i can get my required resolution of 1440x900 if i use an old saved xorg.conf file i managed to randomly cobble together a few years ago .. this is it ..
File generated by XFdrake (rev 247269) # ********************************************************************** # Refer to the xorg.conf man page for details about the format of # this file. # **********************************************************************
When I install the FC11 by using"Install or upgrade an existing system"or"Install system with basic video driver"mode...Point 1, I can't config the network config ( IP Address ), due to theerror of network manager...Point 2, I can't enter into the text mode to do the installation steps.Remark:The machine is provide Web,DNS, and Mail Server on the NET ( Internet )
I have been trying to create an rsyslog config for a software package that I use. I want to use the local7 facility for this package, and split the messages according to priority across several files. I would like the config to be a file which can just be dropped into rsyslog.d without having to modify the rsyslog.conf or 50-defaults.conf. I created a file called 40-test.conf, in which I have the following:
I am getting the correct local7 messages in the correct 'test' files, but i am also still getting local7 messages in /var/log/messages and /var/log/syslog, so it seems the local7.none has no effect. Is this the correct method of achieving what I want? What am I doing wrong?
During upgrade the system ask me what to do about config files. K to keep old ones then other options to change config files to the new system and backup old one with *.old extension and 2 other options I don't remember. What do you think is the best choice if I have changed my xorg.conf, my layout and my fonts.
The program "qtconfig" does not load saved config on startup.
I just installed slackware-current from today's update (mirrored from ftp.slackware.com). The program "qtconfig" seems to have saved my changes to "~/.config/Trolltech.conf". However, after restarting qtconfig all options become the defaults.
I verified this in both the C locale and a UTF-8 locale.
Another computer of mine has a -current system from a few months ago and doesn't have this problem.
This is my first effort in making something more appropriate for laptop users (exclusively). This is a kernel config for 22.214.171.124. I started with the Slackware Generic-SMP 32bit kernel config (this is a 32bit kernel config). All credit for (in my opinion) the best starting place for any kernel config goes to Patrick Vokerding. (Please tell me if I am or am not doing this properly in terms of respecting the work of others, GPL, GNU, etc.)
My brother is thinking of installing Slackware64 13.1 on his laptop. He was wondering though how to configure his wireless card. How would he do this? He is using an Intel wireless card, but I am unsure of the exact model. Another question is would Wicd do this automatically or do you still have to use either iwconfig or wpa_supplicant and edit the corresponding config files?
Well, at first I need to tell that after having big problems (audio, video, modem, network,...) with my venture into slack world at about 7 years ago, I thought that even with my insistence it would be hard to get used with it. Around the middle of December last year I decided to try again and again I had face some problems (now with fdisk and GPT support in a 64 bit machine).
But now, at about a month after that, I need to say that having passed those initial problems with installation, not only I manage to learn a lot about linux in general (dependencies, rc. editing, permissions, groups...) as I am amazing to what Slackware became. From 3D graphics acceleration in KDE (with an easy config for my video card, something I thought it would be impossible and that makes it by far better looking than any Windows Desktop fancy try), to great programs and suites integration like Amarok, OpenOffice, Ktorrent, THE firefox, and so many others all allied with the full control of the system (no automatic updates, no mysterious packages UNLESS I really allow it) not to tell g++, python and so on.
However, besides a raid 0 non readable partition, I am having a persistent problem with my wireless that always mix my pppoe connection when I try to config it via rc.inet1 (or rc.wireless ...).To better explain my situation I have a computer with Asus P5k-e/Wifi-AP with came with an integrated wireless device (Realtek RTL8187L).Also, the way I work out to connect to the internet was through (an ethernet) pppoe connection setup using pppoe-setup.Right now it is working like a charm after pppoe-start and stop commands.
At about a month, when i was starting my first steps to config my machine, I tried to follow [URL] three times, and in two of those I manage to start my wireless, but in all it mixed up with my pppoe connection and since either pppoe-config as pppoe-setup didn't work after that (even after backup the files) I had to reinstall the whole system. (Yes, I know that probably there is an workaround easier via shell or file editing, but since every time I need to restart in the Windows, search for solution on internet, print those I find, restart, and try in slackware again, I decided that reinstalling was the fast solution for me at that time.)Now, I am a bit more confident with my knowledge of the linux and decided to try to setup wireless again.
After an extensive search in the forum, I found out two major solutions: One pointing to alienwiki (with I really think is the best approach besides my previous experience) and other pointing to the proper realtek driver at [URL]As i am yet trying to decide which method use, I download the driver and it came with an strange file (RadioPower.sh) that are called by wlan0up. Below are both files:
#!/bin/sh SYSTEM=`uname -r|cut -d. -f1,2` if [ $SYSTEM = 2.4 ] then cd ieee80211
Anyone able to compile kernel 126.96.36.199 on Slackware 13.37 successfully using the config from testing/188.8.131.52? I was able to get .4 and .5 to compile successfully, but with .6 I get the following after running "make modules".
Code: WARNING: modpost: Found 11 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Running "make CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 > outfile" gives me a bunch of WARNINGS as follows:
Code: WARNING: vmlinux.o(.text+0xe656a): Section mismatch in reference from the function build_all_zonelists() to the function .meminit.text:setup_zone_pageset.clone.56() The function build_all_zonelists() references the function __meminit setup_zone_pageset.clone.56(). This is often because build_all_zonelists lacks a __meminit annotation or the annotation of setup_zone_pageset.clone.56 is wrong.....
WARNING: drivers/watchdog/nv_tco.o(.devinit.text+0x14): Section mismatch in reference from the function nv_tco_init() to the function .init.text:nv_tco_getdevice() The function __devinit nv_tco_init() references a function __init nv_tco_getdevice(). If nv_tco_getdevice is only used by nv_tco_init then annotate nv_tco_getdevice with a matching annotation.
I am on up to date 64-current. Installed Alien Bob's multilib packages on top of it as well as his kde packages. I changed inittab to go to runlevel 4 by default.I figured out that my system all the time creates /.config/Trolltech.confI think it shouldn't be there, but even when I manually delete /.config dir, it is created again.