how to connect to wireless

Issues related to configuring your network
Post Reply
ggcentos7000
Posts: 5
Joined: 2014/07/29 18:12:07

how to connect to wireless

Post by ggcentos7000 » 2017/12/28 06:13:33

I have a wireless usb which is detected, driverloaded and running however it is not seem to be connecting to existing wireless connection:

37 iwconfig [root@localhost mining-repo]# iwconfig wlp0s20f0u2 essid "<SSID NAME THAT IS ENTERED CORRECTLY>"
38 iwconfig wlp0s20f0u2 ap CC:35:40:C9:EC:9F
39 iwconfig wlp0s20f0u2 key <PASSWORD THAT IS ENTERED CORRECTLY>
40 dhcleint wlp0s20f0u2

After that it will wait for a few minutes and back to command line:
Typing ifconfig reveals it has not gotten DHCP address and not even packets TX/RX-d in order to get DHCP IP handshake. Are the series of command above right? What else should I do to connect to wireless?

enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.16 netmask 255.255.0.0 broadcast 10.0.255.255
inet6 fe80::4ecc:6aff:fef9:88de prefixlen 64 scopeid 0x20<link>
inet6 2601:641:0:2c60::10 prefixlen 128 scopeid 0x0<global>
inet6 2601:641:0:2c60:4ecc:6aff:fef9:88de prefixlen 64 scopeid 0x0<global>
ether 4c:cc:6a:f9:88:de txqueuelen 1000 (Ethernet)
RX packets 4550113 bytes 6774177569 (6.3 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2360100 bytes 173944953 (165.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xdf200000-df220000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 100 bytes 6100 (5.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 100 bytes 6100 (5.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp0s20f0u2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 74:da:38:ca:6a:aa txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ggcentos7000
Posts: 5
Joined: 2014/07/29 18:12:07

Re: how to connect to wireless

Post by ggcentos7000 » 2017/12/28 19:57:07

i normally regard centos and any other linux as a piece of garbage O/S and most developers writing application and kernel code for linux are amateur and filthy in nature in terms of quality but i have to get some assistance to get it to work, not because of my likings with linux but current situation forces me to do so.

Post Reply