Choose style:

Author Topic: [SOLVED] Ethernet sharing via wifi on an old Imac.  (Read 5695 times)

0 Members and 1 Guest are viewing this topic.

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #15 on: July 04, 2014, 07:22:41 pm »
I'll get a chance to check on Monday. Thanks again

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #16 on: July 06, 2014, 07:13:49 pm »
OK, the terminal showed this:
brian@brian-iMac ~ $ gedit /etc/network/interfaces

** (gedit:1834): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found


and the gedit showed this:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Ethernet sharing via wifi on an old Imac.
« Reply #17 on: July 06, 2014, 08:38:39 pm »
You need to be as root to open files and folders in etc.  Try this:
Code: [Select]
gksudo gedit /etc/network/interfaces

You'll be asked for your password and then gedit will open up your folder as root.   Hope this helps.  ;)
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: 26112
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ethernet sharing via wifi on an old Imac.
« Reply #18 on: July 06, 2014, 09:26:14 pm »
Have you removed all the stuff that went on with ap-hotspot
Code: [Select]
sudo apt purge ap-hotspot hostapd, dnsmasq, iw
if that doesn't help .. what happens if you go back to the b43 driver:
Code: [Select]
sudo modprobe -r wl
then
Code: [Select]
sudo modprobe b43
does wireless work now without the ethernet cable plugged in?

Be aware that won't survive a reboot but if it works we can make it permanent.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #19 on: July 07, 2014, 12:05:02 am »
I had opened synaptic to check what was installed, and i got a message telling me to run the below command.  Which I did, but it's now been at this point for ten-fifteen minutes without the cursor coming up to show it's ready to let me enter more....

brian@brian-iMac ~ $ sudo dpkg --configure -a
Setting up bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Removing old bcmwl-6.30.223.141+bdcom DKMS files...

-------- Uninstall Beginning --------
Module:  bcmwl
Version: 6.30.223.141+bdcom
Kernel:  3.13.0-30-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-30-generic/updates/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.......

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.30.223.141+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-6.30.223.141+bdcom DKMS files...
Building only for 3.13.0-30-generic
Building for architecture i686
Building initial module for 3.13.0-30-generic
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-30-generic/updates/

depmod....

DKMS: install completed.


Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #20 on: July 07, 2014, 12:42:02 am »
35 minutes later, still no change on that terminal....

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #21 on: July 07, 2014, 05:17:23 am »
I left it for a long time, several hours, and it never changed from what I wrote above....

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26112
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ethernet sharing via wifi on an old Imac.
« Reply #22 on: July 07, 2014, 07:29:43 am »
OK, let's just remove the wl driver altogether:
Code: [Select]
sudo apt purge bcmwl-kernel-source dkms ap-hotspot hostapd, dnsmasq, iw
then
Code: [Select]
sudo modprobe -r wl
then
Code: [Select]
sudo modprobe b43
wireless work now without the ethernet adapter ?
« Last Edit: July 07, 2014, 08:48:57 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #23 on: July 07, 2014, 08:14:27 pm »
I can't even run that command.  The dpkg didn't even finish by the time I left work yesterday, so now it says:

brian@brian-iMac ~ $ sudo apt purge bcmwl-kernel source dkms ap-hotspot hostapd, dnsmasq, iw
[sudo] password for brian:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #24 on: July 07, 2014, 08:33:19 pm »
I thought that since it was dpkg that seemed to be causing the issue here, the contents of that folder might be the reason for the issue.  So, I decided to try deleting the 2 files inside  /var/lib/dpkg/updates and then updating.   The update seemed to be going fine initially, but then it got to bcmwl....

Setting up bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Removing old bcmwl-6.30.223.141+bdcom DKMS files...

-------- Uninstall Beginning --------
Module:  bcmwl
Version: 6.30.223.141+bdcom
Kernel:  3.13.0-30-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-30-generic/updates/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.30.223.141+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-6.30.223.141+bdcom DKMS files...
Building only for 3.13.0-30-generic
Building for architecture i686
Building initial module for 3.13.0-30-generic
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-30-generic/updates/

depmod....

DKMS: install completed.

And there it stopped, again  :o

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26112
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ethernet sharing via wifi on an old Imac.
« Reply #25 on: July 07, 2014, 08:51:04 pm »
So what happens if you try removing bcmwl-kernel-source on its own first
Code: [Select]
sudo apt remove bcmwl-kernel-source

and/or, did you try what it suggested
Code: [Select]
sudo dpkg --configure -a
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #26 on: July 07, 2014, 08:58:09 pm »
I found a way round it by doing this:

sudo dpkg -r bcmwl-kernel-source


Then

sudo apt-get install b43-fwcutter firmware-b43-installer
and
sudo modprobe b43


And the wifi sprang into life.  It didn't survive the reboot but repeating the last command brought it back....

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26112
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ethernet sharing via wifi on an old Imac.
« Reply #27 on: July 08, 2014, 04:28:40 am »
OK run:
Code: [Select]
sudo gedit /etc/modules

if there's a line that reads

wl

remove it, and add a line that reads

b43

SAVE the file, reboot to test
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bluebriz

  • nOOb
  • *
  • Posts: 18
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Ethernet sharing via wifi on an old Imac.
« Reply #28 on: July 08, 2014, 07:48:02 pm »
I played around with a few things and now I've messed up my PM5 so I think I'll need a new install  :-[

Thanks for all your help though guys.  The info in this thread will definitely be of use as prevention next time around!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26112
  • Karma: 2845
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Ethernet sharing via wifi on an old Imac.
« Reply #29 on: July 08, 2014, 08:07:12 pm »
Well yeah .. that's a sure fire way of getting back to defaults ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec