LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-07-2008, 06:24 AM   #1
rodrigofariat
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Configuring wlan + DHCP


Hello,

My Wireless D-Link Air Plus DWL G520 is up.
Using network tool in Gnome, i made a follow configuration :

#/etc/network/interfaces
iface wlan0 inet dhcp
wireless-essid INFOR
wireless-key on
wireless-rate auto

I'm using Debian testing, the wlan is using the acx module.

With command iwconfig show :

debian:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b+/g+ ESSID:"QUALI" Nickname:"acx v0.3.36"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power=15 dBm Sensitivity=1/3
Retry min limit:7 RTS thrff
Encryption key:7AC1-FEDA-602B-68A6-A8D7-BFDD-0000-0000-0000-0000-0000-0000-56F5-1600-0C Security modepen
Power Managementff
Link Quality=46/100 Signal level=25/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.


Of course it's configured, but when run /etc/init.d/networking come this errors:

debian:~# /etc/init.d/networking restart
Reconfiguring network interfaces...There is already a pid file /var/run/dhclient.wlan0.pid with pid 4320
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:11:95:15:d6:e3
Sending on LPF/wlan0/00:11:95:15:d6:e3
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.0.101 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
wlanctl-ng: Operation not supported
FATAL: Module p80211 not found.
Failed to load p80211.ko.
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:11:95:15:d6:e3
Sending on LPF/wlan0/00:11:95:15:d6:e3
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Starting portmap daemon...Already running..
Starting NFS common utilities: statd.
done.

Anybody can to help me ?

Best regards,

Faria
 
Old 02-07-2008, 10:33 AM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
I'd run lsmod and lspci to see what modules are associated with your wireless card. The message you're getting mentions linux-wlan-ng which is a wireless driver, but I'm not sure it is associated with the axc module you mentioned. It's possible that you have dueling drivers and need to remove or blacklist the one you don't want.
 
Old 02-08-2008, 05:57 AM   #3
rodrigofariat
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hello Pentnode,

Really there was a driver dueling, acx and linux-wlan-ng.
So I removed linux-wlan-ng

Now I can to get up my wireless with a IP Address, but it's fail with communication with network, setting dhcp fail too.

debian:~# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:15:E9:33:400
ESSID:"Quali"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=46/100 Signal level=24/100 Noise level=0/100
Encryption keyn
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
Cell 02 - Address: 08:10:73:0A:56:46
ESSID:"Venture"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=34/100 Signal level=7/100 Noise level=0/100
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 M

Now the logs in dmesg:

starting radio scan
acx_i_timer: adev->status=1 (SCANNING)
continuing scan (1 sec)
scan table: SSID="Quali" CH=6 SIR=17 SNR=0
peer_cap 0x0431, needed_cap 0x0001
ESSID doesn't match! ('Quali' station, 'QUALI' config)
scan table: SSID="Venture" CH=6 SIR=7 SNR=0
peer_cap 0x0411, needed_cap 0x0001
ESSID doesn't match! ('Venture' station, 'QUALI' config)
no matching station found in range yet
acx_set_status(1):SCANNING

See my /etc/netwok/interfaces

iface wlan0 inet static
address 192.168.0.12
netmask 255.255.255.0
gateway 192.168.0.254
wireless-essid QUALI
wireless-key QUALI

It was created about gnome-network tool.Faria
Where is the problem ?

Best regards,

Faria
 
Old 02-08-2008, 05:59 AM   #4
rodrigofariat
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Troubles with module acx

Hello Pentnode,

Really there was a driver dueling, acx and linux-wlan-ng.
So I removed linux-wlan-ng

Now I can to get up my wireless with a IP Address, but it's fail with communication with network, setting dhcp fail too.

debian:~# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:15:E9:33:400
ESSID:"Quali"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=46/100 Signal level=24/100 Noise level=0/100
Encryption keyn
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
Cell 02 - Address: 08:10:73:0A:56:46
ESSID:"Venture"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=34/100 Signal level=7/100 Noise level=0/100
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 M

Now the logs in dmesg:

starting radio scan
acx_i_timer: adev->status=1 (SCANNING)
continuing scan (1 sec)
scan table: SSID="Quali" CH=6 SIR=17 SNR=0
peer_cap 0x0431, needed_cap 0x0001
ESSID doesn't match! ('Quali' station, 'QUALI' config)
scan table: SSID="Venture" CH=6 SIR=7 SNR=0
peer_cap 0x0411, needed_cap 0x0001
ESSID doesn't match! ('Venture' station, 'QUALI' config)
no matching station found in range yet
acx_set_status(1):SCANNING

See my /etc/netwok/interfaces

iface wlan0 inet static
address 192.168.0.12
netmask 255.255.255.0
gateway 192.168.0.254
wireless-essid QUALI
wireless-key QUALI

It was created about gnome-network tool.Faria
Where is the problem ?

Best regards,

Faria
 
Old 02-08-2008, 10:47 AM   #5
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Take a look at /etc/network/interfaces and see what is listed for wlan0. You may need to edit this with the correct essid and security settings.

If possible, turn off router security entirely until you can get connected reliably.

Are you getting this IP address via DHCP or setting it manually? Generally it's simpler to use DHCP and let the router do the work, at least initially.

Also, I assume you're sure this is the correct driver for this wireless NIC?
 
  


Reply



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
Configuring WLAN card in Mandriva 2006 julian.osorio Linux - Wireless Networking 3 04-20-2006 01:28 AM
help with configuring my WLAN noamsml Linux - Wireless Networking 2 10-19-2004 03:48 AM
Configuring WLAN for WEP? bene_17 Linux - Wireless Networking 3 05-05-2004 10:54 AM
Help with configuring wlan-ng hobbesmaster Linux - Wireless Networking 25 10-27-2003 06:10 PM
Need help configuring the linux-wlan.org driver. sabaka Linux - Wireless Networking 3 10-01-2003 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration