Problem connecting to network

Problem connecting to network

Postby vegaredo » Wed Dec 05, 2012 7:59 pm

Hi.

When using the network tool integrated with zorin, i have big problems connecting to wireless networks that have security.
It just connects for a mili second then it says network disconnected. wireless networks without security passwords i can connect just fine.

What maybe be the problem?
User avatar
vegaredo
 
Posts: 8
Joined: Wed Dec 05, 2012 7:50 pm

Re: Problem connecting to network

Postby vegaredo » Wed Dec 05, 2012 8:10 pm

swarfendor437 wrote:Hello vegaredo, and welcome to Zorin! Clearly, if you don't know the password to a password protected wireless network then you should not be attempting to connect to them! :D



Haha, funny. The problem is that it does not prompt for network password. Something i think is strange? :|
User avatar
vegaredo
 
Posts: 8
Joined: Wed Dec 05, 2012 7:50 pm

Re: Problem connecting to network

Postby madvinegar » Thu Dec 06, 2012 8:34 am

Also please post the results of the following commands just to see what your wireless card and driver is.
Code: Select all
lspci -nn
lsusb
sudo lshw -c network
rfkill list all
Zorin 9 - Ultimate Edition 64bit
Intel Core2 Duo CPU T5550 1.83GHz ‖ RAM 3008 MiB ‖ Acer Aspire 5920G
Mobility Radeon HD 3470 [1002:95c4] {radeon}
Intel PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
Blog: https://madvinegar.wordpress.com
User avatar
madvinegar
 
Posts: 2541
Joined: Wed Oct 19, 2011 12:18 pm

Re: Problem connecting to network

Postby vegaredo » Thu Dec 06, 2012 4:33 pm

Ok.

If we make the problem a little simpler. I try to connect to a network without any security. Then it connects and disconnects every 20-30 seconds. Really ennoying. The router is 1.m from me and i have ralink wireless adapter.
User avatar
vegaredo
 
Posts: 8
Joined: Wed Dec 05, 2012 7:50 pm

Re: Problem connecting to network

Postby vegaredo » Fri Dec 07, 2012 10:33 am

madvinegar wrote:Also please post the results of the following commands just to see what your wireless card and driver is.
Code: Select all
lspci -nn
lsusb
sudo lshw -c network
rfkill list all


ekspro@CheatC-5:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0106] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4)
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b4)
00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
23:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392] (rev 30)
23:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391] (rev 30)
23:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2393] (rev 30)
24:00.0 Network controller [0280]: Ralink corp. Device [1814:3592]
25:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
26:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04)
ekspro@CheatC-5:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 04f2:b230 Chicony Electronics Co., Ltd Integrated HP HD Webcam
root@CheatC-5:/home/ekspro# sudo lshw -c network
*-network
description: Wireless interface
product: Ralink corp.
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:24:00.0
logical name: wlan0
version: 00
serial: 68:a3:c4:bb:e3:a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=3.2.0-33-generic-pae firmware=0.34 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:19 memory:d4700000-d470ffff
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:25:00.0
logical name: eth0
version: 06
serial: 64:31:50:9d:4a:3a
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=10.102.50.135 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:50 ioport:2000(size=256) memory:d4404000-d4404fff memory:d4400000-d4403fff
root@CheatC-5:/home/ekspro# rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
User avatar
vegaredo
 
Posts: 8
Joined: Wed Dec 05, 2012 7:50 pm

Re: Problem connecting to network

Postby madvinegar » Fri Dec 07, 2012 11:52 am

Ok, please follow carefully the below instructions. We will download latest Ralink driver and set it to accept networks with security.
Go here: http://www.ralinktech.com/en/04_support ... php?sn=501 and download the latest Ralink driver for your wireless card i.e. the RT3592.
You click on where it says "RT3062PCI/mPCI/CB/PCIe(RT3060/RT3062/RT3562/RT3592". A new page will open, give your name and e-mail and the driver will start downloading. The file should be called DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz
It should be downloaded in your Downloads folder.
Open terminal and copy/paste the following commands one by one (hitting <enter> after each command). Just replace in the 2nd command where I say "yourusername" with your actual username.
Code: Select all
sudo apt-get install linux-headers-$(uname -r) build-essential dkms
cd home/yourusername/Downloads
tar -xzf DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz
cd DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217
WPA1=HAS_WPA_SUPPLICANT
WPA2=HAS_NATIVE_WPA_SUPPLICANT
sed -i -e "s/$WPA1=n/$WPA1=y/g" -e "s/$WPA2=n/$WPA2=y/g" os/linux/config.mk
sudo make && sudo make install && sudo make clean
cd ..


Now we will black list the old driver, and use the new one. Open terminal and write.
Code: Select all
echo "blacklist rt2800pci" | sudo tee /etc/modprobe.d/blacklist-rt2800pci.conf
sudo modprobe -rfv rt2800pci
sudo modprobe -v rt3562sta


Let me know if it worked. In case you have problem with any of he commands, stop, and post here the error message.
Zorin 9 - Ultimate Edition 64bit
Intel Core2 Duo CPU T5550 1.83GHz ‖ RAM 3008 MiB ‖ Acer Aspire 5920G
Mobility Radeon HD 3470 [1002:95c4] {radeon}
Intel PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
Blog: https://madvinegar.wordpress.com
User avatar
madvinegar
 
Posts: 2541
Joined: Wed Oct 19, 2011 12:18 pm

Return to Help and Support

Who is online

Users browsing this forum: Google [Bot], pcfan5 and 11 guests