[AuckLUG] Ubuntu 7.04, wireless card and WPA-PSK?
Ken Lomax
ken at lomax.gen.nz
Thu Aug 23 23:48:03 NZST 2007
Thanks for your help. Success at long last :)
To recap:
1) I used the live cd and followd the instructions on the link given below
(http://ubuntuforums.org/showthread.php?t=419709). Found that the wireless
card was ra0 (not ra1). This worked as per the instructions. Later found
that i also had my ethernet cable plugged in and while the wireless card
was working, it was communicating via eth0!!!
Been away for a few days so could not continue until tonight
2) Redid the live cd trick, this time with the ethernet cable unplugged
and wireless=>ra0. Success.
3) Did fresh install. Repeated using command line as suggested and
wireless=>ra1. Could get signal from AP. Could not ping router. Tried a
few tricks, and only succeeded in getting error messages and lockup.
4) Did fresh install (again). This time entered directly into
/etc/network/interfaces. Used ifup to restart wireless card. Got success
but with error messages. Noted that the main one was lack of DNS. Used
#echo "nameserver x.x.x.x" >> /etc/resolv.conf (have local DNS server)
SUCCESS!!!!
5) Did reboot to check that it came up again after reboot and again success.
So, thanks very much for your help. (Now onto next challenge hehehehe)
Regards
Ken
> I think the point of manually enabling that interface is that you should
> disable or stop using network-manager and just start and stop the
> interface
> on the command line with " sudo ifup ra1"
>
> The password should not be the encoded version. It's just plain text as
> far
> as I understand it. I think you should disable network-manager (by either
> uninstalling or killing it) because you are manually setting up your
> network
> now and it may be interfering with that.
>
> Try using "sudo ifdown ra1" and then "sudo ifup ra1" to bring the wireless
> network online. Apologies if you've already tried this.
>
> Now that you have mentioned rt61 I think I may have been able to find you
> the right howto. To me it seems that you are basically there.
> http://ubuntuforums.org/showthread.php?t=419709. If I were you I might be
> inclined to get rid of the driver that I downloaded and installed from
> Ralink and just use the one included in the kernel. That way you can
> follow
> that persons instructions from start to finish.
>
> Cheers
>
> Hansel
>
>
> On 8/20/07, Ken Lomax <ken at lomax.gen.nz> wrote:
>>
>> When doing lsmod, the only thing that i can see that appears relevant is
>> an rt61 module. My card is rt2561st. Should I have an rt2500 module? I
>> tried the config below and still do not have success.
>>
>> My machine also insists that the card is ra1, not ra0, despite there
>> being
>> no other wireless card. I have an onboard ethernet interface that does
>> not
>> work (sis968 Gigabit according to the manual), a pci ethernet card which
>> is being recognised as eth0, and of course lo.
>> I set up the config below for ra1. iwconfig now recognises the correct
>> SSID, but shows no sign of a WPAPSK password being used and network
>> manager now does not even recognise a wireless network. Should the
>> password be the encoded version?
>>
>> Thanks
>> Ken
>>
>> > 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!
>> >
>> >
>> > --
>> >
>> >
>> > _______________________________________________
>> > 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
>
More information about the AuckLUG
mailing list