Need help configuring my network

Jared Anderson PluggedIn at thegoldenedge.com
Tue May 2 17:01:07 MST 2006


Link Quality=0/94 

Generally, not good enough. :)

What is the output of the following command?

iwlist ath0 scan

On Tuesday 02 May 2006 14:01, Mark Phillips wrote:
> I am pulling my hair out trying to set up a ??simple?? wireless network.
> Everything seems to be working, but I cannot ping any other computer on the
> network.
>
> The setup
> * Dell Optiplex 260 (P4 2.49 GHz, 512 MB RAM, 140+40 MB drives) hostname
> stingray
>
> * Windows XP is installed on the 40 GB drive and I just did a net install
> of Debian (2.6.8-2-386) on the 140 GB drive. Grub handles the dual boot.
>
> * Network card = D-Link DWL-G520 , HW rev B3, Firmware 4.20
>
> * I am using madwifi 1.7-3 drivers compiled from source
>
> * ifplugd 0.26 to detect which network card is active - wireless or
> integrated ethernet port
>
> * wpasupplicant 0.3.8-1 for security later
>
> Some sample command uutput:
>
> stingray:/home/mark# iwconfig
> lo        no wireless extensions.
>
> ath0      IEEE 802.11  ESSID:"PMI"
>           Mode:Managed  Frequency:2.427 GHz  Access Point:
> 00:12:17:0A:57:85 Bit Rate:1 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
>           Retry:off   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> eth0      no wireless extensions.
>
> sit0      no wireless extensions.
> -------------------------------------------------------------------
> stingray:/home/mark# ifconfig
> ath0      Link encap:Ethernet  HWaddr 00:13:46:E3:68:2B
>           inet addr:192.168.25.125  Bcast:192.168.25.255 
> Mask:255.255.255.0 inet6 addr: fe80::213:46ff:fee3:682b/64 Scope:Link
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:1172 errors:7435 dropped:0 overruns:0 frame:7435
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:200
>           RX bytes:73606 (71.8 KiB)  TX bytes:0 (0.0 b)
>           Interrupt:169 Memory:e08b1000-e08c1000
>
> eth0      Link encap:Ethernet  HWaddr 00:08:74:CC:3C:17
>           inet6 addr: fe80::208:74ff:fecc:3c17/64 Scope:Link
>           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
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Base address:0xdcc0 Memory:ff6c0000-ff6e0000
>
> 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:1653 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1653 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:144614 (141.2 KiB)  TX bytes:144614 (141.2 KiB)
>
> --------------------------------------------------------------------------
> stingray:/home/mark# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface 192.168.25.0    0.0.0.0         255.255.255.0   U     0      0       
> 0 ath0 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0      
>  0 lo 0.0.0.0         192.168.25.1    0.0.0.0         UG    0      0       
> 0 ath0 stingray:/home/mark#
> ---------------------------------------------------------------------------
>---------
>
> /etc/network/interfaces
>
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> #auto eth0
> #iface eth0 inet dhcp
> allow-hotplug eth0
> iface eth0 inet static
> 	address 192.168.25.125
>         netmask 255.255.255.0
> 	broadcast 192.168.25.255
> 	gateway 192.168.25.1
>
> # The wireless network interface
> allow-hotplug ath0
> iface ath0 inet static
> 	wpa-driver madwifi
> 	wpa-ssid PMI
> 	address 192.168.25.125
> 	netmask 255.255.255.0
> 	broadcast 192.168.25.255
> 	gateway 192.168.25.1
> ---------------------------------------------------------------------
>
> If I boot into XP, the wireless card connects and works, so I believe the
> hardware is OK.
>
> What am I missing or doing wrong? When I try to ping another computer on my
> network I get "host unreachable".


More information about the PLUG-discuss mailing list