[SOLVED] MASM Assembly X86 Programming on Arch

Whats the best way to program MASM in Arch? I could go for an IDE or use VIM and then use the CLI to compile, but I'm not sure how to do it, on Windows I just used VS which has a built in MASM compiler. I tried installing Jwasm but I'm not sure what to do as in I don't know how to install it lol. Its just a zip file with a bunch of files in it. I tried the tarball from the AUR too but that gives me an error. can anyone help me? Many thanks I am new to Arch. actually I installed it a few years ago but went back to Windows when my laptop died. This is the last obstacle to making Arch perfect for me
[ansm@archie jwasm]$ makepkg -si
==> Making package: jwasm 2.09-1 (Sat Feb 15 22:45:04 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: hd2u
==> ERROR: 'pacman' failed to install missing dependencies.
[ansm@archie jwasm]$ makepkg -s
==> Making package: jwasm 2.09-1 (Sat Feb 15 22:45:12 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: hd2u
==> ERROR: 'pacman' failed to install missing dependencies.
Last edited by stevenplanet (2014-02-16 18:47:27)

korn36 wrote:
stevenplanet wrote:
jasonwryan wrote:The error message is self-explanatory; you need to install hd2u. Pacman won't install packages from the AUR.
Thanks for the reply! So I tried pacman on hd2u and that didnt work since it said target wasn't found. So I figured it was probably on the AUR so I downloaded the tarball, unzipped it, went into the folder, and did makepkg -si, but it spat out this
[ansm@archie hd2u]$ ls
PKGBUILD always-false.patch
[ansm@archie hd2u]$ makepkg -si
==> Making package: hd2u 1.0.3-7 (Sun Feb 16 01:35:46 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading hd2u-1.0.3.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 60024 100 60024 0 0 55661 0 0:00:01 0:00:01 --:--:-- 55680
-> Found always-false.patch
==> Validating source files with sha512sums...
hd2u-1.0.3.tgz ... Passed
always-false.patch ... Passed
==> Extracting sources...
-> Extracting hd2u-1.0.3.tgz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
/home/ansm/Downloads/hd2u/PKGBUILD: line 20: patch: command not found
==> ERROR: A failure occurred in prepare().
Aborting...
[ansm@archie hd2u]$
I also tried makepkg -s but it yields the same error.
pacman -S base-devel
Thank you!!! This got everything working! Cheers!

Similar Messages

  • LabVIEW function to detect 32 Bit (X86 Program Files) vs 64 Bit (Program Files) System?

    I am looking for a LabVIEW function that detects whether the system is a 32 bit or 64 bit system.  The reason for this is that I need to change our file paths to draw from either the X86 Program Files folder or the Program Files folder, I'd rather do this programatically so as not having to do it manually each time.
    Thanks.
    Solved!
    Go to Solution.

    Use "Application Directory" for relative paths from your EXE in "Program Files".
    Otherwise, use "Get System Directory.vi" and select "Application Files" as option.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Run a qt program in arch

    I want to run a qt program in arch. Is it necessary to install KDE or GNOME desktop before that? or I can simply run it in console as well? considering that the program is a GUI program with OpenGL.
    if it is possible to run in console as well before tell me how, I have already installed xorg and start x works fine.

    saman_artorious wrote:
    x33a wrote:
    Many qt programs depend on some parts of KDE, so you may need to have those parts installed.
    If the program you need to run is present in the repos, simply install it and pacman will fetch all the required dependencies (i.e., any relevant part of KDE) by itself.
    To sum it up, you don't need to run the KDE suite, but you will have to install the relevant dependencies. The program itself should run fine with any WM or DE.
    what about if I do not download qt using pacman and instead install qt offline? in that case how will it know which dependencies it needs to download?
    1) Stop what you're doing.
    2) Think very carefully about what it is you want to accomplish.
    3) Explain in detail to the people here what it it is you are trying to accomplish, why you wish to do so, and what you've attempted so far in order to do so.
    So far, you've met every answer to one of your questions with yet another, seemingly unrelated question; you're just leading the folks here in circles with no clear goal. No matter what it is you happen to be doing, or when, or where, this is simply not an effective or efficient way to get things done. Arch is a Do-It-Yourself distribution and community; folks here will only remain patient for so long.

  • [Solved] Boot process hangs for installed Arch and installation usb

    Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
    Loading Linux core repo kernel ...
    Loading initial ramdisk ...
    /dev/sda3: recovering journal
    /dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
    And then it hangs right there. I have to hard-reboot after this.
    I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
    I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
    I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
    sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
    sda2 - Windows 7 OS
    sda3 - ArchLinux (boot flag enabled)
    sdb1 - Ubuntu 12.10 (boot flag enabled)
    sdb2 - Just data
    I ran bootinfoscript and below is the output:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    sda1: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe
    sda3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
    sdb1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 12.10
    Boot files: /boot/grub/grub.cfg /etc/fstab
    sdb2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
    /dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
    /dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/mmcblk0p1 6665-3162 vfat
    /dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
    /dev/sda2 1EE242D5E242B137 ntfs
    /dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
    /dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
    /dev/sdb2 3C2E3A4E2E3A0206 ntfs
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
    /dev/sdb1 / ext4 (rw,errors=remount-ro)
    =========================== sdb1/boot/grub/grub.cfg: ===========================
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 13,37,73; then
    clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    if [ "${recordfail}" != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    initrd /boot/initrd.img-3.5.0-21-generic
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
    else
    search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
    fi
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    =============================== sdb1/etc/fstab: ================================
    # /etc/fstab: static file system information.
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb1 during installation
    UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
    =================== sdb1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    4.564525127 = 4.901121536 boot/grub/grub.cfg 1
    5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
    5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
    6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
    4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
    5.851592541 = 6.283099648 initrd.img 2
    5.851592541 = 6.283099648 initrd.img.old 2
    4.965751171 = 5.331934720 vmlinuz 2
    4.965751171 = 5.331934720 vmlinuz.old 2
    I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
    Last edited by dhavalparmar (2012-12-30 11:45:25)

    Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
    I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
    I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
    I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
    I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
    I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
    None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
    I told this to my friend who introduced me to Arch, and this is what he said:
    Damn it computers, you were supposed to be deterministic!

  • [SOLVED]Compiling 32bit C programs on a 64bit arch

    Hi guys, for the first time I decided to use 64bit arch on my machine and so far no complains (I don't think there will ever be). I'm a student of computer engineering  and I use C to code some projects but I haven't found a way to compile 32bit programs on my 64bit arch. Everybody says "just add -m32 flag to the compile step" but I think this is not all I have to do (it doesn't work if I just do that).
    To prove it I have created a simple "hello world" in C:
    #include <stdio.h>
    int main(){
    printf("Hello, World");
    return 0;
    When I try to compile it, I just run
    gcc -m32 hello.c -o hello
    But all I get is
    In file included from /usr/include/features.h:399:0,
    from /usr/include/stdio.h:27,
    from test.c:1:
    /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    compile finish
    Needless to say it doesn't create the hello executable. Is there some packages I have to install in order to have this happen?
    Last edited by xangelux (2012-07-25 00:24:40)

    xangelux wrote:/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    Well, you could see that something "-32" is missing so you are searching for 32 bit stuff that is not installed.
    There's a tool called pkgfile which searches in the repository database for a file name and tells you which package it is in.
    In this case, stubs-32.h
    ~ % pkgfile stubs-32.h
    multilib/lib32-glibc
    Maybe another helpful article: https://wiki.archlinux.org/index.php/Ar … ib_Project

  • [solved] Xfce4 unwanted autostarting programs

    I have developed a small irritation with what i believe to be Xfce4. Upon every reboot (or cold start) of my machine. When i log into Xfce4, Chromium and a Terminal window both autostart. Chromium starts minimised and the terminal starts visable in the centre of my screen. Some information that may be relevant: Xfce 4.10, Xfwm4, Kernel 3.8.11-1-ARCH, SLiM, Xorg server 1.14.1.
    I am not aware of making any changes this problem appeared out of the blue. I have checked the Session and Startup settings and the only autostart programs enabled are Power Manager and Xfsettingsd. I have checked in .config/xfce4 for an autostart folder and there isnt one. There is nothing in .xinitrc
    Any help on this would be great thank you.
    Last edited by thekore (2013-05-05 17:33:54)

    Krarl wrote:Try enabling "Automatically save session on logout" in session and startup and then close all windows. Restart xfce. Hopefully this should clear the saved session, and now you can disable it again.
    I feel like such an idiot, I was looking for the most complex solution and forgot about the most obvious. This has solved the problem, thanks Krarl
    ewaller wrote:You might also try cleaning out ~/,config/xfce4-sessions
    I had checked this already and the folder was empty.

  • [solved] Video conversion problem: Mencoder on Arch versus Windows XP

    I have a cheap portable video player which (according to a supplied Windows software configuration file) requires any video to be converted (say from a YouTube .flv) using a command line like:
    mencoder myfile.flv -ofps 15 -vf-add scale=160:128 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -stereo 0 -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=128 -o myfile.avi
    If I do the conversion on Linux - my fully-upgraded Arch - the resulting .avi file has the audio and video out of sync when played with Mplayer (on Linux and Windows), and no audio at all when played with Vlc (on Linux and Windows). But if I do (supposedly) exactly the same conversion using Mencoder on Windows, the resulting .avi file plays perfectly on everything on both Linux and Windows (and also the portable video player).
    Here's the version information for the Mencoders being used:
    Windows: MEncoder Sherpya-MinGW-20060312-4.1.0 (C) 2000-2006 MPlayer Team
    Arch: MEncoder SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
    I'd be grateful for any ideas as to how to make my Mencoder conversion work as well on Linux as it does on Windows XP! (Or is there something wrong with the way I'm playing the file with Mplayer and Vlc on Arch?!)
    Last edited by ninian (2010-11-16 23:28:02)

    Aha! I think I've cracked it, but using ffmpeg instead, with options prompted by this blog post:
    ffmpeg -i infile.flv -r 15 -vcodec mpeg4 -vtag XVID -s 160x128 -aspect 4:3 -qmin 3 -qmax 5 -ar 44100 -ab 128k -ac 2 -acodec mp2 -g 1 outfile.avi
    This seems to work everywhere, and the writer specially notes that:
    The most important option is the -g 1 to force every frame to be a keyframe
    which may well be where my conversions were going wrong. So I'll mark this as 'solved' even though mencoder is still a mystery, but I have learned to keep Vlc up my sleeve, so thanks for that tip again.

  • How to solve delay in a program with data aquisition and processing

    Hello, I am a starter in Labview programing. I am working on a system which contains a roller, a piston and a A/D cart which is from Data Translation Inc (DT304). I am using labview to get speed data of the roller (which is voltage first then be converted into speed) from Analog Input Channels, and then using Analog Output Channels to control the friction force being appylied to the roller by using a piston.
    I am using a Waveform Chart to show the speed of roller. However, as I am adding more components to the program, I always get delay in the speed display and also the output control of the piston. Also, as I spent more time using the program eg. from morning to night, it became slower too.
    My question is, how does labview store data and how are the data been stored and released in the buffer.Is it because I am loading too much data in the buffer so that it became slower? And also how to solve these delays?
    I am using the "save to file" function to write data to a ".lvm" file, but I did some changes to the saving by using a button to enable and disable saving. So I don't think the problem is because I am always saving the data into a file.
    Thank you very much.
    Jessie

    I'm betting it's two things:
    1. Program Architecture
    and 2. Dynamically resizing arrays.
    With the program architecture... if you have one do-while loop that acquires data from teh DAQ, processes it, opens/indexes/writes/closes a file, then comes back around... as your arrays and files increase in size, the loop is going to take longer to execute.  A Producer-Consumer loop (a good tutorial on them can be found here) has one loop that acquires data and stuffs the data into a queue.  This will buffer the data while it's in transition between acquisition and processing.  A second loop in parallel takes data in from the queue, processes it, then comes back around.  The two loops operate independently of each other, so even if the consumer loop takes longer as the files or math gets more complex, the producer loop continues to run full speed.
    Second is the arrays.  Every time you append data into an array, LabVIEW has to make a copy of the data that's in the array.  If you append small amounts of data to an array over and over and over again, eventually LabVIEW is going to be copying very large amounts of data over and over and over again.  The producer-consumer architecture can alleviate this problem.

  • Trying to use a java 32bit program in Arch 64bit

    After giving up some time ago, I decided once more to try to run a commercial 32bit Java application in my Arch 64bit. The same program runs fine in a vm with Ubuntu 64bit. Also, I installed bin32-jre from aur and I messed up the jre.sh and jdk.sh scripts in /etc/profile.d/ and made it work, but then my native Java 64 bit programs won't run.
    To sum up, is there a way to achieve the same Java compatibility that Ubuntu offers? What libs or packages do I have to install and how should I configure them to run every java program, no matter if it is 32 or 64 bit?
    Thanks.

    Awebb wrote:
    Java applications are compiled to bytecode. This bytecode is interpreted by the JRE to run on your specific environment. I don't see how a Java application could be either "32bit" or "64bit". This is the big benefit of Java: Write your code, compile it and run it on every machine that has Java installed.
    Let's try to run your "32bit Java application" on 64bit JRE. What errors do you encounter that make you think you need a different environment?
    Truth is that things are not so simple. This application uses the SWT toolkit for its interface and has other dependencies besides jre (gtk is one for sure). I would be very grateful if you could download the fully functional demo version from here http://www.wordfast.com/zip/2.4.0.1/lin … nux.tar.gz and give it a try. If you can't do that, I can provide some logs. I am sure the problem is not how Java behaves but the way this app is developed and packaged. I have bought a license some years ago, but I still haven't managed to run it properly on any of my Arch machines and I just wait for the devs to take some action on this issue. I have also asked for help, but it seems that they take for granted that their Linux users use distros with mixed libs (like Ubuntu).
    Anyways, thx for your reply.

  • Error 1320 the specified path is too long C:\Program File (x86)\Program File (x86)\ Program File (x86)\Program File (x86)\ and so on

    I Got this error 1320 bla bla bla bla
    i cant install adobe reader ._. help me out pls

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\user>set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\user\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=ACC
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\user
    LOCALAPPDATA=C:\Users\user\AppData\Local
    LOGONSERVER=\\ACC
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program File
    s (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA
    Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program F
    iles\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
    C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL
    SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program F
    iles\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Inte
    l(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Mana
    gement Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management En
    gine Components\IPT;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files
    (x86)\IDM Computer Solutions\UltraEdit\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=2a07
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\user\AppData\Local\Temp
    TMP=C:\Users\user\AppData\Local\Temp
    USERDOMAIN=ACC
    USERNAME=user
    USERPROFILE=C:\Users\user
    windir=C:\Windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

  • How compress 3 DV tape inputs for multiclip editing, assemble final program

    I have 3 timecoded 95 minute DV tapes of a concert I want to input to FCP for editing in multiclip. This is my first time.
    What's a good how-to reference to 1) compress the content to fit my 250 Gig hard drive, 2)edit in multiclip, and 3) assemble the finished program by importing the uncompressed clips I end up using?
    Thanks very much. Duncan
    Mac G4 Mac OS X (10.4.8) 2 250G HDs, 2 500G HDs

    Here's a tutorial, plus info in your manual...
    http://www.kenstone.net/fcphomepage/multicam_editingmartin.html
    Is your media simply MiniDV, or another format recorded on DV tape?
    If MiniDV, it should all fit easily on your harddrive (provided it is a drive other than your system drive). DV-NTSC takes about 13Gb/hr of footage, so you're well under.
    Do not render until after you've finished your multiclip edit and 'collapsed' the multiclip.
    K

  • [solved]patch 2.6.29-3-ARCH confilict with aufs2

    After checked the aufs2 standalone code and 2.6.29-3-ARCH patch, I found 2.6.29-3-ARCH confilict with aufs2...
    2.6.29-3-ARCH changed the do_splice_from of fs/splice.c to vfs_splice_from...   while aufs2 standalone need do_splice_from ...
    And there is no such change on kernel official patch 2.6.29.1...
    So,
    If you need aufs2 support, abandon 2.6.29-3-ARCH patch is the best way...
    -------------090406----------------
    2.6.29.1-2-ARCH patch already contained aufs patch, use vfs_splice_from...
    With  kernel26-2.6.29.1-2.pkg.tar.gz, just need " modprobe aufs" to use aufs...
    Last edited by carbonjiao (2009-04-07 01:49:36)

    HI, godane, thanks for your reply!
    Could you share your kernel PKGBUILD?
    I must add tuxonice patch and kernel UTF-8 Chinese characters patch...
    Here is my PKGBUILD I am compliling now (haven't finished now...)
    pkgname=kernel26-archlive
    _realpkgname=kernel26
    _basekernel=2.6.29
    pkgver=2.6.29.1
    pkgrel=1
    _patchname="patch-${_basekernel}-3-ARCH"
    pkgdesc="Archlive内核及模块,加入了gentoo官方补丁、UTF-8补丁、reiser4补丁、aufs补丁及tuxonice支持."
    #pkgdesc="Kernel configs for Archlive, with Gentoo patch set, fbcondecor patch, Chinese fonts patch, \
    # and reiser4 patch, aufs patch, also with tuxonice patch set."
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://archlive.googlecode.com"
    backup=(etc/mkinitcpio.d/${_realpkgname}.preset)
    depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.18')
    provides=('kernel26=2.6.29')
    optdepends=('sreadahead: daemon for data sequential boot from disk')
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi' 'kernel26'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1')
    install=${_realpkgname}.install
    source=(
    http://www.cn.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    #http://www.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    #http://www.cn.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
    #http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
    ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
    http://www.tuxonice.net/downloads/all/tuxonice-3.0-for-2.6.29.patch.bz2
    #http://dev.gentoo.org/~dsd/genpatches/trunk/${_basekernel}/4100_dm-bbr.patch
    #http://dev.gentoo.org/~dsd/genpatches/trunk/${_basekernel}/4200_fbcondecor-0.9.4.patch
    #http://dev.gentoo.org/~dsd/genpatches/trunk/${_basekernel}/4400_alpha-sysctl-uac.patch
    http://svn.berlios.de/svnroot/repos/fullstory/linux-sidux-2.6/tags/2.6.29-7/debian/patches/bugfix/ext4-flush-on-close.patch
    #http://svn.berlios.de/svnroot/repos/fullstory/linux-sidux-2.6/tags/2.6.29-7/debian/patches/features/aufs2-20090322.diff
    http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.29.patch.gz
    http://nchc.dl.sourceforge.net/sourceforge/ibm-acpi/thinkpad-acpi-0.22-20090318-BETA_v2.6.29.patch.gz
    config
    config.x86_64
    mkinitcpio.conf
    kernel26.preset ecryptfs.patch
    0001-kernel-trace-open.patch aufs2.patch aufs2-standalone.patch #aufs2-linux-2.6.29.patch
    4100_dm-bbr.patch 4200_fbcondecor-0.9.4.patch 4400_alpha-sysctl-uac.patch
    utf8-kernel-2.6-fonts-1.patch.tar.gz
    utf8-kernel-2.6.29-core-1.patch
    utf8-kernel-2.6.29-fbcondecor-1.patch
    md5sums=('64921b5ff5cdadbccfcd3820f03be7d8'
    #'1ee50bb06a8b981efb6cfacaee7ea2f2'
    #'d94bf612ff1a7899f7da9baed4533cf0'
    #'1cdc40cd1b8a3a9cfbb22626ad1e3d66'
    #'325299ab1c4b5634ec7d2769031d29e0'
    #'7ed983ea4f0f47844352ed6e81c8cb55'
    build() {
    [ "${CARCH}" = "i686" ] && KARCH=x86
    [ "${CARCH}" = "x86_64" ] && KARCH=x86
    ### mkinitcpio
    cd $startdir
    mkdir $pkgdir/etc
    cp mkinitcpio.conf $pkgdir/etc
    chmod 644 $pkgdir/etc/mkinitcpio.conf
    cd ${srcdir}/linux-$_basekernel
    # applying aufs patch
    patch -Np1 -i ${srcdir}/aufs2.patch || return 1
    patch -Np1 -i ${srcdir}/aufs2-standalone.patch || return 1
    patch -Np1 -i ${srcdir}/ecryptfs.patch || return 1
    #patch -Np1 -i ${srcdir}/aufs2-linux-2.6.29.patch || return 1
    # Applying gentoo patches
    for i in $(ls ../[1-9][0-9][0-9][0-9]*);do
    patch -Np1 -i ../$i
    done
    patch -Np1 -i ${srcdir}/0001-kernel-trace-open.patch #|| return 1
    # Add kernel utf-8 characters patch
    patch -Np1 -i ${srcdir}/utf8-kernel-2.6.29-core-1.patch || return 1
    patch -Np1 -i ${srcdir}/utf8-kernel-2.6.29-fbcondecor-1.patch || return 1
    patch -Np1 -i ${srcdir}/utf8-kernel-2.6-fonts-1.patch || return 1
    patch -Np1 -i ${srcdir}/tuxonice-3.0-for-2.6.29.patch #|| return 1
    # Add -ARCH patches
    # See http://projects.archlinux.org/git/?p=linux-2.6-ARCH.git;a=summary
    #patch -Np1 -i ${srcdir}/${_patchname} #|| return 1
    # Applying official patch
    patch -Np1 -i ${srcdir}/patch-$pkgver #|| return 1
    # applying ext4 patch
    patch -Np1 -i ${srcdir}/ext4-flush-on-close.patch #|| return 1
    # applying reiserfs4 patch
    patch -Np1 -i ${srcdir}/reiser4-for-2.6.29.patch #|| return 1
    # applying thinkpad-acpi patch
    patch -Np1 -i ${srcdir}/thinkpad-acpi-0.22-20090318-BETA_v2.6.29.patch #|| return 1
    if [ "$CARCH" = "x86_64" ]; then
    cp ../config.x86_64 ./.config
    else
    cp ../config ./.config
    fi
    source ./.config
    _kernver="$_basekernel${CONFIG_LOCALVERSION}"
    # configure kernel
    # use menuconfig, if you want to change the configuration
    # make menuconfig
    yes "" | make config
    # build kernel
    make bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    install -D -m644 System.map $startdir/pkg/boot/System.map26
    install -D -m644 arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$_kernver/Makefile
    install -D -m644 kernel/Makefile $startdir/pkg/usr/src/linux-$_kernver/kernel/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$_kernver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/include
    for i in acpi asm-{generic,$KARCH} config linux math-emu media net pcmcia scsi sound video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$_kernver/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH
    cp -a arch/$KARCH/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-$_kernver
    cp -a scripts $startdir/pkg/usr/src/linux-$_kernver
    # fix permissions on scripts dir
    chmod og-w -R $startdir/pkg/usr/src/linux-$_kernver/scripts
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile $startdir/pkg/usr/src/linux-$_kernver/arch/$KARCH/
    if [ "${CARCH}" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu $startdir/pkg/usr/src/linux-$_kernver/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$_kernver/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/drivers/media/video
    cp drivers/media/video/*.h $startdir/pkg/usr/src/linux-$_kernver/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301
    do
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h $startdir/pkg/usr/src/linux-$_kernver/drivers/media/video/$i
    done
    # add dm headers
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/drivers/md
    cp drivers/md/*.h $startdir/pkg/usr/src/linux-$_kernver/drivers/md
    # add inotify.h
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/include/linux
    cp include/linux/inotify.h $startdir/pkg/usr/src/linux-$_kernver/include/linux/
    # add CLUSTERIP file for iptables
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/net/ipv4/netfilter/
    cp net/ipv4/netfilter/ipt_CLUSTERIP.c $startdir/pkg/usr/src/linux-$_kernver/net/ipv4/netfilter/
    # add wireless headers
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/net/mac80211/
    cp net/mac80211/*.h $startdir/pkg/usr/src/linux-$_kernver/net/mac80211/
    # add xfs and shmem for aufs building
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/fs/xfs
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/mm
    cp fs/xfs/xfs_sb.h $startdir/pkg/usr/src/linux-$_kernver/fs/xfs/xfs_sb.h
    cp mm/shmem.c $startdir/pkg/usr/src/linux-$_kernver/mm/shmem.c
    # add vmlinux
    cp vmlinux $startdir/pkg/usr/src/linux-$_kernver
    # copy in Kconfig files
    for i in $(find . -name "Kconfig*")
    do
    mkdir -p $startdir/pkg/usr/src/linux-$_kernver/$(echo $i | sed 's|/Kconfig.*||')
    cp $i $startdir/pkg/usr/src/linux-$_kernver/$i
    done
    cd $startdir/pkg/usr/src/linux-$_kernver/include && ln -s asm-$KARCH asm
    chown -R root.root $startdir/pkg/usr/src/linux-$_kernver
    find $startdir/pkg/usr/src/linux-$_kernver -type d -exec chmod 755 {} \;
    cd $startdir/pkg/lib/modules/$_kernver && (rm -f source build; ln -sf ../../../usr/src/linux-$_kernver build)
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/${_realpkgname}.preset ${pkgdir}/etc/mkinitcpio.d/${_realpkgname}.preset || return 1
    # set correct depmod command for install
    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26.install
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${_realpkgname}.kver
    # remove unneeded architectures
    rm -rf $startdir/pkg/usr/src/linux-$_kernver/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}

  • How to solve Firefox keep accessing Program Files when I open it?

    When I open Firefox, instead of showing the homepage(which is google.com for me) it bring [file:///C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/]. I don't want it to be this way but I don't know how to solve it.
    please help :D

    Open a new window or tab. In the address bar, type '''about:config'''.
    If a warning screen comes up, press the '''Be Careful''' button.
    This is where Firefox finds information it needs to run.
    At the top of the screen is a search bar. Enter '''browser.newtab.url'''
    and press enter. '''browser.newtab.url'''
    tells Firefox what to show when a new tab is opened.
    If you want, right click and select '''Modify'''. You can change the setting to;
    '''about:home''' (Firefox default home page),
    '''about:newtab''' (shows the sites most visited),
    '''about:blank''' (a blank page),
    or you can enter any '''web page''' or '''about: page''' you want.
    The same instructions are used for the new window setting, listed as
    '''browser.startup.homepage'''.

  • [SOLVED] Install a single program

    Hello to everyone and sorry for my poor english.
    I want to install "dig" package but I don't need the entire "dnsutils" group. It's possible?
    And another question, how can I see all "dnsutils" packages? With another group, for example "kde", I can write "pacman -Sg kde" but it doesn't works with "dnsutils" group.
    Thank You very much!
    Last edited by alehox (2012-08-01 02:13:02)

    alehox wrote:I know dnsutils it's a small package but I can't see the program list or the package contents of dnsutils with pacman? It's easy with the web
    If there is such an option I am not aware of it.  It sounds like a good idea for a feature request - or for now you can try this, which I've called pac-list:
    #!/bin/bash
    repo=$(pacman -Ss $1 | awk 'NR==1 { gsub(/\/.*/,"",$1); print $1; }')
    ## uncomment only one of the following two lines:
    #for arch in x86_64 any; do
    for arch in i686 any; do
    lynx -dump -width 1024 -nolist \
    "http://www.archlinux.org/packages/$repo/$arch/$1/files/" | awk '
    /Back to Package/ {show=1;}
    /^[ \t]*\*/ {if (show==1) {print $2;} }'
    done
    edit: of course you can see contents once something is installed with `pacman -Ql <package name>`.
    EDIT: oops that script will only occasionally work.  The url needs to be constructed a bit more wisely than that.  Perhaps I'll tinker with that later.
    update: I've sacrified much elegance for some functionality.  This now seems to work for a majority of cases.  The two looped attempts seem odd to me, but as one should always fail silently, and the other work well, this seems to be a functional solution without having to look up whether the package is 686/x64 or 'any'.  I'm sure this will still fail occasionally, but my view on such scripts-of-convenience is to value simplicity over total failsafety.  It cannot fail in any dangerous way.
    Last edited by Trilby (2012-08-01 02:32:57)

  • [SOLVED] Just got back to my Arch machine - problems

    So, after about a month of not having Internet access, I booted my Arch system today to update everything but of course, I have some problems that are keeping me from doing that.  I have Gnome as my DE and when I boot up, I can log in just fine but when I get to the Desktop, I can't click on anything.  The mouse moves just fine, the icons even change shade when I put the cursor over them like they can be clicked on but clicking on them does nothing.  I have to launch everything with the keyboard, which isn't such a big deal but it's a bit of a nuisance. 
    The other thing that's bothering me is I have no internet access.  I am behind a different router now with an IP of 192.168.1.1 (instead of 192.168.0.1) and I made the appropriate change in the ROUTE variable in rc.conf but it hasn't done anything.  I even tried manually adding the default route to the routing table with
    #route add -net default gw 192.168.1.1 dev eth0
    but that doesn't seem to have done anything either.  I have an IP address but I can't ping the router.  Oh yeah, and network is listed as a daemon in rc.conf.  This is, of course, keeping me from updating my system using pacman.
    I may have other problems too but these are the two biggest that I need to get sorted out ASAP so your advice is appreciated.  Here is my xorg.conf and a list of processes that are running after boot up.
    Section "ServerLayout"
    Identifier "Xorg Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    # PS/2 Mouse not detected
    # Serial Mouse not detected
    InputDevice "USB Mouse" "CorePointer"
    EndSection
    Section "ServerFlags"
    Option "AllowMouseOpenFail" "true"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    # Additional fonts: Locale, Gimp, TTF...
    FontPath "/usr/share/fonts/cyrillic"
    # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    Section "Module"
    Load "ddc" # ddc probing of monitor
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "type1"
    Load "freetype"
    Load "record"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
    EndSection
    Section "InputDevice"
    Identifier "Serial Mouse"
    Driver "mouse"
    Option "Protocol" "Microsoft"
    Option "Device" "/dev/ttyS0"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "PS/2 Mouse"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "ZAxisMapping" "1 2 3 6 7"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "USB Mouse"
    Driver "mouse"
    Option "Device" "/dev/input/mice"
    Option "SendCoreEvents" "true"
    Option "Protocol" "IMPS/2"
    Option "ZAxisMapping" "1 2 3 6 7"
    Option "Buttons" "5"
    EndSection
    # Auto-generated by Archie mkxcfg
    Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
    # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync 30.0 - 83.0 # Warning: This may fry old Monitors
    VertRefresh 56.0 - 76.0 # Very conservative. May flicker.
    # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    # Default modes distilled from
    # "VESA and Industry Standards and Guide for Computer Display Monitor
    # Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
    # 640x400 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
    # 720x400 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
    # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
    ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
    ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
    ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
    ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
    # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
    ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
    ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
    ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
    ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync Interlace
    # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
    ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
    ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
    ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    # 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
    ModeLine "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    # 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
    ModeLine "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    # 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
    ModeLine "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
    ModeLine "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
    ModeLine "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
    ModeLine "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
    ModeLine "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    # 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
    ModeLine "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    # 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
    ModeLine "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
    # 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
    ModeLine "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
    # 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
    ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
    # 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
    ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
    # 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
    ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
    # Additional modelines
    ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
    ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
    # Extended modelines with GTF timings
    # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
    ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 -HSync +Vsync
    # 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
    ModeLine "768x576" 34.96 768 792 872 976 576 577 580 597 -HSync +Vsync
    # 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
    ModeLine "768x576" 42.93 768 800 880 992 576 577 580 601 -HSync +Vsync
    # 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
    ModeLine "768x576" 45.51 768 808 888 1008 576 577 580 602 -HSync +Vsync
    # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
    ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -HSync +Vsync
    # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
    ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -HSync +Vsync
    # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
    ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 -HSync +Vsync
    # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
    ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 814 -HSync +Vsync
    # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
    ModeLine "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895 -HSync +Vsync
    # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
    ModeLine "1152x864" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
    # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
    ModeLine "1152x864" 143.47 1152 1232 1360 1568 864 865 868 915 -HSync +Vsync
    # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
    ModeLine "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001 -HSync +Vsync
    # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
    ModeLine "1280x960" 129.86 1280 1368 1504 1728 960 961 964 1002 -HSync +Vsync
    # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
    ModeLine "1280x960" 178.99 1280 1376 1520 1760 960 961 964 1017 -HSync +Vsync
    # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
    ModeLine "1280x1024" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -HSync +Vsync
    # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
    ModeLine "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -HSync +Vsync
    # 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
    ModeLine "1400x1050" 149.34 1400 1496 1648 1896 1050 1051 1054 1094 -HSync +Vsync
    # 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
    ModeLine "1400x1050" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -HSync +Vsync
    # 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
    ModeLine "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103 -HSync +Vsync
    # 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
    ModeLine "1400x1050" 214.39 1400 1512 1664 1928 1050 1051 1054 1112 -HSync +Vsync
    # 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
    ModeLine "1600x1200" 280.64 1600 1728 1904 2208 1200 1201 1204 1271 -HSync +Vsync
    EndSection
    # Auto-generated by Archie mkxcfg
    Section "Device"
    Identifier "Card0"
    Driver "ati"
    VendorName "All"
    BoardName "All"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultColorDepth 16
    SubSection "Display"
    Depth 1
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1920x1200" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1920x1200" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 32
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    PID TTY TIME CMD
    1 ? 00:00:00 init
    2 ? 00:00:00 migration/0
    3 ? 00:00:00 ksoftirqd/0
    4 ? 00:00:00 watchdog/0
    5 ? 00:00:00 migration/1
    6 ? 00:00:00 ksoftirqd/1
    7 ? 00:00:00 watchdog/1
    8 ? 00:00:00 events/0
    9 ? 00:00:00 events/1
    10 ? 00:00:00 khelper
    11 ? 00:00:00 kthread
    35 ? 00:00:00 kblockd/0
    36 ? 00:00:00 kblockd/1
    37 ? 00:00:00 kacpid
    121 ? 00:00:00 kseriod
    140 ? 00:00:00 pdflush
    141 ? 00:00:00 pdflush
    142 ? 00:00:00 kswapd0
    143 ? 00:00:00 aio/0
    144 ? 00:00:00 aio/1
    651 ? 00:00:00 ata/0
    652 ? 00:00:00 ata/1
    653 ? 00:00:00 ata_aux
    658 ? 00:00:00 scsi_eh_0
    659 ? 00:00:00 scsi_eh_1
    998 ? 00:00:00 kjournald
    1034 ? 00:00:00 ksuspend_usbd
    1037 ? 00:00:00 khubd
    1053 ? 00:00:00 udevd
    2988 ? 00:00:00 kpsmoused
    3350 ? 00:00:00 khpsbpkt
    3401 ? 00:00:00 knodemgrd_0
    4327 ? 00:00:00 kjournald
    4330 ? 00:00:00 kjournald
    4374 ? 00:00:00 syslog-ng
    4401 ? 00:00:00 crond
    4414 ? 00:00:00 gdm-binary
    4416 ? 00:00:00 gdm-binary
    4418 tty7 00:00:03 X
    4428 tty1 00:00:00 agetty
    4429 tty2 00:00:00 agetty
    4430 tty3 00:00:00 agetty
    4431 tty4 00:00:00 agetty
    4432 tty5 00:00:00 agetty
    4433 tty6 00:00:00 agetty
    4483 ? 00:00:00 gnome-session
    4504 ? 00:00:00 gconfd-2
    4507 ? 00:00:00 gnome-keyring-d
    4512 ? 00:00:00 dbus-launch
    4513 ? 00:00:00 dbus-daemon
    4514 ? 00:00:00 dbus-daemon
    4516 ? 00:00:00 gnome-settings-
    4522 ? 00:00:00 mapping-daemon
    4525 ? 00:00:00 metacity
    4529 ? 00:00:01 gnome-panel
    4533 ? 00:00:00 bonobo-activati
    4535 ? 00:00:00 nautilus
    4542 ? 00:00:00 gnome-vfs-daemo
    4548 ? 00:00:00 wnck-applet
    4561 ? 00:00:00 mixer_applet2
    4563 ? 00:00:00 notification-ar
    4566 ? 00:00:01 gnome-terminal
    4569 ? 00:00:00 gnome-pty-helpe
    4570 pts/0 00:00:00 bash
    4608 pts/0 00:00:01 epiphany
    4620 pts/0 00:00:00 pacman
    4621 pts/1 00:00:00 bash
    4653 pts/1 00:00:00 ps
    Last edited by Thrillhouse (2007-07-12 21:34:21)

    Hello,
    I am behind a router and had to do only very minor tweaks to get it going: just enter the value of the gateway and remove the ! before gateway within the routes variable. Here is the (expanded) relevant part of my rc.conf, I hope it helps you:
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="eth0 10.0.0.3 netmask 255.255.255.0 broadcast 10.0.0.255"
    INTERFACES=(lo eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 10.0.0.2"
    ROUTES=(gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles

Maybe you are looking for

  • Problem with installing snow leopard 10.6.3... :(

    Hi everybody I wanted to install snow leopard 10.6.3. After loading first, I format hard drive and and installing first, it fell in a loop! in each loop, you should install mac os x! and I can't eject DVD. please help me!

  • Unable to upload XLSX files

    Hi Everyone, I know there is a seperate thread about a similar issue Namely Upload of XLSX File using XLS2COLLECTION But the error message in that thread is different to what we are getting, When trying to upload an XLSX file in Apex 4+ and the 2.0EA

  • MII proxy configuration not working

    Hello, there! We have an application that runs as an HTTP proxy. It should intercept messages sent from MII to another system (running on the same machine) via Web Services. I have configured MII ProxyHost and ProxyPort for MII, but it seems to be ig

  • Iphoto photo with an external editor

    I just installed PSE 11.  I would like to use it as an external editor through iphoto.  When I choose a photo in iphoto to edit in PSE 11, PSE 11 opens, However the picture does not launch in pse 11. What might I be doing wrong??? Any other advice??

  • "damaged file" message comes on when I try to open my premiere project on other computers.

    I have a mac and I've done all the updates on Creative Cloud for Premiere Pro. I have no problems when working on my own computer. But when I save my project and try to open it on another computer a message comes on saying that my "project file is da