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

Unable to connect for networks with password

$
0
0
I am able to connect to wifi networks that don't require password. But when I try to connect to a network that requires password, the password is not asked, Network Manager tries to connect and of course it fails.

This is the log from /var/log/syslog:

Code:

NetworkManager[936]: <info>  [1495625898.1943] device (wlp2s0): Activation: starting connection 'true_home2G_b68' (ea2f25dd-98bd-4e72-b660-5ac56c683519)
NetworkManager[936]: <info>  [1495625898.1944] audit: op="connection-activate" uuid="ea2f25dd-98bd-4e72-b660-5ac56c683519" name="true_home2G_b68" pid=2168 uid=1000 result="success"
NetworkManager[936]: <info>  [1495625898.1945] device (wlp2s0): state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[936]: <info>  [1495625898.1946] manager: NetworkManager state is now CONNECTING
NetworkManager[936]: <info>  [1495625898.1951] device (wlp2s0): state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[936]: <info>  [1495625898.1953] device (wlp2s0): Activation: (wifi) access point 'true_home2G_b68' has security, but secrets are required.
NetworkManager[936]: <info>  [1495625898.1953] device (wlp2s0): state change: config -> need-auth (reason 'none') [50 60 0]
May 24 13:38:43 dv-XPS-15-9550 NetworkManager[936]: <warn>  [1495625923.2170] device (wlp2s0): No agents were available for this request.
May 24 13:38:43 dv-XPS-15-9550 NetworkManager[936]: <info>  [1495625923.2171] device (wlp2s0): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
May 24 13:38:43 dv-XPS-15-9550 gnome-session[1940]: (nm-applet:2168): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 24 13:38:43 dv-XPS-15-9550 NetworkManager[936]: <info>  [1495625923.2174] manager: NetworkManager state is now DISCONNECTED
May 24 13:38:43 dv-XPS-15-9550 NetworkManager[936]: <warn>  [1495625923.2184] device (wlp2s0): Activation: failed for connection 'true_home2G_b68'
May 24 13:38:43 dv-XPS-15-9550 NetworkManager[936]: <info>  [1495625923.2199] device (wlp2s0): state change: failed -> disconnected (reason 'none') [120 30 0]
May 24 13:38:43 dv-XPS-15-9550 kernel: [32456.473864] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready

I don't know if it matters, I think this problem started after installation of anbox. After that, in ifconfig results, wlp2s0 was replaced by another entry (anboxlo if I remember correctly). I have uninstall anbox and tried to put back the old settings, but no success.

Please help me here. I will be available to give more information as required.

Easiest way to connect to WiFi from Command line

$
0
0
Background:
I have a Raspberry Pi 3 running Ubuntu 16.04. The Pi has a small LCD screen attached, and I have a small keyboard. My idea was that I could someone connect to a wireless network using the command line. So if I took the Pi to a new location I could start up the Pi, type in the apprpriate commands and then SSH after that from a desktop PC.

I've been searching for an easy way to connect but having no luck.

Initially I thought

Code:

iwconfig wlan0 essid...
was my saviour, but I believe this only works for WEP keys, whereas most people are WPA now.

I then look at using wpasupplicant but this seems overly complicated.

Is there nothing where I can type one line command to connect to a known SSID?

I'd appreciate any thoughts from people who are far more savvy on this than me :)

vlan interface adds 0 to the interface name

$
0
0
something is not right with my vlan interfaces.

br0.0400 Link encap:Ethernet HWaddr 0c:c4:7a:ce:42:1c
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:368 (368.0 B) TX bytes:0 (0.0 B)

you'll notice the vlan name is 0400 even though in my /etc/network/interfaces files I add the vlan as just 400
#vlan 400
auto br0.400
iface br0.400 inet manual
if I look in /proc I can see the vlan id is correct but interface name has the '0'
root@opsvm02:~# cat /proc/net/vlan/br0.0400
br0.0400 VID: 400 REORDER_HDR: 1 dev->priv_flags: 1
total frames received 5
total bytes received 368
Broadcast/Multicast Rcvd 5

total frames transmitted 0
total bytes transmitted 0
Device: br0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:
root@opsvm02:~#
I can run the commands
vconfig rem br0.0400
ifup br0.400
this fixes the issue, but if the machine is rebooted the issue with the 0 will happen again. Is this a bug or am I doing something wrong?

Wifi for some SSID and not for some others

$
0
0
Hi,
Strange problem. I'm currently using wifi at home, however I'm unable to connect at work (I also experimented trouble with another public network). In fact, it connect, but it never resolve DNS. I recently upgrade to 16.04, hoping solving my problem but it doesn't. I dist-upgraded, and if possible, would like to avoid to do a clean re-install only for this issue.
I attached 2 files obtained from the same computer, both connected to "chum-sansfil".
wireless-info_nowifi : from my Ubuntu 16.04
wireless-info-live_working : from live-USB 16.04
working SSID is "lemien" and those not working is "ile-sans-fil" and "camp musical".
Thanks if someone could help me!
Mel
Attached Files

[ubuntu] Vaio VGN AW31M droping wifi after upgrade to 16.04LTS

$
0
0
My wifi was fine until I upgraded to 16.04LTS but now I have to occasionally reset it after it stalls.
I am a newbie and can follow instructions but my knowledge is limited.
This is the result of the wireless-info script.

http://paste.ubuntu.com/24654754/

TIA

[ubuntu] networking restart error "RTNETLINK answers: File exists"

$
0
0
Hi,

After editing the /etc/network/interface file to:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.x.y
netmask 255.255.255.0
gateway 192.168.x.254
dns-nameservers 192.168.z.z 192.168.z.z

I tried to restart the interface in several ways. I tried ifdown ifup, /etc/init.d/networking restart and even a reboot of the machine.
When trying the reboot the machine will not restart....
When trying to restart the service it gives the error "RTNETLINK answers: File exists"
I have tried to flush the "ip addr flush dev eth0", but no help there....

the file is wright, and the location to. When i replace static with dhcp and hash out the rest o fth config it works fine.

I'm a bit lost here....

Can anyone help me?

greetz Wim

Question related to ssh -X

$
0
0
I want to launch gui application from host and have it display on client. I can do that when I initiate the ssh connection with -X option.

Is it possible to do launch gui application from host and have it display on client AFTER initiating ssh connection but WITHOUT -X option?
Is there a way to change the settings once connected to be able to do this?

Why am I not simply using -X option?
I want to ssh from ipad. and the apps (terminus) I use, I don't think they allow me to tweak the command and add -X to it.
If you are aware of a way to do this, I am open to it as well.

wifi randomly disappearing on ubuntu 16.04 lts

$
0
0
yo i have problem with my wifi on ubuntu 16.04.02 lts, internet is randomly disappearing and i cant connect to sites or its loading very very slow, the wifi icon is showing that im connected and everything is ok but its not, like its working for 10mins and randomly i cant load any sites but after 2-5mins internet is back also if i disconnect and connect again, internet is working immediatly... idk whats wrong im on wifi

i also checked additional drivers update but there is thing like this and i dont know what it is for:
https://ibb.co/eU4tXa


wifi adapter:
https://ibb.co/fAG7sa

14.04 Intel wireless 8260 not working at all after ubuntu software update

$
0
0
Output from the wireless help script:
Code:

3a:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
        Subsystem: Intel Corporation Device [8086:0050]


3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:525a] (rev 01)

I do not know how to move forward

Wifi running extremely slow on newly installed Ubuntu

$
0
0
Hello,
I could not find solution for my problem in the existing threads, so here is my problem:
I have a Dell Latitude E6400 and I just installed Ubuntu 16.04, and wifi runs extremely slow on my computer, but it was ok when I had windows on it.

here is some output from running sudo lshw -C network:


*-network
description: Network controller
product: BCM4322 802.11a/b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0c:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:17 memory:f1ffc000-f1ffffff
*-network
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:23:4d:b3:4d:ba
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=b43 driverversion=4.8.0-52-generic firmware=666.2 ip=192.168.1.104 link=yes multicast=yes wireless=IEEE 802.11

[ubuntu] Nemo file manager and network file sharing

$
0
0
I used to be able to right click and the menu brought up "connect to server", but that is gone. Did Nemo stop having this feature? I have nemo-share installed.

[ubuntu] 17.04 - WiFi dropping after being connected

$
0
0
Running 17.04 on a Microsoft Surfacebook. It keeps randomly disconnecting from the WiFi, but only on one particular network (as far as I can tell -- have only tried home/this other connection). It will work for some time, and then still show as being connected, but loading anything will result in a timeout. Afterwards, the network manager in general goes nuts, and restarting it results in the WiFi widget on the top-right of the topbar to disappear, and I have to restart the computer to get connected to the internet again. After waiting about 30 seconds or so once it drops, I get a timeout error popup.

Oddly enough, what seems to guarantee the WiFi to stop working is downloading a file from the browser (Google Chrome .deb, for example). Have not tested this with smaller files, but could be worth noting.

I have disabled power saving mode, and I am plugged in. Dualboot with Windows 10 64 bit (not sure this really matters).

Wireless network script output here (and also added as an attachment to this post).
Attached Files

HP g60 New Ubuntu Install - No Wifi

$
0
0
Last weekend I did my first Ubuntu install on a HP g60 laptop. This is a machine I replaced a faulty hard drive on and Ubuntu is the only operating system installed. Everything went perfect with the install except I have no Wifi. I can connect with no problem through a wired connection, but the wifi does not show at all. When I press the wifi on/off button by the power button it doe snot make a difference as it stays red indicating the wifi cannot be turned on.

I have read various info on this and it seems to be a common problem, but I am confused on the direction I need to take to fix this.

Thanks for any help with this.

Problem with connection shared

$
0
0
Hello! i have a ubuntu server with two ethernet, witch i have one connected to isp, another conected with lan, I have problems with connection, the ppp sometimes is down, i use arno-iptablesfirewall. and dnsmasq for dns request,
And i need do a "Traffic shapping" but i dont found how to do, please! help!

TP-Link WN725N-V2 not working with Ubuntu 16.04

$
0
0
I am using this post to create a hotspot in Ubuntu 16.04. In the last step when i tried to connect to the hidden network I got this error:





Here is the output of `lsusb` and `ifconfig` command:


Output of lsusb





Output of ifconfig




The highlighted lines in the output disappears when i remove the TP-LINK device, so I am guessing Ubuntu is able to detect the device.

So where is the problem then ?

I also tried to install driver from here. But when tried to compile the source after cd'ing into the driver directory I got this error:



Please help!

Thanks

[ubuntu] Wifi is not working, nor listed in terminal list all command result.

$
0
0
I have recently installed ububtu. So obviously i am not able to enable my wifi connection. I have tried updating ubuntu and additional drivers as well. But all i got is a bluetooth option. :( I tried 'list all' command in terminal. But there was only bluetooth connection listed. Does this mean i will never be able to use wifi in ububtu? Any help please.....

[UbuntuGnome] Two Machines through Ethernet, linked together issues.

$
0
0
I've got my main rig connected to a router (with the use of a 100ft Ethernet cable) I don't have another long enough cable for my second machine in this room to make it to the router, I've tried to connect the second machine to the main machine using the "share connection" thing with Ethernet, but since they are both Ethernet and not WiFi and Ethernet the second machine isn't connecting to the internet, only to the main machine... any help?

Trying to connect the second machine to the internet using Ethernet connected to the main machine

RTL8723BE: Wifi always disocnecting and can't connect again and must be restarted to

$
0
0
i'm frustating with my new laptop, Wifi works well and can detect wifi signal around it.
The problem is when i connected to my wifi just 1-2 minutes the wifi will be disconnecting and when i try to reconnect, wifi doesn't to connect.
After restarting the laptop, all work as usual again, I can connect and again only 1-2 minutes wifi will be disconnected.
I have tried kali linux, ubuntu, opensuse it still same. Now, my laptop is using Elementary OS and Realtek RTL8723BE PCIe Wireless Network Adapter

Quote:

test@test:~$ inxi -Fxz
System: Host: hmvoc9 Kernel: 4.8.0-52-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Gnome (Gtk 3.18.9-1ubuntu3.3) Distro: elementary 0.4.1 loki
Machine: System: LENOVO (portable) product: 80KY v: Lenovo G40-80
Mobo: LENOVO model: Lenovo G40-80 v: NO DPK Bios: LENOVO v: B0CN80WW date: 05/18/2015
CPU: Dual core Intel Core i3-4030U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7581
clock speeds: max: 1800 MHz 1: 799 MHz 2: 799 MHz 3: 809 MHz 4: 830 MHz
Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
bus-ID: 04:00.0
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.8.0-52-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 5000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be bus-ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Drives: HDD Total Size: 500.1GB (2.4% used) ID-1: /dev/sda model: WDC_WD5000LPCX size: 500.1GB
Partition: ID-1: / size: 23G used: 3.7G (18%) fs: ext4 dev: /dev/sda9
ID-2: /home size: 74G used: 129M (1%) fs: ext4 dev: /dev/sda8
ID-3: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 45.0C mobo: N/A gpu: 42.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 199 Uptime: 19 min Memory: 1043.6/3871.3MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35

iwconfig

Quote:

test@test:~$ iwconfig
lo no wireless extensions.

wlp3s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on

enp0s20u3 no wireless extensions.

enp2s0 no wireless extensions.
Wireless Script

Here

Note: When i check my info, I'm using mobile connection with usb tether.

[ubuntu_studio] Turning off wireless power man. permanently

$
0
0
I have partly solved a wireless problem on my easynote laptop that I've had since installing 16.04. Without fail, the wireless would work for about 5-10 mins, when it would drop out and not return until reboot. dmesg would show lots of connection retries.

iwconfig shows that the power management is on. If I use :

sudo iwconfig <iface> power off

It works reliably and continually then, until logout or reboot, when power management gets turned back on again. I haven't found anything in settings manager or editor to make a permanent setting.

I guess I could add a script to set this, but is there a "proper" way to address this? Perhaps turning off power management to fix this isn't the proper way anyway, but I'm not too concerned about power usage in this situation.

[ubuntu] 17.04 - WiFi problem with HP ENVY dv6

$
0
0
Hi everyone ..
my Ubuntu Could not identify my:


Code:

1- build in Intel Corporation Centrino Wireless-N 2230 BGN
2- USB Alfa AWUS036H


I already installed Ubuntu 17.04 and I never had a problem during installation. But I could not connect to the Internet through either devices


i removed my Ubuntu then tried kali 2017.1 and everything working fine..!!


BTW I Am using a Boot a Live-CD from USB for now for each Ubuntu and Kali


i used 2 scripts for my hp on Ubuntu and Kali please see detail's below ..


Thanks in advanced for helping me


Ubuntu 17.04
Script 1: https://paste.ubuntu.com/24693859/
Script 2: https://paste.ubuntu.com/24693888/


Kali 2017.1
Script 1: https://paste.ubuntu.com/24693878/
Script 2: https://paste.ubuntu.com/24693913/

It seems that i need some drivers but can only connect wirelessly to the Internet.. :(
Viewing all 23300 articles
Browse latest View live