LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2009, 05:17 PM   #1
Cassanova
Member
 
Registered: Feb 2009
Location: An Evil city in Indiana
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61

Rep: Reputation: 15
Connecting to Wireless AP manually


K. here's the situation. I have a Laptop running Fedora Core 10 (64 bit). I recently have fallen in love with window managers (openbox to be precise); the Problem is, when in these window managers, I cannot connect to wireless APs. I've tried restarting the network manager, but alas it has no effect. So, I'm left with terminal commands (YAY!!! I love any chance to use those.) so is there a command that I need to use to connect manually?
 
Old 05-15-2009, 10:09 AM   #2
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
Yep - the program is called iwconfig; if you want WPA, you'll also need wpa-supplicant.

After setting up your connection, you can make it active with ifconfig and get an IP address with Fedora's choice of DHCP client dhclient or dhcpcd - I recall it's the latter, but I may be wrong (I haven't used FC for some time).

The links lead to man pages - the rest of the fun is figuring out the options... If you don't want this, a basic tutorial is here; note that you'll have either to be root or to use sudo to do all this.

M.
 
Old 05-16-2009, 06:26 PM   #3
Cassanova
Member
 
Registered: Feb 2009
Location: An Evil city in Indiana
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61

Original Poster
Rep: Reputation: 15
Okay, I've used ifconfig and iwconfig before, but mainly just to check on IPs. I didn't know I could use them to connect to services... although now that I think of it, It soes seem quite logical. I'd mark this forum as solved, but don't know how
 
Old 05-17-2009, 12:59 PM   #4
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
Cassanova:

Sorry, but since you said you liked dabbling with the CLI, I thought linking to man pages (and thus to the main source of viable information) was the right thing to do. Since I don't know anything about your network (like encryption: WEP, WPA, type of key, among other things) and your hardware (type of chipset or at least type of device your laptop uses for wireless networking), I can't go into the details yet.

If you really like finding out things, the man pages offer great guides to the correct options; if you need further help, you can either search the forum (I know for a fact that this has been covered time and again) or check back here. If you provide more information (after reading parts of the manuals, perhaps), doing a step-for-step guide is not too difficult.

M.
 
Old 05-29-2009, 12:26 PM   #5
Cassanova
Member
 
Registered: Feb 2009
Location: An Evil city in Indiana
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61

Original Poster
Rep: Reputation: 15
Sorry I sound so clueless (I've never done this manually) I followed your tutorial link; it would be great... only problem Is, that I've got my AP set up as, hidden (which I don't think is really a problem but I've been wrong before) and WPA2 Encrypted, I assume I have WPA Supplicant already, because I've got no trouble when I connect using NetworkManager in Gnome. That being said, Your tutorial (as well as most of the Forum posts I've read), assumes WEP encryption. What Do I need to do differently, given these Circumstances?
 
Old 06-04-2009, 05:30 AM   #6
shibeaux
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: 15
Try looking this tutorial. Itś made for Ubuntu users, but think that it's ok for u.
 
Old 06-04-2009, 08:28 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
just in case you want an alternative to the command line or the piece of cruft they call network-manager (sorry not a fan of that app)..
take a look at wicd http://wicd.sourceforge.net/

Quote:
Some of Wicd's features include:

1. No Gnome dependencies (although it does require GTK), so it is easy to use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
2. Ability to connect to wired and wireless networks
3. Profiles for each wireless network and wired network
4. Many encryption schemes, some of which include WEP/WPA/WPA2 (and you can add your own)
5. Remains compatible with wireless-tools
6. Tray icon showing network activity and signal strength

There are instructions for installing Wicd on Ubuntu, Debian, Arch, Fedora, Slackware, and Gentoo on the downloads page, although it should work on any Linux distro.
Also a curses interface is available for wicd if you really want to go old school..

Just a though. enjoy !!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure a wireless network manually in Debian Testing whistlenut Linux - Wireless Networking 4 10-24-2008 08:34 AM
Enabling a Wireless network Manually C-Sniper Slackware 4 12-17-2006 12:10 AM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM
manually wireless configuration on suse vera Linux - Wireless Networking 2 07-07-2004 06:07 PM
Connecting to an Access Point Manually eviltangerine Linux - Laptop and Netbook 4 11-08-2003 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration