Wireless connection


Forum: Networking
Topic: Wireless connection
started by: beep_gr

Posted by beep_gr on May 15 2007,20:33
Hallo...
I'm trying to connect my dsl via wireless so I can use it as router.

I like dsl because it is very small and it is very good distro...

In my case, I have 4 Atheros cards AR5212 802.11abg connected on my pci.
I took a look at some forums posted at:
< http://damnsmalllinux.org/cgi-bin....ireless >

and

< http://damnsmalllinux.org/cgi-bin....85;st=0 >

but I couln't make it work.


At iwconfig I have these results:

lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""  
         Mode:Managed  Channel:0  Access Point: 00:00:00:00:00:00  
         Bit Rate:0kb/s   Tx-Power:50 dBm   Sensitivity=0/3  
         Retry:off   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:0/94  Signal level:-95 dBm  Noise level:-95 dBm
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wifi1     no wireless extensions.

ath1      IEEE 802.11g  ESSID:"awmn-9297-3433"  
         Mode:Managed  Frequency:5.3GHz  Access Point: 00:00:00:00:00:00  
         Bit Rate:0kb/s   Tx-Power:14 dBm   Sensitivity=0/3  
         Retry:off   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:0/94  Signal level:-95 dBm  Noise level:-95 dBm
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wifi2     no wireless extensions.

ath2      IEEE 802.11b  ESSID:""  
         Mode:Managed  Channel:0  Access Point: 00:00:00:00:00:00  
         Bit Rate:0kb/s   Tx-Power:50 dBm   Sensitivity=0/3  
         Retry:off   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:0/94  Signal level:-95 dBm  Noise level:-95 dBm
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wifi3     no wireless extensions.

ath3      IEEE 802.11b  ESSID:""  
         Mode:Managed  Channel:0  Access Point: 00:00:00:00:00:00  
         Bit Rate:0kb/s   Tx-Power:50 dBm   Sensitivity=0/3  
         Retry:off   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:0/94  Signal level:-95 dBm  Noise level:-95 dBm
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0

So everything looks fine. The antenna where I want to use for my first steps is ath1. It's the card where I'll connect to the wireless network. The ESSID is correct but I have no access point...
On command line I text wlcardconfig, I configure my ath1 but nothing happens...

Can you give me instructions step by step how to configure my network cards and how to make it work every time I reboot my system...

By the way... What it the command to scan for access points?

Thanks a lot..

Posted by torp on May 16 2007,00:31
i just use the following commands,

ifconfig ath0 up
iwconfig ath0 "essid"
pump -i atho

after that i am good to go. place the commands in your bootlocal.sh file.

torp

Posted by torp on May 16 2007,00:33
to scan just use the following command;

iwlist ath0 scan


torp

Posted by beep_gr on May 16 2007,16:56
Quote (torp @ May 15 2007,20:31)
i just use the following commands,

ifconfig ath0 up
iwconfig ath0 "essid"
pump -i atho

after that i am good to go. place the commands in your bootlocal.sh file.

torp

Nothing happened...

I set "ifconfig ath1 up"
ath1 is up with no ip, netmask e.t.c.

When I text "iwconfig ath1 essid awmn-9297-3433"
looks that it is ok but when I text "pump -i ath1"
it says 'operation failed"

Any idea???

Thanks...

Posted by torp on May 17 2007,01:49
i would google the "pump" command, see what you can do with it, or how to troubleshoot it. were you able to scan?

torp

Posted by beep_gr on May 18 2007,19:00
Quote (torp @ May 16 2007,21:49)
i would google the "pump" command, see what you can do with it, or how to troubleshoot it. were you able to scan?

torp

Well, after the pump command, my antenna ath1 from ifconfig is down...
Posted by beep_gr on May 28 2007,18:13
Quote (torp @ May 16 2007,21:49)
i would google the "pump" command, see what you can do with it, or how to troubleshoot it. were you able to scan?

torp

Well, after a long time I realized that I have to run the file 'madwifi-ng-2.4.26.uci' Do I have to run the 'madwifi.dsl' ? I ask you because When I run 'sudo sh /opt/madwifi-ng-2.4.26/madwifi_setup.sh' I receive the following error:

insmod: a module named wlan already exists
insmod: a module named wlan_acl already exists
insmod: a module named wlan_ccmp already exists
insmod: a module named wlan_scan_ap already exists
insmod: a module named wlan_scan_sta already exists
insmod: a module named wlan_tkip already exists
insmod: a module named wlan_wep already exists
insmod: a module named wlan_xauth already exists
insmod: a module named ath_hal already exists
insmod: a module named ath_rate_sample already exists
insmod: a module named ath_pci already exists
wlanconfig: ioctl: Invalid argument

On ifconfig command I have no ath* interface up...

Any help?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.