[SOLVED] How do I get Linux Mint 17 to connect to the Intern

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
enxio27

[SOLVED] How do I get Linux Mint 17 to connect to the Intern

Post by enxio27 »

First time Linux Mint user, although I used to use Red Hat a long time ago. I just installed Linux Mint 17 MATE as a dual-boot with WinXP. I can't seem to figure out how to get it to connect to the Internet. It connects just fine using WinXP. I'm guessing I have something misconfigured somewhere, but I have no clue what it is. I've read the user guide and some of the other threads here, but the user guide doesn't even address this, and the other threads were over my head.

I tried setting up a WiFi connection in the Network Connections, but I must have something incorrect. I also (think I) installed the bcmwl-kernel-source driver (and rebooted, of course), but that didn't help, either.

I'm not a computer novice, but I'm really puzzled as to why this doesn't work "out of the box", at least showing me available connections and allowing me to set up the password and go.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
enxio27

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by enxio27 »

UPDATE: I am able to connect via wired ethernet, but still not wirelessly. I tried uninstalling bcmwl-kernel-source and reinstalling after I had connected via ethernet (previous install was done with Live DVD in the drive), but the reinstall has been stuck at 90% for the past 30 minutes.

I tried running mintWifi and got the following:

Code: Select all

$ mintWifi
-------------------------
* I. scanning WIFI PCI devices...
sh: 1: cannot create /tmp/detected_wireless_devices: Permission denied
  -- Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
      ==> PCI ID = 14e4:4318 (rev 02)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

eth0      no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:0f:b0:be:4d:e2  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:21794 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11034 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:21421441 (21.4 MB)  TX bytes:1178160 (1.1 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5087 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5087 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:402886 (402.8 KB)  TX bytes:402886 (402.8 KB)

-------------------------
* V. querying DHCP...
sudo: unable to resolve host pinkie
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached
What do I do next?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by JeremyB »

This works on some of the broadcom like yours

Code: Select all

sudo apt-get purge bcmwl-kernel-source

Code: Select all

sudo apt-get install linux-firmware-nonfree
and reboot
enxio27

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by enxio27 »

I ran the first command and got the following:

Code: Select all

$ sudo apt-get purge bcmwl-kernel-source
[sudo] password for trinity: 
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I did so, and got the following:

Code: Select all

$ 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-24-generic (i686)
-------------------------------------

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

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-24-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-24-generic
Building for architecture i686
Building initial module for 3.13.0-24-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-24-generic/updates/

depmod.......

DKMS: install completed.
Segmentation fault
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
Warning: No support for locale: en_US.utf8
Should I still run the second command you suggested and reboot, or do I need to do something else first?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by JeremyB »

Try this first

Code: Select all

sudo modprobe -rv wl
then run the other 2 commands. I think something may have happened during your previous attempt
enxio27

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by enxio27 »

Code: Select all

$ sudo modprobe -rv wl
modprobe: FATAL: Module wl is in use.
Still run the other commands?
1.618

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by 1.618 »

If the above didn't help, it might be that your wifi card needs activating, as iwconfig shows no active wifi

Code: Select all

rfkill list
will tell you if the wireless adapter is blocked either by software or hardware.

if it is

Code: Select all

rfkill unblock all

rfkill unblock wifi
do exactly what they say on the tin and unblock your wifi

Code: Select all

sudo ifconfig wlan0 down

sudo ifconfig wlan0 up
turns wifi on and off

not sure if these will help :-)
enxio27

Re: How do I get Linux Mint 17 to connect to the Internet?

Post by enxio27 »

I went ahead and ran the two commands that Jeremy suggested, then rebooted, and now all is well. Thank you! :D
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: How do I get Linux Mint 17 to connect to the Interne

Post by JeremyB »

enxio27 wrote:I went ahead and ran the two commands that Jeremy suggested, then rebooted, and now all is well. Thank you! :D
Great!
Locked

Return to “Networking”