LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to connect wlan0 to static access point (https://www.linuxquestions.org/questions/linux-networking-3/how-to-connect-wlan0-to-static-access-point-4175428904/)

Lieyza 09-25-2012 01:43 AM

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 key:off
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

suicidaleggroll 09-25-2012 08:58 AM

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.

camorri 09-25-2012 09:08 AM

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.

Lieyza 09-25-2012 11:36 AM

how to connect wlan0 to static access point
 
1 Attachment(s)
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 : Attachment 10774

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 :-(

Lieyza 09-25-2012 11:40 AM

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 key:off
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 key:off
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 key:on
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:E9:D0

Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=44/70 Signal level=-66 dBm
Encryption key:off
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 key:off
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?


All times are GMT -5. The time now is 03:36 PM.