PDA

View Full Version : Wireless via command line


xpzion7
20th June 2011, 11:32 PM
Can someone help conect to a network via comman line to a wireless network

:blink:

stoat
21st June 2011, 02:29 AM
I'll try. First, are you sure a driver and/or firmware is installed to make the adapter work? If so, then what is the encryption type of the access point?

Nevermind.

When I used scripts to manage my wireless interface, I would open the old Network Configuration utility (system-config-network) and create a new wireless connection there. For no encryption or WEP, it is easy to enter the pertinent information for the access point. With the connection pre-configured like that, you often can get connected with just this in a terminal...su
ifup wlan0
dhclient wlan0
For WPA encryption, I still used system-config-network to pre-configure the connection. But an additional complication is the need to create a wpa_supplicant.conf file. For details about that and the terminal commands to get it connected, go here for my recommendations...http://forums.fedoraforum.org/showthread.php?t=265326No promises.

smr54
21st June 2011, 03:52 AM

I have a couple of pages which cover it, with useful links to another site that covers it better.

One is http://home.roadrunner.com/~computertaijutsu/wireless.html

Although its focus is more for removing NetworkManager from the equation for testing, it might be useful.

The other is http://home.roadrunner.com/~computertaijutsu/rhwireless.html


The most useful thing that one has is a link to another page by a gentleman named Mike, who has a very good write-up on it.

xpzion7
21st June 2011, 04:00 AM
Thaks guys for the info.