From: Lauri Lehtinen on
Hi,

I am having problems to get my network/internet connection to work as it
should. I have D-link DWL-AG520 wireless card and I'm using it to
connect to my Apple AirPort Express Base Station which is connected to
my internet connection. I have iBook that is connected to the same
AirPort and it success to connect to internet just fine.

The problem is that I can't get my desktop with debian to connect to
internet. All that I can think of is correct. I get following from
ifconfig ath0:
---
ath0 Link encap:Ethernet HWaddr 00:0D:88:55:D1:75
inet addr:130.234.193.60 Bcast:130.234.255.255
Mask:255.255.255.0
inet6 addr: fe80::20d:88ff:fe55:d175/64 Scope:Link
UP BROADCAST ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:13709 errors:178 dropped:0 overruns:0 frame:178
TX packets:101 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:1483252 (1.4 MiB) TX bytes:6144 (6.0 KiB)
Interrupt:18 Memory:e89bf000-e89cf000
---

and the following from iwconfig ath0:
---
ath0 IEEE 802.11g ESSID:"Apple Network 0ac786"
Mode:Managed Frequency:2.412 GHz Access Point: 00:11:24:0A:C5:87
Bit Rate:36 Mb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=47/94 Signal level=-48 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:1 Missed beacon:0
---

and those seems to me just correct. But with these when I try to ping -I
ath0 130.234.193.58 (AirPort's IP) I get:
---
ping: sendmsg: Operation not permitted
---

I don't know what causes this. And so I can't connect to internet and/or
ping the router. As you see I'm not using any encryption. The ESSID is
correct and so is the Access Point. KWiFiManager is showing ULTIMATE
signal strenght and all seems to be ok, but still I can't connect to
internet. I have set the IPs and such manually to /etc/network/interfaces.

When I set AirPort to give IPs to its clients and set dhcp on from the
/etc/network/interfaces and trying to set ath0 up using ifup ath0 I get
following errors:
---
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
Starting the Firestarter firewall: done.
sit0: unknown hardware address type 776
Listening on LPF/ath0/00:0d:88:55:d1:75
Sending on LPF/ath0/00:0d:88:55:d1:75
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database.

Starting the Firestarter firewall: done.
Exiting.

Failed to bring up ath0.
---

And again my iBook connects just fine. What should I check or do to fix
my connection to work? What is wrong with my setup or what seems to be
suspicious? What other info do you need? Any help is appreciated!

I have madwifi drivers for the DWL-AG520 and they modprobe(modprobe
ath_pci) without any errors and I can see the needed modules in lsmod.

Needing help!
Lauri Lehtinen


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org