[Solved] help needed with wireless setup (ralink 2860 driver)

Hi,
I'm new to Arch so please be gentle ;-)
I recently upgraded hoping to find improved support for my wireless.  I now find that the kernel recognises and loads the appropriate module:
[root@akoya ~]# uname -a
Linux akoya 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686 Pentium(R)
[root@akoya ~]# lspci | grep Net
05:00.0 Network controller: RaLink RT2860
[root@akoya ~]# lsmod | grep 2860
rt2860sta 514808 1
I checked over the kernel source and the rt2680sta module is the code from ralink cleaned up for the 2.6.29 kernel.  (I tried building the ralink release but it needs patching for 2.6.29)
However getting the thing to connect using WPA is another thing altogether
[root@akoya ~]# ifconfig ra0 up
[root@akoya ~]# wpa_supplicant -B -Dwext -i ra0 -c /etc/wpa_supplicant.conf
[root@akoya ~]# dhcpcd ra0
ra0: dhcpcd 4.0.12 starting
ra0: waiting for carrier
ra0: timed out
I'm not even sure if iwconfig is communicating with this driver (though I can find my router using "iwlist ra0 scan"):
[root@akoya ~]# iwconfig ra0 essid "sodor"
[root@akoya ~]# iwconfig
ra0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
Mode:Auto Frequency=2.412 GHz Access Point: 00:21:91:FE:DA:97
And if I try to configure using wicd I see the following log when trying to connect to the wireless:
2009/04/17 01:16:43 :: Connecting to wireless network sodor
2009/04/17 01:16:43 :: Putting interface down
2009/04/17 01:16:43 :: ifconfig ra0 down
2009/04/17 01:16:43 :: Releasing DHCP leases...
2009/04/17 01:16:43 :: Setting false IP...
2009/04/17 01:16:43 :: ifconfig ra0 0.0.0.0
2009/04/17 01:16:43 :: ifconfig eth0 0.0.0.0
2009/04/17 01:16:43 :: Stopping wpa_supplicant and any DHCP clients
2009/04/17 01:16:43 :: killall wpa_supplicant
2009/04/17 01:16:43 :: Flushing the routing table...
2009/04/17 01:16:43 :: route del dev ra0
2009/04/17 01:16:43 :: route del dev eth0
2009/04/17 01:16:43 :: Attempting to authenticate...
2009/04/17 01:16:43 :: ['wpa_supplicant', '-B', '-i', 'ra0', '-c', '/var/lib/wicd/configurations/002191feda97', '-D', 'wext']
2009/04/17 01:16:43 :: Putting interface up...
2009/04/17 01:16:43 :: ifconfig ra0 up
2009/04/17 01:16:43 :: iwconfig ra0 mode Managed
2009/04/17 01:16:43 :: ['iwconfig', 'ra0', 'essid', 'sodor', 'channel', '1', 'ap', '00:21:91:FE:DA:97']
2009/04/17 01:16:43 :: WPA_CLI RESULT IS None
2009/04/17 01:16:43 :: Failed to find status in wpa_cli result
2009/04/17 01:16:43 :: exiting connection thread
It is driving me crazy being tied to a cable so I'd really like to get this working... but I'm really not sure what to try.  Do I need to rebuild wpa_supplicant?  If so is there a package-based way of doing that in arch?
Thanks in advance.
Last edited by drandre (2009-04-17 19:40:41)

drandre wrote:
If so is there a package-based way of doing that
OK... to answer my own questions ...
two questions:
1. Does this mean support for the ralink driver is included by default or *not* included by default?
It seems it means *not*
2. If I uncomment this line then makepkg refuses to build the package because the config file's md5 is no longer valid.  How then am I *meant* to make modifications to the build configuration?
right or wrong I used makepkg -g to generate checksums for my modified config file and pasted these into PKGBUILD.  It then builds happily.  After installing I can run wpa_supplicant with no args and confirm ralink is in the list of drivers.  Excellent.  But still no success.
Two things I have noticed:
1. wicd places quotes "" around my pre-shared key.  If I run wpa_supplicant from the command line and use the conf file created by wicd it reports the PSK as being unparsable.  If I remove the quotes then the file is parsed correctly.
2. It doesn't solve my problem :-(

Similar Messages

  • Help needed with Wireless ADSL2+Modem Router setup

    I have a iMac 1GHz PowerPC G4 running 10.3.9 with all of the latest software updates and have just purchased a Netgear DG834G. I am currently using an USB modem and now need wireless internet access for remote working via an IBM Thinkpad.
    I have tried to follow the Netgear manual but to no avail. Unfortunately, my ISP was unwilling to help with setup as they didn't supply the router! Typical! Anyway they gave me some settings which might as well be in a foreign language ....
    Virtual Path Identifier VPI = 0
    Virtual Channel Indentifier (VCI) parameters = 38
    ISP Domain Name Server (DNS) Addresses apparently will be automatic
    Fixed or Static IP Address is automatic
    Protocol = PPOA - is this correct?
    Encapsulation =VCMUX
    Any advice and screenshots would be greatly appreciated as I am absolutely stuck.
    iMac 15 G4   Mac OS X (10.3.9)   Lacie Triple D2 160GB + 5G 30gb iPod

    Fixed - told myself to RTFM!

  • [SOLVED] Help needed with iptables rule with unusual setup

    Hi I recently setup hostapd on my netbook so I could share a wireless network with my phone and I'm having trouble because my netbook is also hosting a Jetty sever (Subsonic media streamer).
    My setup is as follows
    [CABLE MODEM]===[WIRED ROUTER]=====[NETBOOK] ))))) [PHONE]
    The wired router provides the DHCP server.
    On my netbook I created a (br0) bridge between eth0 and wlan0 and started hostapd. That all works fine when I'm not trying to host my Jetty server on my netbook.
    The netbook has the IP 192.168.0.8
    The phone has the IP 192.168.0.6
    I do not want to give the Jetty server root permissions just so it can run on port 80. So instead I start it instead on port 4040 and then use a iptables rule to redirect connections to port 80 to port 4040.
    Before I setup hostapd on machine I used to use the following.
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 4040
    However when I'm using hostapd and try to access websites on my phone its web browser is ALWAYS REDIRECTED to my jetty server. I'm not really surprised at this as the rule I mentioned above is for any destination or any source.
    I tried this rule:
    iptables -t nat -A PREROUTING -d localhost -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This didn't work. On my phone I could access websites as expected but nobody (tried external from network and internally) could access the jetty server on port 80. Does anyone know why this rule doesn't work?
    I tried this rule:
    iptables -t nat -A PREROUTING \! -s 192.168.0.6 -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This rule worked (Redirect port 4040 connections to port 80 if the connection isn't from my phone). But this is NOT very good at all as it means I would need a separate rule for every wireless device that connected to my netbook (via hostapd). Also if the IP address of my phone ever changes this rule becomes useless too!
    Does anyone have any ideas?
    Any help would be greatly appreciated.
    Thanks.
    Last edited by delcypher (2010-07-24 20:17:35)

    Well looks like I fixed my own problem.
    I added a LOG target in the PREROUTING chain like so
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j LOG --log-prefix 'cheesy-redirect'
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 80
    When I looked at /var/logs/everything I noticed this.
    dan-netbook kernel: cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:26:18:73:ea:28:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.3 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=51411 DF PROTO=TCP SPT=48219 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    The destination is 192.168.0.3 ! Which is very very weird. This the IP address I had told my router to give my eth0 card in the past when I wasn't using a network bridge (br0). I was connected to the network using 192.168.0.8 on br0. The eth0 interface wasn't assigned an IP address.
    192.168.0.3 was also the IP address I setup for static port forwarding (which I forgot about) so when I accessed my jetty server from outside my network all packets would of been forwarded to 192.168.0.3
    I should never of received those packets as I was 192.168.0.8 not 192.168.0.3 at the time of logging so how I even received these packets is a mystery to me. Maybe the router software is buggy
    Fixing was pretty straight forward I changed the port forward to go to 192.168.0.8 and then tried connecting to the jetty server externally and noted in the log
    cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:25:d3:46:4d:0d:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.8 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=65326 DF PROTO=TCP SPT=33597 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    So the correct redirect rule is
    iptables -t nat -A PREROUTING -p tcp --dport 80 -d 192.168.0.8 -j REDIRECT --to-ports 80
    which works nicely
    One last question though. Does anyone know how I can use a hostname rather than 192.168.0.8 which points to whatever the IP address of br0 is set to? localhost points to 127.0.0.1 so that doesn't work.

  • Help needed with router setup. Bigpond wireless gateway and Airport Express

    Now I know this is probably more a router question but it is to help my iPad wifi so heres what I have.
    ADSL2+ line in
    Bigponds Thomson TG782T Modem/router which is /b/g
    Airport Express /b/g/n
    I am trying to set it up for maximum speed so basically I am trying to take advantage of the AE's /n.
    I was hoping to use the Thomson as just a modem and use the AE as the router. Please correct me if this isnt the 'best way of doing it'. Can someone savvy give me a few pointers, would be greatly appreciated. cheers

    Chris CA wrote:
    You can download the user manual here (scroll down to Support) -> http://bc.whirlpool.net.au/bc/hardware/?action=hview&modelid=897
    This screen is where you disable the Wireless Access Point. (ignore the red arrows - they aren't mine)
    Uncheck *Interface Enabled* at top.
    @Chris........ Thanks for that..... yes I disable it. So much for Bigpond telling me it couldnt be turned off. I have the system up and running /n 5ghz multicast 5.5. iPad not fluctuating signal strength as much and loading a bit quicker. I think turning off the 2.4 running on the Thomson made a difference when running from the AES at 2.4 but much better with Thomson off and AES on 5ghz. So all up I am doing better thank you.

  • Help needed with fax setup

    Help!!  My home phone service is provided by Verizon and I have a wireless router..no phone cord.
    All my other services are through a centuryLink DSL router..connected with phone line but does NOT provide MY phone sevices.  How do I hook up my 8600 to fax?  to which router and how? Nothing seems to work.

    Hello geoqueen, and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are looking into how to setup your fax.  I would like to help.
    I would recommend following this document on HP Fax Configuration Instructions.
    I would also suggest utilizing this document on Faxing with VoIP Services.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • [SOLVED] Help needed with ACPI accelerometer - Acer Iconia Tab W501

    Hi,
    I am trying to get the accelerometer working on my Acer Iconia Tab W501
    In windows, it reported as a BMA150 device, so I have that driver loading on boot.
    After months of googling and making a mess in /sys, I still have not got the device working. I was working under the assumption that the device hangs off the i2c bus, but a "lucky google" today uncovered that it is showing up through acpi - acpid is present in my daemons array of rc.conf and the kernel module acer_wmi is also loaded.
    The device is certainly sending signals to the kernel. Upon boot, dmesg ends up as follows:
    [ 11.689709] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 12.108374] EXT4-fs (sda2): re-mounted. Opts: commit=0
    [ 12.148026] EXT4-fs (sda3): re-mounted. Opts: commit=0
    [ 17.759006] FS-Cache: Loaded
    [ 17.780371] FS-Cache: Netfs 'cifs' registered for caching
    [ 17.816097] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
    [ 22.459133] wlan0: no IPv6 routers present
    Now, if I rotate the device, and run dmesg again, I have the following:
    [ 1255.189705] acer_wmi: Unknown function number - 5 - 1
    [ 1257.363688] acer_wmi: Unknown function number - 5 - 1
    [ 1268.268809] acer_wmi: Unknown function number - 5 - 1
    [ 1268.409270] acer_wmi: Unknown function number - 5 - 1
    [ 1308.653700] acer_wmi: Unknown function number - 5 - 1
    [ 1308.784623] acer_wmi: Unknown function number - 5 - 1
    acpi -V does not show the device:
    Battery 0: Full, 100%
    Battery 0: design capacity 2865 mAh, last full capacity 2678 mAh = 93%
    Adapter 0: on-line
    Thermal 0: ok, 59.0 degrees C
    Thermal 0: trip point 0 switches to mode critical at temperature 87.0 degrees C
    Thermal 0: trip point 1 switches to mode passive at temperature 77.0 degrees C
    Cooling 0: LCD 0 of 9
    Cooling 1: Processor 0 of 3
    Cooling 2: Processor 0 of 10
    nor is it configured on boot - dmesg | grep ACPI:
    [ 0.404389] pnp: PnP ACPI init
    [ 0.404443] ACPI: bus type pnp registered
    [ 0.405020] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
    [ 0.405295] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.405829] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.406106] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.406268] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.406514] pnp 00:05: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.406613] pnp 00:06: Plug and Play ACPI device, IDs PNP0800 (active)
    [ 0.406774] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.407104] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.407390] system 00:09: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.408373] pnp: PnP ACPI: found 10 devices
    [ 0.408377] ACPI: ACPI bus type pnp unregistered
    [ 4.684770] ACPI: Power Button [PWRB]
    [ 4.685381] ACPI: acpi_idle registered with cpuidle
    [ 4.686148] ACPI: Lid Switch [LID]
    [ 4.692517] ACPI: Power Button [PWRF]
    [ 4.696710] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
    [ 4.719486] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    [ 4.729977] ACPI: AC Adapter [AC0] (on-line)
    [ 4.746949] ACPI: Battery Slot [BAT0] (battery present)
    [ 4.824909] ACPI: Thermal Zone [THRM] (61 C)
    [ 5.220895] acer_wmi: Acer Laptop ACPI-WMI Extras
    Yet, running acpi_listen generates the following when the tablet is rotated:
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    So, it would seem the device is working and sending data to the kernel/drivers, it appears some config is needed to get it properly recognised and an entry in /dev generated.
    Really hoping there is an acpi expert around who may be able to help me get the device properly recognised and configures, ideally, as a /dev/input/js*
    Cheers.
    Last edited by Padfoot (2012-06-07 00:24:31)

    There is no need to patch the kernel anymore as current kernels have the acer wmi accelerometer patch merged.
    Ensure you have the kernel module acer_wmi loading and then the events should be propogated. acpi_listen should show the events.
    Using the code from here: http://www.jezra.net/blog/Python_Joysti … ng_Gobject i have written a little daemon that monitors the accelerometer and automatically rotates the screen based on it's position.
    Cheers.
    [EDIT] Being a laptop, I am guessing the accelerometer is possibly on the hard drive?? used for shock protection?? So if that is the case, I am not sure you will be able to utilise it in the same way as a tablet's accelerometer. There are articles on the web for setting up hard drive accelerometers in linux. The other consideration you need is that the accelerometer may not be on acpi. It could be on the i2c bus (commonly where sensors such as fan speed, core temps etc are located), in which case you will need the i2c driver to get the accelerometer events recognised in the kernel (ensure i2c kernel modules are loaded). So check exactly how the kernel detects the accelerometer, is it on acpi or the i2c bus?[/EDIT]
    Last edited by Padfoot (2013-03-31 08:42:51)

  • Help needed with AEBS setup.

    I have an existing Buffalo G router (wireless turned off) connected to a DSL modem. How would I set up a dual band AEBS which will be wired to the Buffalo router to provide internet access and gigabit network to wired and wireless clients? Thanks.

    With the AEBS configured as a bridge, the Buffalo will be the "main" router on your network as it would be providing both the NAT & DHCP services for all network clients connected to either router.
    However, you can certainly configure the AEBS as the "main" wireless router to provide the wireless network to meet your needs.

  • [SOLVED] Help needed with suspend2ram with acpid lid script

    Hello
    I'm hoping someone can help with this, I'm obviously configuing something incorrectly.
    I wish to have my machine suspend to ram upon closing the lid, which I've managed to acomplish with pm-utils and acpid.
    Here's my lm-lid.sh from /etc/acpi/actions:
    #! /bin/sh
    # lid button pressed/released event handler
    #/usr/sbin/laptop_mode auto
    /usr/sbin/pm-suspend
    As you can see; I have commented out the penultimate line, this is what was present in the file as default, this didn't cause the machine to do anything, so I added the bottom line to call pm-suspend.
    My machine suspends fine, however, upon waking again, it resumes for about 3 seconds, then suspends again... after which it wakes up fine.
    So esentially I have to wake it up twice.
    I'm sure it's probably something stupid I'm doing, I'd just appreciate any words on this that may help!
    Last edited by Starfall (2012-06-23 23:31:00)

    LoBo3268715 wrote:
    Hi Starfall, I'm no expert here but what does your /etc/acpi/handler.sh look like? I never had to add "/usr/sbin/pm-suspend" to my lm_lid.sh
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
    maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PBTN|PWRF)
    logger "PowerButton pressed: $2"
    poweroff
    logger "ACPI action undefined: $2"
    esac
    button/sleep)
    case "$2" in
    SLPB|SBTN)
    echo -n mem >/sys/power/state
    logger "ACPI action undefined: $2"
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    echo -n $minspeed >$setspeed
    #/etc/laptop-mode/laptop-mode start
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    logger "ACPI action undefined: $2"
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000)
    logger 'Battery online'
    00000001)
    logger 'Battery offline'
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    logger 'LID closed'
    /usr/sbin/pm-suspend <<<<<<<<<<<<<<<<<<<<<< I put it here
    open)
    logger 'LID opened'
    logger "ACPI action undefined: $3"
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    # vim:set ts=4 sw=4 ft=sh et:
    Awesome! It works perfectly!
    Thanks very much LoBo3268715!

  • [Solved] Help needed with getting fonts antialiased.

    Greetings.  I'm in the process of installingArch and I must be missing something as fonts just aren't antialiasing.  Any help would be appreciated.  I'm using the Fonts guide on the wiki.  Here's the steps I did:
    pacman -Rd libxft
    yaourt -S fontconfig-lcd cairo-lcd
    pacman -S libxft-lcd
    Freetype is installed and I linked what I could to /etc/fonts/conf.d/:
    10-autohint.conf 40-nonlatin.conf 65-nonlatin.conf
    10-sub-pixel-rgb.conf 45-latin.conf 69-unifont.conf
    20-fix-globaladvance.conf 49-sansserif.conf 70-no-bitmaps.conf
    20-unhint-small-vera.conf 50-user.conf 80-delicious.conf
    29-replace-bitmap-fonts.conf 51-local.conf 90-synthetic.conf
    30-metric-aliases.conf 60-latin.conf README
    30-urw-aliases.conf 65-fonts-persian.conf
    I've tried changing settings in the KDE control center from "System Settings" to Enabled, started a new app.  But no luck.  I've created a basic ~/.fonts.conf that has antialiasing and hinting, logging out and logging in again to no avail.  What got me was that fontconfig didn't install a 10-antialias.conf:
    10-autohint.conf 25-unhint-nonlatin.conf 60-latin.conf
    10-no-sub-pixel.conf 29-replace-bitmap-fonts.conf 65-fonts-persian.conf
    10-sub-pixel-bgr.conf 30-metric-aliases.conf 65-khmer.conf
    10-sub-pixel-rgb.conf 30-urw-aliases.conf 65-nonlatin.conf
    10-sub-pixel-vbgr.conf 40-nonlatin.conf 69-unifont.conf
    10-sub-pixel-vrgb.conf 45-latin.conf 70-no-bitmaps.conf
    10-unhinted.conf 49-sansserif.conf 70-yes-bitmaps.conf
    20-fix-globaladvance.conf 50-user.conf 80-delicious.conf
    20-unhint-small-vera.conf 51-local.conf 90-synthetic.conf
    Is this the problem?  Obviously I'm missing a step here.  Any ideas, what do I need to do?
    Last edited by Kisha (2009-03-05 01:18:41)

    Dallied through the thread and didn't find anything.  No luck thus far.  Looks like this is a system-wide problem as KDM in not antialiasing.  Change to a new ~/.fonts.conf:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="rgba" >
    <const>rgb</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle" >
    <const>hintslight</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="antialias" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font">
    <edit mode="assign" name="lcdfilter">
    <const>lcddefault</const>
    </edit>
    </match>
    </fontconfig>
    but the problem persists.  Argh, this is tough.  Did I possibly forget something?
    Last edited by Kisha (2009-03-05 00:03:19)

  • [SOLVED] help needed with active window script

    I am trying to receive the current window from a script. it works fine, but when no window is open i get an error.
    i am using this command:
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    error message is "Invalid Window id format: 0x0"
    I tried working around this by using this script:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    title_root () {
    title_window | grep 0x0
    if [[ -z title_root ]]
    then
    title_window
    else
    echo "Desktop"
    fi
    But now it shows "Desktop" for every window.
    Last edited by Rasi (2013-01-22 11:59:46)

    solved.
    solution:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev 2>&1
    title_root () {
    title_window |& grep -q 0x0
    if title_root;
    then
    echo "Desktop"
    else
    title_window
    fi

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • Help needed with Vista 64 Ultimate

    "Help needed with Vista 64 UltimateI I need some help in getting XFI Dolby digital to work
    Okay so i went out and I bought a yamaha 630BL reciever, a digital coaxial s/pdif, and a 3.5mm phono plug to fit perfectly to my XFI Extreme Music
    -The audio plays fine and reports as a PCM stream when I play it normally, but I can't get dolby digital or DTS to enable for some reason eventhough I bought the DDL & DTS Connect Pack for $4.72
    When I click dolby digital li've in DDL it jumps back up to off and has this [The operation was unsuccessful. Please try again or reinstall the application].
    Message Edited by Fuzion64 on 03-06-2009 05:33 AMS/PDIF I/O was enabled under speakers in control panel/sound, but S/PDIF Out function was totally disabled
    once I set this to enabled Dolby and DTS went acti've.
    I also have a question on 5. and Vista 64
    -When I game I normally use headphones in game mode or 2. with my headphones, the reason for this is if I set it on 5. I get sounds coming out of all of the wrong channels.
    Now when I watch movies or listen to music I switch to 5. sound in entertainment mode, but to make this work properly I have to open CMSS-3D. I then change it from xpand to stereo and put the slider at even center for 50%. If I use the default xpand mode the audio is way off coming out of all of the wrong channels.
    How do I make 5. render properly on vista

    We ended up getting iTunes cleanly uninstalled and were able to re-install without issue.  All is now mostly well.
    Peace...

  • Help needed with itunes

    help needed with itunes please tryed to move my itunes libary to my external hard drive itunes move ok and runs fin but i have none of my music or apps or anything all my stuff is in the itunes folder on my external hard drive but there is nothing on ituns how do i get it back help,please

    (Make sure the Music (top left) library is selected before beginning this.)
    If you have bad song links in your library, hilite them and hit the delete button. Then locate the folder(s) where your music is located and drag and drop into the large library window in iTunes ( where your tracks show up). This will force the tunes into iTunes. Before you start, check your preferences in iTunes specifically under the"Advanced" tab, general settings. I prefer that the 1st 2 boxes are unchecked. (Keep iTunes Music folder organized & Copy files to iTunes Music folder when adding to library). They are designed to let iTunes manage your library. I prefer to manage it myself. Suit yourself. If there is a way for iTunes to restore broken links other than locating one song at a time I haven't found it yet. (I wish Apple would fix this, as I have used that feature in other apps.) This is the way I do it and I have approx. 25,000 songs and podcasts and videos at present. Hope this helps.

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Spotlight frequently reindexes drives in Snow Leopard

    Spotlight frequently reindexes my drives (like every other day), taking between 7 and 20 hours each time and generally bogging down my system when I'm trying to get real work done. The basic classes of error reported by mds, as seen in the system log

  • Several problems can this be fixed in future updates? as well as a few ideas.. [xperia z1 5.0.2]

    Problems -(1) THEMES NOT WORKING  Topics are not applied or are applied but do not change anything, the color palette remains the same .. ( if you wanna proof, i can send screenshots ) -(2) Phone restarts because of the load previously this was not o

  • Warning: Bogus account security text

    I received a text from "wirelessvz" telling me my account was disabled "by reasons of security" and sent me to webpage: http:/2wirelessvz.netne.net which requested by user name, password and last 4 digits of my SSN. The Verizon Wireless logo was on t

  • Browser crash upon debug

    Hello, my Firefox browser always freezes up when I debug and receive a Flex error. If I debug and no errors, then it does not freeze. I have been using Firefox 3.04 and 3.5.  Both have this problem. Does anyone have any advice ?

  • Horizontal 'gap' between two level tabs SOLVED

    I've got a stange problem: I've got several pages and a two level tabs. Everything worked before a collegue of mine switched the theme into a self created one. Now the design of the two level tabs depends on what page you are on. Sometimes there is a