Page 1 of 1

WLAN driver | Wine

Posted: Wed 31 Jan 2018, 05:16
by pluto
Hello,
I tried Xenialpup 7.5 | 32 and 64 bit "live" on an USB flash drive. I like that it is compact and starts very fast.
With 64 bit I can connect to WLAN (Wifi) with my HP Notebook driver Intel Dual Band Wireless AC 3165.
Wine is not working, although it is installed with 32 bit compatibility activated.

With 32 bit Wine is working fine, but the Intel wireless driver is not recognized. I tried the windows ini files with ndiswrapper and I tried the linux wireless driver iwlwifi included in Xenialpup, no success.

Now I am looking for a solution that I can have both, driver AND wine, in 32 OR 64 bit.
Do I have any chance? My terminal knowledge is very limited.

Thanks for information

Posted: Wed 31 Jan 2018, 15:55
by bigpup
In Xenialpup64 7.5 Wine

After you installed Wine, did you reboot so it all got saved?

Did you get Wine by using the Quickpet program? Quickpet>Useful>Wine
although it is installed with 32 bit compatibility activated.
menu>Setup>SFS-load-on-the-fly
This shows the 32bit_compatibility_libs_xenial64.sfs loaded?

When you get Wine installed
Run Wine config to setup Wine.
If you do not have a menu entry for wine config.
In a console type:

Code: Select all

winecfg
press enter.
It will probably offer you a few more programs needed for Wine to run properly.
Should download and install them as part of the initial config.

Also, in Wine config->Drivers Select autodetect to get all the driver locations loaded in Wine.

A lot of settup options in Wine config, so check them all.

What version of Windows you want Wine to mimic can affect how a program runs. Wine Config->Applications.

About specific programs running in Wine.
Go to the Wine web site and see what it says about a specific program and issues.
http://www.winehq.org

Using Wine is almost like learning a new operating system.
Takes a while to learn how to use Wine and to get things working properly.

Posted: Wed 31 Jan 2018, 15:59
by bigpup
In Xenialup64 7.5 the 64bit version.
The one that works.

Menu>System>Pup-Sysinfo>Devices>Network

Copy and paste what it shows, so we can see exactly what it is doing.

Posted: Thu 01 Feb 2018, 04:30
by pluto
Thanks bigpup,
according to a first test, wine with xenialpup64 is now working. :-)
I'll write details as soon as possible.

Posted: Fri 02 Feb 2018, 05:30
by pluto
Xenialpup 7.5 UEFI 64 bit
As I mentioned, wine is now working fine. What I did:

Quickpet > Useful > Wine
Useful > 32bit compatibility sfs
Next step is important, that was the problem, was not loaded:
Setup > SFS-Load on-the-fly > 32bit compatibility sfs load
Terminal > ldconfig
Boot with Save sfs
Check: Any exe file > Properties > Run action: wine "$@"

64 bit applications don't start, although the properties of 64 bit exe files show:
PE32+ executable (GUI)x86-64 for windows
Examples: CCleaner portable, Firefox
Is that normal?
It is not so bad, because there are Linux versions too.

I run winecfg but there was nothing to download and I only changed from win xp to win 10.
So I'm quite satisfied.


The following Intel Wireless 3165 module is not recognized in the 32 bit version of xenialpup.
What do you think about that? Could it be integrated?
Thanks for all!

▶—— Network Devices ——◀

Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
• Kernel Driver: r8169
• Memory Used: 64.47 KB
• Path: /lib/modules/4.9.58/kernel/drivers/net/ethernet/realtek/r8169.ko
• Driver Version: 2.3LK-NAPI
• Description: RealTek RTL-8169 Gigabit Ethernet driver

Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 81)
• Kernel Driver: iwlwifi
• Memory Used: 119.31 KB
• Path: /lib/modules/4.9.58/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
• Description: Intel(R) Wireless WiFi driver for Linux

Posted: Fri 02 Feb 2018, 15:52
by matchpoint
pluto,

When you're on Xenial32, your network module is present as listed above, correct?

Code: Select all

find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -name '*.ko' | grep iwlwifi
Was it loaded? No response here says no.

Code: Select all

lsmod | grep iwlwifi
Is its firmware there?

Code: Select all

modinfo iwlwifi  | grep firmware
If these confirm its name, the answer's yes.

Posted: Fri 02 Feb 2018, 18:00
by pluto
Hallo matchpoint
When you're on Xenial32, your network module is present as listed above, correct?
No. Only the ethernet controller is present:
▶—— Network Devices ——◀
Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

root# find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -name '*.ko' | grep iwlwifi
/lib/modules/4.4.95/kernel/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko
/lib/modules/4.4.95/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
/lib/modules/4.4.95/kernel/drivers/net/wireless/iwlwifi/mvm/iwlmvm.ko

root# lsmod | grep iwlwifi
iwlwifi 93577 0
cfg80211 206686 1 iwlwifi

root# modinfo iwlwifi | grep firmware
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265D-13.ucode
firmware: iwlwifi-7265-13.ucode
firmware: iwlwifi-3160-13.ucode
firmware: iwlwifi-7260-13.ucode
firmware: iwlwifi-8000-13.ucode
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)
root#

Posted: Fri 02 Feb 2018, 18:20
by rcrsn51
Run the "dmesg" command and look for firmware errors.

Then go here and look up the firmware for the AC 3165.

It appears that you need the "-14" version.

Also note the kernel version where support for this device first appeared.

Posted: Sat 03 Feb 2018, 00:20
by bigpup
Xenialpup64 7.5
Wine from Quickpet.
64 bit applications don't start, although the properties of 64 bit exe files show:
PE32+ executable (GUI)x86-64 for windows
Examples: CCleaner portable, Firefox
Is that normal?
The version of Wine in Quickpet is the 32bit version.

You can get the 64bit version of Wine here.
In fact any version of Wine for Puppy.
http://www.murga-linux.com/puppy/viewtopic.php?t=88711

I have no idea how well the 64bit Wine works.
It is kind of new for Wine development.

If you use it, make sure to uninstall the 32bit Wine before installing the 64 bit Wine.

Posted: Sat 03 Feb 2018, 17:09
by pluto
to rcrsn51
I installed the latest firmware for the wireless driver 3165, no success.
May be in "live" installations USB flash drive it does not work.
I'll use the 64 bit version now, where the driver is recognized.

to bigpup
I am satisfied with the 32 bit programs working fine with wine.

As I now can work with wine AND the wireless driver, I can just wait for the next version of puppy, may be with more possibilities.

Thank you all!

Posted: Sat 03 Feb 2018, 17:13
by rcrsn51
What did the "dmesg" command tell you?