You are not logged in.

#1 2018-01-02 14:55:31

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

[SOLVED]installation > Connect to the Internet > wifi, no internet con

I am trying to install arch according to the Arch installation guide. I can't seem to get WIFI working.
- Left keyboard layout as is;
- The boot mode is UEFI enabled (changed it to be so);
Now I am trying to connect to the Internet through Wifi. This according to the Wireless network configuration as mentioned in the installation guide. (I know it can work because with the live cd of latest stable Ubuntu 17.10 does work).

I have WPA2 protection. So I configured wpa_supplicant. Used wpapassphrase and vim to make the wpa_suppicant.conf file.

ctrl_interface=DIR=/etc/wpa_supplicant GROUP=wheel
update_config=1
network={
          ssid="MYESSID"
          #psk="thepassword"
          psk=generatedkey
          proto=RSN
          key_mgmt=WPA-PSK
          pairwise=CCMP TKIP
          group=CCMP TKIP
          priority=5
}

Then I started wpa_supplicant:

wpa_supplicant -B -i wlp2s0f0-c /etc/wpa_supplicant/wpa_supplicant.conf

Next ping to test the connection

ping 192.168.0.1

I am trying to ping the gateway but It gives an error. I will post the error message later. I don't have that info at hand right now.
Question: What could I do to fix this?

Last edited by petereo (2018-01-04 17:00:36)

Offline

#2 2018-01-02 15:05:59

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

Does running the wifi-menu command work?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-01-02 15:06:55

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

I am trying to ping the gateway but It gives an error. I will post the error message later. I don't have that info at hand right now.
Question: What could I do to fix this?

How are we supposed to know how to fix this without the logs?

Anyway, did you add an address manually or requested one through dhcp after connecting to your SSID?

dhcpcd wlp2s0f0

Offline

#4 2018-01-02 16:14:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

And, please post the outputs of
iw dev wlp2s0f0 station dump
and
iw list


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2018-01-02 19:12:12

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

slithery wrote:

Does running the wifi-menu command work?

Tried it and the output was:

connecting failed

And a question to keep the profile. I did.

Last edited by petereo (2018-01-02 19:12:32)

Offline

#6 2018-01-02 19:22:29

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

How are we supposed to know how to fix this without the logs?

Anyway, did you add an address manually or requested one through dhcp after connecting to your SSID?

dhcpcd wlp2s0f0

you are richt you can not. I could not get the logs from the system when I started the post.

The output of your proposal command is:

wlp2s0f0 IAID b8:5e:df:b7
wlp2s0f0 soliciting a DHCP lease
wlp2s0f0 soliciting an IPv6 router
wlp2s0f0 no IPV6 Routes available
timed out
dhcpcd exited

Offline

#7 2018-01-02 19:26:51

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

Sorry my native language is dutch. I posted this with my mobile and AUTOCORRECT.
SORRY

Offline

#8 2018-01-02 20:57:35

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

ewaller wrote:

And, please post the outputs of
iw dev wlp2s0f0 station dump
and
iw list

inactieve time: 5376 ms
rx bytes: 666745
rx packets: 4794
tx bytes: 731
tx retries: 0
tx failed: 0
beacons loss: 2
beacon rx: 2352
rx drop misc: 3
signal: -45dBm
signal avg :-44 dbm 
tx bitrate: 6.5 Mbit/s MCS 
rx bitrates: 1.0 Mbit/s
expected throughput: 4.394Mbps
Authorized :yes
Authenticated: yes
Associated: yes
Preamble: long
WMM/wme: yes
Mfp:no
Tdls peer: no
Dtim period: 1
Beacon interval:100
short slot Time: yes
connectie time: 246 seconds 

iw list: that will take a while. I will try to copy it.

Offline

#9 2018-01-02 21:17:01

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

Do  you have a smartphone you can plug in to this machine?

It should provide you with an internet connection enabling you to upload logs to help us diagnose, or simply to install with (and fix the original issue later).


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#10 2018-01-02 21:24:15

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

I don't know if I can hook my android phone to the laptop. Don't know how. sad

But I do know how to hook up another usb stick and put the ouput on that. smile

Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short long limit: 2
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CCMP-256 (00-0f-ac:10)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
	Band 1:
		Capabilities: 0x17e
			HT20/HT40
			SM Power Save disabled
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
		Minimum RX AMPDU time spacing: 2 usec (0x04)
		HT TX/RX MCS rate indexes supported: 0-7, 32
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * connect
		 * disconnect
		 * set_qos_map
		 * Unknown command (121)
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ AP, mesh point } <= 8,
		   total <= 8, #channels <= 1
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Device supports configuring vdev MAC-addr on create.

Offline

#11 2018-01-02 21:26:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

petereo wrote:

I don't know if I can hook my android phone to the laptop. Don't know how. sad

Just plug it in with USB cable and a new (wired) network device will appear.
Run dhcpcd on that device and you're done smile


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#12 2018-01-02 21:33:14

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

slithery wrote:

Do you have a smartphone you can plug into this machine?....

The only idea I have is mount it like an usb stick?

I don't have the knowledge to get useful information out of all the "logs" yet. A hint what I should look for could help me solve it, perhaps.

Offline

#13 2018-01-02 22:54:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

You are associated with your router, but dhcpcd is timing out.  Thus, you have no IP address.

Is your access point / router running a DHCP server?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#14 2018-01-03 08:51:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

Assuming there is ("with the live cd of latest stable Ubuntu 17.10 does work")

Is dhclient on the installation iso?
Otherwise, try to edit /etc/dhcpcd.conf and use "clientid" instead of "duid"; also try "dhcpcd -4"

Offline

#15 2018-01-04 16:53:29

petereo
Member
From: Lelystad
Registered: 2018-01-02
Posts: 16

Re: [SOLVED]installation > Connect to the Internet > wifi, no internet con

ewaller wrote:

You are associated with your router, but dhcpcd is timing out.  Thus, you have no IP address.

Is your access point / router running a DHCP server?

thank you For the statement abortus no IP address. So I get me one. In the wireless network configuration under get an IP address and follow-up the example with wpa_supplicant and DHCP.

Offline

Board footer

Powered by FluxBB