Arch-configs

Hey guys,
yet another tool to handle .pacnew and .pacsave files.
http://github.com/Dieterbe/arch-configs
== The goal of this program compared to all others ==
* KISS (don't do more than needed); configurability only where it makes sense
* Efficiency and best practices (use specialized tools like vimdiff, pacnew_scripts, and automate actions where possible)
* Code quality & error handling (this is obvious, but worth mentioning if you've seen some of the other scripts around)
I have been using it to clean up my own system; it seems to work for me.
Check the file to see dependencies.
Note that there is a bug in the libui-sh package (which is a dep).  I still need to update that package, but for now you just need to change the libui-sh-init function to become libui_sh_init, in /usr/lib/libui.sh
Last edited by Dieter@be (2010-08-17 16:04:51)

Xyne wrote:
I think it might be more useful to display the output of "merge_pacnew_* -c" instead of vimdiff when prompting the user to confirm changes made by pacnew_scripts. The comparison is designed to present a summary of the changes that would be made, e.g. the group-merging script uses 3 columns and colored output to show all changes in a clear way.
If some users would really prefer the vimdiff option over the output of the comparison then maybe you could add an option to configure the prompt.
well the vimdiff is always optional.  what i will probably do is, when a pacnew helper is found:
1) $helper -c
2) $helper > $file.merged
3) allow user to vimdiff, rm merged file, move merged file over old file.
only step 1 is new.  if the user likes the output and fully trusts the pacnew script, he only needs to type 'mv<enter>'

Similar Messages

  • Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

    Hi Guys,
    I need to compile my kernels with ABS because I need 16 DVB adaptors instead of 8. This works normally just fine. Today I tried to compile newest kernel and got following error during config. For the record 3.14.1-1 built just fine.
    Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
    SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
    SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
    SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
    SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
    CHK include/config/kernel.release
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
    UPD include/config/kernel.release
    SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_64.h
    WRAP arch/x86/include/generated/asm/clkdev.h
    CHK include/generated/uapi/linux/version.h
    UPD include/generated/uapi/linux/version.h
    CHK include/generated/utsrelease.h
    UPD include/generated/utsrelease.h
    HOSTCC arch/x86/tools/relocs_32.o
    HOSTCC arch/x86/tools/relocs_64.o
    HOSTCC arch/x86/tools/relocs_common.o
    HOSTLD arch/x86/tools/relocs
    CC kernel/bounds.s
    gcc: error: unrecognized command line option ‘-fstack-protector-strong’
    /home/server/core/linux/src/linux-3.14/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
    make[1]: *** [kernel/bounds.s] Error 1
    Makefile:884: recipe for target 'prepare0' failed
    make: *** [prepare0] Error 2
    ==> ERROR: A failure occurred in prepare().
    Aborting...
    Thanks for the help
    Last edited by wdirksen (2014-05-02 20:31:32)

    wdirksen wrote:...I just moved to New Zealand...
    Beautiful part of the the world... you just need to watch out for Saruman and his orc army
    wdirksen wrote:... and the packages in the NZ mirror are not all in sync at the same time.
    Use reflector....
    % which upp
    upp: aliased to reflector -c "United States" -a 1 -f 3 --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syyu
    You need to `chmod youruser:yourgroup /etc/pacman.conf` for that to work if run by non-root.
    Last edited by graysky (2014-05-02 20:33:38)

  • Arch System Config Util.

    Hi guys,
    I started today to make a Arch System Configuration Utility, Now its very basic
    and i got alot ideas on how to expand the program with more functions. It is
    a basic text editor which lets you config the most important Arch config files on the fly.
    The program was born because i as a light desktop user got fed up opening the same
    old same old files over and over again in my FM, so whit this thingy i can open them on the fly.
    There are probebly half a dozen more config files i could place in the app but this is just
    the bare beginning.Hers the screeny:
    It is very small and uses GTK.
    http://www.mediafire.com/?fwh3gzxxiuy
    here is the DL link.
    I am planning for this program to make it able to start,stop,restart services and display a bunch of system stats really not sure yet
    if you have suggestions post To be able to save the files you must  run it as root eg, sudo
    Enjoy..
    Caved

    Hey guys,
    To reply some words to the people placing comments on this little app.
    If i hadn't seen the topic of this treat i would never have posted it, i am sorry
    if that offended some people because that was and would be never be my intention
    also i am not a real dev , this is stuff written in gambas2 LOL. its for fun.
    I just wanted to share something i worked on for personal use that maybe
    people could think of as semi usefull.
    This little project was just a thing to keep me bussy and get used to the Gambas2
    IDE, that being said:
    I am still working on this thing and wont post any of it anymore before i think it would
    be even worthy of making a PKGBUILD for (which might never happen), and then this:
    the source that gambas2 gives  can (to my best knowledge) only be compiled with the
    gambas2 IDE), Just saw it CAN make a source archive just not sure to what extent this can be
    compiled with gcc Thats wy i was posting the stand alone binary files.
    Anyway in the version that has not been posted:
    * Combo drop down box to have a look at the most used log files on arch linux. (finished)
    * Search box + filter to search for keywords in the currently displayed log files and  a
       a filter SO displaying only the lines in log files i am looking for (being worked on atm)
    * Controls and drop down box with to the most common system services one would mostly want
       to start, stop or restart) (being worked on atm, controls already done)
    * A small CLI window under the text output box , to catch the output of the systems services
      start / stop / restart (being worked on, CLI running but working on the piping of the commands to it)
    * Resizing of the hole application without buggering up the positions of the buttons on top and
       botton (finished)
    this is what it looks like atm.
    Caved

  • How to config a lan ?

    Hi to all!
    I have a router (192.168.0.1) and a pc (192.168.0.2) connected trough a switch.After network conf. if i ping router,i get this error message:Destination unreachable: Address unreachable. This is my history command to config net:"ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up" and "route add default gw 192.168.0.1" (and,after first error, route add  -net 0.0.0.0/0 gw 192.168.0.1" also). I'm becoming mad for real...anyone have the solution?Thanx

    ok...after some tryes...i've found this situation: modules 8139cp  +crc32 + mii are loaded at startup...but under gentoo, i had this problem too, i cuold solve loading 8139too. Now,under arch, i noticed a strange situation...if i remove both 8139cp and 8139too modules....ping work!!!!!! i think there's something loaded into kernel instead of module,but looking in the /usr/src/linux-2.6.10-ARCH .config, in the network section, both modules are marked as M !!!!!!!!mmm...i'm going really mad about this  :?

  • Abs cvs kernel config issue.

    When building a custom kernel I like to work from the arch config file as a starting point, however there seems to be a problem with the curent config files of the 2.6 kernel around line 78. Mine looks like this:
    CONFIG_M#CARCH#=y
    Which I am fairly certain is wrong. It also seems to be in the other kernels.
    Has anyone else got a similar corruption in their abs tree?

    Set up your custom PKGBUILD like this, adding the appropriate lines where necessary. This is an excerpt from my custom PKGBUILD.  It will allow you to use arch's config file while letting you make changes.
    # Arch logo!
    cp ../logo_linux_clut224.ppm drivers/video/logo/
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    # build the full kernel version to use in pathnames
    . ./.config
    _kernver="${pkgver}-grsec${CONFIG_LOCALVERSION}"
    ----> # make changes in kernel configuration
    ----> make xconfig #gconfig menuconfig
    # load configuration
    yes "" | make config
    # build!
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}

  • [SOLVED] Question about conky-lua-arch.

    I've managed to get conky-lua-arch up and working except for one minor issue. When I launch it, it automatically displays on the far right side of my 2nd monitor. This leads me to believe its alignment is pre-configured to run on the right side of the screen, which is fine, but how do I get it to be on the right side of my "primary" monitor instead? I've looked thru /usr/share/conky-lua-arch/clock-rings.lua but could not find an alignment or position parameter. I also could not find any other conky-lua-arch config files to look at. Any tips or suggestions are appreciated, thanks.
    EDIT: The config file was located elsewhere. Solved.
    Last edited by GunnDawg (2015-05-22 08:53:10)

    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

  • Ubuntu installed fine, Arch did, but won't boot.

    Hello, I am trying out Arch Linux alongside Ubuntu Linux on my external USB drive. Ubuntu boots fine, but after I install Arch, GRUB comes up giving me error 17. I don't know what could be different between my two installations except that I installed Arch while my internal HD was in, while I installed Ubuntu while it wasn't. Help?

    I set Ubuntu's menu.lst back for now, but still can't boot to Arch. I think I figured out why I can't (the install messes up when using GRUB, as GRUB can't figure out what file system it is on). Also, I think I may need to take out my internal HD to install it to the external (I had to do that with Ubuntu, but I was told it was just in case). Anyway, here is my menu.lst for my working Ubuntu (where the Arch Linux entry doesn't work because it says that that one is not supported by my BIOS for some odd reason), and the one for arch.
    Ubuntu:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 5
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,0)
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    ## ## End Default Options ##
    title Ubuntu 7.10, kernel 2.6.22-14-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash quiet splash
    initrd /boot/initrd.img-2.6.22-14-generic
    quiet
    title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash single
    initrd /boot/initrd.img-2.6.22-14-generic
    title Ubuntu 7.10, kernel 2.6.22-13-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-13-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash quiet splash
    initrd /boot/initrd.img-2.6.22-13-generic
    quiet
    title Ubuntu 7.10, kernel 2.6.22-13-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-13-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash single
    initrd /boot/initrd.img-2.6.22-13-generic
    title Ubuntu 7.10, kernel 2.6.22-12-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash quiet splash
    initrd /boot/initrd.img-2.6.22-12-generic
    quiet
    title Ubuntu 7.10, kernel 2.6.22-12-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash single
    initrd /boot/initrd.img-2.6.22-12-generic
    title Ubuntu 7.10, kernel 2.6.22-10-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-10-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash quiet splash
    initrd /boot/initrd.img-2.6.22-10-generic
    quiet
    title Ubuntu 7.10, kernel 2.6.22-10-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.22-10-generic root=UUID=d76897f5-a728-4f06-b3d6-7291b03100fe ro vga=791 splash single
    initrd /boot/initrd.img-2.6.22-10-generic
    title Ubuntu 7.10, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    title Arch Linux
    root /dev/sdb3
    chainloader +1
    Arch:
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    # Linux Grub
    # /dev/fd0 (fd0)
    # /dev/hda (hd0)
    # /dev/hdb2 (hd1,1)
    # /dev/hda3 (hd0,2)
    # FRAMEBUFFER RESOLUTION SETTINGS
    # +-------------------------------------------------+
    # | 640x480 800x600 1024x768 1280x1024
    # ----+--------------------------------------------
    # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    # +-------------------------------------------------+
    # general configuration:
    timeout 5
    default 0
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    title Arch Linux
    root (hd1,2)
    kernel /boot/vmlinuz26 root=/dev/sdb3 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd1,2)
    kernel /boot/vmlinuz26 root=/dev/sdb3 ro
    initrd /boot/kernel26-fallback.img
    # (1) Windows
    title Ubuntu Linux 7.10
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

  • PREEMPT_RT patch and Arch

    Hello All,
    I'm wondering if anyone has toyed around with the PREEMPT_RT patch using the Arch concept to simplify the processes to accommodate non-critical motion control across wireless or local area networks as a server for applications such as security cameras, thresholds, landscape automation, environmental controls, etc. There are also several commercial applications that might be reasonably run through the hybrid RT capabilities of a adapted timer and a preempted Linux kernel with an ultra-lean Arch config.
    I'm a newbie and interested in finding out what I don't know before I throw a bunch of time at a flawed concept. I've been linux lurking for quite a while hoping to find a really lean operating system and overhead that retains the dual characteristics of general motion control and networking. These could be used in any number of closed loop commutation and synchronization schemes to afford relatively accurate positioning at long distances and communicate the result.
    Obviously this could be accomplished with enough money to buy gear and canned (black box) applications but the cost of repetitive installation pales even the bravest entrepreneur. So, the search continues.
    Is there any inherent reason that Arch and the RT patched kernel won't work together? Most of the pengutronic stuff I've been reading is a little dated. Admittedly, I may have just outed my lengthy lurk in a spasm of sheer excitement that this may be the one. But I thought I might just simply ask before I work my way to another dead end.
    Anyone?

    Let me say up front...    personally I have no idea. You could always simply try it and see if it works!
    That said, my reason for posting is to say, you might get better traffic on this question in another part of the forum, since this has very little to do with differing architectures. Your best bet might actually be the Networking, Server, and Protection area since your basically talking about setting up a server designed to control security cameras, or the Kernel & Hardware Issues area, since you are asking specifically about a kernel patch.
    I got curious and googled the patch you're talking about...   I am fairly sure it should work for Arch, since it seems to be very distro agnostic.
    I am curious about why you feel the rt patch would help with motion control over a network...   it is aimed at working with microsecond timings, than longer term workloads. RT is only really useful (right now) for really short units of work in response to real time events. Basically, if you want to hit a bug's wing that was spotted on a camera with a high powered, very narrow focused laser, then an RT kernel might help you. An RT kernel is aimed at starting up responses really fast. Unless you are responding to something captured by the cameras, and less than a tenth of a millisecond is necessary to that response, a normal "real-fast" kernel might be a better idea.
    http://www.rdrop.com/users/paulmck/real … 06.22a.pdf
    There is a link to a white paper about the RT-Kernel and the Preempt_RT patch set. It's 9 PDF pages, but if you want to just skim it, the summery has a nice decision tree to help make the choice between real-time patch and the vanilla "real fast" kernel.
    The RT-patchset might actually be more work than strictly needed for the concept you're working on.
    It seems to me, and I am far from a Guru or an expert, that what you are hunting for is a motion capture application that can easily be network controlled and is open-source. You need a low overhead OS to give all of the system resources to the motion capturing program. Arch is good for low overhead, and there is the package zoneminder in the AUR (Also with the zmviewer-svn that adds a client capacity to the suite, meaning you can look at/control them from another computer).
    You may want to look at Linux-From-Scratch to make an absolutely basic system on the hardware you wish to use for this enterprise. You can strip out all of the unneeded drivers from the kernel, locales, manpages, build tools, and all of the other cruft that is needed by the average install of any Linux OS meant to run on diverse groups of hardware.
    By the way, the Linux-From-Scratch would allow you to custom compile and thoroughly test each update before sending them out as binaries to your customers, as well as allowing you to do complete upgrades rather than piecemeal updates to each program on the system as they come available. (Business like the set time table for releases because of the lower amount of downtime for the critical systems.)
    Last edited by LeoSolaris (2009-05-11 14:49:41)

  • DHT is no longer working since Kernal upgrade

    I'm running through a router using a direct conection I use the Blue frog, and Deluge, the router is set up for port forwarding with ports for both applications and has worked flawlessly for the last 2 years. since the last kernel upgrade the ports are closed I assume its to do with Arch config. as the router works ok with other distros

    Is this a usb drive?
    It will probably never recognise that drive ever again.. Mountain Lion has this little bug where it cannot recognise some USB drives.. I don't understand it.. but it just happened to me and a quick google shows it is not uncommon.
    Your backups are not lost.. they are just not accessible.. you need to plug the drive into a computer with a better.. older OS. Find a new USB drive that Mountain Lion can actually read.. and even write to.. and copy the files across.

  • Intel 7260 does not work on open networks/filtered ports

    Hi Everyone! I made sure to check if this was posted before and tried to fix everything I could before asking you guys. For the past few days, I have been using Android wifi tethering as I was unable to get the speed up above 1000 B/s at my school. This means that the pings work, but I am unable to do anything else.
    I have the latest kernel and the latest firmware (downloaded from the iwlwifi kernel.org section) and am currently using NetworkManager. My wifi works on my WPA network at home, but nowhere else. This is a fresh install of Arch running Gnome.
    Laptop model: ASUS Q302LA
    Outputs of my stuff:
    lspci gives me:
    00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
    00:04.0 Signal processing controller: Intel Corporation Device 0a03 (rev 0b)
    00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
    00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
    00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
    00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
    00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
    02:00.0 Network controller: Intel Corporation Wireless 7260 (rev cb)
    uname -r is:
    3.18.6-1-ARCH
    Config on the settings is all the automatic ones. I get the signal strength and the speed but data transfers at a ridiculously slow rate. When I had Windows, it was 50 Mb/S.
    If you need anything else, I can give you all you need.
    All ports are filtered.
    Thank you for helping. If this is in the wrong section, feel free to move it.

    For people that end up stumbling upon this thread: I talked to the IT director at my school and he said that it's normal for Linux (using open source drivers) users to find problems with connection. (Also, the USB wifi card I tried did not work.) As of now, it's a problem on the provider's end. If you can, ask them to update their "wifi stuff" and if that doesn't work, see if you can get them to secure the network with WPA2/PSK. (Probably won't happen) I was fortunate that I contacted him during the planning phase for securing the wifi and only had to wait a few days.
    Keep it Simple

  • [SOLVED] How to add modules to build with the kernel?

    Hello i´m trying to learn how to build my own custom kernel and doing it the arch way https://wiki.archlinux.org/index.php/Ke … raditional. But unfortunately dm-crypt was not included in the kernel so it all failed.
    svart_alg% sudo mkinitcpio -k 3.15.6 -c /etc/mkinitcpio.conf -g /boot/initramfs-test.img
    ==> Starting build: 3.15.6
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [lvm2]
    ==> ERROR: module not found: ‘dm-snapshot’
    -> Running build hook: [encrypt]
    ==> ERROR: module not found: ‘dm-crypt’
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> WARNING: No modules were added to the image. This is probably not what you want.
    ==> Creating gzip initcpio image: /boot/initramfs-test.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    I have never don any of this before and have no idea of how to add a missing module to the kernel i´m building. So i search on internet and had a very hard time finding a good guide for this but i fond one possible solution. https://www.kernel.org/doc/Documentatio … odules.txt
    svart_alg% make -C /home/nigro_alko/Kernel/linux-3.15.6 M=/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in
    make: Entering directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    mkdir: cannot create directory ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’: Not a directory
    scripts/Makefile.build:44: /home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile: Not a directory
    make[1]: *** No rule to make target ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile’. Stop.
    Makefile:1310: recipe for target ‘_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’ failed
    make: *** [_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in] Error 2
    make: Leaving directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    So is there any one that have time to help a lost little newbie i would bee very happy  :-)
    Last edited by Moosey_Linux (2014-07-29 15:00:40)

    karol wrote:Why do you want a custom kernel in the first place?
    Moosey_Linux wrote:i´m trying to learn how to build my own custom kernel
    Reason enough IMO. But anyway... you refer to the Traditional build method in the wiki, but is it possible you didn't really read it? Or maybe you only skimmed it? Did you run make menuconfig? Did you try to build everything in instead of using modules? That mkinitcpio output suggests that you did.
    As suggested there for first-timers, it's a good idea to start with a kernel configuration that is known to work - the Arch config is the obvious choice, but there are other sources e.g. http://kernel-seeds.org/ .

  • [SOLVED] Trying to install Octave, gcc-fortran dep. doesn't install

    I've been trying to install Octave.
    I've found that down the dependency chain that gcc-fortran is giving me the classic mutlilib conflict error:
    gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] n
    Does the package need to be fixed? Or does it really depend on the non-multilib version of gcc stuff?  Any tips would be appreciated, I'd prefer to fix PKGBUILD and makepkg if I can instead of doing a uninstall/reinstall ballet.
    Thanks!
    SOLVED:
    I had my multilib repository commented out in my pacman.conf
    Embarassing whoops.
    Last edited by uberscientist (2013-05-03 06:03:50)

    FTP ISOLINUX worked perfectly for me!
    I ran into this problem at first, however:
    failed to mount /dev/sr0
    :scanning usb drives
    failed to mount /dev/sda1
    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    ext2-fs: unable to read superblock
    failed to mount /dev/sda2
    failed to mount /dev/sda5
    failed to mount /dev/sda6
    failed to mount /dev/sda1
    error: cannot find boot device, can not continue
    falling back to interactive prompt
    But that was caused by the usb drive that I half-ways made into an bootable device.  Removing it allowed me to continue on with to the Arch config window.
    Thanks you all for your input and help.  It was because of you that I have a fully Arch home environment!  Good luck with all of your future endeavors, you guys!

  • Missing "Evdev-managed keyboard" option in KDE

    I've been trying to solve some outstanding keyboard config issues. Right now, I have some keys which don't do anything and which don't even seem to be properly recognised by the X server. (Judging by output using xev.)
    I'm using KDE and I found the recommendation on the KDE configuration page of Arch's wiki to set the keyboard layout to "Evdev-managed keyboard". Googling also suggestions this might be the solution.
    However, when I look at the list in the drop-down menu of System Settings > Input Devices > Keyboard > Hardware > Keyboard model, I can't find anything which looks like this option. I'm using the default Arch config file /etc/X11/xorg.conf.d/10-evdev.conf and it is obvious from that that evdev _should_ be managing my keyboard.
    Can anybody tell me what I'm missing? Where can I find this option?
    The option isn't listed in /usr/share/X11/xkb/rules/base.lst or /usr/share/X11/xkb/rules/xorg.lst which do seem to match other options in the menu. So I assume it should be added automatically by KDE? Or does its absence show there is something wrong with my setup/installation at some point?
    Thanks for any hints. (I am afraid I am asking a lot of questions right now!)

    It is definitely not the locale issue in my case - my locales are set properly and the output of locale is as expected.
    No, I haven't found a solution. I'm beginning to suspect it is a bug or something odd about the interaction between KDE and Arch somehow. I had this problem on pretty much a new install and my installation is not "generally messed up" so far as I can tell. (I am just starting to get it configured a little more comfortably but have a ways to go.)
    I would be very grateful for any hints, pointers, suggestions, solutions, tea or sympathy available.

  • Pacman -Syu locks on manpages download

    Just did pacman -Syu like normal and 3 times, it locked up on downloading the manpages. we're talking where it gets to 37% or something like that and 10 minutes later, still idling there. I havent seen anyone mention this, but I'd be suprised if this was a "me" thing and not an "arch" thing. Just thought I'd bring it to attention. And no, im not having any problems with my network whatsoever.
    -Miesnerd

    I'm having the same problem as Miesnerd. I came home after a month to find updates to a bounty of packages clocking in at about ~350 megabytes of data. I first updated the kernel and Pacman, then the rest of my packages. Unfortunately, Pacman keeps freezing when grabbing the packages. Sometimes it pulls down a few hundred kilobytes, but never more than eight or so megabytes. If I stop with ctrl-c and restart the process, it grabs a bit more, then freezes again. A "freeze" constitutes Pacman no longer making any progress in fetching packages, even if left running for hours. After about thirty runs of pacman -Syu, I now have about 170 megabytes of packages completed, but something must be wrong with Pacman, my Arch config, or both.
    I use the Georgia Tech mirror and have no other problems with TCP/IP applications.
    Last edited by manimal347 (2008-08-07 21:07:21)

  • Issue after kernel compilation

    I've compiled my own kernel based on the arch linux default kernel its configuration file. I simply executed  make clean &&  make dep && make modules && make bzImage && make modules_install. Afther the depmod I've built a ramdisk with mkinitcpio.Unfortunately I'm not able to boot into my new self-compiled kernel. Here you can see my /boot/grub/menu.lst:
    # (0) Arch Linux Self-compiled kernel
    title Linux 2.6.30.5 [/boot/vmlinuz-2.6.30.5]
    root (hd0,0)
    kernel /vmlinuz-2.6.30.5 root=/dev/sda3 ro
    initrd /kerneltest.img
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz26]
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    While booting into the new kernel the next error message about the root device shows up. I've noticed I'm able to boot the default arch kernel that's using the same root device (=/dev/sda3) on this desktop.
    Waiting 10 seconds for device /dev/sda3
    Root device /dev/sda3 doesnt exist, attempting to create it
    Error: Failed to parse block device ids for /dev/sda3
    Error: Unable to detect or create root devide /dev/sda3
    If you would like to see my partitions:
    /dev/sda1 /boot ext2 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext4 defaults 0 1
    /dev/sda4 /home ext4 defaults 0 1
    Who can help me with this issue? Thanks.
    Last edited by Nando (2009-09-05 15:40:04)

    I've compiled a new kernel but the same issue remains. I executed some important changes in my kernel config: CONFIG_SCSI=y, CONFIG_ATA=y, CONFIG_EXT4_FS=y  (instead of being modular as in the default arch linux kernel). I also inserted the "aufs" lines, but they were gone in my .config file after the kernel compilation.(I think it was after make dep)
    A "diff" of both .config reveals that aufs is almost the only difference. (I've already mentioned the stuff that used to be modular and is now built-in.)
    3 root@archlinux $ diff /usr/src/linux-2.6.30.5/.config /usr/src/linux-2.6.30-ARCH/.config
    3,4c3,4
    < # Linux kernel version: 2.6.30.5
    < # Mon Sep 7 10:35:44 2009
    > # Linux kernel version: 2.6.30
    > # Mon Aug 17 16:49:59 2009
    1269c1269
    < CONFIG_SCSI=y
    > CONFIG_SCSI=m
    1418c1418
    < CONFIG_ATA=y
    > CONFIG_ATA=m
    3905c3905
    < CONFIG_EXT4_FS=y
    > CONFIG_EXT4_FS=m
    3912c3912
    < CONFIG_JBD2=y
    > CONFIG_JBD2=m
    3914c3914
    < CONFIG_FS_MBCACHE=y
    > CONFIG_FS_MBCACHE=m
    4041a4042,4052
    > CONFIG_AUFS_FS=m
    > CONFIG_AUFS_BRANCH_MAX_127=y
    > # CONFIG_AUFS_BRANCH_MAX_511 is not set
    > # CONFIG_AUFS_BRANCH_MAX_1023 is not set
    > # CONFIG_AUFS_BRANCH_MAX_32767 is not set
    > CONFIG_AUFS_HINOTIFY=y
    > CONFIG_AUFS_EXPORT=y
    > CONFIG_AUFS_SHWH=y
    > CONFIG_AUFS_BR_RAMFS=y
    > # CONFIG_AUFS_DEBUG is not set
    > CONFIG_AUFS_BDEV_LOOP=y
    4427c4438
    < CONFIG_CRC16=y
    > CONFIG_CRC16=m
    I've built an own ramdisk again with mkinitcpio, but I'm using the default kernel26.img
    /boot/grub/menu.lst:
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz26]
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz2-6-30.5]
    root (hd0,0)
    kernel /vmlinuz-2.6.30.5-nando root=/dev/sda3 ro
    initrd /kernel26.img
    Last edited by Nando (2009-09-07 17:38:21)

Maybe you are looking for

  • Lost Disc recovery after hard drive crashed installed windows 8.1 no drivers

    Hard drive crashed and replaced hard drive with ssd, lost all recovery discs then updated to windows 8.1 now i dont have any drivers like finger print scanner and cd discs will not load. It is a hp pavilion dv6-3079tx  Need Help Thanks,  Leady05

  • Enter Document Type during GL Account Clear at F-03

    Hi All, Because I would like to use a special document type when I perform this particular transaction. Thus would like tto change the "Document Type" set as default by the system at this T-Code F-03. I would appreciate if someone can enlighten me wh

  • Problem working with HttpClusterServlet

    hi:           this is the first time i work with weblogic6.1(NT platform) cluster.           i config the DefaultWebApp as web application which will proxy requests to           my cluster which consists of two weblogic server running on the same hos

  • HDMI display no longer detected

    Soon after updating to OS X Mavericks my Dell HDMI display stopped working (the screen went into power saving mode) and isn't detected by my Late 2012 Mac Mini. Have tried reboots and disconnecting the power and HDMI cables to no effect.  I can remot

  • Problem in text processing

    Hi, I made a program that makes a lot of processing and when i compile it no error appears but a warning happens. The warning is: ResultServlet.java uses unchecked or unsafe operations What exactly is the source of this warning. Thanks.