I had one of the cases people having here that after all steps I was not been able to ping the router. Another result was that network interfaces file is completely messed up.
Mostly peple have dhcp therefore I would suggest instead going all the iwconfig, ifconfig, route and ping sequences you simply:
Step 1
Code:
ubuntu@ubuntu:~$ sudo gedit /etc/network/interfaces
Delete everything related to ra0 (or ra1) and around that.
Step 2
Add at the beginning of /etc/network/interfaces following:
Code:
auto ra0
iface ra0 inet dhcp
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwconfig ra0 essid my_essid
pre-up iwpriv ra0 set WPAPSK="my_pass_key"
In my case it was:
Code:
auto ra0
iface ra0 inet dhcp
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwconfig ra0 essid ZEB
pre-up iwpriv ra0 set WPAPSK="zebiekste"
*use ra1 instead of ra0 if necessary
Step 3
Reboot
Start browsing
Bookmarks