[SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

As the title indicates I'm trying to install and run Age of Empires 2 and the expansion Conquerors, with Wine. Looks like it should work: http://appdb.winehq.org/objectManager.p … n&iId=4184
So first I installed wine and the video driver like this...
pacman -Sy wine wine_gecko lib32-intel-dri
Then, for each iso I mounted it to a new folder and ran the install file on the image with wine. Here's how I mounted each iso...
mount -o loop aoe.iso /mnt/mydisk
Installation of both AOE2 and the Conquerors seemed to work fine. But then when I attempted to play the game from the installation menu, popping up a "Program Error" that "the program age2_x1.exe has encountered a serious problem and needs to close." If I run AOCSETUP.EXE from the mounted iso right now, the main menu (with options "Play", "Add/Remove", "Web Connection", and "Register online") shows up but clicking "play" results in the same error. I've tried removing the dpwsockx.dll file that WineHQ mentions but it makes no difference.
I also tried loading wine with the option for Intel graphics, but had the same error as well as the following error in the console...
[karam@nikolai mydisk]$ env LIBGL_DRIVERS_PATH=/usr/lib32/xorg/modules/dri wine AOCSETUP.EXE
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
[karam@nikolai mydisk]$ fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
wine: Unhandled page fault on write access to 0xcf8672fe at address 0x40d774 (thread 003b), starting debugger...
[karam@nikolai mydisk]$
Does anyone have any ideas?...
Last edited by tony5429 (2011-11-09 04:43:40)

Are you on x86_64? Might wanna run WINEARCH=win32 winecfg (wiki entry for winearch). WINE works with the video drivers that you use for xorg not sure if you really need to specify that intel-dri driver.
Another thing that works quite well for me is make sure the current working directory is the game directory, then use wine to run the .exe. I recently installed Anachronox and if I try to launch it from outside the game directory i get missing dll errors also, even though the dlls are present in the game directory.
Also did you follow the following How-To steps on the WINE game page?
    The game must be set to Windows 2000 compatibility. (seems to play equally well with XP mode too, though.)
    This game requires a NoCD patch to run. (you can play using aocsetup.exe from the cd, if you can’t afford to NoCD)
    If the game wont start (and wine hasn’t hang up(pkill wine && pkill exe)), either remove dpwsockx.dll from your system32 folder or follow the steps for multi-player below. ¹
Last edited by KingX (2011-11-01 08:25:10)

Similar Messages

  • [SOLVED] Trouble with Install that I've never seen before (Gnucash)

    Hello all! I am rather new to Arch. I came over from Windows (disgruntled up to Win 7). When I first came over to Linux I did so via Ubuntu (12.04 and 13.10) and Mint (16). Seeing that Ubuntu would love to eventually sell us all out I decided to give Arch a try and LOVED IT! The install went smoothly and almost every program that I have needed has installed flawlessly..That is with the exception of Gnucash. I do a lot of freelance bookkeeping work and Gnucash is most definitely the best program I have found out there (even when I was using Windows). I have tried to install from BOTH the official repository and the AUR with no luck. I am using a 64 bit install of Arch on a Dell Inspiron 1440. All of my packages and repositories have been updated through pacman -Syu and -Syy. Below is the results message that I receive when trying to install from EITHER repository (AUR version is what I have posted). It shows that there appear to be two corrupt packages. If any of you can guide me in the right direction as to how to possibly rectify my trouble I would be most appreciative. (Also: if I am posting this in the wrong area please let me know where the better place would be.)
    [rick@rick_inspiron1440 builds]$ tar -xf gnucash-latest.tar.gz
    [rick@rick_inspiron1440 builds]$ cd gnucash-latest
    [rick@rick_inspiron1440 gnucash-latest]$ makepkg -sci
    ==> Making package: gnucash-latest 2.6.1-1 (Sun Feb 16 14:27:20 EST 2014)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    [sudo] password for rick:
    resolving dependencies...
    looking for inter-conflicts...
    Packages (25): gconf-3.2.6-3 gnome-mime-data-2.18.0-6 gnome-vfs-2.24.4-8
    guile1.8-1.8.8-3 gwenhywfar-4.3.3-4 ktoblzcheck-1.43-1
    libart-lgpl-2.3.21-3 libbonobo-2.32.1-4 libbonoboui-2.24.5-2
    libdbi-0.9.0-2 libglade-2.6.4-5 libgnome-2.32.1-4
    libgnome-data-2.32.1-4 libgnomecanvas-2.30.3-2
    libidl2-0.8.14-3 libofx-0.9.9-1 libxml++-2.36.0-1
    opensp-1.5.2-4 orbit2-2.14.19-2 aqbanking-5.0.25-2
    goffice0.8-0.8.17-2 gtkhtml-3.32.2-3 libdbi-drivers-0.9.0-2
    libgnomeui-2.24.5-1 slib-3b3-3
    Total Download Size: 1.28 MiB
    Total Installed Size: 88.49 MiB
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages ...
    gtkhtml-3.32.2-3-x86_64 628.7 KiB 724K/s 00:01 [######################] 100%
    libdbi-0.9.0-2-x86_64 642.2 KiB 415K/s 00:02 [######################] 100%
    libdbi-drivers-0.9.... 35.4 KiB 668K/s 00:00 [######################] 100%
    (25/25) checking keys in keyring [######################] 100%
    (25/25) checking package integrity [######################] 100%
    error: libdbi: signature from "Thorsten Töpper <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/libdbi-0.9.0-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: libdbi-drivers: signature from "Thorsten Töpper <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/libdbi-drivers-0.9.0-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: failed to commit transaction (invalid or corrupted package)
    Errors occurred, no packages were upgraded.
    ==> ERROR: 'pacman' failed to install missing dependencies.
    Last edited by rightwingrb (2014-02-19 00:28:41)

    rightwingrb wrote:Also...I have no idea what "code" tags are but hopefully the above is acceptable ;-)
    When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.
    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
    Last edited by karol (2014-02-18 22:23:24)

  • [SOLVED] Trouble with PipeLight

    So I read through everything I could find on this and have no answers. I read the wiki and project FAQ before installing and realized I needed to make sure XATTR was enabled prior to compiling:
    [xaero@archtop ~]$ xattr_test="$HOME/.wine-pipelight"; setfattr -n 'user.testAttr' -v 'attribute value' $xattr_test &> /dev/null; getfattr $xattr_test 2>&1 | grep -q user.testAttr && echo 'It works!' || echo 'No workie!'
    It works!
    I then compiled, and installed the package, as well as chromium (fresh install) and fired it up... instantly, chromium installed the pipelight plugin, and then continued business as usual. I then installed the UA Switcher plugin linked on the project page, and went to Netflix and tried to watch something. No dice; Netflix Error Code N8156-6205. What gives? Maybe that chromium bug applies to me as well; so I went ahead and forced the UA string from the command line:
    [xaero@archtop ~]$ chromium --user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1"
    [4759:10:1231/185916:ERROR:base_feature_provider.cc(122)] manifestTypes: Allowing web_page contexts requires supplying a value for matches.
    [4694:4720:1231/185916:ERROR:base_feature_provider.cc(122)] manifestTypes: Allowing web_page contexts requires supplying a value for matches.
    [4810:15:1231/185920:ERROR:base_feature_provider.cc(122)] manifestTypes: Allowing web_page contexts requires supplying a value for matches.
    [PIPELIGHT:LIN:unknown] attached to process.
    [PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_SILVERLIGHT5_1_CONFIG.
    [PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/home/xaero/.config/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:silverlight5.1] sandbox not found / not installed!
    [PIPELIGHT:LIN:silverlight5.1] GPU driver check - Your driver is supported, hardware acceleration enabled.
    [PIPELIGHT:LIN:silverlight5.1] using wine prefix directory /home/xaero/.wine-pipelight/.
    [PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might take some time.
    [install-dependency] wine-silverlight5.1-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [install-dependency] wine-mpg2splt-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [install-dependency] wine-wininet-installer is already installed in '/home/xaero/.wine-pipelight/'.
    wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
    err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
    [PIPELIGHT:WIN:silverlight5.1] windowless mode is off.
    [PIPELIGHT:WIN:silverlight5.1] embedded mode is on.
    [PIPELIGHT:WIN:silverlight5.1] unity hacks is off.
    [PIPELIGHT:WIN:silverlight5.1] window class hook is on.
    [PIPELIGHT:WIN:silverlight5.1] render toplevelwindow is off.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExA.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExW.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenuEx.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenu.
    fixme:advapi:RegisterTraceGuidsW (0x2b1f87, 0x350118, {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}, 1, 0x65f678, (null), (null), 0x350118): stub
    [PIPELIGHT:WIN:silverlight5.1] init successful!
    fixme:advapi:UnregisterTraceGuids 0: stub
    [PIPELIGHT:LIN:unknown] attached to process.
    [PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_SILVERLIGHT5_1_CONFIG.
    [PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/home/xaero/.config/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:silverlight5.1] sandbox not found / not installed!
    [PIPELIGHT:LIN:silverlight5.1] GPU driver check - Your driver is supported, hardware acceleration enabled.
    [PIPELIGHT:LIN:silverlight5.1] using wine prefix directory /home/xaero/.wine-pipelight/.
    [PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might take some time.
    [install-dependency] wine-silverlight5.1-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [install-dependency] wine-mpg2splt-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [install-dependency] wine-wininet-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [PIPELIGHT:WIN:silverlight5.1] windowless mode is off.
    [PIPELIGHT:WIN:silverlight5.1] embedded mode is on.
    [PIPELIGHT:WIN:silverlight5.1] unity hacks is off.
    [PIPELIGHT:WIN:silverlight5.1] window class hook is on.
    [PIPELIGHT:WIN:silverlight5.1] render toplevelwindow is off.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExA.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExW.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenuEx.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenu.
    fixme:advapi:RegisterTraceGuidsW (0x2b1f87, 0x350118, {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}, 1, 0x65f678, (null), (null), 0x350118): stub
    [PIPELIGHT:WIN:silverlight5.1] init successful!
    fixme:advapi:UnregisterTraceGuids 0: stub
    [PIPELIGHT:LIN:unknown] attached to process.
    [PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_SILVERLIGHT5_1_CONFIG.
    [PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/home/xaero/.config/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/pipelight-silverlight5.1'.
    [PIPELIGHT:LIN:silverlight5.1] sandbox not found / not installed!
    [PIPELIGHT:LIN:silverlight5.1] GPU driver check - Your driver is supported, hardware acceleration enabled.
    [PIPELIGHT:LIN:silverlight5.1] using wine prefix directory /home/xaero/.wine-pipelight/.
    [PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might take some time.
    [install-dependency] wine-silverlight5.1-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [install-dependency] wine-mpg2splt-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [install-dependency] wine-wininet-installer is already installed in '/home/xaero/.wine-pipelight/'.
    [PIPELIGHT:WIN:silverlight5.1] windowless mode is off.
    [PIPELIGHT:WIN:silverlight5.1] embedded mode is on.
    [PIPELIGHT:WIN:silverlight5.1] unity hacks is off.
    [PIPELIGHT:WIN:silverlight5.1] window class hook is on.
    [PIPELIGHT:WIN:silverlight5.1] render toplevelwindow is off.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExA.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function CreateWindowExW.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenuEx.
    [PIPELIGHT:WIN:silverlight5.1] replaced API function TrackPopupMenu.
    fixme:advapi:RegisterTraceGuidsW (0x2b1f87, 0x350118, {aa087e0e-0b35-4e28-8f3a-440c3f51eef1}, 1, 0x65f678, (null), (null), 0x350118): stub
    [PIPELIGHT:WIN:silverlight5.1] init successful!
    [PIPELIGHT:LIN:silverlight5.1] using timer based event handling.
    fixme:win:EnumDisplayDevicesW ((null),0,0x65f1c8,0x00000000), stub!
    fixme:advapi:CreateProcessAsUserW 0x148 L"C:\\Program Files\\Silverlight\\5.1.20913.0\\agcp.exe" L"agcp.exe 37 320" (nil) (nil) 1 0x00004000 (nil) (null) 0x65f228 0x65f218 - semi- stub
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:file:K32GetMappedFileNameW (0xffffffff, 0x4015f4, 0x50e1d4, 520): stub
    fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
    fixme:urlmon:Uri_GetPropertyBSTR (0x10467a0)->(6 0x65e004 4)
    fixme:process:GetNumaHighestNodeNumber (0x65eaa0): stub
    fixme:thread:SetThreadStackGuarantee (0x65ea90): stub
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e6b0, (nil) 0x65e6a8
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e6b0, (nil) 0x65e6a8
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e880, (nil) 0x65e878
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e880, (nil) 0x65e878
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e540, (nil) 0x65e538
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65d488, (nil) 0x65d480
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65d488, (nil) 0x65d480
    fixme:process:FlushProcessWriteBuffers : stub
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e470, (nil) 0x65e468
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e470, (nil) 0x65e468
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65ea00, (nil) 0x65e9f8
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e9c0, (nil) 0x65e9b8
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e8ac, (nil) 0x65e8a4
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e840, (nil) 0x65e838
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e818, (nil) 0x65e810
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65ecf0, (nil) 0x65ece8
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65ecb0, (nil) 0x65eca8
    0
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e65c, (nil) 0x65e654
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e65c, (nil) 0x65e654
    fixme:advapi:RegisterTraceGuidsW (0x10015fbb, 0x1008c460, {00000000-7ac4-430a-94e4-b0dfd254650f}, 1, 0xa9ae028, (null), (null), 0x1008c468): stub
    fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    fixme:advapi:RegisterTraceGuidsW (0xac83c2f, 0xae63a20, {00000000-7ac4-430a-94e4-b0dfd254650f}, 1, 0xa9ae338, (null), (null), 0xae63a28): stub
    fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
    fixme:advapi:GetCurrentHwProfileW (0xa9ae290)
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65e81c, (nil) 0x65e814
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65ecb0, (nil) 0x65eca8
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65ec44, (nil) 0x65ec3c
    fixme:thread:GetThreadPreferredUILanguages 48, 0x65ec1c, (nil) 0x65ec14
    fixme:thread:NtQueryInformationThread info class 16 not supported yet
    Still no dice. Any ideas on what to try next?
    Last edited by Xaero252 (2014-01-01 21:43:21)

    Hi Xaero252,
    error N8156-6205 is DRM related, and could mean that either your DRM files are somehow corrupted
    just delete them with (as a regular user):
    rm -rf ~/.wine-pipelight
    or that your Wine version is still compiled without XATTR support or missing some patches. Which package and/or patches did you use for Wine? When you're compiling it manually make sure that the patches apply cleanly, and that you run "autoreconf" before the compilation. You can find some more detailed instructions here, how to manually compile it.
    Please note that the compilation of Wine is often a bit auto-magic, and its possible that XATTR support is not included, even if you did everything right (the problem occured mainly on ArchLinux so far). In this case a recompilation should help to fix the problem. We had a user with a similar problem in our channel #pipelight a few days ago, where the problem was also just solved by recompiling the package.
    You can also take a look at this bug report some time ago, which was also caused by the fact that XATTR wasn't included somehow.
    https://bugs.launchpad.net/pipelight/+bug/1216332
    Sebastian

  • [Likely SOLVED]Trouble with /etc/ip-up.d

    I've setup a pptp connection. I wanna add some routing in /etc/ip-up.d/01-tralala.sh and do it:
    [cat@cat-arch ppp]$ cat ip-up.d/01-tralala.sh
    #!/bin/sh
    route del default
    route add default gw 195.26.175.10
    #and so on
    But after that ip-up starts returning 0x7f:
    Script /etc/ppp/ip-up finished (pid 30555), status = 0x7f
    And those "route ..." don't have any effect. But if I run the script myself after the connection is brought up - it works fine.
    What am I doing wrong?
    EDIT: Same issue solved here: http://bbs.archlinux.org/viewtopic.php?id=79588
    Last edited by Mr.Cat (2010-02-01 13:51:06)

    Here is the script:
    $ cat /etc/ppp/ip-up.d/setupiptables.sh
    #!/bin/sh
    modprobe ipt_MASQUERADE
    iptables -F; iptables -t nat -F; iptables -t mangle -F
    iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
    echo 1 > /proc/sys/net/ipv4/ip_forward
    iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
    iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT
    As you see, I have renamed it and now will reboot to test if it works.
    BTW, is something wrong with the script? When running it iptables issues a warning which I don't understand:
    Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
    I made the script using a how-to and don't understand everything in it...

  • [Solved] Trouble with WPA/WPA2 and wireless connections (ath9k)

    Hi, I'm having some issues with my Arch install. Right now I'm posting this from Windows so I don't have precise logs, but I mostly remember the issue so bare with me.
    I'm using ath9k with my Bigfoot Killer 1202 card (not sure what the exact model is), and I can't connect to my university's WPA/WPA2 access point. Using wpa_supplicant I get the error "4-way handshake failed - pre-shared key may be incorrect".
    So after some digging I found that I can get it to authenticate with nohwcrypt=1, but when I rmmod ath9k && modprobe ath9k nohwcrypt=1 it enumerates itself as wlan0 (instead of wlp3s0, which is what I get from booting up).
    Then I made the file /etc/modprobe.d/ath9k with the contents "options ath9k nohwcrypt=1" but it seems to still not want to connect until I rmmod && modprobe manually.
    Can someone point me in the right direction on how to fix this issue? I haven't used Arch in a few years and a lot of things have changed, and so far it seems nothing works as I expect it to. Also, how do I get my wifi card to enumerate as the same device no matter when I load ath9k? I don't care if it's called wlan0 or wlp3s0, I just want it to stay the same.
    Edit: Additional Info
    lspci
    03:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
    cat /sys/module/ath9k/parameters/nohwcrypt
    [root@huxley pobegam]# cat /sys/module/ath9k/parameters/nohwcrypt
    0
    (so I guess it isn't loading from ath9k.conf on boot after all?)
    wpa_supplicant output
    <3>CTRL-EVENT-SCAN-RESULTS
    <3>WPS-AP-AVAILABLE
    <3>CTRL-EVENT-SCAN-RESULTS
    <3>WPS-AP-AVAILABLE
    <3>CTRL-EVENT-SSID-REENABLED id=0 ssid="Student"
    <3>Trying to associate with 00:19:30:6b:1b:a2 (SSID='Student' freq=2412 MHz)
    <3>Association request to the driver failed
    <3>Associated with 00:19:30:6b:1b:a2
    <4>WPA: Failed to set PTK to the driver (alg=2 keylen=32 bssid=00:19:30:6b:1b:a2)
    <3>CTRL-EVENT-DISCONNECTED bssid=00:19:30:6b:1b:a2 reason=1 locally_generated=1
    <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect
    <3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Student" auth_failures=2 duration=20
    <3>CTRL-EVENT-SCAN-RESULTS
    <3>WPS-AP-AVAILABLE
    wpa_supplicant configuration file
    [root@huxley wpa_supplicant]# cat sunyit.conf
    ctrl_interface=/var/run/wpa_supplicant
    update_config=1
    network={
    scan_ssid=1
    ssid="Student"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    group=TKIP
    priority=1
    psk="Wireless@SUNYIT"
    Last edited by Pobega (2013-10-02 03:55:51)

    Update: It seems to work ONLY when I rmmod && modprobe; if I force nohwcrypt=1 at boot it doesn't seem to work. Seems kind of odd... Wonder if this is a kernel issue?
    Edit: Also updated with dmesg (because I'm an idiot and forgot to include it)
    [ 2.802118] hub 3-1:1.0: USB hub found
    [ 2.802210] hub 3-1:1.0: 6 ports detected
    [ 2.876377] e1000e 0000:00:19.0 eth0: registered PHC clock
    [ 2.876380] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:90:f5:ea:54:ff
    [ 2.876382] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
    [ 2.876418] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
    [ 2.876688] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130517/utaddress-251)
    [ 2.876697] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 2.908262] usb 4-1: new high-speed USB device number 2 using ehci-pci
    [ 2.913682] [drm] Memory usable by graphics device = 2048M
    [ 2.913687] checking generic (e0000000 7f0000) vs hw (e0000000 10000000)
    [ 2.913688] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
    [ 2.913702] Console: switching to colour dummy device 80x25
    [ 2.913836] i915 0000:00:02.0: setting latency timer to 64
    [ 2.948473] i915 0000:00:02.0: irq 47 for MSI/MSI-X
    [ 2.948482] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [ 2.948483] [drm] Driver supports precise vblank timestamp query.
    [ 2.948547] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
    [ 3.032964] hub 4-1:1.0: USB hub found
    [ 3.033016] hub 4-1:1.0: 8 ports detected
    [ 3.038244] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3.169633] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
    [ 3.221450] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
    [ 3.237256] fbcon: inteldrmfb (fb0) is primary device
    [ 3.271526] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
    [ 3.271623] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 3.491212] Switched to clocksource tsc
    [ 4.027317] psmouse serio2: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd00123/0x840300/0x126c00, board id: 2439, fw id: 1215751
    [ 4.066270] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input7
    [ 4.477837] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
    [ 4.967580] Console: switching to colour frame buffer device 240x67
    [ 4.977758] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    [ 4.977761] i915 0000:00:02.0: registered panic notifier
    [ 4.978457] acpi device:45: registered as cooling_device8
    [ 4.978479] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
    [ 4.978579] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input8
    [ 4.978690] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [ 4.978877] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
    [ 4.979210] snd_hda_intel 0000:00:03.0: irq 49 for MSI/MSI-X
    [ 4.989927] hda_codec: invalid CONNECT_LIST verb 5[1]:0
    [ 4.989974] hda_codec: invalid CONNECT_LIST verb 6[1]:0
    [ 4.990029] hda_codec: invalid CONNECT_LIST verb 7[1]:0
    [ 4.991935] input: HDA Intel MID HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
    [ 4.992031] input: HDA Intel MID HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input10
    [ 4.992087] input: HDA Intel MID HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input11
    [ 4.994100] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
    [ 4.994171] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input13
    [ 6.977361] wlan0: authenticate with 00:1d:45:cd:c1:c2
    [ 6.987213] wlan0: send auth to 00:1d:45:cd:c1:c2 (try 1/3)
    [ 6.988904] wlan0: authenticated
    [ 6.989040] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 6.989044] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 6.989046] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 6.990123] wlan0: associate with 00:1d:45:cd:c1:c2 (try 1/3)
    [ 6.993437] wlan0: RX AssocResp from 00:1d:45:cd:c1:c2 (capab=0x431 status=0 aid=9)
    [ 6.993577] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 6.993624] wlan0: associated
    [ 6.998736] wlan0: deauthenticating from 00:1d:45:cd:c1:c2 by local choice (reason=1)
    [ 7.002835] cfg80211: Calling CRDA for country: US
    [ 24.197672] wlan0: authenticate with 00:1d:45:cd:c1:c2
    [ 24.207666] wlan0: send auth to 00:1d:45:cd:c1:c2 (try 1/3)
    [ 24.209338] wlan0: authenticated
    [ 24.209468] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 24.209472] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 24.209474] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 24.210593] wlan0: associate with 00:1d:45:cd:c1:c2 (try 1/3)
    [ 24.213338] wlan0: RX AssocResp from 00:1d:45:cd:c1:c2 (capab=0x31 status=0 aid=9)
    [ 24.213481] wlan0: associated
    [ 24.221396] wlan0: deauthenticating from 00:1d:45:cd:c1:c2 by local choice (reason=1)
    [ 24.225880] cfg80211: Calling CRDA to update world regulatory domain
    [ 50.045002] wlan0: authenticate with 00:19:30:6b:1b:a2
    [ 50.054957] wlan0: send auth to 00:19:30:6b:1b:a2 (try 1/3)
    [ 50.056639] wlan0: authenticated
    [ 50.056775] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 50.056779] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 50.056781] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 50.057899] wlan0: associate with 00:19:30:6b:1b:a2 (try 1/3)
    [ 50.061270] wlan0: RX AssocResp from 00:19:30:6b:1b:a2 (capab=0x431 status=0 aid=89)
    [ 50.061426] wlan0: associated
    [ 50.073874] wlan0: deauthenticating from 00:19:30:6b:1b:a2 by local choice (reason=1)
    [ 50.078661] cfg80211: Calling CRDA to update world regulatory domain
    [ 75.892318] wlan0: authenticate with 00:1d:45:cd:c1:c2
    [ 75.902267] wlan0: send auth to 00:1d:45:cd:c1:c2 (try 1/3)
    [ 75.904108] wlan0: authenticated
    [ 75.904254] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 75.904256] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 75.904257] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 75.905145] wlan0: associate with 00:1d:45:cd:c1:c2 (try 1/3)
    [ 75.908344] wlan0: RX AssocResp from 00:1d:45:cd:c1:c2 (capab=0x401 status=17 aid=0)
    [ 75.908348] wlan0: 00:1d:45:cd:c1:c2 denied association (code=17)
    [ 75.918844] wlan0: deauthenticating from 00:1d:45:cd:c1:c2 by local choice (reason=3)
    [ 86.045293] wlan0: authenticate with 00:19:30:6b:1b:52
    [ 86.059226] wlan0: send auth to 00:19:30:6b:1b:52 (try 1/3)
    [ 86.061328] wlan0: authenticated
    [ 86.061475] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 86.061477] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 86.061478] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 86.064853] wlan0: associate with 00:19:30:6b:1b:52 (try 1/3)
    [ 86.169949] wlan0: associate with 00:19:30:6b:1b:52 (try 2/3)
    [ 86.179194] wlan0: RX AssocResp from 00:19:30:6b:1b:52 (capab=0x431 status=0 aid=22)
    [ 86.179323] wlan0: associated
    [ 89.123073] wlan0: deauthenticated from 00:19:30:6b:1b:52 (Reason: 4)
    [ 89.147287] cfg80211: Calling CRDA for country: US
    [ 105.770381] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
    [ 105.770386] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
    [ 105.770418] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 114.898216] wlan0: authenticate with 00:19:30:6b:1b:a2
    [ 114.912130] wlan0: send auth to 00:19:30:6b:1b:a2 (try 1/3)
    [ 114.914102] wlan0: authenticated
    [ 114.914235] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 114.914239] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 114.914241] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 114.914348] wlan0: associate with 00:19:30:6b:1b:a2 (try 1/3)
    [ 114.916916] wlan0: RX AssocResp from 00:19:30:6b:1b:a2 (capab=0x401 status=17 aid=0)
    [ 114.916920] wlan0: 00:19:30:6b:1b:a2 denied association (code=17)
    [ 114.937999] wlan0: deauthenticating from 00:19:30:6b:1b:a2 by local choice (reason=3)
    [ 125.064495] wlan0: authenticate with 00:19:30:6b:1b:52
    [ 125.078431] wlan0: send auth to 00:19:30:6b:1b:52 (try 1/3)
    [ 125.081945] wlan0: authenticated
    [ 125.082083] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
    [ 125.082094] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
    [ 125.082095] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
    [ 125.084061] wlan0: associate with 00:19:30:6b:1b:52 (try 1/3)
    [ 125.098558] wlan0: RX AssocResp from 00:19:30:6b:1b:52 (capab=0x431 status=0 aid=22)
    [ 125.098683] wlan0: associated
    [ 127.937457] wlan0: deauthenticated from 00:19:30:6b:1b:52 (Reason: 4)
    [ 127.959914] cfg80211: Calling CRDA to update world regulatory domain
    Edit: I ended up solving my problem -- the issue I was running into was that ath9k was baked into my initrd without nohwcrypt=1. I opted to `mkinitcpio` again without MODULES='ath9k' -- alternatively, you could add a modprobe.d file to FILES= to get it to work, but I just figured this is simpler.
    Last edited by Pobega (2013-10-02 03:57:27)

  • [SOLVED] Trouble with atlas-lapack static library linking to our .so

    I'm trying to compile a massive hunk of software, one small piece of which is libgraphics.so.   The build system, based on cmake,  is trying to link a static library from lapack to make the libgraphics.so but failing with this:
    Linking CXX shared library libgraphics.so                                                                                     
    /usr/bin/ld: /usr/local/lib/liblapack.a(dgetrf.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/liblapack.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[2]: *** [graphics/libgraphics.so.3.1.0] Error 1
    Thinking lapack.a somehow wasn't built right, after some fussing I ended up removing  the blas, lapack, and atlas libraries and reinstalling them from the AUR atlas-lapack (ver 3.8.3)  package.  This is where they had come from originally just a few months ago, when I first tried to compile this massive app.    Maybe now something in atlas-lapack got fixed?  No.   Apparently it builds static libraries without -fPIC, or something else is going on to result in this error.  I didn't see anything obvious in the PKGBUILD file to change. 
    Now I'm stuck, out of further ideas to try...
    Last edited by darenw (2010-10-06 20:48:40)

    Problem solved.  CMake was finding a stray old .a file (w/o any .so files with it)  in /usr/local/lib while the good new .a and .so files were in /usr/lib.     Deleted the old .a, reran cmake.  Now make runs fine.   -fPIC had nothing to do with the solution.

  • (Solved) Trouble with installing on Crucial C300 Real SSD 64GB

    Hello everyone. I've been trying to figure this out for the last three nights. I cannot get arch installed if I am using my ssd. The ssd is Crucial c300 64 GB firmware is 0006. It does not matter what I do if my ssd is connected I get to booting os in bios followed by a reboot with no error messages. I have tried many different things like allowing arch to manually partition the ssd, using ssd as home instead of root to no avail. Only thing I have not tried is adding a 1 mb partition to the beginning of ssd marked as ef02 as per the Arch SSD wiki. If anyone with this same ssd and firmware can chime to let me know if they had the same issue I would appreciate it. I do not have this problem with other distros. Ubuntu, Linux Mint, and LMDE have all installed fine on the ssd. Sorry if this is the wrong section for this.
    Edit. Looks like I found out the problem. It was having quit boot enabled in the bios. I suppose I need to look into initreadahead if I want arch and my computer to play nice with that setting.
    Last edited by nemesis2all (2011-02-21 13:40:28)

    Check whether grub-install belongs to grub package or grub2 package. Try to install these updated grub2 packages from here
    http://dl.dropbox.com/u/9710721/skodabe … pkg.tar.xz - for x86_64
    http://dl.dropbox.com/u/9710721/skodabe … pkg.tar.xz - for i686 
    http://dl.dropbox.com/u/9710721/skodabe … pkg.tar.xz - any arch
    and then follow the post_install instructions from grub2-bios package.
    You might have to 'bind' mount /dev into your <chroot>/dev though or install the above packages and install grub2 from outside the chroot.
    Last edited by skodabenz (2010-12-13 13:32:51)

  • [solved]Trouble with Grub

    Hi,
    I just installed Arch a few hours back. The only problem I had was the grub wouldnt install. My old grub(from ubuntu) is intact though it has no arch in the menu and it has a old Windows option(I deleted windows partition while installing arch, will install it later again).
    I even edited the menu.lst from grub in ubuntu, but it still shows the old chart/list of OS. I'll post it here.
    # 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-legacy-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 3
    ## 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,4)
    makeactive
    chainloader +1
    ###Boot Windows - test 1 ###
    Title Windows on partition 1
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    ###Boot Windows - test 2 ###
    Title Windows on partition 2
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    ###Boot Windows - test 3 ###
    Title Windows on partition 3
    rootnoverify (hd0,2)
    makeactive
    chainloader +1
    ###Boot Windows - test 4 ###
    Title Windows on partition 4
    rootnoverify (hd0,3)
    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=9f847f23-7716-4b30-9b65-176789e688de ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=9f847f23-7716-4b30-9b65-176789e688de
    ## 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
    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ## indomU=true
    ## indomU=false
    # indomU=detect
    ## 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 10.04.2 LTS, kernel 2.6.32-27-generic
    uuid 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.32-27-generic
    title Ubuntu 10.04.2 LTS, kernel 2.6.32-27-generic (recovery mode)
    uuid 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    initrd /boot/initrd.img-2.6.32-27-generic
    title Chainload into GRUB 2
    root 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/grub/core.img
    title Ubuntu 10.04.2 LTS, memtest86+
    uuid 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/memtest86+.bin
    # (0) Arch Linux
    title Arch Linux
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/sda3
    /dev/sda4 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/sda3
    /dev/sda4 ro
    initrd /boot/kernel26-fallback.img
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    What am I doing wrong? How do I add arch to the grub menu?
    Last edited by death__machine (2011-03-04 13:23:21)

    Ok I saw that the /boot/grub/ doesnt have a grub.cfg, only menu.lst. Am really getting confused on what am supposed to edit, am guessing the grub.cfg from ubuntu but compared to menu.lst , grub.cfg is more complicated.
    # DO NOT EDIT THIS FILE
    # It is automatically generated by /usr/sbin/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
    load_env
    fi
    set default="0"
    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
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    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
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.35-22-generic
    menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    echo 'Loading Linux 2.6.35-22-generic ...'
    linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.35-22-generic
    menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.32-27-generic
    menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    echo 'Loading Linux 2.6.32-27-generic ...'
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-27-generic
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux /boot/vmlinuz-2.6.32-24-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.32-24-generic
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    echo 'Loading Linux 2.6.32-24-generic ...'
    linux /boot/vmlinuz-2.6.32-24-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-24-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 9810e0fb10e0e0ec
    drivemap -s (hd0) ${root}
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### 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 ###
    Ok on the top of the .cfg it says to not edit it :\
    Last edited by death__machine (2011-03-04 10:16:31)

  • [SOLVED] Trouble with running systemd user service on login

    I'm trying to get emacs to run as a systemd/user service so that it will start up faster, as suggested in the wiki article, but I'm having some problems.
    I can't get the service to run as soon as I log in. I can run the service with
    systemctl --user start emacs
    and it will run for the rest of my session, but if I try to run
    systemctl --user enable emacs
    I get the following error:
    The unit files have no [Install] section. They are not meant to be enabled
    using systemctl.
    Possible reasons for having this kind of units are:
    1) A unit may be statically enabled by being symlinked from another unit's
    .wants/ or .requires/ directory.
    2) A unit's purpose may be to act as a helper for some other unit which has
    a requirement dependency on it.
    3) A unit may be started when needed via activation (socket, path, timer,
    D-Bus, udev, scripted systemctl call, ...).
    I ran
    systemctl --user is-enabled emacs
    and that returned
    static
    but I'm not sure what that means. Any help would be greatly appreciated.
    Last edited by whitebrice (2014-06-28 17:20:13)

    Are you sure there isn't a typo in your unit file? The example you linked to in the wiki does have an [Install] section.
    Post your ~/.config/systemd/user/emacs.service file here so we can take a look.

  • [SOLVED] Trouble with X forwarding

    Hi everyone,
    I just installed Archlinux on an old laptop (not my first Arch install).
    I'm trying to use X forwarding (my old laptop Water acting the server, and archlaptop the client).
    I installed xorg, xfce4 and wmii.
    Here's the output of startx ran via ssh on the client :
    vincent@Water> startx
    xauth:  creating new authority file /home/vincent/.serverauth.3967             
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.                                         
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.     
    Select the "xorg" product for bugs you find in this release.           
    Before reporting bugs in pre-release versions please check the         
    latest version in the X.Org Foundation git repository.                 
    See http://wiki.x.org/wiki/GitPage for git access instructions.         
    X.Org X Server 1.6.1.901 (1.6.2 RC 1)
    Release Date: 2009-5-8               
    X Protocol Version 11, Revision 0   
    Build Operating System: Linux 2.6.30-ARCH i686
    Current Operating System: Linux Water 2.6.30-ARCH #1 SMP PREEMPT Fri Jun 19 21:25:17 UTC 2009 i686                                                             
    Build Date: 28 June 2009  11:20:52AM
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul  6 23:59:17 2009
    (==) Using default built-in configuration (30 lines)
    (EE) Failed to load module "ati" (module does not exist, 0)
    (EE) Failed to load module "fbdev" (module does not exist, 0)
    waiting for X server to shut down .error setting MTRR (base = 0xf4000000, size = 0x00800000, type = 1) Invalid argument (22)
    Nothing appears when i run it on the client. But when i run it in the server i works  (it launches a very basic desktop environment).
    When I try to run startxfce4 on the client or the server :
    vincent@Water> startxfce4                                               
    /usr/bin/startxfce4: X server already running on display localhost:10.0       
    X Error of failed request:  BadAccess (attempt to access private resource denied)                                                                               
      Major opcode of failed request:  18 (X_ChangeProperty)
      Serial number of failed request:  8
      Current serial number in output stream:  10
    Agent pid 14036
    which: no dbus-launch in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core)
    The program 'xfce4-session' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAccess (attempt to access private resource denied)'.
      (Details: serial 458 error_code 10 request_code 4 minor_code 0)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    Agent pid 14036 killed
    Here's the daemons list in my rc.conf (server) :
    /etc/rc.conf (server) wrote:DAEMONS=(syslog-ng network netfs hald sshd crond samba)
    X forwarding is enabled in both server and client:
    /etc/ssh/sshd_config (server) wrote:X11Forwarding yes
    /etc/ssh/ssh_config (client) wrote:ForwardX11 yes
    Why can i do in order to get X11 Forwarding working?
    Tell me if you need more information.
    Thanks,
    Vincent
    Last edited by zakora (2009-07-13 13:01:03)

    R00KIE wrote:
    I'm not sure but I think X forwarding wasn't meant to forward the whole desktop environment .... or the other way around .... desktop environments are not made to be completely forwarded through X.
    If you want such a thing consider using x11vnc or something similar.
    It might not have been intended, or particularly useful but you certainly can do it, I've ssh'd to the maths dept computers at college and started kde from the terminal. I only did it for fun a few times, but thankfully their servers can handle the load, and the intranet is quite fast so I had no problems. I generally only get mathematica, konqueror, or firefox forwarded to my laptop.
    As Rookie said, vnc might be a better option for you. Personally I have vnc on all my experimental* pcs so I can check/control them from home, and if you want to you can still use ssh forwarding to have a more secure connection than just using vnc on its own. It also means you can view/run your apps from any non *nix OS. We have it running on one of our old amigas that still controls one setup, always amusing to vnc to!
    For reference, here is the command I call when I login to my maths account:
    sudo ssh -Y -L 5901:server.dns:5901 [email protected]
    This forwards the local port (-L) 5901 to 5901 on the server (useful for tunneling through the proxy).
    I already have a vnc server running on the server, so once I have ssh'd in, in my local terminal I call
    vnc localhost:1
    This will then tunnel throught the ssh connection and will connect to the vnc server on my maths account. You might have noticed the -Y switch, that is for secure X11 forwarding, there is another one -X which is unsecure, you can check it in the ssh man pages. With the -Y switch I can call apps such as mathematica from the maths dept and have it forwarded to my local X11.
    One other thing that you might find useful is SSHFS: http://wiki.archlinux.org/index.php/Sshfs
    I use this to mount remote folders such as my data folders in experimental pcs, my main lab pc, and my maths accounts. I find it much more convenient to use than samba.
    * As in pcs controlling experimental setups and measurements, not pcs that are tests/prototypes

  • [Solved] Trouble with virtualbox and xorg-server-1.13

    So I'm trying out Arch through VirtualBox. Everything has been great so far and I've installed dwm and even customized it a bit already. The problem is that I'm stuck in 1024x768... which is brutal on a 16:9 monitor. Ive installed the virtualbox guest additions through pacman and setup the modules in /etc/modules-load.d/virtualbox.conf and now when I reboot into x it fails and im stuck in the normal tty console.
    Heres my xorg.conf.d config which is pretty basic
    Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 409 251
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "vesa"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 16
    SubSection "Display"
    Depth 24
    Modes "1024x768" "1440x900_75.00"
    EndSubSection
    EndSection
    My Xorg.log spits out this when I try to run X no screens found?
    Thanks for any help!
    Last edited by mihok (2012-11-15 13:38:29)

    Antoine wrote:
    I have Arch running in a Virtual Box VM (on a Mac Pro).
    I don't have an xorg.conf (or an xorg.conf.d/20-[driver-name].conf).
    Everything works just fine here -- the display is at 1680x1050
    Edit -- this is a 16/10  Benq 20" monitor. It's a few years old now
    $ xrandr
    Screen 0: minimum 64 x 64, current 1680 x 1050, maximum 32000 x 32000
    VBOX0 connected 1680x1050+0+0 0mm x 0mm
    1680x1050 60.0*+
    1600x1200 60.0
    1440x1050 60.0
    1280x960 60.0
    1024x768 60.0
    800x600 60.0
    640x480 60.0
    My /etc/modules-load.d/virtualbox.conf is just this:
    vboxguest
    vboxsf
    vboxvideo
    Try booting without your xorg.conf. Don't install the Vbox Guest Additons except through pacman. You have done "switch to fullscreen" from the host, right?
    Thanks! This seemed to do the trick!

  • I'm having trouble with my Apple ID. I changed my email account, and recently (a month ago) and since I switched is requested every time I open any app to Apple ID password to the old email. How can I solve this? Could it be that my iPhone 4S is in sync w

    I'm having trouble with my Apple ID. I changed my email account, and recently (a month ago) and since I switched is requested every time I open any app to Apple ID password to the old email. How can I solve this? Could it be that my iPhone 4S is in sync with my Ipod???

    If you updated your existing account then try logging out of it on the iPhone by tapping on the id in Settings > iTunes & App Stores and then log back in and see if that 'refreshes' the account on the iPhone. If you created a new account then any content that you purchased/downloaded via the old account will remain tied to that old account, and only that old account can download updates to its apps.

  • I have an external hard drive with my new iMac.  I am trying to load Age of Empires III on the new computer.  I am supposed to drag the icon onto my hard drive icon.  Where is that?

    New iMac and not a computer whiz.  I have a new iMac with an external drive.  I am trying to load an old Mac game on it.  The Age of Empires icon tells me to drag it to the hard drive icon.  Where is that?  I have tried finder and launch pad.  No luck.

    Choose Computer from the Finder's Go menu and find the internal drive.
    (82444)

  • Trouble with iMovie '11 transitions and themes? I'm running Lion, Mac OS X and just noticed today that the transitions and themes don't seem to be working at all when I start new projects or try to add to old projects.  What is the solve here?

    Trouble with iMovie '11 transitions and themes? I'm running Lion, Mac OS X and just noticed today that the transitions and themes don't seem to be working at all when I start new projects or try to add to old projects.  What is the solve here?
    I've seen notes about clearing the cache but it seems that this is an older OS and I can't find the plist mentioned here because it's an older system.  http://www.youtube.com/watch?v=2cL9RuDV3Qc 
    Thoughts?  Anyone? 

    GUYS, I NEED HELP !
    ANYONE?

  • HT1414 I have broken the glass on my ipod touch. I am having trouble with some of my apps opening when I touch the screen. Can the glass be replaced? Will that solve the problem?

    I have broken the glass on my ipod touch. I am having trouble with some of my apps opening when I touch the screen. Can the glass be replaced? Will that solve the problem?

    Very likely yes.
    Apple will exchange your iPod for a refurbished one for $199 if a 64 GB 4G, $99 for the other 4G iPods and $149 for a 5G. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

Maybe you are looking for

  • Need a little help with this code

    Hi, right now I'm going through the xmlmenu tutorial, which I've found at kirupa.com. It's pretty much clear to me. Then I decided to try to import a blur filter. And as soon as I wright the import flash.filter line, I get a syntax error. Where is th

  • 2 versions of the same app

    I have a script that calls Acrobat to open PDFs, save out EPS files and then close the PDF. It works fine on both an OS9 only Mac and my OSX G5. However, on my G5 I have both Acrobat 5.0 and 6.0.2 Professional. I want the script to call Acrobat 5.0 i

  • Save a data form as a standalone spreadsheet...?

    Is it possible for a user to save a 'data form' as a standalone spreadsheet and then insert links into the form from a Master spreadsheet?  It appears as thought each time we click Refresh we lose the links.  I've tried selecting both the 'Use Excel

  • Mail (response is disappeared b/c of missing internet-connection

    Hi guys! While I was writing responding to an email, i didn't realize that my internet connection was disrupted. After pushing the "send" button, it reminded me of the lost internet connection. Then I fixed this problem in a few seconds and the conne

  • PCI-6220 COUNTER (Labview): Does "Sample Source" = "Gate Source"?

    Hello, I'm using Labview, DAQmx, PCI-6220 (Counter0).  I connected an incremental encoder signal to the source input of CTR0.  In Labview, the "DAQmx Timing" vi requires that the "source" input be wired.  Does this "source" actually mean the source o