Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

internet connection



dan writter writes:
On Thu, Apr 08, 2010 at 02:24:00PM -0400, j. daniel moylan wrote:
>> 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.

tried all this -- results:

  ifdown wlan0
  iwlist wlan0 scan       no results
  iwconfig wlan0 ap any
  iwlist wlan0 scan       no results
  iwconfig wlan0 essid moylan-net
  iwlist wlan0 scan       no results
  ifup wlan0
  iwlist wlan0 scan       all the local ap's
  ifdown wlan0
  iwlist wlan0 scan       no results
  /etc/init.d/networking restart
  iwlist wlan0 scan       all the local ap's

  in all cases:
     iwconfig wlan0    shows 0/0
     ifconfig wlan0    shows wlan0 at 192.168.0.7 after every operation.
     ping 192.168.0.1  shows destination host not reachable
  
don't know what to make of this.

ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-232-2360 (tel)
810-454-1823 (fax)
jdm-LPA1KyJyIuz1P9xLtpHBDw at public.gmane.org
www.moylan.us
[death to html bloat!]






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org