Cannot Connect to MY Network

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Cannot Connect to MY Network

Postby stingray on Wed May 02, 2012 9:00 am

I have a wireless network in my house that I cannot easily connect to. The computer sees the network and tries to connect but fails. Sometimes it would connect within 5 minutes, sometimes it took hours. But I was always able to connect eventually and once connected it stayed connected. I was using Xubuntu but after upgrading to 12.04 I couldn't connect at all. I was already thinking about switching distros so this was the final straw. I was able do connect with the Install DVD so I installed. However, I haven't been able to connect since installing. I can connect to other (open) networks around me and other computers have no problem connecting to my network.

This is a clean 64 bit LMDE (201204) installation. I still have a Ubuntu 10.10 LiveCD and the wireless works perfectly.

My wireless card is an Encore ENLWI-N which has the Ralink RT2860 chipset. The correct driver seems to be rt2800pci. I checked when connected and this is the driver used on the various distros when I was successfully connected. I'm so annoyed I'm considering just buying a new wireless card but I'm sure there's a way to fix this.

Here is the mintwifi output. I'm currently using a USB wireless device to connect which shows up as wlan1.
Code: Select all
* I. scanning WIFI PCI devices...
  -- Ralink corp. RT2800 802.11n PCI
      ==> PCI ID = 1814:0601
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:"My Network" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: redacted
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-128 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:58   Missed beacon:0

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
-------------------------
* IV. querying ifconfig...
eth1      Link encap:Ethernet  HWaddr redacted
          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)
          Interrupt:41 Base address:0xa000

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:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13200 (12.8 KiB)  TX bytes:13200 (12.8 KiB)

wlan0     Link encap:Ethernet  HWaddr redacted
          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)

wlan1     Link encap:Ethernet  HWaddr redacted 
          inet addr:192.168.2.106  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:43ff:fea5:7141/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3075 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2020 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4163050 (3.9 MiB)  TX bytes:264717 (258.5 KiB)

-------------------------
* V. querying DHCP...
Reloading /etc/samba/smb.conf: smbd only.
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:      24.196.64.53
Address:   24.196.64.53#53

Non-authoritative answer:
Name:   google.com
Address: 74.125.225.73
Name:   google.com
Address: 74.125.225.78
Name:   google.com
Address: 74.125.225.66
Name:   google.com
Address: 74.125.225.67
Name:   google.com
Address: 74.125.225.65
Name:   google.com
Address: 74.125.225.70
Name:   google.com
Address: 74.125.225.71
Name:   google.com
Address: 74.125.225.69
Name:   google.com
Address: 74.125.225.72
Name:   google.com
Address: 74.125.225.64
Name:   google.com
Address: 74.125.225.68


Help.
stingray
Level 1
Level 1
 
Posts: 11
Joined: Thu Oct 28, 2010 11:54 am

Linux Mint is funded by ads and donations.
 

Re: Cannot Connect to MY Network

Postby ens on Tue May 08, 2012 10:47 am

i had similar problem with rt61pci card, connection ok but freeze after a while.
this is what i did and solved problem once for all.

1- disabled network-manager
Code: Select all
sudo /etc/init.d/network-manager stop


2-created /etc/resolv.conf
Code: Select all
sudo nano /etc/resolv.conf

and added:
Code: Select all
nameserver 192.168.1.1

3- edited /etc/network/interfaces
Code: Select all
sudo nano /etc/network/interfaces


(this is for wpa/wpa2 with static ip)
Code: Select all
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp
#allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
      address 192.168.1.36
      netmask 255.255.255.0
      gateway 192.168.1.1
      wpa-ssid nameofwifinetwork
      wpa-psk hereismypassword


4-Revoking read-permission from 'others'
Code: Select all
sudo chmod o=-r /etc/network/interfaces


5-restart networking

that's all.
this worked on both 2012 lmde's version, clean install.
if it doesn't work try dhcp instead static ip then change it again after upgrade.
i used sysv-rc-conf for permanent disable network-manager.
hope it helps.
ens
Level 1
Level 1
 
Posts: 3
Joined: Mon Nov 28, 2011 2:48 pm


Return to Wireless

Who is online

Users browsing this forum: No registered users and 4 guests