cannot establish a wireless network connection from the terminal in ubuntu 10.10
i'm trying to connect to a hidden wireless network in ubuntu through the terminal but i am unable to do so.
i first tried using ifconfig,iwconfig and dhclient initially but i am only able to get an ip address without the default gateway and dns server addresses which i normally get through the network manager applet. then i tried using cnetworkmanager but failed miserably again i keep getting this error Code:
Another applet is running: Bus name already exists: org.freedesktop.NetworkManagerUserSettings (pid 1851) is there any way around this? |
I don't use networkmanager, but given the error, I would think if you killed the graphical nm-applet, it might work.
You can also replace networkmanager with wicd, which has a curses interface. If you list what exactly you're doing with iwconfig, dhclient, etc, we may be able to direct you there. If you're using WPA encryption, you need to use wpa_supplicant for these to work. If it's just the default gateway you need to add you can do Code:
route add default gw <gateway address> |
i tried killing the applet and it worked. but like i said earlier . i'm only able to get a IP address. i'm not able to get the dns addresses. here is what i've done with ifconfig, iwconfig and dhclient
Code:
sudo ifconfig wlan0 down |
All times are GMT -5. The time now is 02:06 PM. |