LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-25-2012, 01:43 AM   #1
Lieyza
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Rep: Reputation: Disabled
how to connect wlan0 to static access point


Hi,

I want to connect my wireless device which is wlan0 to an static access point. How can i configure my laptop?

I used Linux UBUNTU 10.04 LTS, and my access point (AP) is cisco aironet 1200 series. I configure my AP to be in static mode with it i configure the IP address to be '192.168.13.200' (masquerading mode) and the essid name is 'mimos1'. When i run the commond :

Quote:
sudo iwlist scanning
i got some access point listed including AP (mimos1). Here shows the scanning part :

Quote:
Cell 02 - Address: 00:1D:45:AE:E9:30
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=70/70 Signal level=-25 dBm
Encryption keyff
ESSID:"mimos1"
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
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000002fcdcb1cd
Extra: Last beacon: 4988ms ago
IE: Unknown: 00066D696D6F7331
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030108
It shows that my AP (mimos1) exist. When i manually click at the icon at the network connection to connect the AP (mimos1) it loading for awhile, but suddenly drop it connection to AP (mimos1). It also don't get any ip address.

But, if i connect to other DHCP AP, it connected successfully and got the dhcp ip address as well.
How i can configure my laptop to connect to AP (mimos1) even though it in static mode or in other name, the AP doesnt have internet access on it, just static IP.

Please help me

:-(

Lieyza

Last edited by Lieyza; 09-25-2012 at 03:29 AM.
 
Old 09-25-2012, 08:58 AM   #2
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,007

Rep: Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051Reputation: 1051
If you disabled DHCP on the router, then the laptop will not be able to get an IP from it. That's what DHCP does. Without DHCP, you'll need to assign a static IP for the connection on the computer in order to connect.

Last edited by suicidaleggroll; 09-25-2012 at 08:59 AM.
 
Old 09-25-2012, 09:08 AM   #3
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,851

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
I read through your post, and am a little confused as to what you are trying to accomplish.

Quote:
It shows that my AP (mimos1) exist. When i manually click at the icon at the network connection to connect the AP (mimos1) it loading for awhile, but suddenly drop it connection to AP (mimos1). It also don't get any ip address.
This says to me you want the router to assign an IP address. Is that correct?

Quote:
I configure my AP to be in static mode
Can you explain a little more what you mean by this?

It appears you have encryption turned off, at least for now. So this is an open access point and you can not connect.

Are you using network manager to configure your system?

Can you post the results of 'sudo iwconfig wlan0'.

Can you connect to your router's configuration pages? You may have to do that via a wired cable until you work out the problems with wireless.

As a side note, I ran 10.04 on my netbook for a while. I had a lot of problems with network manager. I eventually uninstalled it, and installed WICD. Problems disappeared for me. If you decide to try WICD, you have to uninstall NM, do not try to run one while the other is installed.
 
Old 09-25-2012, 11:36 AM   #4
Lieyza
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
how to connect wlan0 to static access point

I'm very happy that, there are people try to help me with my problem here. Ok, let me give overall overview of my project.
My task is to develop PMIPv6 test-bed. I used OpenAirInterface PMIPv6 software. Here is the architecture of my PMIPv6 test-bed : PMIPv6_schema_example_1LMA_2MRs.jpg

Right now, let focus to my problem, where it included the Access Point (in figure attach is SSID : MAG1) which i mention the essid named is 'mimos1'. The static IP is 192.168.13.100 and the remote server for this IP is MAG1 which connected to the AP via eth1 with IP 192.168.13.1. The AP is in masquerade mode. AP that i used is Cisco Aironet 1200 Series.

Scenario 1 : I used MN device with Window 7 system and try to connect to the AP (mimos1). It connected as well as it get IPv6 address from this AP which forwarded from MAG1. The IPv6 address of my MN that used window 7 system is 2001:100:6:5000:214:6cff:fe53:180a (as shows in the figure as well). So i can assume that, there is no problem with the AP right?? Am i right?

Scenario 2 : I used MN device with ubuntu 10.04 LTS and try to connect to the AP (mimos1) exactly same with scenario 1. I scan access point available and next post :

After I scan, I can see that there is 'mimos1'. Oh yeah. When I check in this scanning result, i can see 2 cell is detected 'mimos1' in with different channel and address. When I finish scan, I just click my network manager icon and click for 'mimos1' (here, at network manager icon, i see only one 'mimos1' listed). So when i connect, wlan0 will be loading for awhile to try to be connected, but than, it drop the connection.


So, In short, I only have problem connecting my ubuntu laptop with my AP :-(
 
Old 09-25-2012, 11:40 AM   #5
Lieyza
LQ Newbie
 
Registered: Jul 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
This is the output for iwlist scanning

Quote:
utmmimos@utmmimos:~$ sudo iwlist scanning

lo Interface doesn't support scanning.

ip6tnl0 Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1D:45:AE:E9:30

Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=60/70 Signal level=-50 dBm
Encryption keyff
ESSID:"mimos1"
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
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000009a6fddbee
Extra: Last beacon: 2972ms ago

IE: Unknown: 00066D696D6F7331
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030108

Cell 02 - Address: 00:26:5A:25:1F:0E
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=24/70 Signal level=-86 dBm
Encryption keyff
ESSID:"PTC"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000011158a86f11
Extra: Last beacon: 3148ms ago

IE: Unknown: 0003505443
IE: Unknown: 010882848B961224486C
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 32040C183060
IE: Unknown: 2D1AEE1117FF000000010000000000000000000000000C0000000000

Cell 03 - Address: 00:0F:F8:58:C2:40

Channel:3
Frequency:2.422 GHz (Channel 3)
Quality=58/70 Signal level=-52 dBm
Encryption keyn
ESSID:"AiroNet"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Mode:Master
Extra:tsf=0000000d2ae205f8
Extra: Last beacon: 3108ms ago

IE: Unknown: 00074169726F4E6574

Cell 04 - Address: 00:1D:45:AE:E90

Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=44/70 Signal level=-66 dBm
Encryption keyff
ESSID:"mimos2"
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
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000001b10e7da992
Extra: Last beacon: 2860ms ago

IE: Unknown: 00066D696D6F7332

Cell 05 - Address: 00:1C:58:F3:7C:90

Channel:48
Frequency:5.24 GHz (Channel 48)
Quality=37/70 Signal level=-73 dBm
Encryption keyff
ESSID:"mimos1"
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000009a73f1254
Extra: Last beacon: 2324ms ago
plus! both Address (or refer to MAC address) of mimos1 is wrong! 'mimos1' should be 00:1D:45:41:24:2B ! Oh.. how can this happen?

Last edited by Lieyza; 09-25-2012 at 11:47 AM.
 
  


Reply

Tags
static, wirelessnetworking, wirelesstools


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
trouble with connecting to static ip access point squidddy Linux - Networking 1 02-03-2010 07:01 AM
SUSE 10.2 can't connect to access point!!! alderfc7 Linux - Wireless Networking 10 03-03-2007 08:41 AM
cannot connect to access point janASCII Linux - Wireless Networking 4 07-01-2005 01:30 PM
Can no longer connect to wireless access point ebaker Linux - Wireless Networking 2 03-23-2005 09:23 PM
Wireless - can't connect to access point SilverGator Linux - Wireless Networking 5 06-21-2004 07:48 AM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration