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

[ubuntu] Authentication of network connection failed

$
0
0
20.04 connects for a few seconds then ceases to work completely presenting me with Authentication of network connection failed messages and a triangle with a questionmark. I have windows 10 on the same desktop via a seperate HDD and using the same exact equipment is how I posted this question. The machine uses an edimax card

SSID: PLUSNET-6P897H
Protocol: Wi-Fi 4 (802.11n)
Security type: WPA2-Personal
Network band: 2.4 GHz
Network channel: 1
Link-local IPv6 address: fe80::a1b0:7013:2511:ff6d%4
IPv4 address: 192.168.1.2
IPv4 DNS servers: 192.168.1.254
Manufacturer: Edimax Technology Co., Ltd
Description: Edimax 802.11n Wireless PCI Card
Driver version: 5.0.57.0
Physical address (MAC): 80-1F-02-C9-0B-E8

[ubuntu] no network after removing cloud-init

$
0
0
I have two servers (A & C)
Server A is on 18 LTS and Sever B 20LTS.

After upgrading B to 20LTS, I experienced intermittent network issues and after digging around I found that it uses cloud-init, while server A doesn't.

I uninstalled cloud-init, removed all remaining cloud-init files and configure Server B to use netplan and 'my' yaml.

The yaml files for both servers are identical (apart from the obvious)

Code:

network:
  version: 2
  renderer: networkd
  ethernets:
    ens18:
      dhcp4: no
      addresses: [x.x.x.229/24]
      gateway4: x.x.x.1
      nameservers:
              addresses: [x.x.x.x]

I cannot get the network on server B to connect. There are no errors in the logs. The only difference I found is when I display the status of networkd

Server A (works)
Code:

systemd-networkd.service - Network Service
  Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled-runtime; vendor preset: enabled)
  Active: active (running) since Thu 2020-09-24 01:39:48 CEST; 2 days ago
    Docs: man:systemd-networkd.service(8)
 Main PID: 721 (systemd-network)
  Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
  CGroup: /system.slice/systemd-networkd.service
          └─721 /lib/systemd/systemd-networkd

Sep 24 01:39:48 mail1 systemd[1]: Starting Network Service...
Sep 24 01:39:48 mail1 systemd-networkd[721]: Enumeration completed
Sep 24 01:39:48 mail1 systemd[1]: Started Network Service.
Sep 24 01:39:48 mail1 systemd-networkd[721]: ens18: IPv6 successfully enabled
Sep 24 01:39:48 mail1 systemd-networkd[721]: lo: Link is not managed by us
Sep 24 01:39:48 mail1 systemd-networkd[721]: ens18: Link UP
Sep 24 01:39:48 mail1 systemd-networkd[721]: ens18: Gained carrier
Sep 24 01:39:49 mail1 systemd-networkd[721]: ens18: Gained IPv6LL
Sep 24 01:39:49 mail1 systemd-networkd[721]: ens18: Configured

Server B (fails; see attached)

The difference in the status is that Server B does not gain carrier; not sure why
Attached Images

Dell optima with a rosewill rnx-n180ube Wi-Fi antenna won't connect.

$
0
0
I have an old Dell Optima that I just installed Ubuntu 20.04 on, after updating it through Ethernet installing the drivers when I attempt to connect to the Wi-Fi it will continuously connect and then ask me for the password and then try to connect again and then asked me for the password. It'll keep doing this until it finally gives up and it will never connect. I have no idea why it's doing this I've installed the drivers through the official channels and I've tried to compile the drivers from rosewill but they will not compile correctly. When I try to compile the driver it gives me 'make compile driver error 2'.

How to understand 20.04 networking?

$
0
0
Hi,

I do linux since 25 years, but I am on the verge on giving up on Ubunutu 20.04.
- my router should do the DNS. Nevertheless, my Ubuntu is "discovering" machines by machinename-<counter>. I.e. the router has someserver.fritz.box, my Ubuntu discovers the printserver as someserver-5.fritz.box. Ping works both on someserver and on someserver-5. I did no-where add someserver-5.
- same for the printer. Printer shows up automatically, every time Ubuntu is launched with a different name, sometimes working, sometimes not. I can add a new printer in cups, but the other one keeps popping up.
I guess that dnssd and avahi are automatically misconfiguring my system, but I really don't have a clue which services are running locally. I would like to do the network config on my own with full control.

so please, where is precise info how that works in Ubuntu 20.04 desktop?

Thansk, & Best regards,

[ubuntu] Wifi unable to connect after failed docer install attempt

$
0
0
Hi,
I tried to install docker on my Ubuntu but unfortunately it was failed. After that, my wifi connect on start abut after few minutes, it's disconnect and don't show any WiFi option.
I am providing my network info as follows:

https://pastebin.com/wJ05Sj1R

I am unable to do anything as have only one syatem which is Laptop with Ubuntu,

[server] Windows cant access \\serverip

$
0
0
I have a Ubuntu server running samba. IP Address 10.0.0.230

The same server is running VirtualBox with an instance of Ubuntu running samba. IP address 10.0.0.231

I have installed and reinstalled this entire setup four or five times.

From Windows 10, when I try to access samba on the bare medical machine, Windows reports it cannot access 10.0.0.230

However, Windows has no problem accessing 10.0.0.231.

The ubuntu installs were done on the same day using the same ISO.

Since I have done several re-installs and the problem remains, I must be missing something.

I have posted here rather under virtualization because the virtual box is working fine. I would appreciate any and all suggestions.

Remmima under WSL (Windows Subsystem for Linux)

$
0
0
Has anyone managed to make Remmima work under WSL? I installed Focal Fossa in WSL, and then added Remmima. When attempting to launch Remmima in the WSL terminal, here's what I am getting:
Code:

benjaminbreeg@DadsHP:~$ remmina
xprop:  unable to open display ''
xprop:  unable to open display ''
Remmina plugin glibsecret (type=Secret) has registered but not yet initialized/activated. Initialization order is 2000.
[glibsecret] unable to get secret service: Cannot autolaunch D-Bus without X11 $DISPLAY
Unable to init server: Could not connect: Connection refused

(org.remmina.Remmina:4565): Gtk-WARNING **: 14:27:57.391: cannot open display:

What am I doing wrong please? Is that how you launch Remmima in command line mode?

[UbuntuGnome] Cisco IP phone

$
0
0
I asked in the cisco community forum for help to trace why my phone is not showing in its directory the phone numbers recorded in my web portal at broadcloud. They should have been downloaded and incorporated into the phone's directory. I have done a number of restarts to no effect on the contents of the directory.

This is the initial response:

There's not so much you can do itself. Turn on and catch syslog&debug messages (highest level possible). Catch all network packets send/received by your phone as well. It may help you (or us if you disclose them) to guess the cause.

Each phone on my network has its own url eg 192.168.1.173

What is the simplest way for me to catch the relevant network packets?

I am using 18.04

USB Broadcom wireless card - having trouble getting to work 18.04 LTS

$
0
0
Hey everyone,

Sorry to make another one of these posts but I've done as much reading as I can on this and I think I need to reach out and ask for help.

Bus 001 Device 007: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]

Ive install ndiswrapper, and downloaded what I think are the appropriate drivers. 'ndiswrapper -l' gives the following:

bcmwlhigh5 : driver installed
device (0846:9020) present

however when I 'modprobe ndiswrapper' I get the following errors in dmesg. If someone could take a look and point me in the right direction I would really appreciate it!

[ 652.719479] usb 1-5: new high-speed USB device number 7 using ehci-pci
[ 652.878664] usb 1-5: New USB device found, idVendor=0846, idProduct=9020, bcdDevice= 0.01
[ 652.878666] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 652.878668] usb 1-5: Product: Remote Download Wireless Adapter
[ 652.878670] usb 1-5: Manufacturer: Broadcom
[ 652.878672] usb 1-5: SerialNumber: 113
[ 653.015474] usb 1-5: reset high-speed USB device number 7 using ehci-pci
[ 653.180254] ndiswrapper: driver bcmwlhigh5 (ASUS,07/31/2012, 6.30.61.21) loaded
[ 653.181858] ndiswrapper (mp_init:211): couldn't initialize device: C0000001
[ 653.181862] ndiswrapper (pnp_start_device:395): Windows driver couldn't initialize the device (C0000001)
[ 653.181867] ndiswrapper (mp_halt:254): device 0000000093f15faa is not initialized - not halting
[ 653.181868] ndiswrapper: device eth%d removed
[ 653.181977] ndiswrapper: probe of 1-5:1.0 failed with error -22

Bluetooth devices become unresponsive in Ubuntu 20.04

$
0
0
I've been using Ubuntu 20.04 for several months now and have noted that my Bluetooth mouse and keyboard will randomly stop connecting several times a day. When I go to Settings -> Bluetooth, they still show up as connected but are clearly not. Sometimes I'm able to "fix" the problem by shutting off Bluetooth, turning it back on and then reconnecting the devices, but more often than not, it requires a reboot, which is extremely inconvenient, and - dare I say it - "Windows-like". I am running the 5.4.0-48-generic kernel on a year-old Dell XPS 13.

[ubuntu] Wireless problem internet extremly slow

$
0
0
I'm really new in ubuntu and i since i've been working i was so happy, but after 1 week working i noticed that my internet drop to .5 - 1 mb i tought it was the company but nope, everything is fine and i checked on my cellphone and in windows and i having 30mb/s conection i've tried everythin i've found on internet but nothing seems help, i'll attached some commands and their outputs


I'm using ubuntu 20.4, i've tried changing to 18 LTS and fedora o xubuntu, but i get the same problem:C

uname -r
```
5.4.0-48-generic
```

lshw -C network

```
WARNING: you should run this program as super-user.
*-network
description: Wireless interface
product: QCA9377 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 31
serial: 58:00:e3:77:17:93
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=5.4.0-48-generic firmware=WLAN.TF.2.1-00021-QCARMSWP-1 ip=192.168.0.7 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:130 memory:b1000000-b11fffff
```

lspci | grep Network
```
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
```

iwconfig
```
enp3s0f1 no wireless extensions.

wlp2s0 IEEE 802.11 ESSID:"IZZI-4F07"
Mode:Managed Frequency:2.462 GHz Access Point: 70:4F:B8:FD:65:1B
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=25/70 Signal level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:80 Missed beacon:0

lo no wireless extensions.
enp3s0f1 no wireless extensions.

wlp2s0 IEEE 802.11 ESSID:"IZZI-4F07"
Mode:Managed Frequency:2.462 GHz Access Point: 70:4F:B8:FD:65:1B
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=25/70 Signal level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:80 Missed beacon:0

lo no wireless extensions.
```


Please somebody help me i have to take classes from college.

Activation of network connection failed

$
0
0
Hello,

Since two days I have this problem on my wired connection:

Activation of network connection failed

What have I check to fix this issue ?

Thanks.

[ubuntu] Activation of network connection failed error in openvpn GUI on Ubuntu 20.04 LTS

$
0
0
I import openvpn config file in openvpn gui to use vpn service. But I am facing some problems from very beginning. I can not connect to my saved vpn connections for a while, it shows activation of network connection failed. But the same config file I use in android openvpn connect app, I have tested that whether the problem with the config file or not. It works fine in android. Is there any bug with ubuntu openvpn gui?
How can I solve it?
Moreover, I can connect the same vpn connection in ubuntu after a long break. Why does it happen?

Thank you.

Ethernet only works after soft-reboot (Ubuntu 18.04.5 Server)

$
0
0
I'm trying out an engineering sample of a Rock Pi X (https://wiki.radxa.com/RockpiX) and am having problems with the Ethernet connection. On a cold boot (from power disconnected to power on), the Ethernet connection fails to obtain an DHCP address and when its configured for static, it still cannot reach the connected router... arp shows nothing. If I do a simple reboot (sudo shutdown now), Ethernet works with no problem and all is good. I've reinstalled Ubuntu 18.04.5 and had the same problem. I then installed 20.04 and it works without an issue, so I suspect its something specific to 18.04. I don't know where to look to try to troubleshoot this.

[ubuntu] "Authentication Required" password request loop on Ubuntu 20.04

$
0
0
I have a dual-boot laptop (Surface Book 1) that can run both Windows and Ubuntu. Two days ago, on Saturday, everything was working fine. Now, only Windows can connect. On Ubuntu, I can see the wifi network, and I can attempt to connect, but each time it bounces me back to the "Authentication Required" page where I reenter the password.

I've tried restarting the router, turning my computer completely off and on, and verifying (many times) that I'm using the correct password. Elsewhere on this forum, I found a script for posting internet data (
https://github.com/UbuntuForums/wireless-info). Perhaps it's still useful! I've attached its output here.

This appears to be a problem specifically between Ubuntu and my Xfinity wifi. When I turn my phone into a hot-spot, it connects just fine.

What can I do to resolve this? (And thanks for taking a look!)
Attached Files

Port forwarding unsuccessful on ubuntu 18.04

$
0
0
Hi,
I have tried to open a port on ubuntu 18.04 desktop version.
I have managed to point the internal ip address (192.168.1.xxx) to my pc MAC in the DHCP and add up a profile of port (internal ip mapped to port) that needs to be opened up in PortForwarding page in router.
In ubuntu, I have run the command sudo ufw allow portnumber/tcp and check the ufw status which is active and port is working.
After completing all the above, I got "post is closed" once checking with yougetsignal.com and "times out" with canyouseeme.com.
If there anything I have done wrong? Thanks for the help.

Restricting YouTube through Squid at certain times and selective transparent proxy

$
0
0
At this time of Online Schooling due to community restrictions, I have setup ubuntu to work as router / dhcp thru dnsmasq at home.

There has been numerous times that my son can't keep away from YouTube during class so I had to setup Squid to prevent that.

I have set up basic authentication to work with Squid as well, and manage to get it to work somehow..
Code:

auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid Basic Authentication
acl auth_users proxy_auth REQUIRED

through this acl / http_access lines, I was able to directly prevent Squid from loading on the browser of the laptop:


Code:

acl U1010_clients src 192.168.254.0/24 #lan ip addresses
acl Test_Device src 192.168.254.204  #target device
acl YouTube_Service dstdomain .youtube.com .youtu.be .ytimg.com .googlevideo.com .i.google.com .ytimg.l.google.com .youtube.l.google.com
acl school_hours time MTWHF 07:30-12:00

http_access deny Test_Device YouTube_Service


but this means that, YouTube will be *forever* banned for that machine (at least while the Squid is running as proxy for that machine).

But there are certain times when certain school materials will actually point to a YouTube link. So I thought that for those times, I figure my son just have to come over to me, my wife or our daughter to authenticate and my son can continue on only for that link (hopefully next time he tries to go YouTube on to watch his preferred videos, the authentication feature will kick in again and he can't get past that... have to have a way to do that right?

the question then is:

How do I prohibit YouTube for a certain device, only during school hours without any proper authentication?

further,

My testing involved having to setup the Windows client to use my Squid proxy setup. but I'm pretty sure my son would be able to find a way to disable that eventually, so I'm thinking of setting Squid as a transparent proxy.

But, is it possible to only do that for certain clients within the LAN? say only for the Windows client my son uses ? (and maybe an backup tablet..)

this is supposed to be the line in my firewall script to setup the transparent proxy:

Code:

#$IPT -t nat -A PREROUTING -s 192.168.254.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128
instead of the whole LAN ip address pool, I can specifically use the client specific address here ya? Since I do have control on IP address assignment through mac address of the machines (via dnsmasq).

Is it good practice to also have Port 443 go through Squid? (since YouTube also heavily uses that port) ?

thanks for the feedback.

[ubuntu] 18.04 LTS -> 20.04 LTS do-release-upgrade report

$
0
0
Now that a stable version of 20.04 LTS has been released and the hold taken of release upgrades I decided to upgrade on of my computers. I started with an easy one, a relatively clean install of 20.04 LTS amd64 on an new build desktop computer.

Code:

$ do-release-upgrade
The upgrade went very smoothly. I was asked 2 configuration questions, once about replacing the smb.conf file and once about replacing the ssh configuration file. I chose the defaults and left the existing modified files in place.

The only other questions were whether I wanted to proceed with the install, whether I was ready to remove a bunch of packages and whether I wanted to reboot. It took about 6 hours total but the install stopped for an unknown amount of time waiting for me to answer a prompt.

After the reboot everything so far has worked fine, but I haven't done anything much with it yet. I have more testing to do.

This was one of the smoothest release upgrades I've done, but it's also one of the newest machines and simplest installs I've upgraded.

I'm planning to do my other 7 computers in the coming months.

[ubuntu] Ralink RT5390 wifi not properly working on Ubuntu 20.04

$
0
0
I'm totally new to ubuntu, it's been 2 days since i have been using this, everything seems fine but have been facing issues with my wifi connections.
Wifi signals always are weak even at very small distance from wifi hotspot. When i bring hotspot close enough I get good signals but still the network speed is really slow, many times it would disconnect by itself, then I have to turn wifi off and on to re-establish the connection.

Need help with it, think this is the right place to get it solved.

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


Found this but it didn't worked

I could provide whatever the logs needed

used below command, maybe it could be of some help

Code:

###### lspci -v #######
02:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
    DeviceName: Ralink 5390GN 802.11b/g/n 1x1 WiFi Adapter
    Subsystem: Hewlett-Packard Company U98Z077.00 Half-size Mini PCIe Card
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at d3400000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: rt2800pci
    Kernel modules: rt2800pci

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 02)
    Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller

[ubuntu] Antenna Strength

$
0
0
There are some commands and utilities that show Access Point signal strength and quality,

Code:

sudo iwlist scan
sudo iwconfig

and some GUI apps but not sure how one can assess the quality of antenna in WiFi receivers.

Phones, netpads and laptops have antenna built in to motherboard but some USB devices have a nice aerial attached to a USB connector.

Some access points have replaceable aerial offering more gain or directional.

Is there any way of seeing or measuring the quality of the wifi device antenna?

Geoff
Viewing all 23300 articles
Browse latest View live


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