internet connection

Dan Ritter dsr-mzpnVDyJpH4k7aNtvndDlA at public.gmane.org
Thu Apr 8 15:18:46 EDT 2010


On Thu, Apr 08, 2010 at 02:24:00PM -0400, j. daniel moylan wrote:
> thank you all for your many suggestions.  i read all the
> suggested links to no avail.
> 
> to start all over again -- still running ubuntu 9.10 -- i
> just wanted to get the basic command-line stuff to work
> again.  i deleted entries from the network-manager gui to
> keep it from connecting me, and put the following in
> /etc/network/interfaces:
> 
> # interfaces.mir
> 
>   auto lo
>   iface lo inet loopback
> 
>   auto wlan0
>   iface wlan0 inet static
>   wireless-essid moylan-net
>   address   192.168.0.7
>   gateway   192.168.0.1
>   network   192.168.0.0
>   netmask   255.255.255.0
>   broadcast 192.168.0.255
> 
> where moylan-net requires only a listed mac address.
> running /etc/init.d/networking restart executed without
> error messages.  ifconfig shows wlan0 up at the right
> address, but -- the connection isn't there -- pinging
> 192.168.0.1 shows no-route-to-host.  looking in
> /var/log/mseeages i see:
> 
> [  378.956709] wlan0: authenticated
> [  378.956722] wlan0: associate with AP 00:09:5b:23:8a:26
> [  378.958911] wlan0: RX AssocResp from 00:09:5b:23:8a:26
>                       (capab=0x1 status=0 aid=1)
> [  378.958923] wlan0: associated
> [  378.959964] wlan0: disassociating by local choice
>                       (reason=3)
> 
> the router's mac address shows correctly, but why is wlan0
> getting "disassociated" and what the devil is "reason=3"?

try this:

  iwconfig wlan0

shows you signal strength. If it's 0/0, you're not connecting.

So try this:

  iwlist wlan0 scan

to show you a list of APs to connect to.

Maybe that doesn't work. So do this:

  iwconfig wlan0 ap any
  iwconfig wlan0 essid moylan-net
  
and scan again, and see if you get a decent signal strength.

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.





More information about the Discuss mailing list