A home for all kinds of Puppy related projects
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#681
Post
by rcrsn51 » Wed 04 Jul 2018, 12:34
TP-WN722N
Do you mean TL-WN722N?
Have you installed the PET that I linked to on the previous page for the Atheros wifi driver?
I have a TL-WN721N adapter that uses the same Atheros driver. I set up wlanmaker in Xenialpup and it's working for me.
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#682
Post
by sancxjo » Thu 05 Jul 2018, 05:20
Yes TL-WN722N
First I tried without a driver. Then I installed the driver atheros_kernel_modules-4.4.95noPAE-xenial32.pet
Screenshot of the terminal already with the driver.
Android tries to connect, but claims an IP configuration error.
As if I configured. As far as I understand there IP dynamic is issued.
The adapter is new, android also does not work network
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#683
Post
by rcrsn51 » Thu 05 Jul 2018, 07:48
With the wifi adapter plugged in, run the command: lsmod | grep ath
Do you see: ath9k_htc?
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#684
Post
by sancxjo » Thu 05 Jul 2018, 09:05
ath9k_hw
Another modification?
Attachments
capture22661.png
(26.88 KiB) Downloaded 82 times
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#685
Post
by rcrsn51 » Thu 05 Jul 2018, 12:20
sancxjo wrote: ath9k_hw
So you do NOT see ath9k_htc?
Then your adapter must have a different chipset that is not compatible.
Are you using the TP-LINK adapter on the "server" machine or the "client" machine?
Does your "server" computer have a built-in Realtek adapter?
Is the TP-LINK adapter actually wlan1?
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#686
Post
by sancxjo » Fri 06 Jul 2018, 06:09
Yes, I do not see ath9k_htc
I have a home computer, nettop.
There is a network card (Realtek), but there is nowhere to connect it.
The interface I have wlan0
Attachments
capture625.png
(51.18 KiB) Downloaded 504 times
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#687
Post
by sancxjo » Fri 06 Jul 2018, 07:01
IThe command shows the presence of a wireless adapter. But there is no antenna protruding from the case and I did not know about it.
Code: Select all
root# lspci | grep -i 'net'
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#688
Post
by rcrsn51 » Fri 06 Jul 2018, 10:11
If this hidden internal wifi card is wlan0, then where is the TP-LINK adapter?
Is it also plugged in?
Then the command should be
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#689
Post
by sancxjo » Fri 06 Jul 2018, 10:32
Probably I've mixed the interfaces. wlan0 is an internal adapter, wlan1 is an external adapter- TP-LINK
Code: Select all
root# wlanmaker wlan1 sancxjo none usb0
Configuration file: /tmp/hostapd.conf
Line 2: invalid/unknown driver 'rtl871xdrv'
1 errors found in configuration file '/tmp/hostapd.conf'
Failed to set up interface with /tmp/hostapd.conf
Failed to initialize interface
And yet
Code: Select all
root# lshw -class network
*-network DISABLED
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 48:5d:60:7c:ca:f2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.4.95 firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:febf0000-febfffff
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#690
Post
by rcrsn51 » Fri 06 Jul 2018, 11:50
1. Have you installed the version of hostapd from the Xenial repo? This is bad.
2. Your TP-LINK adapter has a different chipset than mine. I suspect that it is a Realtek r8188eu.
Run: iwconfig wlan1
Run: lsmod | grep cfg
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#691
Post
by sancxjo » Fri 06 Jul 2018, 11:57
Code: Select all
root# iwconfig wlan1
wlan1 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root# lsmod | grep cfg
cfg80211 206686 5 ath,ath9k_common,ath9k,mac80211,r8188eu
rfkill 12246 1 cfg80211
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#692
Post
by rcrsn51 » Fri 06 Jul 2018, 12:05
1. YOU NEVER ANSWERED MY FIRST QUESTION!
2. Your TP-LINK is a Realtek r8188eu. I also have one of these and wlanmaker works fine with it in Xenial.
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#693
Post
by sancxjo » Fri 06 Jul 2018, 12:08
hostapd from the default repository ubunt-xenial-main probably. Delete?
Last edited by
sancxjo on Fri 06 Jul 2018, 12:15, edited 1 time in total.
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#694
Post
by rcrsn51 » Fri 06 Jul 2018, 12:09
You do NOT need to do this - wlanmaker has its own version of hostapd.
Install the .deb again.
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#695
Post
by sancxjo » Fri 06 Jul 2018, 12:28
If I correctly understood to reinstall wlanmaker. I reinstalled.
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#696
Post
by sancxjo » Fri 06 Jul 2018, 12:40
wlanmaker wlan1 sancxjo none usb0 reconnects
Attachments
capture26218.png
(151.38 KiB) Downloaded 104 times
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#697
Post
by rcrsn51 » Fri 06 Jul 2018, 13:01
Are you saying that internet sharing is now working?
Is the client computer getting internet access through usb0?
If not, how close is the client computer to the server computer?
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#698
Post
by sancxjo » Fri 06 Jul 2018, 13:19
I do not have a second computer, now Android. He sees the network, connects, then stores, then receives the IP and reconnects. And so it repeats. The distance is almost near. About a meter.
I do not go to the Internet from Android.
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
rcrsn51
Posts: 13096 Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario
#699
Post
by rcrsn51 » Fri 06 Jul 2018, 13:26
Then there is nothing else I can do to help you.
Wlanmaker is running correctly, but your Android client cannot use the connection it provides.
Try this: wlanmaker wlan1 sancxjo none
Does the Android stay connected?
However, this will not get it internet access.
sancxjo
Posts: 92 Joined: Mon 29 Apr 2013, 17:24
Location: Russia
#700
Post
by sancxjo » Fri 06 Jul 2018, 13:39
Also reconnected.
In general, the wlanmaker is not adapted for my case.
DebianDog-Jessie, Xenialpup 7.5
Intel(R) Atom(TM) CPU D525 @ 1.80GHz