Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 7155  / 1 Year ago, mon, may 15, 2023, 8:04:23

I'm a newbie in Linux environment. I have a really, REALLY, bad problem.



I installed on my Asus X53Sv Ubuntu 14.10 but I have a problem:



the wifi works because it can recognize available networks BUT it can't connect! After I click "connect" it try to connect but after a couple of seconds it disconnects and says: "Disconnected - you are now offline".



I have already read this topic: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173759



But I don't understand very well what I have to do (because I have a different laptop) and I have no internet (the ethernet port doesn't work)!



I have the following setup:




  • Ubuntu: 14.10

  • Wifi: Atheros AR9285

  • Kernel: 3.16,0-23-generic



Anyone could help me, please?






@mchid OMG, really thanks! I solved with this command:



echo 'options ath9k nohwcrypt=1' | sudo tee -a /etc/modprobe.d/ath9k.conf


But before to mark your reply I hope you will help me to another problem.. During I tried a lot of attempts I touched something I shouldn't touch because now everytime I start the computer it says "System program detected"... What could it be?


More From » wireless

 Answers
1

Open a terminal and try running this command:



This command will create a file named ath9k.conf in the folder /etc/modprobe.d that will contain the line "options ath9k nohwcrypt=1".



echo 'options ath9k nohwcrypt=1' | sudo tee -a /etc/modprobe.d/ath9k.conf


Reboot and try connecting to the network again. Please post any errors or if this fails to work.



click here to visit the source



Another thing you can do is to click on your network icon on your panel. Then, click on edit connections. Click on and delete any and all networks listed. Sometimes you may have a bad network configuration screwing things up so it's best to start fresh.






Also, you say you also do not have ethernet. Do you have ports 68 and 67 open? You need these ports open for DHCP to assign an IP to your laptop.






Does your router allow you to set a static IP without using DHCP? If so, you can set a static IP by clicking on the network icon on your dash. Then, click "Edit connections"; click on the wireless network and then click "edit"; click on "ipv4 settings"; change "Mode" from "automatic" to "manual" and then click "add". Use tab to navigate from Address to Netmask and then to Gateway.



Hint: you can easily get these numbers by booting up a live session from the Ubuntu installation DVD or USB (if wifi works). Click on the network icon on your dash and then click "connection information". You can then get a pad and paper and write these down.



"Address" is the static IP for the laptop you would like to set (for example: 192.168.1.44).



"Netmask" is usually 255.255.255.0 but it may differ depending on your router settings.



"Gateway" is usually 192.168.1.1 but it may also differ depending on your router settings.



Finally, DNS should be set to either the same IP as your Gateway (here in this example it would be 192.168.1.1) or to the IPs of DNS servers separated by a comma. For example, google dns is = 8.8.4.4,8.8.8.8



Click "save". If you cannot click save, click "cancel" and try again.



Run the following command to restart network-manager:



sudo service network-manager restart

[#22189] Tuesday, May 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uxuriousrnal

Total Points: 279
Total Questions: 106
Total Answers: 96

Location: Fiji
Member since Wed, Mar 29, 2023
1 Year ago
uxuriousrnal questions
Wed, Mar 9, 22, 09:04, 2 Years ago
Mon, Jul 18, 22, 01:48, 2 Years ago
Wed, Apr 13, 22, 01:15, 2 Years ago
Thu, Aug 26, 21, 22:01, 3 Years ago
;