connecting to wireless in linux cent OS, linux expert?

Started by ggnfs000, December 28, 2017, 12:34:44 AM

Previous topic - Next topic

ggnfs000

This more like belongs to cent os forum however I just put it here just in case as this forum IMO, tends to be more professional.
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.
/var/log/messages last lines shows that no offers has been received:

My best estimation is that upper layer (possibly L-4) has attempted to send out the DHCP request packets as seen in the LOG however it has not transcended to the lower level (L-1) layer since interfaces status shows no RX/TX transmitted /count which is zero/.
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



Dec 28 01:19:40 localhost dhclient[6195]: No DHCPOFFERS received.
Dec 28 01:19:40 localhost dhclient[6195]: No working leases in persistent database - sleeping.
Dec 28 01:20:01 localhost systemd: Started Session 44 of user root.
Dec 28 01:20:01 localhost systemd: Starting Session 44 of user root.
Dec 28 01:21:35 localhost smbd[8882]: [2017/12/28 01:21:35.137816,  0] ../source3/printing/print_cups.c:151(cups_connect)
Dec 28 01:21:35 localhost smbd[8882]:  Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
Dec 28 01:21:35 localhost smbd[6358]: [2017/12/28 01:21:35.138251,  0] ../source3/printing/print_cups.c:529(cups_async_callback)
Dec 28 01:21:35 localhost smbd[6358]:  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Dec 28 01:25:04 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 4 (xid=0x26052319)
Dec 28 01:25:08 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 10 (xid=0x26052319)
Dec 28 01:25:18 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 19 (xid=0x26052319)
Dec 28 01:25:37 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 11 (xid=0x26052319)
Dec 28 01:25:48 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 10 (xid=0x26052319)
Dec 28 01:25:58 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 7 (xid=0x26052319)
Dec 28 01:26:05 localhost dhclient[6195]: No DHCPOFFERS received.
Dec 28 01:26:05 localhost dhclient[6195]: No working leases in persistent database - sleeping.
Dec 28 01:30:01 localhost systemd: Started Session 45 of user root.
Dec 28 01:30:01 localhost systemd: Starting Session 45 of user root.
Dec 28 01:30:23 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 3 (xid=0x39b1f7ce)
Dec 28 01:30:26 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 4 (xid=0x39b1f7ce)
Dec 28 01:30:30 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 11 (xid=0x39b1f7ce)
Dec 28 01:30:41 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 16 (xid=0x39b1f7ce)
Dec 28 01:30:57 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 20 (xid=0x39b1f7ce)
Dec 28 01:31:17 localhost dhclient[6195]: DHCPDISCOVER on wlp0s20f0u2 to 255.255.255.255 port 67 interval 7 (xid=0x39b1f7ce)
Dec 28 01:31:24 localhost dhclient[6195]: No DHCPOFFERS received.
Dec 28 01:31:24 localhost dhclient[6195]: No working leases in persistent database - sleeping.
Dec 28 01:33:30 localhost systemd-logind: New session 46 of user root.
Dec 28 01:33:30 localhost systemd: Started Session 46 of user root.
Dec 28 01:33:30 localhost systemd: Starting Session 46 of user root.
Dec 28 01:33:30 localhost dbus-daemon: dbus[739]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Dec 28 01:33:30 localhost dbus[739]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Dec 28 01:33:30 localhost dbus[739]: [system] Successfully activated service 'org.freedesktop.problems'
Dec 28 01:33:30 localhost dbus-daemon: dbus[739]: [system] Successfully activated service 'org.freedesktop.problems'

deanwebb

Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.