Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


Search this Thread
Old 09-08-2006, 01:15 PM   #1
LQ Newbie
Registered: Dec 2005
Location: /dev/urandom
Distribution: Slackware 10.2
Posts: 5

Rep: Reputation: 0
wifi connecting

hey, i have Atheros Pcmcia wifi card, access point EW-7206APB from edimax, i setuped subnet on ap, configured gateway on AP and compiled madwifi drivers on my laptop with wifi card. When i try to connect, i run
ifconfig ath0 essid my_network
ath0 is name of my card, and its in managed mode, then i do this command:
/sbin/dhcpcd -d -t 10 ath0
and ill get IP, but the problem is: i cant connect anywhere or even ping anything, Kwifi is showing iam connected, its showing signal str and speed, but SuperKaramba AERO AiO plugins are showing disconnected, and, as i said, i cant ping anything, what iam doing wrong or which command i misses? Thanks for help

EDIT: Kwifimanager is not showing IP after running dhcpcd

Last edited by Nostur; 09-08-2006 at 01:22 PM.
Old 09-08-2006, 01:55 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,344

Rep: Reputation: 148Reputation: 148
Are you sure you are in the right mode; this is easy to get wrong with atheros based cards. Try running:

# ifconfig ath0 down
# wlanconfig ath0 destroy
# wlanconfig ath0 create wlandev wifi0 wlanmode sta
# ifconfig ath0 essid my_network
# /sbin/dhcpcd -d -t 10 ath0

The "sta" or station mode is the normal mode you should be using.
Old 09-08-2006, 02:05 PM   #3
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
essid is usually configured with iwconfig
Old 09-08-2006, 02:12 PM   #4
LQ Newbie
Registered: Dec 2005
Location: /dev/urandom
Distribution: Slackware 10.2
Posts: 5

Original Poster
Rep: Reputation: 0
thanks, but... when executing ifconfig ath0 essid my_network, it gives me: essid: Host name lookup failure, but iam inserting correct network name, and on AP it shows my notebook as associated client. Oh, superkaramba just show me iam connected, thats great, but i cant get anywhere on net, i thought this can be because of bad settings of AP, but my gateway is setuped good, its, and the data from AP are going thru two swtiches, ie. its in subnet, but still, i cant get anywhere even with ethernet, but this pc iam on is in same subnet with same switch, and its working, i know this is kinda offtopic in this subforum, but can anyone help me ?

Last edited by Nostur; 09-08-2006 at 02:21 PM.


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
Problems connecting with D-Link DWL-122 USB wifi adapter nceterval Linux - Wireless Networking 5 08-14-2006 10:00 PM
Connecting to my wifi hotspot (madwifi driver) dave`2005 Slackware 7 05-14-2006 01:41 PM
Connecting to WiFi fails Ubuntu 3 10-07-2005 02:25 PM
Digikam connecting as root/not connecting as regular user jayhel Slackware 5 09-29-2005 06:57 PM
Ralink WIFI with Asus@Home WIFI wavemachine Linux - Hardware 0 10-20-2004 04:10 PM

All times are GMT -5. The time now is 07:22 AM.

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