Issues with connection to internet

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
manoka

Issues with connection to internet

Post by manoka »

Hello,

Yesterday I installed Linux Mint 18.2 Cinnamon 3.4.3 64bit, Kernel 4.13.0-38-generic on a MacBook Air 4.1, Intel Core i5 2467M, "Mid-2011", RAM 2GB, 1333 MHz DaDR3, VRAM 256 MB, Intel HD Graphics 3000 288 MB, Memory 1.8GiB.

At first I was able to update and surf on the internet.
But after a short while, this did not work anymore most of the time, even tough in "Network" it shows an active wireless connection, and even tough other devices are working normally with the same router at the same time.
The Update Manager shows sometimes that it is unable to check for updates.
The internet access with the browser and of the Update Manager also seem to work and not work at the same time as well as at different times.

And apparently not related to this, the network connection goes off and on occasionally.
And again no such issues with other devices with the same router at the same time.
When I'm occasionally able to access the internet, it works usually much slower than on other devices.

Any help would be appreciated very much!

manoka
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12334
Joined: Sun Aug 09, 2015 10:00 am

Re: Issues with connection to internet

Post by deepakdeshp »

Please post results of

Code: Select all

 inxi -Fxz
in code tags.
Try the command during network problem. Does it help?

Code: Select all

 sudo /etc/init.d/networking restart
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Sir Charles

Re: Issues with connection to internet

Post by Sir Charles »

The issue might be related to the Network Manager's power-saving feature. In order to find out if the feature is enabled, run the following in a terminal:

Code: Select all

cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
If it showswifi.powersave = 3, that means the power save is enabled. Run then the following command in order to change the value to 2 which will disable the feature:

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
Reboot your machine and see if the problem with intermittent connectivity is gone.
Hope this helps.
manoka

Re: Issues with connection to internet

Post by manoka »

deepakdeshp wrote: Fri Apr 20, 2018 2:16 pm Please post results of

Code: Select all

 inxi -Fxz
in code tags.
Try the command during network problem. Does it help?

Code: Select all

 sudo /etc/init.d/networking restart
Sorry but what are code tags?
The results are quite extensive - so I attached a photo.

The command "... networking restart" does not help.
manoka

Re: Issues with connection to internet

Post by manoka »

Marziano wrote: Fri Apr 20, 2018 2:36 pm The issue might be related to the Network Manager's power-saving feature. In order to find out if the feature is enabled, run the following in a terminal:

Code: Select all

cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
If it showswifi.powersave = 3, that means the power save is enabled. Run then the following command in order to change the value to 2 which will disable the feature:

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
Reboot your machine and see if the problem with intermittent connectivity is gone.
Hope this helps.
It shows: "No such file or directory".
deepakdeshp
Level 20
Level 20
Posts: 12334
Joined: Sun Aug 09, 2015 10:00 am

Re: Issues with connection to internet

Post by deepakdeshp »

Code tags are beside underline when you answer the message. Copy paste the output of inxi command. Photo isn't readable.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
manoka

Re: Issues with connection to internet

Post by manoka »

Code: Select all

 ~ $ inxi -Fxz
System:    Host: vital-MacBookAir Kernel: 4.13.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: Apple (portable) product: MacBookAir4 1 v: 1.0
           Mobo: Apple model: Mac-C08A6BB70A942AC2 v: MacBookAir4 1
           Bios: Apple v: MBA41.88Z.007F.B00.1802091528 date: 02/09/2018
CPU:       Dual core Intel Core i5-2467M (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6399
           clock speeds: max: 2300 MHz 1: 1065 MHz 2: 901 MHz 3: 822 MHz
           4: 934 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-38-generic
Network:   Card: Broadcom BCM43224 802.11a/b/g/n
           driver: bcma-pci-bridge bus-ID: 02:00.0
           IF: wlp2s0b1 state: up mac: <filter>
Drives:    HDD Total Size: 60.7GB (34.0% used)
           ID-1: /dev/sda model: APPLE_SSD_TS064C size: 60.7GB
Partition: ID-1: / size: 54G used: 18G (35%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 2.05GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 197 Uptime: 3 min Memory: 825.7/1839.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
manoka

[Solved] Issues with connection to internet

Post by manoka »

See: viewtopic.php?f=90&t=228884&p=1210307&h ... o#p1210307 :
Here's what worked for me with a Macbook Pro I have. It worked with both Mint 17.3 and Mint 18. The Broadcom WiFi card is supported but you have to use the driver. Open the Menu > Administration > Driver Manager. You'll have to input your password. Wait for the cache update to take place. It will fail if you don't have a wired connection - ignore it. Look for the Broadcom driver that is recommended. Select it and click Apply Changes. You should not have to reboot. Click the Wireless applet in the panel and you should see the available wireless networks. Make your connection.
Really amazing! - This works like a charm for my device too!
Many thanks to TooMuchTime!
Locked

Return to “Networking”