LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
 
Search this Thread
Old 12-24-2007, 12:35 PM   #1
bdol
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Wireless problems (can only connect in ad hoc mode)


I decided to start learning Linux in detail this winter break as my CE major will probably require me to have some sort of knowledge about the OS. I decided to set up a simple home networking server as my first project as that will probably give me some good networking/hardware experience.

I successfully installed Slackware 12 and I'm using KDE. The problem I'm running into is with my wireless USB adapter (Linksys WUSB54ag). I don't need help with getting that working - I installed ndiswrapper, and the adapter can successfully scan and recognize networks with the KWifiManager. However, I'm having trouble actually connecting to a network. I set up all the aspects of my home network (SSID, WEP key etc) in the control center, but I can only connect to the network in ad hoc mode.

I'm not sure, but I think the problem is that my computer is not being assigned an IP address by the router. Is there a way to enable DHCP? Or might I possibly be able to assign a static IP (it would probably be something like 192.168.1.49)? Or could there be a problem with using a WEP key?

In addition, when I run iwconfig, the wlan0 entry comes up, but it does not have the same information stored as in the Control Center (for instance, the SSID says "any" and not "Dolhanet" as it does in the CC).

To sum up my problem, why does my computer only connect in ad hoc mode in the KWifiManager and how might I be able to fix it?

Thanks,
Brian Dolhansky

EDIT:

Sorry if anyone took the time to investigate this, but I eventually got it working. I simply needed to play around with iwconfig, and I found the dhcpcd command in order to pull an IP address from my router.

Last edited by bdol; 12-24-2007 at 01:19 PM. Reason: Solved problem myself
 
Old 12-25-2007, 12:35 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 125Reputation: 125
To add to your thread, in Slackware you can/should setup your internet connection in /etc/rc.d/rc.inet1.conf -- you might find useful instructions on Eric Hameleer's Wiki pages. Drop to the bottom and see what is advised for your particular chipset. If you issue "lsusb" in a terminal as root, you can probably see what chipset your card uses. Most of them have native drivers you can use as an OSS alternative to using Ndiswrapper.

WEP is very unsecure, and WPA is easy to setup.
 
  


Reply

Tags
usb, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cant connect to network using Wireless AP in client mode SyZyGyFiRe Linux - Wireless Networking 2 08-09-2007 02:24 AM
configuring ad-hoc mode r.stiltskin Linux - Wireless Networking 1 06-07-2007 02:50 PM
Can't PING in ad-hoc mode s_lapetite Linux - Wireless Networking 2 06-02-2007 01:43 PM
Ad-Hoc mode for an Intel Pro 2915ABG wireless NIC swiadek Linux - Wireless Networking 2 03-29-2006 05:24 PM
Configuring wireless card (DWL-G520) in Ad-hoc mode??? fahad26 Linux - Wireless Networking 1 02-10-2005 01:20 AM


All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration