Re: Need help configuring my network

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mark Phillips
Date:  
To: plug-discuss
CC: Jared Anderson
New-Topics: Re: Need help configuring my network (PARTIALLY SOLVED)
Subject: Re: Need help configuring my network
Jared,

Here is a transcript of what I did. I booted the machine (it had been off all
night). What is really strange, is that it looked as if the wireless card was
configured properly when I booted up (note it actually got the right mac
address for the ap) but I still could not ping a machine on my network.

My comments are preceded by a '>':

stingray:/home/mark# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:13:46:E3:68:2B
          inet6 addr: fe80::213:46ff:fee3:682b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:1 dropped:0 overruns:0 frame:1
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:200
          RX bytes:780 (780.0 b)  TX bytes:0 (0.0 b)
          Interrupt:169 Memory:e08b1000-e08c1000


eth0      Link encap:Ethernet  HWaddr 00:08:74:CC:3C:17
          inet addr:192.168.25.125  Bcast:192.168.25.255  Mask:255.255.255.0
          inet6 addr: fe80::208:74ff:fecc:3c17/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5248 (5.1 KiB)  TX bytes:398 (398.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:164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11326 (11.0 KiB)  TX bytes:11326 (11.0 KiB)


> eth0 is configured because I forgot that the cable was plugged in,
> so I took it down


stingray:/home/mark# ifdown eth0
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:13 errors:1 dropped:0 overruns:0 frame:1
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:200
          RX bytes:780 (780.0 b)  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 RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5248 (5.1 KiB)  TX bytes:648 (648.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:164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11326 (11.0 KiB)  TX bytes:11326 (11.0 KiB)


> it looks as if ifplugd then brought ath0 up - cool


stingray:/home/mark# iwconfig
lo        no wireless extensions.


ath0      IEEE 802.11g  ESSID:"PMI"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:12:17:0A:57:85
          Bit Rate:36 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=27/94  Signal level=-68 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.


> ath0 is connected to the ap, or this is what I interpret from the output. I

still have not run your suggested command... There is actually a link quality
of 27/94 - is this too low?

stingray:/home/mark# ifup ath0
ifup: interface ath0 already configured
stingray:/home/mark# iwconfig
lo        no wireless extensions.


ath0      IEEE 802.11g  ESSID:"PMI"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:12:17:0A:57:85
          Bit Rate:36 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=29/94  Signal level=-66 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.


> still looking good - I haven't broken anything yet


stingray:/home/mark# ping gandalf
PING gandalf (192.168.25.114) 56(84) bytes of data.
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable

--- gandalf ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3998ms

> I am seeing a lot of these messages when I run dmesg:
> ath0: no IPv6 routers present


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
0.0.0.0         192.168.25.1    0.0.0.0         UG    0      0        0 ath0


> Looks good as well....so let's try your suggestion:


stingray:/home/mark# iwconfig ath0 essid PMI nick stingray channel 6 mode 
master rate auto
stingray:/home/mark# iwconfig
lo        no wireless extensions.


ath0      IEEE 802.11  ESSID:""  Nickname:"stingray"
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:00:00:00:00:00
          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.


> oops - the configuration is now broken; maybe quotes around PMI?


stingray:/home/mark# iwconfig ath0 essid "PMI" nick stingray channel 6 mode 
master rate auto
stingray:/home/mark# iwconfig
lo        no wireless extensions.


ath0      IEEE 802.11b  ESSID:""  Nickname:"stingray"
          Mode:Master  Frequency:2.437 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/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# iwconfig ath0 essid PMI nick stingray channel 6 mode 
master rate auto
stingray:/home/mark# iwconfig
lo        no wireless extensions.


ath0      IEEE 802.11  ESSID:""  Nickname:"stingray"
          Mode:Managed  Frequency:2.442 GHz  Access Point: 00:00:00:00:00:00
          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#

> Well, that didn't work as expected. What does the message
> ath0: no IPv6 routers present
> mean?


Thanks!

Mark

On Tuesday 02 May 2006 05:59 pm, Jared Anderson wrote:
> On Tuesday 02 May 2006 17:08, Mark Phillips wrote:
> > On Tuesday 02 May 2006 05:01 pm, Jared Anderson wrote:
> > > Link Quality=0/94
> > >
> > > Generally, not good enough. :)
> > >
> > > What is the output of the following command?
> > >
> > > iwlist ath0 scan
> >
> > stingray:/home/mark# iwlist ath0 scan
> > ath0      Scan completed :
> >           Cell 01 - Address: 00:12:17:0A:57:85
> >                     ESSID:"PMI"
> >                     Mode:Master
> >                     Frequency:2.437 GHz (Channel 6)
> >                     Quality=24/94  Signal level=-71 dBm  Noise level=-95
> > dBm Encryption key:off
> >                     Bit Rate:1 Mb/s
> >                     Bit Rate:2 Mb/s
> >                     Bit Rate:5 Mb/s
> >                     Bit Rate:6 Mb/s
> >                     Bit Rate:9 Mb/s
> >                     Bit Rate:11 Mb/s
> >                     Bit Rate:12 Mb/s
> >                     Bit Rate:18 Mb/s
> >                     Bit Rate:24 Mb/s
> >                     Bit Rate:36 Mb/s
> >                     Bit Rate:48 Mb/s
> >                     Bit Rate:54 Mb/s
> >                     Extra:bcn_int=100

> >
>
> try:
>
> iwconfig ath0 essid PMI nick stingray channel 6 mode master rate auto
>
> and then post results of iwconfig.
>
> Regards,
> Jared
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


--
Mark Phillips
Phillips Marketing, Inc

602 524-0376
480 945-9197 fax
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss