WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] howto give DomU the pcmcia wlan card from Dom0 ?

To: "Jerry Amundson" <jamundso@xxxxxxxxx>
Subject: Re: [Xen-users] howto give DomU the pcmcia wlan card from Dom0 ?
From: harm <harmweites@xxxxxxxxx>
Date: Tue, 2 Jan 2007 11:05:08 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 02 Jan 2007 02:05:09 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Nl8ENO6RywjVoOkGcihyRQjc7YQoPJf9g5HGIoTyIImokQtwlpKTCrEqWniqXRqeLH/6iJYY/8z8ljJnzo0UYOtSTy3R4kVsdGoWr/EumuNGPoLWgR8z281L2aoPZrN/6LlAWRBcScqxsZBqgPP5SGRQIn5vfas3O2sDwiPTCKc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6d06ce20612311311w19fb14f7nfd8841638a30dcb1@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9357450c0612301337p30c63ecg5edfba77e4021ea8@xxxxxxxxxxxxxx> <6d06ce20612311104t79010b28j77268e55b3639bb5@xxxxxxxxxxxxxx> <45980FA3.5030203@xxxxxxxxx> <6d06ce20612311311w19fb14f7nfd8841638a30dcb1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
again, this is a Just4FUN project.. So stop with all the other BS, ok :)

lspci on dom0:
00:11.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
05:00.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)

so my grub line looks like:
module          /boot/vmlinuz-2.6.18-3-xen-686 root=/dev/hda1 ro console=tty0 pciback.hide=(00:11.1)(05:00.0)

and /etc/xen/domu.conf has this:
pci = ['00,11,1']
pci = ['05,00,0']

now lspci in domU shows:
00:00.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)

i now issue apt-get rt2x00-source and cd to /usr/src/ to unzip rt2x00-source.tar.gz

cd modules/rt2x00/ and do 'make' and 'make install'

modprobe rt2500pci shows this with 'dmesg':
Loading module: rt2500pci - CVS (N/A) by http://rt2x00.serialmonkey.com .
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
wmaster0: Selected rate control algorithm 'simple'

looks like the manual method works better since i now have a wlan0 interace in DomU :)

iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wmaster0  IEEE 802.11g  Frequency:2.412 GHz
          RTS thr:off   Fragment thr=2346 B

wlan0     IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          RTS thr:off   Fragment thr=2346 B
          Encryption key:off

However, kismet complains that this device cant go into monitor mode... :x

On 12/31/06, Jerry Amundson <jamundso@xxxxxxxxx> wrote:
On 12/31/06, Christopher G. Stach II <cgs@xxxxxxxxx> wrote:
> The PCMCIA bridge sits on the PCI bus.

Fascinating!!
So..
[root@pine ~]# lspci
[snip]
02:01.0 CardBus bridge: Texas Instruments PCI1420
02:01.1 CardBus bridge: Texas Instruments PCI1420
and the like...??
Same system has these: (older system does not...)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 41)
Hmm, I may play with this...

> >> Is it possible or would it be better to use a more direct interface
> >> like an
> >> usb-wlan card instead of the pcmcia card.. ?
> >
> > Is this an HVM thing?
> > Sorry...
>
> USB would probably be better, for now.

Sure, I see pro/con of that now too.

Thanks,
jerry

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] howto give DomU the pcmcia wlan card from Dom0 ?, harm <=