Choose style:

Author Topic: How to determine is hardware will work on Linux (solved)  (Read 5550 times)

0 Members and 1 Guest are viewing this topic.

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
How to determine is hardware will work on Linux (solved)
« on: August 10, 2014, 02:44:16 am »
Hi everyone, I want to ""revive"" my Pentium 4 2.4 GHZ with 1 GB of RAM.
To do this I will need to add wifi for Internet access. I am considering the following products: Netgear WNA3100 or Trendnet TEW-623PI.
From what I can see, the Netgear should be able to work in Linux (http://faq.apollo3.com/ljames/ubuntu/networksupport/) even if it will take some doing.

What is the best way to check beforehand if hardware is Linux compatible?
« Last Edit: August 13, 2014, 02:38:25 am by 10i »
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1012
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: How to determine is hardware will work on Linux
« Reply #1 on: August 10, 2014, 03:07:43 am »
Hi 10i, how's it going.  I imagine that there is an easier way to to this.  Could you please post the output from:
Code: [Select]
sudo lshw -C network
After you hit enter there will be a short delay while your machine, "thinks about it".  The output is a rather long so, could you please use the spoiler,"Sp" to keep things tidy.  We can hopefully find a less involved solution. 

To test if your proposed solution works.  Make a liveDVD/CD or a LiveUSB.  Boot it up and apply your solution to the live media.  It won't survive a reboot but it will tell you if it works.  Use your live-Installation as a test bed.  Throw anything you want at it and see what happens.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: How to determine is hardware will work on Linux
« Reply #2 on: August 10, 2014, 03:10:06 am »
Thanks for the reply. The machine is still running Windows, I was wondering if I coule know for sure if the wifi adapter is Linux compatible before I buy it.

I will ask the store that if it does not work if I may return it.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25456
  • Karma: 2799
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to determine is hardware will work on Linux
« Reply #3 on: August 10, 2014, 07:53:03 am »
Google is really your only friend for this kind of thing.

I don't know if this will be any use to you, but take a look at the Edimax Nano mentioned in this posting:
http://forum.peppermintos.com/index.php/topic,575.msg6319.html#msg6319
and Susan's response after getting one.

If you still want to know about the two models you mention .. let me know and I'll see what I can discover.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: How to determine is hardware will work on Linux
« Reply #4 on: August 10, 2014, 10:27:27 am »
Thanks PCNetSpec, will check the link.

Fortunately the manager says I can swop the hardware if it does not work.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25456
  • Karma: 2799
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to determine is hardware will work on Linux
« Reply #5 on: August 10, 2014, 11:09:05 am »
NP .. and good luck :)

We can "probably" get one of them working if they don't just work "out of the box"
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: How to determine is hardware will work on Linux (solved)
« Reply #6 on: August 12, 2014, 03:53:00 pm »
Hi guys, sorry for the long wait. I have finally managed to make time to install Peppermint onto my P4.  (I am writing the command as suudo on purpose, as I don't think I am allowed to post the other command).

What I have tried so far:
1. Installed Playonlinux and installed driver to have access to driver files
2. installed the netgear driver using wine, copied the driver files to a folder in my downloads folder
3. installed ndswrapper

suudo modprobe ndiswrapper
suudo ndiswrapper -i bcmwlhigh5.inif
The system tells me the driver is already installed
suudo ndiswrapper -m


suudo lsusb
Bus 001 Device 005: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 002: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

So here I see that my system does recognize the wifi card.

suudo lshw -C network
  *-network               
       description: Ethernet interface
       product: 82562EZ 10/100 Ethernet Controller
       vendor: Intel Corporation
       physical id: 8
       bus info: pci@0000:01:08.0
       logical name: eth0
       version: 02
       serial: 00:0f:ea:19:0a:c3
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.24-k2-NAPI duplex=full ip=10.0.0.7 latency=32 link=yes maxlatency=56 mingnt=8 multicast=yes port=MII speed=100Mbit/s
       resources: irq:20 memory:f8000000-f8000fff ioport:a000(size=64)

iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

dmesg | grep ndis
[ 6255.127288] ndiswrapper: module verification failed: signature and/or  required key missing - tainting kernel
[ 6255.129730] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[ 6255.237117] usbcore: registered new interface driver ndiswrapper


I still have no option to enable wifi anywhere, or to join a wifi network. I would appreciate any help at this point :) very stuck at the moment.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25456
  • Karma: 2799
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to determine is hardware will work on Linux (solved)
« Reply #7 on: August 12, 2014, 03:59:49 pm »
Can you post the output from:
Code: [Select]
uname -a
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: How to determine is hardware will work on Linux (solved)
« Reply #8 on: August 12, 2014, 04:05:21 pm »
Hi PCNetSpec, the output is as follows:

Linux desktop 3.13.0-33-generic #58-Ubuntu SMP Tue Jul 29 16:47:17 UTC 2014 i686 i686 i686 GNU/Linux

It's getting late, and I am off to bed now. Will try again tomorrow, thank you for your quick reply :)
« Last Edit: August 12, 2014, 04:07:29 pm by 10i »
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25456
  • Karma: 2799
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to determine is hardware will work on Linux
« Reply #9 on: August 12, 2014, 04:10:03 pm »
post the output from:
Code: [Select]
lsmod
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: How to determine is hardware will work on Linux
« Reply #10 on: August 12, 2014, 04:12:24 pm »
Thanks

Module                  Size  Used by
bnep                   18895  2
rfcomm                 53664  0
bluetooth             342206  10 bnep,rfcomm
binfmt_misc            13140  1
snd_intel8x0           33110  2
snd_ac97_codec        105709  1 snd_intel8x0
ac97_bus               12642  1 snd_ac97_codec
snd_pcm                85501  2 snd_ac97_codec,snd_intel8x0
snd_page_alloc         14230  2 snd_intel8x0,snd_pcm
snd_seq_midi           13132  0
snd_seq_midi_event     14475  1 snd_seq_midi
snd_rawmidi            25135  1 snd_seq_midi
joydev                 17101  0
snd_seq                55383  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
i915                  705659  4
snd_timer              28584  2 snd_pcm,snd_seq
snd                    60871  12 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device,snd_seq_midi
soundcore              12600  1 snd
video                  18903  1 i915
drm_kms_helper         47182  1 i915
lpc_ich                16864  0
serio_raw              13230  0
drm                   244037  5 i915,drm_kms_helper
i2c_algo_bit           13197  1 i915
ns558                  12586  0
gameport               15189  2 ns558
shpchp                 32128  0
mac_hid                13037  0
parport_pc             31981  1
ppdev                  17391  0
lp                     13299  0
parport                40836  3 lp,ppdev,parport_pc
hid_generic            12492  0
usbhid                 46997  0
btrfs                 822702  0
hid                    87604  2 hid_generic,usbhid
xor                    26221  1 btrfs
raid6_pq               97455  1 btrfs
libcrc32c              12543  1 btrfs
e100                   35945  0
psmouse                91329  0
mii                    13654  1 e100

Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25456
  • Karma: 2799
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to determine is hardware will work on Linux
« Reply #11 on: August 12, 2014, 04:17:09 pm »
Does wireless spring to life if you run:
Code: [Select]
sudo modprobe ndiswrapper

if not, what's the output from:
Code: [Select]
ndiswrapper -l
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: How to determine is hardware will work on Linux
« Reply #12 on: August 12, 2014, 04:22:53 pm »
Hi PCNetSpec,

it says:

bcmwlhigh5 : invalid driver!

When I first started downloaded the latest driver from the website, when that did not work I tried the driver on the CD.

The first time I got an error message about the driver was when I downloaded the installer from the Netgear website.

At this point I am considering exchanging the wifi card for something similar to http://www.amazon.com/NETGEAR-Powerline-200Mbps-Nano-Adapter/dp/B006OOKT3Y/ref=sr_1_6/180-3888748-2090643?ie=UTF8&qid=1407874904&sr=8-6&keywords=ethernet+over+power+line
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1012
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: How to determine is hardware will work on Linux
« Reply #13 on: August 12, 2014, 04:35:19 pm »
Hi 10i, how's it going?  I've noticed that some of your outputs are rather long.  Here's a hint to make things a little easier to read and much tidier.   Could you please encapsulate long outputs using the spoiler Sp button.  Its above the crying  :'( emoticon.  Many thanks  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25456
  • Karma: 2799
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to determine is hardware will work on Linux
« Reply #14 on: August 12, 2014, 05:08:52 pm »
OK, let's start from scratch.

With an active internet connection (such as a cable to the router).....

Open a terminal and run these commands in sequence:
Code: [Select]
sudo ndiswrapper -r bcmwlhigh5
then
Code: [Select]
sudo apt install ndisgtk ndiswrapper-dkms
then
Code: [Select]
mkdir ~/WNA3100-driver
then
Code: [Select]
cd ~/WNA3100-driver
then
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/wna3100-drivers.tar.gz
then
Code: [Select]
tar xvf wna3100-drivers.tar.gz
then
Code: [Select]
cd ~/WNA3100-driver/wna3100-drivers
then
Code: [Select]
sudo ndiswrapper -i bcmwlhigh5.inf
then
Code: [Select]
sudo modprobe ndiswrapper
did wireless spring to life ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec