Quantcast
Channel: Ubuntu Forums - Networking & Wireless
Viewing all 23300 articles
Browse latest View live

19.04 lost al DNS resolution this morning

$
0
0
The desktop worked fine as of last night. This morning I went to run updates and at first it dropped us.archives.ubuntu.com and next nothing resolved. my laptop is running 19.04 and is running just fine. I tried adding 8.8.8.8 to resolv.conf and that didn't help at all.

root@Desktop:/etc# nslookup google.com
nslookup: parse of /etc/resolv.conf failed

root@Desktop:/etc# ping google.com
ping: google.com: Name or service not known

[ubuntu] No ethernet connection intel x722 controller

$
0
0
I was trying to install 18.04.2 server from USB, but the onboard NIC would not connect, so I started trying to diagnose from a 19.04 live USB(was hoping later version might have issue resolved). The only thing I see is that lspci lists the controller as X722 while modinfo lists the driver as XL710. Please find the details below. Intel Support was of no help. It is interesting how they only support licensed distros. Thanks.

Code:

$ uname -a
Linux ubuntu-mate 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


$ lspci
1a:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 09)
1a:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 09)


$ lshw
              *-network:0
                  description: Ethernet interface
                  product: Ethernet Connection X722 for 10GBASE-T
                  vendor: Intel Corporation
                  physical id: 0
                  bus info: pci@0000:1a:00.0
                  logical name: eno0
                  version: 09
                  serial: xx:yy:zz:aa:bb:c2
                  capacity: 10Gbit/s
                  width: 64 bits
                  clock: 33MHz
                  capabilities: pm msi msix pciexpress vpd bus_master cap_list rom ethernet physical 1000bt-fd 10000bt-fd autonegotiation
                  configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=2.7.6-k firmware=3.33 0x80000f52 1.1824.0 latency=0 link=no multicast=yes
                  resources: irq:30 memory:9f000000-9fffffff memory:a0808000-a080ffff memory:a0980000-a09fffff memory:a0400000-a07fffff memory:a0890000-a090ffff
              *-network:1
                  description: Ethernet interface
                  product: Ethernet Connection X722 for 10GBASE-T
                  vendor: Intel Corporation
                  physical id: 0.1
                  bus info: pci@0000:1a:00.1
                  logical name: enp26s0f1
                  version: 09
                  serial: xx:yy:zz:aa:bb:c3
                  capacity: 10Gbit/s
                  width: 64 bits
                  clock: 33MHz
                  capabilities: pm msi msix pciexpress vpd bus_master cap_list ethernet physical 1000bt-fd 10000bt-fd autonegotiation
                  configuration: autonegotiation=off broadcast=yes driver=i40e driverversion=2.7.6-k firmware=3.33 0x80000f52 1.1824.0 latency=0 link=no multicast=yes
                  resources: irq:30 memory:9e000000-9effffff memory:a0800000-a0807fff memory:a0000000-a03fffff memory:a0810000-a088ffff


$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

$ modinfo i40e
filename:      /lib/modules/5.0.0-13-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko
version:        2.7.6-k
license:        GPL v2
description:    Intel(R) Ethernet Connection XL710 Network Driver
author:        Intel Corporation, <e1000-devel@lists.sourceforge.net>
srcversion:    4353F7C1D33280CD88BAE8F

[xubuntu] The problem with the drivers on the Wi-Fi adapter

$
0
0
I used these codes. But it all works before rebooting.Can you help with a problem?
lsusb show this
Quote:


Bus 001 Device 002: ID 0bda:f179 Realtek Semiconductor Corp.
Couldn't open device, some information will be missing
Device Descriptor:


Quote:

sudo apt-get install git build-essential
git clone git://github.com/ulli-kroll/rtl8188fu
cd rtl8188fu
make
sudo make installfw
sudo modprobe cfg80211
sudo insmod rtl8188fu.ko
Quote:

sudo depmod -a
sudo update-initramfs -u

18.04/18.10 - Qualcomm Atheros - no wifi, "fixes" only work until next boot

$
0
0
After a decade or so of Ubuntu, I have finally run into a problem I can't seem to answer by googling. I don't believe I updated anything during the boot session right before my problem began, but I also have a habit of sometimes leaving the computer on for a couple days at a time, so it is possible I did a couple days before, can't remember it now, and just hadn't booted again since then. Also, if relevant, there was some power flickering during a storm right before I turned it off the last time before the issue began. It's a laptop though, so it stayed on the whole time, no half-startups or anything like that.

Had 18.04. Booted and had no internet, though both showed as connected in Network Manager. Ethernet was able to ping 8.8.8.8, but not google.com, so I figure it was a DNS issue, even though wifi was not able to ping either one. Found a fix involving changing the resolv.conf head/base/tail files and adding "netserver 8.8.8.8" to each, restarted the service, and both ethernet and wifi worked.

Next full boot and wifi was down again, still showing as connected in Network Manager, but not able to ping anything once again. Ethernet, however, stayed working. Tried some possible fixes involving blacklists, rfkill, wmi, power settings, etc and nothing worked or it wasn't relevant to my case. Gave up and tried just upgrading the distro to see if that would help. Upgraded to 18.10, rebooted at the end of it and everything worked again.

Next boot back to no wifi, just like before the upgrade. Found a fix involving rolling back the firmware for the drivers. Got the previous version (20190514) and using nautilus in root, copied and overwrote the files in /lib/firmware/ath10k/QCA9377/hw1.0 as that was my specific version according to lspci.

That worked after a reboot, but once more, only for that boot. Today it is back to no wifi. Seeing as all of these fixes worked after a restart, and then didn't work after a full power down and turning back on, I have even attempted just booting and then restarting to see if that would somehow make it work -- it didn't. I've found most of the solutions to past problems in these forums, so I'm hoping someone can help with this one too.

My Wireless Info pastebin:
http://paste.ubuntu.com/p/XDmYBr2PkV/
wireless-info.tar.gz
Attached Files

[ubuntu] Changing from docking station causes not loading wireless

$
0
0
Ubuntu 16.04 LTS
I have docking stations with big screens. When I take my laptop of the docking station and start as laptop an alarm is coming not finding resolution for the screen. After this no wireles working. Even the wireless is loadad in network settings. I have to go to system settings and approve the screen setting and restart. After restart the wireless is working again. Same procedure when I connect to docking again.
The system come up every time with system error and report are send.
Please make a correction so wireless is loading whatever screen is loaded.
cheers
Jørn

[SOLVED] Can't enable wifi on Dell Inspirion 3521

$
0
0
I have been having huge problems with my Dell Inspirion 15 3521 laptop. Virtually none of the linux distros will have a working wi-fi out of the box.

However, today I made a breakthrough with Ubuntu! Apparently, I have a Broadcom Corporation BCM43142 802.11b/g/n (rev 01) wi-fi adapter (it is listed when I use the lspci command from the terminal).

When I load Ubuntu 18.04.2 from an USB flash drive (without installing it, just in order to "try it"), and when I follow the instructions given in this thread on this forum:

https://ubuntuforums.org/showthread.php?t=2232629

Namely, when I just enter this command in the terminal:

Code:

sudo apt-get install bcmwl-kernel-source
the wi-fi gets enabled right away, even without a restart! Unfortunately, since Iam running Ubuntu from a Live USB drive, and it's still not installed on the hard disk, this cannot remain saved in my configuration.

When I try to run the above mentioned command from an already installed Ubuntu on my Laptop's hard drive, I get the error message that the package cannot be located. :(

I suppose that when I try to install bcmwl-kernel-source while I'm running Ubuntu from an USB drive it pulls that drive from USB installation files and installs it correctly, whereas when I try to do the same when Ubuntu is already installed on my laptop's hard drive, it doesn't know where to look for those files, and it (still) doesn't have internet access, so it reports the error that the package cannot be found.

Since it would be extremely complicated to enable any kind of wired internet to that Dell laptop, is there any way I can still install the bcmwl-kernel-source in Ubuntu (when it's already installed on the hard drive), for instance from an USB drive? Is there a way to tell it to look for that package in the USB drive that contains the complete Ubuntu installation? Or, is there a way to somehow just copy those files to a new USB flash drive and then to install them in the Ubuntu on the hard drive? I am willing to try anything that would enable me to use Wi-Fi on that Dell laptop providing I don't have to connect any wired internet to it.

By the way, I tried to install this deb package when Ubuntu is already installed on the hard drive:

https://pkgs.org/download/bcmwl-kernel-source

(I downloaded the version for Bionic Beaver because that's apparently what my Ubuntu is) but it says it needs some additional Gnome packages, which again is impossible to provide because I don't have internet access. :/


Does anyone have any idea how to solve this problem and enable wi-fi on the Ubuntu's hard drive installation as it is possible on the Live USB drive?

[server] DNS Resolution Broken After Removing PiHole

$
0
0
Ubuntu Server 18.04. I have been running PiHole on my Ubuntu server for a while now, and decided to break that service off onto a dedicated machine. After uninstalling it however, my server is unable to resolve any DNS names itself. I seem to have fixed this by adding the DNS server to the .yaml file in /etc/netplan and running netplan apply, but it doesn't stick after a reboot. I've applied a sort of duck tape fix by putting "netplan apply" in /etc/rc.local , but that doesn't really fix whatever the Pihole uninstaller broke.

I also tried:

Code:

sudo systemd-resolve -i enp2s0 --set-dns=10.1.1.3
10.1.1.3 being my local DNS server and new PiHole (it's working with every other system), and got

Code:

The specified interface enp2s0 is managed by systemd-networkd. Operation refused. Please configure DNS settings for systemd-networkd managed interfaces directly in their .network files.
Problem is, I can't seem to find anything named enp2s0.network anywhere on the system.

netplan apply with a modified .yaml file seems to be the only thing that works, but it isn't applying on reboot for some reason without me just sticking the command into my /etc/rc.local so that it runs on bootup. As of right now, it's fine with the rc.local workaround, but I'd really like to figure why it's necessary in the first place.

I would love to just reset all of the networking configurations to their default, like I just did a clean install of the OS, but I'm not sure what that is since Ubuntu has had so many changes in recent years to how it manages network interfaces.

help setting up socksified hotspot

$
0
0
Hi, I am new to the whole linux environment, what forced me to switch from windows to linux was its lack of access/inability to create a hotspot that uses a socks on the backend instead of using the local traffic.
Ive been trying for a couple of days now, tried redsocks which forced the local traffic to the socks, but that wasnt what I was looking for.
Can anyone guide me on how I have create wifi hotspot which handles all the traffic through the socks ?

nginx running but not serving up websites

$
0
0
Need a little help. I had Nginx up and running for about 2 years. I am not sure what I did when trying to update a certificate but now my sites are not accessible.
I went to my website:



I noticed the certificate expired so I went about renewing it and ran:

Code:

sudo certbot --nginx -d ttrss.shiromar.com


and I got an error about Certbot not being able to access the website for verification. I checked networking and forwarding rules and everything seemed fine so I decided to start the certificate process anew and ran:
sudo certbot delete --cert-name ttrss.shiromar.com
This was when my site became inaccessible. Certbot can't reach my site so it can't issue a certificate. I commented out the SSL lines in the server block and restarted Nginx and PHP and still couldn't reach it.
Here is the server block for ttrss:
Code:

server  {
    listen          80;
    listen          [::]:80;
    server_name    ttrss.shiromar.com www.ttrss.shiromar.com;
    return          301 https://$server_name$request_uri;
    }
    server {
    listen          443 ssl http2;
    listen          [::]:443 ssl http2;
    server_name    ttrss.shiromar.com www.ttrss.shiromar.com;
    root /var/www/ttrss;
    index index.php;
    access_log /var/log/nginx/ttrss_access.log;
    error_log /var/log/nginx/ttrss_error.log info;
    location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;
    }
    location / {
    index          index.php;
    }
    #ssl_certificate        /etc/letsencrypt/live/ttrss.shiromar.com/fullchain.pem;
    #ssl_certificate_key    /etc/letsencrypt/live/ttrss.shiromar.com/privkey.pem;
    #ssl_trusted_certificate /etc/letsencrypt/live/ttrss.shiromar.com/chain.pem;
    location ~ \.php$ {
    try_files $uri = 404; #Prevents autofixing of path which could be used for exploit
    fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
    fastcgi_index index.php;
    include /etc/nginx/fastcgi.conf;
    }
    }

here is a netstat showing ports open
Code:

sudo netstat -tanpl|grep nginx
    tcp        0      0 0.0.0.0:80              0.0.0.0:*              LISTEN      2052/nginx: master
    tcp        0      0 0.0.0.0:443            0.0.0.0:*              LISTEN      2052/nginx: master
    tcp6      0      0 :::80                  :::*                    LISTEN      2052/nginx: master
    tcp6      0      0 :::443                  :::*                    LISTEN      2052/nginx: master

This server is running in a VM on Hyper-V. I did have a checkpoint from early last year. I tested it and that does work but it's a bit too old.
I have triple checked IP addresses and port forwarding rules and I keep coming back to an issue with Nginx or a setting in Ubuntu that's blocking all 443/80 traffic. Oh and this is Ubuntu 18.04 and Nginx version: nginx/1.14.0 (Ubuntu)
Here is a status of ufw:
Code:

sudo ufw status
    Status: active
    To                        Action      From
    --                        ------      ----
    OpenSSH                    ALLOW      Anywhere
    8181/tcp                  ALLOW      Anywhere
    Nginx Full                ALLOW      Anywhere
    443/tcp                    ALLOW      Anywhere
    80/tcp                    ALLOW      Anywhere
    3000                      ALLOW      Anywhere
    OpenSSH (v6)              ALLOW      Anywhere (v6)
    8181/tcp (v6)              ALLOW      Anywhere (v6)
    Nginx Full (v6)            ALLOW      Anywhere (v6)
    443/tcp (v6)              ALLOW      Anywhere (v6)
    80/tcp (v6)                ALLOW      Anywhere (v6)
    3000 (v6)                  ALLOW      Anywhere (v6)

[ubuntu] Box has no network connectivity and ping gives Destination Host Unreachable

$
0
0
Hey, I'm hoping someone could help me as I'm quite new to Ubuntu and Linux in general.

I have Ubuntu box rented and I logged on the other day to discover there were DNS resolution issues so I followed the instructions here; https://stackoverflow.com/questions/...ame-resolution however after this the network did not appear to come back up. When I logged in over KVM, Netplan appears to have reset the /etc/netplan/01-netcfg.yaml. I've got the following information from my host;

IP Gateway Subnet Custom MAC
199.127.61.221 199.127.61.1 255.255.255.0 -
172.93.101.15 172.93.101.1 255.255.255.0 -

I have the following YAML configuration;

Code:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s25:
      addresses: [ 199.127.61.221/24, 172.93.101.15/24 ]
      gateway: 199.127.61.1
      nameservers:
        addresses: [ 1.1.1.1, 1.0.0.1 ]
        search: [ dylanw.net ]

Since I can only access the box over KVM, I've got this by flicking between windows so although I've double checked it, it might have some small issues but netplan apply doesn't show any errors.

I can't ping anything, ping 8.8.8.8 gives



and ping google.com gives;



The result of ifconfig -a > out is;





route -n



ip addr



Sorry if I've left out some important information, I've tried to get what I know will be needed I can give more information if that's needed.

Thanks in advance!

Intermittent permissions errors with samba share

$
0
0
I have some shared directories that I want to use to share files between two ubuntu computers (basically breaking up some processing in blender between two machines to improve rendering time). I can't seem to reliably write to the shared directories. It seems like it works when I copy individual files (one at a time) into the main shared directory. But if I try to copy more than one file at a time, it says permission denied. It also says permission denied if I copy a new directory with any sub-folders.

Ultimately, I want to be able to just seamlessly share files (as well as sub-directories and many sub-files) between these two computers on the same local area network. Is there an easier way to do this?

[SOLVED] Unable to connect to vsftpd server via ssh connection

$
0
0
Greetings,

First, a bit of background:

I've set up an OpenSSH server on my local media center (htpc, running Ubuntu 16.04 LTS) and I then connect to that externally, via SSH, by using the VX Connectbot app on my Android device - using this guide: https://thepcspy.com/read/remote-str...ess-xbmc-kodi/
In VX Connectbot I've also configured local port forwards for the "htpc" ssh connection, enabling me to reach a kodi instance and a transmission daemon, through the ssh tunnel.
This is working quite well, and therefore I expected to be able to use the same technique for reaching the vsftpd server on the very same machine.

That, however, hasn't been the case, as I've been unable to connect the ftp server, in spite of having configured a local port forward for this exact purpose.

These are the port forwards currently configured for the htpc ssh connection in VX Connectbot:

Name: transmission http
Type: local
Source port: 9091
Destination: localhost:80

Name: kodi http
Type: local
Source port: 8080
Destination: localhost:8080

Name: ftp
Type: local
Source port: 21212
Destination: localhost:21

As already mentioned, the first two port forwards above work as expected, but the third one, for ftp, does not.

In the ftp client app (currently using Solid explorer, but have tried a few others), I have created a ftp connection with the following settings:

Name: htpc (remote)
Remote host name: localhost
Port number: 21212
(Path and username/password left out).

(Just to be clear, I do have another ftp connection configured in the same app for connecting to the ftp server while on the home network, and this works without issues.

When I try to connect to the ftp server externally, I get the error: Connection refused.

It would be tempting to think that I'm simply dealing with a firewall issue here, but I don't believe that to be the case, as I get these lines in /var/log/vsftpd.log, when attempting an FTP connection from my Android device, which tells me that the ftp client actually does reach the ftp server, while still being unable to actually establish a connection:

Sun Jun 30 00:23:41 2019 [pid 31298] CONNECT: Client "::ffff:127.0.0.1"
Sun Jun 30 00:23:41 2019 [pid 31297] [soren] OK LOGIN: Client "::ffff:127.0.0.1"
Sun Jun 30 00:23:42 2019 [pid 31306] CONNECT: Client "::ffff:127.0.0.1"
Sun Jun 30 00:23:42 2019 [pid 31304] [soren] OK LOGIN: Client "::ffff:127.0.0.1"


I really hope someone has an idea about what I might have done wrong here as I'm pretty much out of ideas, having tested every aspect of the configuration I could think of.

[ubuntu] TP-Link TL-WN821N RTL8192EU drivers

$
0
0
Bus 005 Device 004: ID 2357:0107 TP-Link TL-WN821N Version 5 RTL8192EU

It works but the signal is very weak, -80 -90 signal.
The USBcard on the box shows it should be Version6 not Version5 as seen from the lsusb above.

Is there something I can do to update this driver or make it work properly?
I am running on 19.04

Cheers,

"System Monitor" shows double bandwidth compared to speedtest.net

$
0
0
If I open my browser on speedtest.net, and also open the 'System Monitor' tool on the 'Resources' tab so I can look at the 'Network History', when I run the speedtest, I notice that the results seem to be about double those shown on speedtest.net.

I wonder if anyone can explain this?

Max.
Ubuntu 18.04.2 LTS

Ralink wireless adapter not working, have tried several commands

$
0
0
So here are the commands I've tried in terminal, after which I still can't wirelessly connect to my network:

echo "options rt2800pci nohcrypt=1" | sudo tee /etc/modprobe.d/rt2800pci.conf
sudo modprobe -rfv rt2800pci
sudo modprobe -v rt2800pci
sudo apt update
sudo apt dist-upgrade

After trying these commands, I went ahead and installed pastebinit so I could get my wireless info, which is in this link:
http://paste.ubuntu.com/p/nS7Dj7Ng9n/

I've also changed the settings in the network mananger according to these images:


Any help would be appreciated, thanks.

[ubuntu] [18.04] Network Manager, nsswitch, and systemd-resolved

$
0
0
Hi all, im trying to make sure I correctly understand the default behavior between Network Manager, nsswitch.conf, and systemd-resolved when installed in a default setup on Ubuntu Server 18.04 .

I had noticed that unlike in 16.04, the Network Manager default `dns` config was moved into /usr/lib/NetworkManager/conf.d/10-dns-resolved.conf instead of being /etc/NetworkManager/NetworkManager.conf in the switch from dnsmasq to systemd-resolved.

What I am trying to wrap my head around is why nsswitch doesnt include 'resolve' by default (unless you manually install the libnss-resolve package or add it yourself) if Network Manager is setup to use `dns=systemd-resolved` by default. Instead what we have by default is nsswitch using the default `dns` libns plugin which AFAIK just uses resolv.conf with it pointed at the local system-resolved dns server.

Does that mean there is effectively no difference in query behavior if we install libnss-resolve so that we get `resolve` added to `nsswitch.conf` vs the default since resolve.conf offloads it to the same local systemd-resolved which honors any systemd-resolved configuration?

Tar.gz file installing problem

$
0
0
Attempting to install Broadcom driver file provided as a tar.gz file. Upon opening by "tar -zxvf <file name> " one gets src, lib and makefile. How does one proceed to configure, make and install. This tar.gz seems to behave differently than most. Thanks for any eduction you provide.

Apollo Lake Based Laptop - no Wi-Fi network connection possible

$
0
0
Hi All.

I recently got a laptop with Windows 10... Unfortunately Windows is not for me. I installed Xubuntu - so far I have never had any problems with this distribution. During the Live trial everything worked. Unfortunately after the installation Wi-FI does not work. I cannot connect to any network. The signal is also much weaker. I have not encountered such a problem before.

The laptop is equipped with Apollo-Lake Pentium N4200 processor. The rest of the information is included in the attached link - information from the script.

https://pastebin.com/gVSb8Tre

I will be grateful for any information.

No internet connection

$
0
0
Ok so I have this problem that i have got windows 10 and ubuntu dual boot, but on ubuntu there is no wired internet.I have tried wireless adapter and it works but the ethernet does'nt work.If I look on my pc from back i can see that there is only red light coming from network card.This problem isnt just in Ubuntu but other distros aswell even in live usb mode.DHCP is enabled. So im asking for help if you now what it is or something like that.Thanks for help.

[ubuntu] Wifi Disconnects After System Wakes From Suspend

$
0
0
When I suspend my laptop, my internet connection disconnects. The only way to connect it is to reboot. I've tried
Code:

sudo service network-manager restart
and
Code:

sudo su
echo 1 > /sys/bus/pci/rescan

from searching the forums for possible solutions but neither has worked.

Here's a pastebin link to my wifi info https://pastebin.ubuntu.com/p/fCD6WZQ6Ww/.

Can someone please help me with this issue?
Viewing all 23300 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>