Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - misha

Pages: [1]
1
Security and Networking / How To Bring Up Wlan0 Via Command-line?
« on: August 09, 2008, 10:26:16 pm »
Hi all,

I've got a Zaurus CL-3200, using AmbiCom WL1100C-CF PCMCIA wireless card.

I'm trying to bring up wlan0 via the command-line (yeah, there's a GUI tool to do it, but I'm curious).  I can connect to the wireless AP at home (sometimes).

I see the card details in dmesg after I insert it into the slot and cardctl status lists the card at socket 0.  It's in suspended mode.  So far so good.

I'm assuming that to get the card up I need to unsuspend it.  cardctl resume prints "ioctl(): Device or resource busy", but I'm assuming that's from the built-in microdrive, which is sitting at socket 1.  cardctl resume 0 doesn't print anything and seems to succeed.  cardctl status shows the card in a suspended state, however.  Can anyone explain why this is so?

At this stage I still can't do anything wireless-related to the card as wlan0 still doesn't exist (it isn't reported by ifconfig).  Ifconfig wlan0 up prints "SIOCSIFFLAGS: No such device".

Can someone fill me in?

Cheers,
Misha

2
Python / Application Icon On Qtopia Taskbar
« on: January 29, 2008, 07:50:10 am »
Hello,

I'm trying to get my application's icon to get onto the Qtopia taskbar.  I have the following appname.desktop file:

[Desktop Entry]
Comment=Spaced Repetition Software
Exec=anki.sh
Categories=
Icon=anki.png
Type=Application
Name=Anki
Display=640x480/144dpi,480x640/144dpi

anki.sh lives in /home/QtPalmtop/bin and contains:

/usr/bin/env PYTHONPATH=/home/QtPalmtop/lib/python2.4 /home/zaurus/Documents/python/main.py

The application icon appears in the main launcher.  If I click it, the application launches, but I don't see the application icon on the task bar (the place where currently open applications are listed).  So if I move away to another application, there is no way to get back to Anki because there is no task bar icon.

Can someone suggest what might be the problem here?

Thanks in advance!
Misha

Pages: [1]