wifi setting
I am installing a D-link DWL-G122 USB adapter on 7.01. I can see a number of neighbouring AP from the network applet but I just can't log in to any of them including our own AP... regardless of what I had done, including adding wireless-mode Managed, wireless-channel 9....etc in the /etc/network/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Thanks for your question, before we try to resolve your problem I want to know if you are using NM applet and if you can post your /etc/network/
Thanks
Revision history for this message
|
#2 |
Hi Massimo,
Thank you very much for your quick response. Here is the setting and the
output of iwconfig and ifconfig command.
sum@Nighthawk:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:F1:D3:83:EF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:300 (300.0 b) TX bytes:300 (300.0 b)
wlan0 Link encap:Ethernet HWaddr 00:19:5B:78:00:85
inet6 addr: fe80::219:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:1956 (1.9 KiB)
wlan0:ava Link encap:Ethernet HWaddr 00:19:5B:78:00:85
inet addr:169.254.4.209 Bcast:169.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
wmaster0 Link encap:UNSPEC HWaddr
00-19-5B-
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sum@Nighthawk:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 IEEE 802.11g Frequency:2.452 GHz
RTS thr:off Fragment thr=2346 B
wlan0 IEEE 802.11g ESSID:"BlackHawk"
RTS thr:off Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sum@Nighthawk:~$ sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning : Operation not supported
wlan0 No scan results
sum@Nighthawk:~$ cat /etc/network/
auto lo
iface lo inet loopback
iface wlan0 inet dhcp
wireless-essid BlackHawk
wireless-key E67DC10E604A62F
wireless-channel 9
iwconfig wlan0 ap 00:18:39:3B:A9:00
auto wlan0
iface wmaster0 inet dhcp
wireless-essid BlackHawk
wireless-key E67DC10E604A62F
auto wmaster0
Best regards
Sum
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Massimo Forti
Sent: Monday, May 07, 2007 6:25 AM
To: <email address hidden>
Subject: Re: [Question #6172]: wifi setting
Your question #6172 on Ubuntu changed:
https:/
Status: Open => Answered
Massimo Forti proposed the following answer:
Thanks for your question, before we try to resolve your problem I want
to know if you are using NM applet and if you can post your
/etc/network/
Thanks
_______
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
Revision history for this message
|
#3 |
iface wlan0 inet dhcp
wireless-essid BlackHawk
wireless-key E67DC10E604A62F
wireless-channel 9
iwconfig wlan0 ap 00:18:39:3B:A9:00
Your /etc/network/
#/etc/network/
auto lo
iface lo inet loopback
#iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
#auto wlan0
#iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#auto wmaster0
After you must enable roaming mode in the Ubuntu network tool. Restart and you are be able to select all SSID you find.
Thanks
Revision history for this message
|
#4 |
Hi Massimo,
I tried your suggestion and here is what I got :
sum@Nighthawk:
auto lo
iface lo inet loopback
iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
auto wlan0
iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
auto wmaster0
sum@Nighthawk:
eth0 Link encap:Ethernet HWaddr 00:0C:F1:D3:83:EF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)
wlan0 Link encap:Ethernet HWaddr 00:19:5B:78:00:85
inet6 addr: fe80::219:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:9352 (9.1 KiB)
wmaster0 Link encap:UNSPEC HWaddr
00-19-5B-
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
when connecting ----
sum@Nighthawk:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 IEEE 802.11g Frequency:2.452 GHz
RTS thr:off Fragment thr=2346 B
wlan0 IEEE 802.11g ESSID:"BlackHawk"
RTS thr:off Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
stop and fail connection :-
sum@Nighthawk:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 IEEE 802.11g Frequency:2.452 GHz
RTS thr:off Fragment thr=2346 B
wlan0 IEEE 802.11g ESSID:""
RTS thr:off Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
It seems that the system is trying to connect to the SSID I selected (oh
yes, your suggestion did work and I can see a number of SSID including my
own), but fail to get connection or IP address. Will that be a WEP key
problem as the system never prompt me for the WEP key.
Best regards
Sum
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Massimo Forti
Sent: Thursday, May 10, 2007 9:51 PM
To: <email address hidden>
Subject: RE: [Question #6172]: wifi setting
Your question #6172 on Ubuntu changed:
https:/
Status: Open => Answered
Massimo Forti proposed the following answer:
iface wlan0 inet dhcp
wireless-essid BlackHawk
wireless-key E67DC10E604A62F
wireless-channel 9
iwconfig wlan0 ap 00:18:39:3B:A9:00
Your /etc/network/
BlackHawk). If you want be able to change the SSID using NM you must
change this in intefaces file:
#/etc/network/
auto lo
iface lo inet loopback
#iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
#auto wlan0
#iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#auto wmaster0
After you must enable roaming mode in the Ubuntu network tool. Restart
and you are be able to select all SSID you find.
Thanks
_______
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
Revision history for this message
|
#5 |
Thanks, but the interfaces file is not correct: this is your:
auto lo
iface lo inet loopback
iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
auto wlan0
iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
auto wmaster0
This is which I posted:
#/etc/network/
auto lo
iface lo inet loopback
#iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
#auto wlan0
#iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#auto wmaster0
All line have the # comment before except "lo", try this. Thanks
Revision history for this message
|
#6 |
Hi Massimo,
I tried what you suggested and no luck. I can see all the neighbouring SSID
including mine, but can't log into any of them. I had even tried removing
the WEP key but still fail.
Any more suggestion ?
Best regards
Sum
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Massimo Forti
Sent: Friday, May 11, 2007 4:12 PM
To: <email address hidden>
Subject: RE: [Question #6172]: wifi setting
Your question #6172 on Ubuntu changed:
https:/
Status: Open => Answered
Massimo Forti proposed the following answer:
Thanks, but the interfaces file is not correct: this is your:
auto lo
iface lo inet loopback
iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
auto wlan0
iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
auto wmaster0
This is which I posted:
#/etc/network/
auto lo
iface lo inet loopback
#iface wlan0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#wireless-channel 9
#iwconfig wlan0 ap 00:18:39:3B:A9:00
#auto wlan0
#iface wmaster0 inet dhcp
#wireless-essid BlackHawk
#wireless-key E67DC10E604A62F
#auto wmaster0
All line have the # comment before except "lo", try this. Thanks
_______
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
Revision history for this message
|
#7 |
Thanks, I want to know if you have enabled roaming mode in the network tool ??? Thanks
Revision history for this message
|
#8 |
Hi Massimo,
Yes, I did. I did check the box of enabling roaming mode.
Best regards
Sum
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Massimo Forti
Sent: Saturday, May 12, 2007 3:45 AM
To: <email address hidden>
Subject: RE: [Question #6172]: wifi setting
Your question #6172 on Ubuntu changed:
https:/
Status: Open => Answered
Massimo Forti proposed the following answer:
Thanks, I want to know if you have enabled roaming mode in the network
tool ??? Thanks
_______
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
Revision history for this message
|
#9 |
Thanks, I want to know if you have enabled your mac address in your AD. Thanks
Can you help with this problem?
Provide an answer of your own, or ask pingsum for more information if necessary.