Wi-Fi on my Acer netbook machine summary

Arch based Porteus community project
Post Reply
User avatar
Ed_P
Contributor
Contributor
Posts: 3201
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Wi-Fi on my Acer netbook machine summary

Post#1 by Ed_P » 03 Dec 2015, 17:25

I restored my save.dat file to a point before getting the wi-fi to work so I could document the steps I did that are allowing me to post this on Porteus 3.3.

Step 1 - fm aus9
viewtopic.php?f=137&t=5242&start=90#p39509
viewtopic.php?f=137&t=5242&start=105

Code: Select all

Ed if you do trust me, module size 7.5 megs
https://www.dropbox.com/s/6shg22w9e4n2y59/wl.ko?dl=0

save it somewhere until you boot up with a changes= cheatcode
use root powers to add it to 

use root powers to add it to
/usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/wl.ko

now as root
bring down your ethernet

Code: Select all
    ifconfig  eth0 down
    ifconfig (must show only your lo stuff)

    rmmod b43
    rmmod ssb
    depmod -a
    modprobe wl

    ifconfig wlan0 up  (or) ifconfig  ...not sure as I don't have wireless
    (should now show a wlan0 entry)

You still need to enter your router passphrase using NM applet
Yielded this:

Code: Select all

guest ~ $ su
Password: 
Failed to connect to bus: Operation not permitted
root /home/guest # ls /usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/
adm8211.ko       atmel_pci.ko  iwlegacy     orinoco        rtlwifi
airo_cs.ko       b43           iwlwifi      p54            ti
airo.ko          b43legacy     libertas     ray_cs.ko      wl3501_cs.ko
at76c50x-usb.ko  brcm80211     libertas_tf  rndis_wlan.ko  zd1201.ko
ath              cw1200        mediatek     rsi            zd1211rw
atmel_cs.ko      hostap        mwifiex      rt2x00
atmel.ko         ipw2x00       mwl8k.ko     rtl818x
root /home/guest # cp /mnt/sda5/porteus3.x/wl.ko /usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/
root /home/guest # ls /usr/lib/modules/4.3.0-porteus/kernel/drivers/net/wireless/
adm8211.ko       atmel_pci.ko  iwlegacy     orinoco        rtlwifi
airo_cs.ko       b43           iwlwifi      p54            ti
airo.ko          b43legacy     libertas     ray_cs.ko      wl3501_cs.ko
at76c50x-usb.ko  brcm80211     libertas_tf  rndis_wlan.ko  wl.ko
ath              cw1200        mediatek     rsi            zd1201.ko
atmel_cs.ko      hostap        mwifiex      rt2x00         zd1211rw
atmel.ko         ipw2x00       mwl8k.ko     rtl818x
root /home/guest # ifconfig eth0 down
root /home/guest # ifconfig 
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 6000 (5.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 100  bytes 6000 (5.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root /home/guest # rmmod b43
rmmod: ERROR: Module b43 is not currently loaded
root /home/guest # rmmod ssb
rmmod: ERROR: Module ssb is not currently loaded
root /home/guest # depmod -a
root /home/guest # modprobe wl
root /home/guest # ifconfig
eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 60:d8:19:1a:a1:fc  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
        device interrupt 19  

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 6000 (5.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 100  bytes 6000 (5.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root /home/guest #


And the NM applet now shows Wi-Fi Networks :)

Step 2 - fm brokenman
viewtopic.php?f=137&t=5242&start=90#p39503

Code: Select all

root /home/guest # setup-pman
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 755169F5 marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:  64  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:  64  signed:   6  trust: 64-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-01-22

 It seems you have not optimized your mirror list.

I can find the fastest package mirror for you.

Would you like to do that now? [y/n]y
Please wait ...

Testing ALL the mirrors could take a long time.
To make it faster I will only search for mirrors in United States
Enter the number of mirrors you want to test [1-5]: 2
 Finding fastest mirror ...

 Updated to fastest mirror.


 Mirror list was successfully updated:

Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://mirrors.abscission.net/archlinux/$repo/os/$arch

 Updating database ...

:: Synchronizing package databases...
 core                     122.1 KiB   773K/s 00:00 [######################] 100%
 extra                   1805.3 KiB   858K/s 00:02 [######################] 100%
 community                  3.1 MiB   854K/s 00:04 [######################] 100%
 Updating certificates ///

df: ‘/porteus3.x/porteussave.dat’: No such file or directory
 Changes are not on a real file system.


 It seems you are not saving your changes.

Would you like to create a module from your settings? [y/n]y
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /tmp/pacman-settings.xzm, block size 262144.
[=================================================================-] 30/30 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
   compressed data, compressed metadata, compressed fragments, compressed xattrs
   duplicates are removed
Filesystem size 5640.45 Kbytes (5.51 Mbytes)
   99.13% of uncompressed filesystem size (5690.10 Kbytes)
Inode table size 374 bytes (0.37 Kbytes)
   44.00% of uncompressed inode table size (850 bytes)
Directory table size 454 bytes (0.44 Kbytes)
   76.05% of uncompressed directory table size (597 bytes)
Number of duplicate files found 2
Number of inodes 24
Number of files 12
Number of fragments 1
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 1
Number of directories 11
Number of ids (unique uids + gids) 1
Number of uids 1
   root (0)
Number of gids 1
   root (0)

5.6M   /tmp/pacman-settings.xzm

 I could not detect the location of your modules directory.

Your module is at: /tmp/pacman-settings.xzm
Please manually copy this to your modules directory.
root /home/guest # cp /tmp/*.xzm /mnt/sda5/porteus3.x/Modules
root /home/guest # activate /tmp/pacman-settings.xzm
 pacman-settings.xzm activated.
EXIT="OK"
root /home/guest # 
And now the new USM is functional. :)

Step 3 - fm roadie
viewtopic.php?f=137&t=5242&start=105#p39550

Code: Select all

guest ~ $ pman -S firefox
error: you cannot perform this operation unless you are root.
guest ~ $ su
Password: 
Failed to connect to bus: Operation not permitted
root /home/guest # pman -S firefox
resolving dependencies...
looking for conflicting packages...

Packages (5) hunspell-1.3.3-2  icu-56.1-1  mime-types-9-1  mozilla-common-1.4-4
             firefox-42.0-2

Total Download Size:    50.31 MiB
Total Installed Size:  128.55 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 mozilla-common-1.4-...  1180.0   B  0.00B/s 00:00 [######################] 100%
 mime-types-9-1-any        14.6 KiB   318K/s 00:00 [######################] 100%
 icu-56.1-1-x86_64          8.0 MiB   857K/s 00:10 [######################] 100%
 hunspell-1.3.3-2-x86_64  185.6 KiB  1168K/s 00:00 [######################] 100%
 firefox-42.0-2-x86_64     42.1 MiB   849K/s 00:51 [######################] 100%
(5/5) checking keys in keyring                     [######################] 100%
(5/5) checking package integrity                   [######################] 100%
(5/5) loading package files                        [######################] 100%
(5/5) checking for file conflicts                  [######################] 100%
(5/5) checking available disk space                [######################] 100%
(1/5) installing mozilla-common                    [######################] 100%
relogin or source /etc/profile.d/mozilla-common.sh
(2/5) installing mime-types                        [######################] 100%
(3/5) installing icu                               [######################] 100%
(4/5) installing hunspell                          [######################] 100%
Optional dependencies for hunspell
    perl: for ispellaff2myspell [installed]
(5/5) installing firefox                           [######################] 100%
Optional dependencies for firefox
    networkmanager: Location detection via available WiFi networks [installed]
    gst-plugins-good: h.264 video
    gst-libav: h.264 video
    upower: Battery API

 Multiple packages were detected. 

Would you like to merge them into one module? [y/n]y
Enter a custom module name or hit enter for default: 

Select the main package to use as a name.
Hit ctrl + c to quit.

1) firefox-42.0-2-x86_64.pkg.tar.xz	4) mime-types-9-1-any.pkg.tar.xz
2) hunspell-1.3.3-2-x86_64.pkg.tar.xz	5) mozilla-common-1.4-4-any.pkg.tar.xz
3) icu-56.1-1-x86_64.pkg.tar.xz
#? 1
 Decompressing firefox-42.0-2-x86_64.pkg.tar.xz 
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
 Stripping firefox-42.0-2-x86_64.pkg.tar.xz 

 Size before strip: 
 95M
 Size after strip: 
 95M

 Decompressing hunspell-1.3.3-2-x86_64.pkg.tar.xz 
 Stripping hunspell-1.3.3-2-x86_64.pkg.tar.xz 

 Size before strip: 
 96M
 Size after strip: 
 96M

 Decompressing icu-56.1-1-x86_64.pkg.tar.xz 
 Stripping icu-56.1-1-x86_64.pkg.tar.xz 

 Size before strip: 
 130M
 Size after strip: 
 125M

 Decompressing mime-types-9-1-any.pkg.tar.xz 
 Stripping mime-types-9-1-any.pkg.tar.xz 

 Size before strip: 
 125M
 Size after strip: 
 125M

 Decompressing mozilla-common-1.4-4-any.pkg.tar.xz 
 Stripping mozilla-common-1.4-4-any.pkg.tar.xz 

 Size before strip: 
 125M
 Size after strip: 
 125M

Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /tmp/firefox-42.0-2-x86_64.bundle.xzm, block size 262144.
[===============================================================/] 599/599 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 53685.90 Kbytes (52.43 Mbytes)
	42.14% of uncompressed filesystem size (127402.89 Kbytes)
Inode table size 3172 bytes (3.10 Kbytes)
	35.15% of uncompressed inode table size (9024 bytes)
Directory table size 2042 bytes (1.99 Kbytes)
	44.53% of uncompressed directory table size (4586 bytes)
Number of duplicate files found 6
Number of inodes 213
Number of files 116
Number of fragments 13
Number of symbolic links  26
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 71
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)

53M	/tmp/firefox-42.0-2-x86_64.bundle.xzm

 ERROR: Module directory is not mounted or unwritable. 
Please manually copy the modules to your module directory.

 Your modules are in the /tmp folder: 
firefox-42.0-2-x86_64.bundle.xzm

Packages were removed from /var/cache/pacman/pkg.

root /home/guest # cp /tmp/*.xzm /mnt/sda5/porteus3.x/Modules/
root /home/guest # activate /mnt/sda5/porteus3.x/Modules/firefox*.xzm
 firefox-42.0-2-x86_64.bundle.xzm activated. 
EXIT="OK"
Updating LXDE menu: rm ~/.cache/menus/*; lxpanelctl restart; update-desktop-database
root /home/guest # 
This took a while to create the module but it worked. :)

Thank you all for getting me to here in Porteus style. :friends: :beer:
Ed

Post Reply