Saturday, October 31, 2009

Follow up: Debian 5 Lenny WPA on A21m with TrendNet TEW-421PC and TrendNet TEW 452-BRP

I use this from a fixed location. And I use LXDE with auto-login. So I do not like NetworkManager.

Well, it only took me a week to go away from FWSE searches and read the most excellent Debian documentation instead. Kudos to Debian's documentation team, and to the Debian wiki contributors.

Big lesson: You do not need wpa_supplicant to use ndiswrapper as a driver backend. wext is sufficient.

If you want to see what is going on
ifup --verbose wlan0

The following seem necessary, even though both the card and access-point report WPA2 supported.
proto=WPA
key_mgmt=WPA-PSK

If you'd rather use Debian's /etc/network/interfaces ( just do this.... :) ):
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ap-scan 2
wpa-scan-ssid 1
wpa-driver wext
wpa-ssid "your ssid"
wpa-psk all hex here
wpa-proto WPA
wpa-key-mgmt WPA-PSK

References:
http://wiki.debian.org/WiFi
http://wiki.debian.org/WiFi/HowToUse
/usr/share/doc/wpasupplicant/README.Debian.gz (use mc or gunzip this)
http://wiki.debian.org/WiFi/HowToUse
manuals: interfaces

Sunday, October 25, 2009

debian 5 wpa Trendnet wifi using ndiswrapper and wpa_supplicant

hidden ssid network

wpa_supplicant.conf

ap_scan=2

network={
  scan_ssid=1
  proto=WPA
  ssid="your ssid"
  key_mgmt=WPA-PSK
  psk=all hex here

}

wpa_supplicant v0.6.4

linux kernel 2.6.26-2-686

ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
driver mrv8335 (TRENDnet,08/22/2005,3.2.1.3) loaded

Tuesday, October 13, 2009

Clipboard not working in rdesktop to XP

Does remote copy and paste not work while connected to XP on stock 11.1 ?

I tried recompiling rdesktop 1.6.0 from source. Same issue.

Excerpt from documentation:

-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard
redirection.
'PRIMARYCLIPBOARD' looks at both PRIMARY and CLIPBOARD
when sending data to server.
'CLIPBOARD' looks at only CLIPBOARD.


Did not work:

-r clipboard:PRIMARYCLIPBOARD
-r clipboard:CLIPBOARD


Worked:

-r clipboard:PRIMARY
-r clipboard:off

Serendipitous. Also, the -f option does not really mean full screen on opensuse. The recompiled version seems to interpret this correctly.

Local copy and remote paste does not work. This was not an issue for me.

Monday, October 12, 2009

VIA Openchrome/OpenSuse 11.1

The problem: Super slow X on OpenSuse 11.1 on Acer Aspire T135. It would take a minute to move the mouse. Forget about clicking. Neither the VIA drivers nor openchrome would compile (XINERAMA snafu => X sources not installed correctly).

Even Vesa ran better.

The magic incantation:

Install xorg sources and most importantly, xorg-x11-server-sdk-7.4-17.6.1 . Then you can compile and use openchrome. Also remember to remove any existing openchrome drivers.

I used openchrome revision 811.

Additionally, hand edit xorg.conf because (on the older driver) scan frequencies for Dell 1800fp were not right. Otherwise 800x600.

HorizSync 31-70
VertRefresh 55-75

And set max resolution to 1280x1024. Otherwise 1440x1050 is used and you wont be able to see the whole screen.

Full list of xorg sources:
xorg-x11-libSM-7.4-1.26
xorg-x11-fonts-core-7.4-1.32
xorg-x11-libXt-7.4-1.26
xorg-x11-libXpm-7.4-1.27
xorg-x11-7.4-8.20.1
xorg-x11-server-7.4-17.6.1
xorg-x11-libXrender-devel-7.4-1.24
xorg-x11-devel-7.4-8.1
xorg-x11-proto-unstable-devel-7.3.99-2.19
xorg-x11-libfontenc-7.4-1.23
xorg-x11-libX11-7.4-1.25
xorg-x11-driver-input-7.4-11.6.1
xorg-x11-libXdmcp-devel-7.4-1.23
xorg-x11-libSM-devel-7.4-1.26
xorg-x11-libXp-devel-7.4-1.25
xorg-x11-libXau-7.4-1.23
xorg-x11-driver-video-unichrome-20080807-12.44
xorg-x11-libXfixes-7.4-1.24
xorg-x11-libXmu-7.4-1.26
xorg-x11-libXprintUtil-7.4-1.26
xorg-x11-xtrans-devel-7.4-4.12
xorg-x11-libXau-devel-7.4-1.23
xorg-x11-libxcb-devel-7.4-1.29.1
xorg-x11-libxkbfile-devel-7.4-1.25
xorg-x11-libXext-devel-7.4-1.25
xorg-x11-libXmu-devel-7.4-1.26
xorg-x11-libXdmcp-7.4-1.23
xorg-x11-libxkbfile-7.4-1.25
xorg-x11-libXext-7.4-1.25
xorg-x11-fonts-7.4-1.32
xorg-x11-libXv-7.4-1.25
xorg-x11-libs-7.4-8.1
xorg-x11-libxcb-7.4-1.29.1
xorg-x11-xauth-7.4-8.20.1
xorg-x11-driver-video-radeonhd-1.2.4_121202_4e89726-2.1.1
xorg-x11-driver-video-7.4-19.8.2
xorg-x11-util-devel-7.4-1.22
xorg-x11-fonts-devel-7.4-1.23
xorg-x11-libXt-devel-7.4-1.26
xorg-x11-libXv-devel-7.4-1.25
xorg-x11-libXprintUtil-devel-7.4-1.26
xorg-x11-proto-devel-7.4-1.27
xorg-x11-Xvnc-7.4-17.6.1
xorg-x11-libfontenc-devel-7.4-1.23
xorg-x11-libX11-devel-7.4-1.25
xorg-x11-libXpm-devel-7.4-1.27
xorg-x11-libX11-ccache-7.4-1.36
xorg-x11-libICE-7.4-1.24
xorg-x11-libXrender-7.4-1.24
xorg-x11-libXp-7.4-1.25
xorg-x11-libICE-devel-7.4-1.24
xorg-x11-libXfixes-devel-7.4-1.24
xorg-x11-server-sdk-7.4-17.6.1

Linux linux-jbu6 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 athloni386 GNU/Linux

01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A[S3 UniChrome Pro] (rev 01) (prog-if 00 [VGA controller])