Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

wlan connection using iwconfig

 
   Soft32 Home -> Linux -> General Discussions RSS
Next:  [PATCH 0/4] gpu/drm: fix memory leak when radeon_..  
Author Message
Tim Frik

External


Since: Mar 18, 2009
Posts: 2



(Msg. 1) Posted: Fri Jul 31, 2009 5:20 am
Post subject: wlan connection using iwconfig
Archived from groups: alt>linux>suse (more info?)

Hi,

I want to connect to an wireless access point using iwconfig. The
connection seems to work but ifconfig then indicates that no IP
was assigned to the wireless card (wlan0).

These are the steps I did:

"iwlist wlan0 scan":
wlan0 Scan completed :
Cell 01 - Address: 00:23:04:XXX
ESSID:"BLA"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=73/100 Signal level=-61 dBm Noise level=-88
dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000413bf3c5e3

"iwconfig wlan0 essid BLA"

"iwconfig":
wlan0 IEEE 802.11g ESSID:"BLA"
Mode:Managed Frequency:2.412 GHz Access Point: 00:23:04:XXX
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality=51/100 Signal level=-78 dBm Noise level=-88 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


"ifconfig wlan0":
wlan0 Link encap:Ethernet HWaddr 00:1B:77:XXX
inet6 addr: fe80::21b:77ff:fe04:32bb/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:416 (416.0 b)

So, it can be seen that wlan0 is connected to the non-encrypted access
point "BLA" but it was not assigned any IP address. On the other hand,
when I connect via kinternet with this access point, wlan0 is also
assigned an IP address, thus the DHCP server of BLA seems to be OK.
It seems that using kinternet the wlan0 connection to BLA is carried
out in a different way.

Any ideas what I'm missing with iwconfig?

Regards,
Tim
Back to top
Login to vote
Holger Petersen

External


Since: Oct 30, 2003
Posts: 353



(Msg. 2) Posted: Tue Aug 11, 2009 3:20 pm
Post subject: Re: wlan connection using iwconfig [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tim Frik <plfriko.RemoveThis@yahoo.de> writes:

>Hi,

Ho!


>Any ideas what I'm missing with iwconfig?

perhaps either:

ifconfig wlan0 <some_ip_adress> netmask <some_netmask> broadcast <some_broadcast>

with a valid combination of IP, Mask & Broadcast; followed by some
corresponding "route add default gw <ip_of_gateway>" AND adjusting
/etc/resolv.conf.


OR:

dhclient wlan0

which should do all that work!

Just guessing, Holger
Back to top
Login to vote
Display posts from previous:   
Related Topics:
automatic WLAN Connection after booting - Hi, I have a Notebook Amilo M6453G with an Intel Pro Wireless 2200 BG adapter. Installed is OpenSuse 10.2 withe Kernel...

SuSE10.0 und iwconfig - Hi, ich habe folgendes Problem: Auf meinem Notobook Toshiba m30-841 mit Kernel 2.6.13-15.7-default installiert. Bin..

wlan - Ich habe zuhause ein WLAN mit WPA und an der Uni ein unverschlüsseltes Netzwerk. Wie bekomme ich beides unter einen Hut...

WLAN - SUSE Linux 9.1 Ich hbe einen Router (Siemens Gigaset 1054) und eine WLAN Karte "54Mbps PCI Adapter" und gehe ...

WLAN - Guten Abend! Beim Installieren von Suse 10.2 wurde die WLAN Karte scheinbar erkannt, HP Pro/Wireless 2200BG. Dies..

Wlan - Hi2all... bin neu hier und hätte eine frage: Ich habe es geschafft,das linux meine wlankarte erkennt,aber ich bekomm...
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]