[AuckLUG] Ubuntu 7.04, wireless card and WPA-PSK?

razza razza at razza.org
Mon Aug 20 12:38:55 NZST 2007


I always found the ralink driver support a little disappointing I made sure
most of my wireless nic's had one as they have an opensource driver but always
found the support to be poor especially if not using x86.

Fortunately the rt2x00 daily cvs driver being developed is getting quite good.


On Mon, 20 Aug 2007 10:13:50 +1200, Hansel Dunlop wrote
> Good morning Ken, how frustrating!
> 
> However, I think I have found the both the answer, and solution, to your
> problem. According to this bug report (
> https://bugs.launchpad.net/ubuntu/+source/network-
> manager/+bug/106874) you need to set up WPA manually in /etc/network 
> interfaces like so:
> 
> auto ra0
> > iface ra0 inet dhcp
> >         pre-up ifconfig ra0 up
> >         pre-up ifconfig ra0 down
> >         pre-up ifconfig ra0 up
> >         pre-up ifconfig ra0 down
> >         pre-up iwconfig ra0 essid "router"
> >         pre-up iwconfig ra0 mode Managed
> >         pre-up iwpriv ra0 set AuthMode=WPAPSK
> >         pre-up iwpriv ra0 set EncrypType=TKIP
> >         pre-up iwpriv ra0 set WPAPSK="mypass"
> >         pre-up ifconfig ra0 up
> 
> There appears to be some problems with the Ralink driver and the
> network-manager program in Ubuntu.  Which is why it's not recognised 
> as providing WPA support. Even though it now does.
> 
> Let me know if that works
> 
> Cheers
> 
> Hansel
> 
> On 8/19/07, Ken Lomax <ken at lomax.gen.nz> wrote:
> >
> > THis is being a real bitch
> >
> > 1) using apt-get it says wpasupplicant is already installed  --ok
> > 2) Using link--only get wep settings showing, not the whole set as shown
> > in the pic.
> > Have tried everything else suggested, but cannot get to work.
> >
> > Any other suggestions?
> >
> > THis card did work on the network in this machine before I set up wpa-psk
> > on the access point.
> > It appears to be a configuration problem, but i am unable to set it
> >
> > REgards
> > KEn
> >
> > > Ah, okay then - Try using this howto:
> > >
> > http://blog.yumdap.net/archives/56-The-ease-of-WPA-in-Ubuntu-Feisty-Fawn.html
> > .
> > >
> > >
> > > When you installed wpasupplicant you did use the package manager? i.e
> > > "sudo
> > > apt-get install wpasupplicant" if you installed it from source or
> > > something
> > > then it may very well not be properly configured. If you don't want to
> > use
> > > apt-get on the command line then you could also use synaptic which is in
> > > the
> > > menu under System/Administration/Synaptic Package Manager to find and
> > > install the package. When using ubuntu, like Debian, it really pays to
> > > just
> > > use the package manager to install software. Going outside it is the
> > cause
> > > of most problems that people seem to have with these distributions.
> > >
> > > Cheers
> > >
> > > Hansel
> > >
> > > On 8/18/07, Ken Lomax <ken at lomax.gen.nz> wrote:
> > >>
> > >> I have two other machines here using the network using wpa, although
> > >> both
> > >> of those laptops are using m$.
> > >>
> > >> I have tried installing wpasupplicant, but not sure how to activate it
> > >> properly. The docs seem to finish at the end of the make and do not go
> > >> into details about how to connect and use it. So i am not sure if it is
> > >> in
> > >> the right place etc. Ubuntu did not install it (I dont think) when
> > >> ubuntu
> > >> was installed, even though the card was in the machine and it is
> > >> recognised otherwise. THe card was working on the network before i
> > >> changed
> > >> the security to WPA. The machines final location has a wpa network so i
> > >> need to get it to work
> > >>
> > >> I am not very familiar with Ubuntu admin, more familiar with fedora, so
> > >> perhaps there is something i am missing
> > >>
> > >> Cheers
> > >> Ken
> > >>
> > >>
> > >> > WPA-PSK (1 and 2) works under Ubuntu 7.04. In fact I'm typing this
> > >> email
> > >> > on
> > >> > a lap top connected to just such a network now.
> > >> >
> > >> > So I guess my suggestion would be general trouble shooting stuff. Are
> > >> > other
> > >> > clients able to connect to the router while it is using WPA? Is the
> > >> > package
> > >> > wpasupplicant installed? That seems to be the only WPA related
> > package
> > >> > that
> > >> > is installed on my system. I'm pretty sure it was installed by
> > default
> > >> > though.
> > >> >
> > >> > Cheers
> > >> >
> > >> > Hansel
> > >> >
> > >> > On 8/17/07, Ken Lomax <ken at lomax.gen.nz> wrote:
> > >> >>
> > >> >> Hi
> > >> >>
> > >> >> I have installed Ubuntu 7.04 on a Asus P55-mx se mother board
> > >> machine.
> > >> I
> > >> >> have also installed a CNet cwp-854 pci wireless card in the machine.
> > >> >>
> > >> >> Ubuntu picks up the card and it worked fine until i set up WPA-PSK
> > >> >> security on my wireless access point. Ubuntu likes only WEP.
> > >> >>
> > >> >> I have downloaded the files from Ralink website and set up according
> > >> to
> > >> >> the instructions.
> > >> >>
> > >> >> However I still cannot get WPA working.
> > >> >>
> > >> >> Ubuntu recognises my card as ra1 while the docs seem to think it
> > >> should
> > >> >> be
> > >> >> recognised as ra0. THere is a pci wired network card in the machine
> > >> >> which
> > >> >> is recognised as eth0. Ubuntu does not work with the inbuilt network
> > >> >> interface.
> > >> >>
> > >> >> Any suggestions? This machine is destined for another location with
> > a
> > >> >> WPA
> > >> >> wireless setup, so I need to make it work.
> > >> >>
> > >> >> THanks for any help
> > >> >>
> > >> >> Regards
> > >> >> Ken
> > >> >>
> > >> >>
> > >> >> _______________________________________________
> > >> >> AuckLUG mailing list
> > >> >> AuckLUG at linux.net.nz
> > >> >> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
> > >> >>
> > >> > _______________________________________________
> > >> > AuckLUG mailing list
> > >> > AuckLUG at linux.net.nz
> > >> > http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
> > >> >
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> AuckLUG mailing list
> > >> AuckLUG at linux.net.nz
> > >> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
> > >>
> > > _______________________________________________
> > > AuckLUG mailing list
> > > AuckLUG at linux.net.nz
> > > http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
> > >
> >
> >
> >
> > _______________________________________________
> > AuckLUG mailing list
> > AuckLUG at linux.net.nz
> > http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
> >
> _______________________________________________
> AuckLUG mailing list
> AuckLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
> 
> !DSPAM:46c8c0ae60631301179572!


--




More information about the AuckLUG mailing list