View previous topic :: View next topic |
Author |
Message |
chromosome_gun n00b
Joined: 07 Feb 2018 Posts: 8
|
Posted: Thu Feb 08, 2018 5:46 pm Post subject: Wifi Connected but no Internet: Acer c720 |
|
|
Yesterday I connected to my WPA/WPA2 Wifi network with the following commands
Code: |
# wpa_supplicant -Dnl8221,wext -iwlp1s0 -c/etc/wpa.conf -B
# ifconfig wlp1s0 |
However when I rebooted my computer and tried the same commands I cannot ping to gentoo.org
Here's the results of iwconfig
Code: |
# iwconfig
wlp1s0 IEEE 802.11 ESSID:"myWifi"
Mode:Managed Frequency:2.427 GHz Access Point: 00:25:3C:ED:95:A1
Bit Rate=36 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:pff
Encryption key: off
Power Management:off
Link Quality=70/70 Signal level=-23 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:8 Missed beacon:0
lo no wireless extensions
|
Code: |
# ifconfig
lo .....
...
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 2602:306:cc36:888-:b210:41ff:fe69:6f01 prefixlen 64 scopeid 0x0<global>
inet6 fe80::b210:41ff:fe69:6f01 prefixlen 64 scopeid 0x20<link>
ether b0:10:41:69:6f:01 txqueuelen 1000 (Ethernet)
RX packets 280 bytes 14925 (14.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1127 (1.1KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
Code: |
# lspci -nnk | grep -iA2 net
01:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01)
Subsystem: Foxconn International, Inc. AR9462 Wireless Network Adapter [105b:e058]
Kernel driver in use: ath9k
Kernel modules: ath9k
|
Code: |
# cat /etc/conf.d/net
iwconfig_wlp1s0="mode managed"
modules="wpa_supplicant"
key_myWifi="[1] s:password key [1] enc open"
preferred_Aps=";myWifi'"
|
I'm really at a loss. I thought I fixed it yesterday the wpa_supplicant, but now I can't use the internet.
The internet was working yesterday and I installed XFCE4. After the XFCE install, I rebooted and tried to connect again today and failed to ping.
Last edited by chromosome_gun on Thu Feb 08, 2018 5:55 pm; edited 2 times in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
chromosome_gun n00b
Joined: 07 Feb 2018 Posts: 8
|
Posted: Thu Feb 08, 2018 5:54 pm Post subject: |
|
|
Jaglover wrote: | Is your DNS solution working? |
Sorry I'm such a noob Can you elaborate for me? My linux experience seems to not justify Gentoo, although I'm trying to learn it. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21491
|
Posted: Fri Feb 09, 2018 2:50 am Post subject: Re: Wifi Connected but no Internet: Acer c720 |
|
|
chromosome_gun wrote: | Code: | # ifconfig
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 2602:306:cc36:888-:b210:41ff:fe69:6f01 prefixlen 64 scopeid 0x0<global>
inet6 fe80::b210:41ff:fe69:6f01 prefixlen 64 scopeid 0x20<link> |
| I read this to mean that you have no IPv4 address. If so, large portions of the Internet will be unavailable to you. Your wireless AP may have granted you an association, but you seem not to have an address. If you know what address it should give you, you could temporarily add one by hand. However, you ought to fix the system to set an address automatically. Usually, this is done through DHCP. |
|
Back to top |
|
|
chromosome_gun n00b
Joined: 07 Feb 2018 Posts: 8
|
Posted: Fri Feb 09, 2018 4:43 pm Post subject: Re: Wifi Connected but no Internet: Acer c720 |
|
|
Hu wrote: | chromosome_gun wrote: | Code: | # ifconfig
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 2602:306:cc36:888-:b210:41ff:fe69:6f01 prefixlen 64 scopeid 0x0<global>
inet6 fe80::b210:41ff:fe69:6f01 prefixlen 64 scopeid 0x20<link> |
| I read this to mean that you have no IPv4 address. If so, large portions of the Internet will be unavailable to you. Your wireless AP may have granted you an association, but you seem not to have an address. If you know what address it should give you, you could temporarily add one by hand. However, you ought to fix the system to set an address automatically. Usually, this is done through DHCP. |
Thanks. This was clear enough for me. Thanks to all for the patience.
I got it to work now. First run wpa_supplicant, then dhcpd, then ifconfig |
|
Back to top |
|
|
|