Answered: NFTables Coming To Arch?

Just learned from the Internet Storm Center that the the kernel back in the 3.10 stream had the netfilter project merged via the new nftables project. Checked the changelog and sure enough it's there.
I've just searched for anything to do with the change including the new nft userspace controller program and found nothing. If you can't tell I'm eager to play with the feature.
I was wondering if anyone else knew of this and if we'll be getting it soon. I could put together an AUR package but seeing that it's a kernel feature and the way the netfilter project is moving, I'd hate to duplicate work.
More Info: http://www.netfilter.org/projects/nftables/
EDIT: After talking to a friend he informs me that it isn't really ready. It's still in heavy development and will be going 'mainstream' in the 3.13 kernel according to Phoronix.
Article: http://www.phoronix.com/scan.php?page=n … px=MTQ5MDU
Last edited by pilotkeller (2013-10-23 13:59:54)

+1 on eagerness to follow the project.
The howto (yes, also linked from the project url) is a great write up: https://home.regit.org/netfilter-en/nft … ick-howto/

Similar Messages

  • Survey answers not coming back in CRM 7.0

    We are about to implement CRM 7.0.  I created a new survey via the web UI.  I then launch a web page which brings back the survey results based on the Business Partner that logs in. 
    I have debugged the program and it appears that the the problem is that the CRM_MKTCA_SURVEY_MKT_PBO interface appears to be looking for a marketing attribute  with a value of mktattrp_XXXXX  but the web ui survey creation generated the attribute mktattr_XXXXX without the letter P.  So the program to display the answers doesn't find a match because the attribute with the P doesn't match the attribute without the P.
    Has anyone else experienced this issue?
    Thanks
    Angie.

    Closing this out ... this question was not answered.

  • Yet Another Why I Like Arch

    Although I first started "messing" around with linux around 1995, it is only the past year where it is my  primary OS.  Arch has been my distribution of choice for the past seven months and has been a total joy to use.   As much as I liked it before, I have gained an even deeper appreciation of Arch after being afflicted with distro curiosity (not hopping) disease.  There is nothing new here, but I would like to list the reasons why I feel Arch is such a great distribution.
    Great Text Installer
    ============
    The installer not only looks good, but has a logical layout out and is easy to understand.
      A GUI installer does not add any functionality to the installation process but creates the potential for Xorg problems. 
      The main menu approach allows the user to see all the installation steps on one screen as well as making it easy to go back if you made a mistake in partitioning or mounting.  This approach also made it easier to re-install grub when my mbr backup file and grub-install did not work.  The installer makes it easy to either select which packages you want or just install everything.
    rc.conf and other configuration files
    =======================
      The default rc.conf and other configuration files make setting up the system much easier.  There were 'dummy entries' letting  the user know what information  was needed as well as useful comments further assisting the user in the configuration process.   
    It Just Works
    ========
      The system is ready.to.go after the base install and some basic configuration.  This sounds like a no brainer, but unfortunately this is not the case with some other distributions.  Setting up a wireless card in Arch (and Slackware) is as simple as make, make install and modprobe.  Some distributions don't seem to install the kernel source and headers as part of the basic install or it gets broken after an upgrade.  Based on my limited knowledge, the installer should provide all networking tools and all files and programs needed to compile programs or modules unless the user is given a chance to opt out.  I just felt like I was in a catch-22 situation in a couple of distributions. Its frustrating when you have a working Internet connection during the install but do not have the necessary tools after a reboot.  Upgrades to a newer kernel have not caused any problems for me. If Arch was a car, people would talk about its great fit and finish.
    System defaults to console login.
    ====================
      This is a personal preference, but the inittab file makes it very easy to switch to Run Level 5 if desired.  The inittab and xinit files are not nearly as clear in some distributions.
    PACMAN 
    ======
    Fast, reliable and stable with a good repository.  I'm curious if pacman just means package manager or if its a unix pun referring to the game as well.
    Fast, Responsive and Reliable System with a quick boot.
    ===================================
       System Hiccups seem to be pretty rare.  Arch provides a fast system without the
    hassle. 
    Great Web Page and Wiki's with a good community.
    ===============================
      The web page, like the installer is very well laid out.  Finding what you want is easy and only requires a click or two.  The page is pleasant to look at without any of that "eye-candy" krap slowing it down or masking  what you really want.   Obviously there is a trend in my comments concerning substance over form.
    The Bad and not so Pretty
    ================
      The default xorg and desktop manager settings makes it hard to read without some tweaking and font selections.  This is not a big deal, but other distributions provide a better out of the box 'X' desktop.  Its possible this problem is specific to my machine (or me).
      If I were 35 years younger and my IQ was 35 points higher, Arch would be the distribution I would like to create.  This would not be a compliment if so many people did not feel the same way.   If I was distro hopping, my search would have been over a long time ago, unfortunately my distro curiosity will continue to find more reasons why Arch is so good. 
    PS:  I hesitated posting the above comments since it did not add anything new, but after seeing some of the threads, especially the newbie friendly vs. the user friendly, I had to cast my vote for what makes Arch so great.  Arch is not that hard to use for anyone willing to take a few minutes to learn "The Arch Way".  Arch has already done the hard work by creating great wiki's and helpful configuration files. 
    One of the help files even gave the reasons why things were done.  Learning steps is OK, but understanding whats being done is important and fun.
      People coming to Arch should not expect it to be Ubuntu.  Ubuntu is great, but it already exists!  As a newbie, I really resent SOME newbies wanting Arch to be more like Ubuntu.  I even saw a post on an Ubuntu forum suggesting that they change directory names to things like "program files".  I could go on, but I would just be ranting (raving). Long live the text installer and base install only!
    Keep up the Great Work!
    Larry   
      Please forgive my not so good English, Brueklineese is my native tongue.

    bji wrote:
    Stythys wrote:
    wait...english is not your first language?
    never would have guessed xD
    I've seen native speakers write worse, hehe
    Brueklineese -> Brooklynese -> Native English
    It was just a joke about how the author is from Brooklyn so he doesn't expect everyone to be able to understand him
    By the way, I agree with the original poster about just about everything.  I'm a Linux veteran having used it as my primary OS since Yggdrasil in 1994.  And Arch suits my tastes very, very well.
    OK youse guys, you caught me.  I apologize for making such a bad New York centric joke, especially considering how many of this great community do not come from the Untied States, including Judd Vinet and many other current and former developers.  Although I strive for a "KISS" style of writing, I find that I'm much too wordy and clunky, which is why I threw that in at the end.  The Brueklineese part was a reference to the old Dutch spelling of what was latter to become Brooklyn New York.
    I actually wrote the post 3 weeks ago, but never sent it because it was too wordy and did bring anything new to the Arch threads.  After seeing some of the posts over the past month I felt compelled to cast "my vote" for why I like Arch so much and what makes it so special and unique.  Hopefully Arch continues to stay true to its heritage and core principles. .
      Hopefully a diversion is good once  in a while.
      Larry

  • Is it possible to get the decline and answer buttons from sleep mode?

    The way my iphone operates now, when a call comes in and the phone is in sleep/locked mode, the only option is to slide the lock to answer the call. When a call comes in and the phone is not locked, it gives the option to decline the call with a red button and answer the call with a green button. My question is this: Is it possible to set the phone so it gives the decline/answer option coming straight out of sleep/locked mode?

    Nope. But single clicking the Sleep/Wake button will silence the ring, and double-clicking the Sleep/Wake button will send the call to voicemail, having the same effect as "Decline."

  • HT201303 Apple ID says my security answers are incorrect

    I received an email saying that my Apple ID information had been changed, so I went in to my account and saw that there was a different credit card number and expiration date, as well as a different city and state attached to my street address.  I immediately changed my password and updated my account information, but when I go to security settings and I'm asked security questions like where my least favorite job was, all of my answers are coming up as incorrect.  Could someone have changed my security answers?  How could they have done this without knowing the original answers?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (96912)

  • Convert to word not working - answers to form questions missing

    Hi there
    I have a form that was filled by a client that is now in pdf format. I am trying to convert it into a word file.
    All of the questions and the blank boxes for the answers are coming across, but the answers to the questions within the boxes are missing.
    Help would be appreciated please.
    Rebecca

    Well, they are right pretty much. PDF forms are not for conversion into Word. The export tools are about getting the data out NOT the look of the form.
    Generally, converting forms of any kind (filled or not) from PDF to Word is a non-starter. The layout will change too  much OR it will be utterly uneditable in Word, rendering all practical reasons for converting to Word useless.
    Conversion to Word from PDF is a way to get back the text and hint of the layout ready for re-creation.

  • [Solved] Overheating/fan/sensors issues after kernel updates

    Hi all,
    I realise there has been a bit of correspondence on this already.  I'm after some advice for my specific situation:
    1. My laptop is an acer aspire 5315.  I has well understood overheating issues that arrise due to BIOS problems
    2. Fan control and temperature reporting worked perfectly with kernel 2.6.30, stopped working with 2.6.31 - I assume due to the well documented changes made in that release.  The temperature only seems to be read once - at boot.  sensors never reports a change after that; if the temperature is cold at boot the fan never get switched on.  Unfortunately this happens most often.
    3. I tried setting the recommended kernel option (can't relocate the post now).  It didn't help :-?
    4. I have tried upgrading the BIOS but the distribution from acer is a windows executable (won't run under freeDOS) and I do not have windows installed on this PC (not game to try under wine).
    5. I re-installed the old kernel from my pacman cache only to find that my wireless no longer works (fan works just fine though).
    I'm now totally stumped :-/
    I'd like to update my bios and go with the latest kernel but can't see a way without installing windows.
    This might be fixed in an ubuntu kernel release (https://bugs.launchpad.net/ubuntu/+sour … bug/453700) but I'd prefer not to do that switch... perhaps the same fix is coming to arch?
    I'd accept having to pin the kernel to an earlier version but neet to get the wireless working.
    help...
    edit: 
    I've now managed to get the kernel backdated correctly (so that wireless works as well as the fan) by re-installing the kernel and firmware together.
    Have configured pacman to igmore future kernel updates
    If anyone has any suggestions on howto update my bios I'd be very greatful.
    Last edited by drandre (2009-11-06 13:26:46)

    Hi,
    Got exactly the same issue, after running for a while laptop justs goes off... going to try to regress kernel until issue is resolved
    BIOS update does sound a bit extreme
    MrG

  • Can't shutdown as user

    Hi,
    I just followed the Wiki-Entry on how to make users able to shutdown/reboot the system, but I get the following error:
    user /home/user $ sudo halt
    sudo: sorry, you are not allowed to preserve the environment
    My sudoers file:
    Defaults:user timestamp_timeout=0
    Defaults insults
    root ALL=(ALL) ALL
    user ALL=(ALL) ALL
    user localhost=NOPASSWD: /sbin/halt
    user localhost=NOPASSWD: /sbin/reboot
    On my old installation I had this working already, I really appreciate all help.

    t4k1t wrote:
    Lone_Wolf wrote:
    This has worked fine for me in etc/sudoers file for ages :
    %powerusers ALL = (root) NOPASSWD: /sbin/poweroff
    %powerusers ALL = (root) NOPASSWD: /sbin/reboot
    Now when I type
    sudo reboot
    bash prompts me for the password.
    Sorry if I'm insulting your intelligence t4k1t, but is you group named powerusers or power? If it's power then that should be %power on those lines.
    It's usually the little mistakes that cause problems like this. I should know, I've made quite a few myself since coming to arch.
    t4k1t wrote:Is it blocked by default from anything?
    No. I was thinking of the problems you can get into with HAL stopping WMs from shutting down. Shouldn't be the cause, but mentioned it just in case.

  • Trouble with wireless switch (rfkill) and wireless connectivity.

    Hello, this is my first message in this community so please bare with me if this message should be in the newbie part; but I think it's better fitted here. Other than that, I'm glad to be here .
    After quite some time in Fedora I'm coming to Arch and I must say I'm delighted, so I wanted to use it in my laptop too which was running an old version of Fedora.
    The laptop is an Airis N930 (about 5 years old) with a RaLink RT2500 wireless adapter which worked well in Fedora 11 but I'm having some trouble getting it to work in Arch. The problem is that the connectivity switch in this laptop is kind of a software one: in Windows it's compulsory to have a program which came in the drivers disk so that when that button is pressed (think of it as another key in the keyboard) the wireless connectivity is turned on and the indicator led lights up.
    For a Linux based system there's no such program (I think) but the behaviour seems to be different in newer and older systems (I've tried Fedora and Ubuntu recent live environments and the behaviour is the same as in Arch). In Fedora 11 it just works everything's unblocked by default, in Arch the hardware block seems to be on and I don't know of any way to unblock it:
    root@laptop ~ $ ifconfig wlan0 up
    SIOCSIFFLAGS: Operation not possible due to RF-kill
    root@laptop ~ $ rfkill list
    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    root@laptop ~ $ rfkill event unblock phy0
    1298671843.804446: idx 0 type 1 op 0 soft 0 hard 1
    Pressing the wireless connectivity button doesn't produce any event... Does anyone know what can I try or how to remove the hard block? Could it be related to newer kernels?
    Thank you very much for your time, any fixes, workarounds or ideas are welcomed.

    Thank you for your tips lamegaptop. I already have linux-firmware installed and I'm using the supported kernel module for the card (it's a PCI one):
    06:01.0 Network controller: RaLink RT2500 802.11g (rev 01)
    Loaded modules for it:
    rt2500pci 12420 0
    rt2x00pci 3890 1 rt2500pci
    rt2x00lib 24866 2 rt2500pci,rt2x00pci
    mac80211 178404 2 rt2x00pci,rt2x00lib
    cfg80211 120337 2 rt2x00lib,mac80211
    eeprom_93cx6 1004 1 rt2500pci
    Rfkill is installed too, the output I posted in the first post belongs to the commands I entered in the Arch system. In Fedora rfkill always reports both blocks to be off.
    As the Fedora system is running a 2.6.30.10 kernel I tried to run some tests using the LTS kernel (it's a 2.6.32.X right now) in the Archboot live environment, the output of "rfkill list" changed as seen below:
    $ rfkill list
    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
    $ rfkill iwconfig
    lo no wireless extensions.
    eth0 no wireless extensions.
    wlan0 IEEE 802.11bg ESSID:off/any
    Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:on
    $ ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:264 (264.0 b) TX bytes:264 (264.0 b)
    $ ifconfig wlan0 up
    $ ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:264 (264.0 b) TX bytes:264 (264.0 b)
    $ rfkill list
    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    $ ifconfig wlan0 up
    SIOCSIFFLAGS: Operation not possible due to RF-kill
    This behaviour was the same when running the default Arch kernel in Archboot. I'm thinking in extracting the kernel configuration from the Fedora kernel and use it to build a new one and see if it helps, although I'm not sure where the problem may be.

  • Archlinux.log EOF.

    Well, I guess this is a goodbye.
    All in all, archlinux was a pleasant experience. Yet, there were points that were not satisfying me. Some were related to Arch, some others not at all, and some not even related to linux and computing.
    Basically:
    - Due to various reasons, I can't cope anymore with the rolling release model.
    - Recent progress in various areas (init, gnome, gtk, X, udev, hal, dbus, kernel, etc...) make some other distros attractive again (features, or lack of it that made me lean towards bleeding-edge previously).
    - Not to sound paranoid, but the lack of package signing in pacman makes me feel uneasy.
    - I like to experience some other things from time to time (and to their full extend, not just popping a livecd in, or in a VM)
    - Blah, blah, blah.
    So I picked up Ubuntu, which I installed (successfully) on many (both tech-savvy and computer illiterates) people computers beginning in the linux world, but never really used myself. I decided to take a look at 7.10 Tribe 5 and was really surprised to be able to match my current Arch in terms of technology. Surprised enough to stick with it.
    That said, I consider Arch an excellent distro, both a young one and one that will without a doubt thrive even more in the future, certainly matching the other big names. And I will certainly come back in a bunch of years...
    To close this post of mine, I'd like to thank both Judd Vinet & the devs, and the community altogether, which is a rather unique one, at least for its flameproofness. Oh yes I really enjoyed reading/asking questions like what's the best FS & the likes and actually get useful, educated answers, and 100% pollution-free.
    Thank you all, and see you later.
    Last edited by lloeki (2007-09-18 12:54:46)

    delphiki wrote:Its funny how after getting comfortable in slackware and coming to Arch how things that seem 'complicated' or 'too difficult' for some users seem 'natural' for me where what those users consider 'natural and easy' seems 'complicated and difficult'. I guess its just one of those things that KISS does to you after a long time
    So true, so true

  • [SOLVED] nVidia 87.76 Drivers installer fails to build kernel module

    Hey,
    I have a nVidia GeForce2 Integrated graphics card on my Asus A7N266 motherboard. According to the nVidia site, http://www.nvidia.com/object/IO_32667.html, the most recent driver that supports this is the 96.xx series. Yet as shown here, http://www.nvnews.net/vbulletin/showthread.php?t=87332, many people have found that the 96.xx series drivers cause graphical corruption when using a GeForce2 IGP.
    Before coming to Arch, I had used Xubuntu 7.04 and managed to compile the last known working drivers, version 87.76, following the instructions here: http://kmandla.wordpress.com/2007/03/25 … 20-12-386/
    That all went well but now I'm using Arch. I tried using the nvidia-96.xx driver in the repos just for testing sake but I still got the same graphical corruption.
    Thus I have been trying to install the 87.76 drivers on Arch, but it always fails at the kernel module building stage. I had first applied this patch here, http://www.nvnews.net/vbulletin/showthr … ost1086669, before compling as the plain driver wont compile against recent kernels.
    Here is the output from the installer:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sun Aug 5 11:57:53 2007
    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.22-ARCH/build'
    -> Kernel output path: '/lib/modules/2.6.22-ARCH/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
    -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.22-ARCH/bui
    ld SYSOUT=/lib/modules/2.6.22-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/build SUBDIRS=/home
    /kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    echo; \
    /bin/false)
    make[2]: *** No rule to make target `GLX'. Stop.
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [mdl] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Any ideas as to how I can get the kernel module to build?
    I am using 'kernel26 2.6.22.1-4' with the 'kernel-headers 2.6.22.1-1' from the testing repo.
    Last edited by Nameless One (2007-08-10 07:08:38)

    make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/buildSUBDIRS=/home/kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    The name of the directory you placed the driver in contains spaces. That is  why you get the no rule to make target GLX error.
    It would be better not to circumvent pacman. I am using the following PKGBUILDs for the 8776 driver:
    nvidia-8776:
    pkgname=nvidia-8776
    pkgver=1.0.8776
    _nver=1.0-8776
    _kernver='2.6.22-ARCH'
    pkgrel=1
    pkgdesc="NVIDIA drivers for Arch kernel."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(kernel26 nvidia-8776-utils)
    conflicts=('nvidia' 'nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy')
    install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run NVIDIA_kernel-1.0-8776-20061203.diff.txt)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9' '70e669f06ee4881c2583261672de292a')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b' '70e669f06ee4881c2583261672de292a')
    build()
    # Extract
    cd $startdir/src/
    sh NVIDIA-Linux-$ARCH-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-$ARCH-${_nver}-pkg0
    # Any extra patches are applied in here...
    patch -p0 < $startdir/NVIDIA_kernel-1.0-8776-20061203.diff.txt ||return 1
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/$_kernver/build module || return 1
    # install kernel module
    mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
    Place the patch (NVIDIA_kernel-1.0-8776-20061203.diff.txt) and nvidia.install in the same directory as the PKGBUILD.
    nvidia-utils:
    pkgname=nvidia-8776-utils
    pkgver=1.0.8776
    _nver=1.0-8776
    pkgrel=1
    pkgdesc="NVIDIA drivers utilities and libraries."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(xorg-server)
    conflicts=('libgl' 'libgl-dri' 'ati-fglrx-utils' 'nvidia-legacy-utils' 'nvidia-71xx-utils' 'nvidia-96xx-utils')
    provides=('libgl' )
    #install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b')
    build()
    # override nvida install routine and do it the long way.
    cd $startdir/src/
    sh NVIDIA-Linux-${ARCH}-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-${ARCH}-${_nver}-pkg0/usr/
    mkdir -p $startdir/pkg/usr/{lib,bin,share/applications,share/pixmaps,man/man1}
    mkdir -p $startdir/pkg/usr/lib/xorg/modules/{extensions,drivers}
    mkdir -p $startdir/pkg/usr/share/licenses/nvidia/
    install `find lib/ -iname \*.so\*` $startdir/pkg/usr/lib/
    install lib/tls/* $startdir/pkg/usr/lib
    install share/man/man1/* $startdir/pkg/usr/man/man1/
    rm $startdir/pkg/usr/man/man1/nvidia-installer.1.gz
    install X11R6/lib/libXv* $startdir/pkg/usr/lib/
    install share/applications/nvidia-settings.desktop $startdir/pkg/usr/share/applications/
    # fix nvidia .desktop file
    sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $startdir/pkg/usr/share/applications/nvidia-settings.desktop
    install share/pixmaps/nvidia-settings.png $startdir/pkg/usr/share/pixmaps/
    install X11R6/lib/modules/drivers/nvidia_drv.so $startdir/pkg/usr/lib/xorg/modules/drivers
    install X11R6/lib/modules/extensions/libglx.so.$pkgver $startdir/pkg/usr/lib/xorg/modules/extensions
    install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $startdir/pkg/usr/bin/
    cd $startdir/pkg/usr/lib/;
    ln -s /usr/lib/libGL.so.$pkgver libGL.so
    ln -s /usr/lib/libGL.so.$pkgver libGL.so.1
    ln -s /usr/lib/libGLcore.so.$pkgver libGLcore.so.1
    ln -s /usr/lib/libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
    ln -s /usr/lib/libnvidia-tls.so.$pkgver libnvidia-tls.so.1
    cd $startdir/pkg/usr/lib/xorg/modules/extensions;
    ln -s /usr/lib/xorg/modules/extensions/libglx.so.$pkgver libglx.so
    install $startdir/src/NVIDIA-Linux-${ARCH}-${_nver}-pkg0/LICENSE $startdir/pkg/usr/share/licenses/nvidia/
    find $startdir/pkg/usr -type d -exec chmod 755 {} \;
    # phew :)
    Last edited by kappa (2007-08-09 11:14:42)

  • [SOLVED] Audio setup troubles with usb headphones and built-in sound

    Hello,
    I Just started using Arch about a month ago after going through many Debian and Ubuntu variants.  After all my frustrations with apt pinning to get working 10bit video playback, only to have everything else uninstalled by crappy dependency checking, I am extremely happy with how easy it was in Arch.
    Now I am having difficulties perfecting my audio setup.  Almost everything else is set up to satisfactory levels but I have yet to bring the sound to the same standard.  With just ALSA my built in audio works, but defaults to the unused hdmi on my nvidia graphics.  I have managed to get it to switch at some point but with ALSA alone I could never get my usb headset to work at all.
    By using pulseaudio as well I was able to get simutaneous playback, which is ideal, but had choppiness and other issues with just the usb headset.  I followed some instructions found on the arch wiki and other places on the net for choppiness in both ALSA and pulse and tried the fixes listed in various combinations.  I ended up with outcomes such as pulse not starting, no sound at all, creepy ticking in usb and perfect sound on speakers, and my current situation of perfect sound on speaker and acceptable but tinny sound on usb which degrades over time requiring restart.
    Is anyone able to give any advice or point me to any guides I may have overlooked?
    Setting up sound from scratch is something I have never done before coming to Arch, so I don't know what commands are useful for audio specifically, but learning is one of the reasons I decided on Arch. As for commands I do know, lspci and lsusb, relevant entries are as follows:
    spricc ~ $ lspci | grep Audio
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    01:00.1 Audio device: NVIDIA Corporation GF104 High Definition Audio Controller (rev a1)
    Bus 004 Device 003: ID 1532:000e Razer USA, Ltd
    USB device is a Razer Megalodon headset, NVIDIA Audio is of no interest to me, unless it is not what i think it is.
    Thanks to anyone who takes the time to read this.
    Last edited by spricc (2012-03-23 15:21:11)

    I managed to find a solution.
    https://wiki.archlinux.org/index.php/Pu … oppy_sound
    Following this exactly didnt work before, but setting the sample rate to 192000 instead seems to have done the trick

  • PCI device numbering whine

    Anyone else use PCI expansion slots for their hard drives? I have a hard drive (IDE) connected through a PCI card. My primary hard drive is also IDE and connected straight into the motherboard. I have another IDE storage drive.
    Back in my Ubuntu days, my PCI data drive and normal storage drive would (literally) swap every few reboots, which was quite annoying. After coming to Arch, I noticed that my PCI drive was consistantly sda, primary hdd was sdb, and storage drive was sdc. Always, which was nice. I thought it must've been some Ubuntu/Debian-specific patch that was causing my trouble.
    I got a bit of a blast from the past today after I upgraded to kernel 2.6.25. Upon reboot, I got a kernel panic because my root file sytem wasn't found. I thought it'd been a faulty install (for other reasons) and lamented my multiple re-installation of the kernel, which changed my fallback image. So I booted my laptop, plugged my primary hdd in via USB, and used pacman to install the kernel (with --root) to the drive. I plugged it back into my desktop, but got nothing.
    Frustrated, I started searching the forums, then, had a flashback. On a hunch, I rebooted and changed my Grub entry to pass the parameter root=/dev/sda2 instead of /dev/sdb2. Here I am.
    Reminds me of the old joke...
    Being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed.

    Realtek Card Reader:
    http://www.realtek.com.tw/downloads/downloadsView.​aspx?Langid=1&PNid=15&PFid=25&Level=4&Conn=3&DownT​...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Newbie experience

    hello Archers,
    I am not a linux expert, I installed a bunch of linux distros in the past but I can be easily defined a newbie. I recently built a new desktop PC and decided to completely switch to linux (no dual boot and no VM ). I tried many distros before landing on archlinux but now I have a fully functional, light and fast desktop environment.
    I needed 3 days to:
    - understand archlinux "philosophy" (day 1);
    - install the base system, cpufreq, gnome, alsa (day 1);
    - install compiz fusion, extras, eye-candies, plugins, printers, camera (day 2);
    - learn to build my own packages, update HPLIP package from 1.7.4 (in the repos) to 2.2.6 (latest stable version) (today)
    Compared to ready-to-go distributions like Ubuntu it's a lot of time, but probably now that I know arch better I would need no more than a couple of hours, plus -repeat- I am quite a newbie.
    What's the meaning of this post? Well, just wanted to encourage users evaluating the possibility of installing arch linux to give it a spin, it's not (just) a distro for gurus, anyone can install it and it gives great satisfaction. It's one of the few distros that lets you configure the system exactly the way you want it and it's not bloated with dozens useless applications/deamons/modules/etc.
    I don't understand why arch is not more "mainstream" (and reading the forums the developers seem proud of it), anyway to me this is the way linux should be.
    Last edited by Matt3o (2007-09-13 15:54:42)

    You live and Florence and you're running Arch?  You must be in heaven.
    Like you, I tried most of the mainstream distributions before coming to Arch.  I didn't expect to but I've become a dedicated Arch user ever since.  I'm not even the type of person who likes to build things themself (I'd rather have everything I need installed for me) but I've found that the system runs much faster and cleaner when you do it yourself and you usually know what's going on at all times, so I'm very happy I did it.  And the best thing is: I don't have to do it all over again when there's a new release, just a simple pacman -Syu does the trick. 
    Good luck with the rest of your endeavors!

  • Running program at startup [as ordinary user]

    Hi,
    I want to be able to run a command at system startup as an ordinary, non-priveledged user. In FreeBSD (where I came from before coming to Arch), there is a @reboot directive in crontab, allowing me to set up command in my crontab file to be run at startup, just as any other cronjob (only at startup instead of at a specific time).
    The cron that comes with Arch doesn't seem to support the @reboot directive. Is there another simple mechanisms available for ordnary users?
    Svein Halvor
    Last edited by sveinhal (2008-12-03 22:31:52)

    There's a few things you could do. I run all my startup apps in my xinitrc and the like, so I don't need functionality like this.
    Possibility 1: Create a "framework" for this. In /etc/rc.local, add something like:
    cd /home
    for user in *; do
    if [ -x "/home/$user/.rc.local" ]; then
    su $user -c "/home/$user/.rc.local"
    fi
    done
    Alternatively do the same thing for rc.shutdown.local
    Possibility 2: Use a different cron. I think we have 3 floating around somewhere. If not feel free to package one that works to your liking and stick it in the AUR
    Possibility 3: Create an /etc/rc.d/ script that drops privileges to your user and runs all the apps you need
    ... there's lots more I'm sure ...

Maybe you are looking for

  • GRC NFe 2.0 20 - Serviço de assinatura digital não acessível

    Senhores, Encontrei diversos post sobre esse problema, porem nenhum específico para o meu problema. Meu landscape é ECC 6.0 700 SP 22 (SAP_APPL 603 - SP 6 - SAPKH60306) -> GRC/PI SAP NetWeaver 7.0 (SLL-NFE - Release 100 - SP 0015/SAP_ABA - 700 SP 22)

  • Can I set a custom project size in FCP-X? like 1920x320

    Can I set a custom project size in FCP-X? like 1920x320

  • I-Movie photo problem

    Photos won't change in I-Movie. I create a project, and dragged several photos into it. The thumbnails represent the correct images, but when I try to play the project, the first photo keep showing even when the red position indicator plays through t

  • Poor Screen Response

    I love the iPad, but the screen is driving me nuts. I find that the screen is MUCH less responsive than the iPhone. Far too often I have to tap an app icon upwards of 5 times just to get the device to recognize that it has been tapped. This also exte

  • What are the differences between delete and truncate statements.

    i need few differences between executing both the above statements.like what is the effect they are going to make on the data in the table and regarding the table spaces