Need help on connecting ubuntu to a Belkin wirelss router - (FIXED)

AC Perdon turf.ph at gmail.com
Thu Oct 4 04:24:04 UTC 2007


Hi,

Thanks for the inputs JM and Dax. I had it work.

Summary:

Info:

                Router  : Belkin Wireless G Pluss Router
Wireless Adapter : D-Link Air Plus G DWL-G510 Wireless G Desktop Adapter
(Network controller: RaLink RT2561/RT61 rev B 802.11g)

Router Config:

Security Mode: WPA/WPA2-Personal(PSK)

Wireless Adapter:

if you do an ifconfig your wireless card will show some thing like this.

ra1     Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet addr:xx.xx.xx.xx  Bcast:xx.x.x.x  Mask:xxx.xxx.xxx.0
          inet6 addr: ba::10::21b:51ff:fe05:e81d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50139 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8510 errors:4 dropped:4 overruns:0 carrier:0
          collisions:757 txqueuelen:1000
          RX bytes:15575638 (14.8 MiB)  TX bytes:1380722 (1.3 MiB)
          Interrupt:18

#Configuring the connection.

$sudo  ifconfig ra1 down # this will bring down your wireless card.

next

$ wpa_passphrase YOUR_SSID YOUR_PASSPHRASE

 e.g $wpa_passphrase  TEST mypassphase

#output would be:

network={
        ssid="TEST"
        #psk="mypassphase"

psk=a80a3c828fb34ae109d1524dasb6c5044c216a65b1b929f4e91c05ecbcf3900a9

then

#Configure your interface

$vi /etc/network/interface

#add the following:

auto ra1
iface ra1 inet static
address <YOUR_IP>
netmask <YOUR_NETMASK>
gateway <YOUR_GATEWAY>
pre-up iwpriv ra1 set AuthMode=WPAPSK
pre-up iwpriv ra1 set EncrypType=TKIP
pre-up iwconfig ra1 essid TEST
pre-up iwpriv ra1 set
WPAPSK=a80a3c828fb34ae109d1524dasb6c5044c216a65b1b929f4e91c05ecbcf3900a9
#this was driven from wpa_passphrase we did awhile ago refer to psk=

Once you have save the config bring up your your wireless card.

$sudo ifconfig ra1 up

if that did not work reboot your pc.

I hope this will help others.

For more info on this refer to :

https://help.ubuntu.com/community/WifiDocs/Driver/RalinkRT61?action=show&redirect=Rt61WirelessCardsHowTo

On 10/2/07, AC Perdon <turf.ph at gmail.com> wrote:
>
> Hi,
>
> Im setting up a desktop for an office and there network infra uses wifi.
> The router is a Belkin Wireless G Pluss Router, the config for there wifi
> security uses WPA-PSK I have little exposure in networking but what I
> understand is this is just a WPA Personel.  they dont have other fancy
> security set up they just use wpa out-of-the box feature. now I have a Hp
> g30371 home pc running with ubuntu (feaisty) my wireless adapter is a D-Link
> Air Plus G DWL-G510 Wireless G Desktop Adapter and it was detected by
> ubuntu. I followed the  how to from http://www.debianadmin.com/enable-wpa-wireless-access-point-in-ubuntu-linux.html,I
> also tried docs from ubuntu website but no luck I could not get any
> internet connection. Is there some thing I miss or can you advice what
> wirelss desktop adapter that will work out of the box for ubuntu but
> definitely I would like this to work so the card wont be a waste.. bytheway
> I have tried the how to mentioned in my notebook(R50e thinkpad) same OS and
> used the built-in wifi it works I could connect to there office network only
> problem is the annoying unlock keyring but thats ok than having no
> connection.
>
> other info:
>
> The wpa_supplicant is installed but strange i dont have the
> wpa_supplicant.config file
>
> Thanks,
>
>
> --
> AC Perdon
> Registered GNU/Linux User #340122




-- 
AC Perdon
Registered GNU/Linux User #340122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071004/8a237d25/attachment.html>


More information about the ubuntu-users mailing list