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

Intel Wireless 7260 very unstable

$
0
0
I have had an unstable wi-fi for a long now, but just found out it's the Intel Wireless 7260 card causing this.

What I mean is that the wi-fi will drop randomly, and only rebooting fixes it (temporarily until it drops again).

I tried plugging an external wi-fi card and it worked perfectly.

How can I fix this issue with my laptop's wifi card?

Code:

afonso@afonso-ubuntu:~$ lspci | grep -i wireless
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)

Code:

afonso@afonso-ubuntu:~$ dmesg | grep iwl | grep firmware
[  10.013116] iwlwifi 0000:03:00.0: loaded firmware version 25.17.12.0 op_mode iwlmvm
[ 2454.141227] iwlwifi 0000:03:00.0: loaded firmware version 25.17.12.0 op_mode iwlmvm
[ 2460.110637] iwlwifi 0000:03:00.0: Failed to load firmware chunk!

Code:

afonso@afonso-ubuntu:~$ lsmod | grep iw
iwlmvm                278528  0
iwlwifi              196608  1 iwlmvm
mac80211              724992  2 rtl8187,iwlmvm
cfg80211              540672  4 iwlwifi,mac80211,rtl8187,iwlmvm

Code:

afonso@afonso-ubuntu:~$ uname -a
Linux afonso-ubuntu 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux





I appreciate any help you guys can give me!
Thanks a lot!

[ubuntu] Broadcom 43142

$
0
0
Hi

I just bought a new notebook with the Wifi card Broadcom 43142 , and it not working good comparing with my old laptop with Broadcom 4313 .

I tested the last version of bcmwl-kernel-source and broadcom-sta installed via synaptic but it losing connection with the AP after some minute or not working after the connection .

I'm using the last version of ubuntu (16.04.1) , fedora and kali live cd don't detecting the Wifi and it is working very well in Win 10 from the some distance between the AP and the notebook .

Do you have and suggestion ?

[server] Very slow network performance copying files

$
0
0
Good day all
I've spent a weekend troubleshooting this now, and been reading up on many things, but seems I have yet to find a solution.

I recently did a complete re-install of a home / office server, running Ubuntu 16.04.1 LTS (Kernel 4.4.0.31 generic) 64 bit.
When I backed up files from the server, I copied them to a USB 3 drive attached to my Windows 10 64 bit machine. Both machines are connected via GB NICs to a GB unmanaged switch. Speeds were around 80mbps then. I also had jumbo frames enabled then.

With the re-install, I have speeds around 1 or 2 mbps, copying files back. I have tried this with default MTU of 1500, and using 9000 (and 9014, matching the Win 10 machines card). I have also tried adding "socket option TCP_NODELAY" to no avail.

This is a rather general purpose server, running websites that are being developed (via Apache), MySQL databases, file server for shared home media, as well as storage for raw footage of videos for current film projects (so they can be accessed by anyone working on the project), as well as synchronising to cloud storage for access by any devices.

Any hints, help or tips as to where to begin looking for the cause of the slow performance would be greatly appreciated.
All software updates have been applied to the server as of posting this request. It is a headless server, with administration done via SSH from any number of other devices in the office or house, connecting via GB, 100MB or wireless networks.

Thank you in advance.

[ubuntu] Need Samba AD member join help

$
0
0
Hi,

I have setup a Samba AD Domain Controller (Ubuntu 16.04 LTS), and at face value it looks to be working. The server config and steps I went through are here: http://pastebin.com/hnfZdn7i

The only thing unusual is I had to add Kerberos principals manually for "administrator" and "admin/admin".

On the client/AD Member side (client config here: http://pastebin.com/sbPZUAEQ), which is also Ubuntu 16.04 LTS, I can kinit and receive principals correctly. However, the "net ads join" fails, as below. I also tried joining a Mac to the domain, and the error I get mentions "make sure both server and client are setup for the same NTP servers" or something like that, which I have ensured that all three machines are syncing of the Ubuntu NTP servers (including the Mac).

When I used to use Unix auth with Samba, I used to have to add "machine$" using "useradd -m". I wonder if I need to do something similar with Kerberos as well? I tied adding with "samba-tool", it didn't help. I tried adding prinicpals to kKerberos, but it didn't help, and I am not sure what the exact format of the principal would be any way.

Any and all help would be most appreciated!

Thanks,
Shash

Here's the client failure log:

chatterjees@ChatterBuntu:~$ sudo net ads join -S chattersrv.home.thechatterjees.net -U Administrator -d3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface enp2s0 ip=192.168.1.13 bcast=192.168.1.255 netmask=255.255.255.0
Enter Administrator's password:
libnet_Join:
libnet_JoinCtx: struct libnet_JoinCtx
in: struct libnet_JoinCtx
dc_name : 'chattersrv.home.thechatterjees.net'
machine_name : 'CHATTERBUNTU'
domain_name : *
domain_name : 'HOME.THECHATTERJEES.NET'
domain_name_type : JoinDomNameTypeDNS (1)
account_ou : NULL
admin_account : 'Administrator'
admin_domain : NULL
machine_password : NULL
join_flags : 0x00000023 (35)
0: WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS
0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME
0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT
0: WKSSVC_JOIN_FLAGS_DEFER_SPN
0: WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED
0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE
1: WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED
0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE
0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE
1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE
1: WKSSVC_JOIN_FLAGS_JOIN_TYPE
os_version : NULL
os_name : NULL
os_servicepack : NULL
create_upn : 0x00 (0)
upn : NULL
modify_config : 0x00 (0)
ads : NULL
debug : 0x01 (1)
use_kerberos : 0x00 (0)
secure_channel_type : SEC_CHAN_WKSTA (2)
Connecting to 192.168.1.11 at port 445
Doing spnego session setup (blob length=96)
got OID=1.2.840.48018.1.2.2
got OID=1.2.840.113554.1.2.2
got OID=1.3.6.1.4.1.311.2.2.10
got principal=not_defined_in_RFC4178@please_ignore
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
get_dc_list: preferred server list: "chattersrv.home.thechatterjees.net, *"
Successfully contacted LDAP server 192.168.1.11
Connected to LDAP server chattersrv.home.thechatterjees.net
ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2
ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2
ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.10
kerberos_kinit_password Administrator@HOME.THECHATTERJEES.NET failed: Client not found in Kerberos database
libnet_Join:
libnet_JoinCtx: struct libnet_JoinCtx
out: struct libnet_JoinCtx
account_name : NULL
netbios_domain_name : 'CHATTERDOMAIN'
dns_domain_name : 'home.thechatterjees.net'
forest_name : 'home.thechatterjees.net'
dn : NULL
domain_sid : *
domain_sid : S-1-5-21-148286683-2101334516-1739462661
modified_config : 0x00 (0)
error_string : 'failed to connect to AD: Client not found in Kerberos database'
domain_is_ad : 0x01 (1)
result : WERR_GENERAL_FAILURE
Failed to join domain: failed to connect to AD: Client not found in Kerberos database
return code = -1


Here's the

No WiFi after last update

$
0
0
My WiFi was working great for a year on my new Lenovo Yoga Pro 13 and today I did a Software Updater update and when I rebooted I now get "no network devices available". Does anyone know what happened?

Here is my wireless-info.txt:

Code:


########## wireless info START ##########

Report from: 31 Jul 2016 23:20 MDT -0600

Booted last: 31 Jul 2016 00:00 MDT -0600

Script from: 08 Jul 2016 02:16 UTC +0000

##### release ###########################

Distributor ID:        Ubuntu
Description:        Ubuntu 16.04.1 LTS
Release:        16.04
Codename:        xenial

##### kernel ############################

Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, noprompt, quiet, splash, elevator=deadline, vt.handoff=7

##### desktop ###########################

Ubuntu

##### lspci #############################

##### lsusb #############################

Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 5986:0535 Acer, Inc
Bus 002 Device 005: ID 04f3:016f Elan Microelectronics Corp.
Bus 002 Device 004: ID 2047:0855 Texas Instruments Invensense Embedded MotionApp HID Sensor
Bus 002 Device 003: ID 8087:07dc Intel Corp.
Bus 002 Device 008: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
Bus 002 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no

##### lsmod #############################

ideapad_laptop        24576  0
sparse_keymap          16384  1 ideapad_laptop
wmi                    20480  1 ideapad_laptop
video                  40960  2 i915,ideapad_laptop

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

##### iwconfig ##########################

lo        no wireless extensions.

##### route #############################

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface

##### resolv.conf #######################

##### network managers ##################

Installed:

        NetworkManager

Running:

root      2492    1  0 22:06 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                        ttyACM0
GENERAL.TYPE:                          gsm
GENERAL.NM-TYPE:                        NMDeviceModem
GENERAL.VENDOR:                        SAMSUNG
GENERAL.PRODUCT:                        SAMSUNG_Android
GENERAL.DRIVER:                        cdc_acm
GENERAL.DRIVER-VERSION:               
GENERAL.FIRMWARE-VERSION:             
GENERAL.HWADDR:                        (unknown)
GENERAL.MTU:                            0
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                        2 (Device is now managed)
GENERAL.UDI:                            /org/freedesktop/ModemManager1/Modem/0
GENERAL.IP-IFACE:                     
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    --
GENERAL.CON-UUID:                      --
GENERAL.CON-PATH:                      --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/bueycup]] (600 root)
[connection] id=bueycup | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=bueycup
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/INFINITUMBC0FBF]] (600 root)
[connection] id=INFINITUMBC0FBF | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=INFINITUMBC0FBF
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/202b96]] (600 root)
[connection] id=202b96 | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=202b96
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/INFINITUMa435]] (600 root)
[connection] id=INFINITUMa435 | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=INFINITUMa435
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/INFINITUMCC5F46]] (600 root)
[connection] id=INFINITUMCC5F46 | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=INFINITUMCC5F46
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/DoceCuarenta]] (600 root)
[connection] id=DoceCuarenta | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=DoceCuarenta
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/infinitum movil]] (600 root)
[connection] id=infinitum movil | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=infinitum movil
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/INFINITUM3A7FBF]] (600 root)
[connection] id=INFINITUM3A7FBF | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=INFINITUM3A7FBF
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/INFINITUM]] (600 root)
[connection] id=INFINITUM | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=INFINITUM
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/DEPARTAMENTOS945]] (600 root)
[connection] id=DEPARTAMENTOS945 | type=wifi | permissions=user:stav:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=DEPARTAMENTOS945
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: America/Mazatlan (based on set time zone)

country 00: DFS-UNSET
        (2402 - 2472 @ 40), (6, 20), (N/A)
        (2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
        (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
        (5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
        (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo        no frequency information.

##### iwlist scan #######################

lo        Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

for user in stav; do
  DIR=/tmp/$user/cache/chromium
  sudo -u $user -- sh -c "mkdir -p $DIR && chmod -R 700 /tmp/$user"
done

exit 0

##### pm-utils ##########################

[/etc/pm/sleep.d/00_check_touchpad_status] (755 root)
LOGFILE="/var/log/sleep.log"
case "$1" in
        resume|thaw)
                echo "Resumed normal from suspend at `date`" >> "$LOGFILE"
                /usr/bin/python3 /opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/check_touchpad_status.py resume
                echo "Touchpad enabled"
                ;;
esac

##### udev rules ########################

##### dmesg #############################

########## wireless info END ############

[ubuntu] Wifi adapter

$
0
0
Hello,

I am building a new PC and I would like to know what can be a good wifi adapter that can avoid compatibility issues. If it's possible I would prefer the standard AC on a PCI card.

Thank you.

carlostefano

[ubuntu] No wifi networks appear in new install.

$
0
0
I just built a new computer using the Asus H110T and an Intel 7260 Network card, and no wifi networks appear in the Network Manager. (yes there are wifi networks in range) The ethernet ports do work though. I only have Ubuntu installed on it, and I've fully upgraded everything. Here is some diagnostic code I thought you might like to see based on other posts I've looked at while trying to figure this out. Is there any other information I should provide you?

Code:

~$ sudo lshw -C network
  *-network             
      description: Wireless interface
      product: Wireless 7260
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: wlp2s0
      version: bb
      serial: cc:3d:82:a7:58:69
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-31-generic firmware=16.242414.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
      resources: irq:126 memory:f7100000-f7101fff
  *-network
      description: Ethernet interface
      product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:03:00.0
      logical name: enp3s0
      version: 15
      serial: 34:97:f6:87:f3:e5
      size: 10Mbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
      resources: irq:122 ioport:e000(size=256) memory:f7004000-f7004fff memory:f7000000-f7003fff
  *-network
      description: Ethernet interface
      product: Ethernet Connection (2) I219-V
      vendor: Intel Corporation
      physical id: 1f.6
      bus info: pci@0000:00:1f.6
      logical name: enp0s31f6
      version: 31
      serial: 34:97:f6:87:f3:e4
      size: 100Mbit/s
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.8-4 ip=192.168.1.109 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
      resources: irq:123 memory:f7200000-f721ffff

Code:

~$ sudo iwconfig
lo        no wireless extensions.

enp0s31f6  no wireless extensions.

enp3s0    no wireless extensions.

wlp2s0    IEEE 802.11abgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated  Tx-Power=0 dBm 
          Retry short limit:7  RTS thr:off  Fragment thr:off
          Encryption key:off
          Power Management:on

Any other diagnostic code I should run for you guys?

[ubuntu] wireless network problem

$
0
0
my problem is that my wireless network card stop working suddenly ,,, when i am connecting normaly it just stop and shut down i disconnect automatically from wifi and i when i try to connect again i doin't find it i don't find any wifi network its just like someone shut down all the routers ,, and after a while i recconnect automatically and all the wifi network shown again ,, it keeps doing this at least 5 times every hour what is the problem plz can any one help me what shall i do ?? :/

[server] IP Address changes only after reboot

$
0
0
Hello I have the following problem:

I have a virtual machine, where I installed Ubuntu Server 16.04 with OpenSSH and Standard System Utilities. This is the /etc/network/interfaces configuration.

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto ens160
iface ens160 inet static
address 10.10.20.110
netmask 255.255.255.0
network 10.10.20.0
broadcast 10.10.20.255
gateway 10.10.20.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.10.20.1 10.10.20.2

After that I change the IP address to 10.10.20.100 and after that I can only change the IP address if I restart the machine. ifdown ens160 && ifup ens160 doesn't work, ifconfig ens160 down and ifconfig ens160 up doesnt work, /etc/init.d/network restart doesn't work. When I do ifdown ens160 && ifup ens160 I get the following message: RTNETLINK answers: Cannot assign requested address

The strange thing is, that after I change the IP address in the
/etc/network/interfaces file but before rebooting, I can ping from another computer in the same network both IP addresses. I can confirm that this computer is reacting to both IP addresses, because when I shut it down, I can't ping none of them.

Does someone have an idea?

My virtual machine run under ESXi 5.5. Could that be it?

Thanks!
Ismael

[ubuntu] Create bond1 interface

$
0
0
Hello.
I install ubuntu 14.04.4.
In my system present 4 Ethernet adapters, 2 to local net, 2 to public.
I configured Cisco back-end an make 2 groups of lacp ports.
Now i need create bond0 and bond1.
I load module, install ifenslave, edit /etc/network/interfaces add bond0 and bond1 interfaces, reboot server, bond0 created success, bond1 not created.

Code:

# The loopback network interfaceauto lo
iface lo inet loopback


auto eth0
iface eth0 inet manual


auto eth1
iface eth1 inet manual


auto bond0
iface bond0 inet static
post-up ifenslave bond0 eth0 eth1
post-down ifenslave -d bond1 eth0 eth1
bond-slave none
bond-mode 4
bond-lacp-rate fast
bond-miimon 100
bond-downdelay 0
bond-updelay 0
bond-xmit_hash_policy 1
address 192.168.201.14
netmask 255.255.255.0






auto bond1
iface bond1 inet static
post-up ifenslave bond1 eth2 eth3
post-down ifenslave -d bond1 eth2 eth3
bond-slave none
bond-mode 4
bond-lacp-rate fast
bond-miimon 100
bond-downdelay 0
bond-updelay 0
bond-xmit_hash_policy 1
address 38.x.x.x
netmask 255.255.255.0


auto eth2
iface eth2 inet manual


auto eth3
iface eth3 inet manual

Broadcom BCM43142 802.11b/g/n Wireless 1704 802.11n + BT 4.0

$
0
0
Hi!
I cannot see any WiFi network above 11 chance under Ubuntu 16.04.1. I have tried to change region but nothing has changed. By default system uses proprietary Broadcom 802.11 Linux STA wireless driver source from bcmwl-kernel-source.
Under Windows it does see 1-13 channels with no issue.

USB Wifi Adapter - Panda PAU05 - Ralink RT 5372 Suddenly Stopped Working - 16.04

$
0
0
Hello,

Upon freshly installing Ubuntu 16.04, my Panda PAU05 USB Wifi Adapter was working out the box on the freshly installed OS. It has been working for about 2 months until yesterday, when it suddenly stopped working. It is currently recognized as a USB device on my system. However, my network manager does not recognize the USB wifi adapter as a network device and no longer allows me to access the internet. When I type in `lsusb` It appears as:

Code:

Bus 001 Device 002: ID 148f:5372 Ralink Technology, Corp. RT5372 Wireless Adapter
The one thing I accidentally changed was the blacklisted drivers listed at the bottom of /etc/modprobe.d/blacklist.conf. Is it possible that this could be the culprit? Would anyone mind sharing the default blacklisted drivers in that file for Ubuntu 14.04-16.04? Maybe if I revert to them my device will be recognized.

I also tried installing the drivers for my device on this site: http://www.mediatek.com/en/downloads...loads/?sort=os

When I build those drivers I get the following error:

Code:

Makefile:1403: recipe for target '_module_/home/joel/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux' failed
make[1]: *** [_module_/home/joel/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-31-generic'
Makefile:388: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

Any help appreciated to get this wifi adapter back running.

[ubuntu] connected but no internet

$
0
0
This is odd. I have noticed that even though the network thinks its connected I cannot find the internet. I cannot ping anything, etc. I am using the usenetserver vpn but this occurs even when I am not connected to the vpn. My solution is to disconnect and then connect again. Once I do that I have the internet with/or without the vpn portion. If I look at the connection info everything looks fine. I have no idea what to do about this one. Oh, I have an ongoing weather service program that runs and updates every hour. I know when things have gone south when the advisory that there is no internet for it.

thank you...............

[ubuntu] lenovo g530 wifi switch off

$
0
0
problem is g530 has no hardware wifi switch :-(. So did the wireless info script & found the network controller was broadcom [14e4:4315] (rev 01).

However, there was no wireless, only either net.
U will notice that 'hardware blocked' is yes. Which is the problem g530 dosnt have the hardware switch ?????

Here is the result of the script

CODE tags


########## wireless info START ##########

Report from: 01 Aug 2016 20:39 PDT -0700

Booted last: 01 Aug 2016 00:00 PDT -0700

Script from: 08 Jul 2016 02:16 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

##### kernel ############################

Linux 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

Ubuntu

##### lspci #############################

04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:04b5]
Kernel driver in use: wl

07:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
Subsystem: Lenovo IdeaPad S10e [17aa:3a23]
Kernel driver in use: tg3

##### lsusb #############################

Bus 002 Device 002: ID 090c:3371 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: yes

##### lsmod #############################

wl 6367819 0
cfg80211 496328 1 wl

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF1]>
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::<IP6 'eth0' [IF1]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34635 errors:0 dropped:0 overruns:0 frame:0
TX packets:21228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47228818 (47.2 MB) TX bytes:3784458 (3.7 MB)
Interrupt:17

wlan0 Link encap:Ethernet HWaddr <MAC 'wlan0' [IF2]>
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18

##### iwconfig ##########################

eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off


##### route #############################

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0

##### resolv.conf #######################

nameserver 127.0.1.1

##### network managers ##################

Installed:

NetworkManager

Running:

root 730 1 0 20:12 ? 00:00:00 NetworkManager

##### NetworkManager info ###############

NetworkManager Tool

State: connected (global)

- Device: eth0 [Wired connection 1] -------------------------------------------
Type: Wired
Driver: tg3
State: connected
Default: yes
HW Address: <MAC 'eth0' [IF1]>

Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s

Wired Properties
Carrier: on

IPv4 Settings:
Address: 192.168.1.104
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1

DNS: 192.168.1.1

- Device: wlan0 ----------------------------------------------------------------
Type: 802.11 WiFi
Driver: wl
State: unavailable
Default: no
HW Address: <MAC 'wlan0' [IF2]>

Capabilities:

Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes

Wireless Access Points

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/hebrews725]] (600 root)
[connection] id=hebrews725 | type=802-11-wireless
[802-11-wireless] ssid=hebrews725 | mac-address=<MAC 'wlan0' [IF2]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/NETGEAR29]] (600 root)
[connection] id=NETGEAR29 | type=802-11-wireless
[802-11-wireless] ssid=NETGEAR29 | mac-address=<MAC 'wlan0' [IF2]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Wi-Fi connection 1]] (600 root)
[connection] id=Wi-Fi connection 1 | type=802-11-wireless
[802-11-wireless] ssid=ORLEANS-ROOMS-COX | mac-address=<MAC 'wlan0' [IF2]>
[ipv6] method=auto
[ipv4] method=auto

##### iw reg get ########################

Region: America/Los_Angeles (based on set time zone)

country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist channels ###################

eth0 no frequency information.

lo no frequency information.

wlan0 26 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz
Channel 36 : 5.18 GHz
Channel 38 : 5.19 GHz
Channel 40 : 5.2 GHz
Channel 42 : 5.21 GHz
Channel 44 : 5.22 GHz
Channel 46 : 5.23 GHz
Channel 48 : 5.24 GHz
Channel 149 : 5.745 GHz
Channel 153 : 5.765 GHz
Channel 157 : 5.785 GHz
Channel 161 : 5.805 GHz
Channel 165 : 5.825 GHz

##### iwlist scan #######################

eth0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

wlan0 Interface doesn't support scanning : Network is down

##### module infos ######################

[wl]
filename: /lib/modules/3.13.0-92-generic/updates/dkms/wl.ko
license: MIXED/Proprietary
srcversion: 3F8570547EE3A2BA3D5D734
depends: cfg80211
vermagic: 3.13.0-92-generic SMP mod_unload modversions
parm: passivemode:int
parm: wl_txq_thresh:int
parm: oneonly:int
parm: piomode:int
parm: instance_base:int
parm: nompc:int
parm: intf_name:string

[cfg80211]
filename: /lib/modules/3.13.0-92-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 0055529745EF9A8A3E57FC3
depends:
intree: Y
vermagic: 3.13.0-92-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 2A:48:00:B9:4D:C7:83:D0:53:26:FA:E6:7B:01:B0:BE:B7 :3B:B8:11
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp
rtc

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x14e4:0x1713 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x4315 (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF2]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################

[ 3.806791] wl: module license 'MIXED/Proprietary' taints kernel.
[ 3.873830] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 3.950460] wlan0: Broadcom BCM4315 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
[ 6.234548] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6.344916] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready (repeated 2 times)
[ 50.723900] tg3 0000:07:00.0 eth0: Link is up at 100 Mbps, full duplex
[ 50.723911] tg3 0000:07:00.0 eth0: Flow control is on for TX and on for RX
[ 50.723969] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1609.444564] ERROR @wl_dev_intvar_get : error (-1)

########## wireless info END ############
CODE tags

Cannot connect to NAS after 16.04 upgrade

$
0
0
I originally posted this problem in another thread implying that the culprit was Samba but now I'm not so sure so I closed that thread and started this one.

I have a WD My Cloud NAS which I've been using for several years through Nautilus using a location bookmark (smb://000.000.0.000, not all zeros of course but the ip of the device). I have smbclient installed (but not Samba itself) and all was well until the 16.04 LTS upgrade.

Now, I cannot connect to the NAS at all - no error messages, just no connection.

I originally assumed this was due to a Samba bug (and on Launchpad there are a few) but now I'm not so sure because I can't connect using Gigolo either (which uses GVFS for network connections, an entirely different method than Samba).

So far I've reinstalled smbclient, gigolo, gvfs-fuse, restarted the computer and recreated my Nautilus bookmark (several times) all with no good result.

I don't have a great deal of Linux experience and am hoping someone here can help me solve this issue.

EDIT: not to over-simplify this but it seems to me that whatever gvs-open and smbclient have in common is what isn't working.

Thanks in advance...

Problem connecting with wired connection

$
0
0
Once again here's another problem my linux decided to break down.


My wifi is working but when it comes to being wired in...not so much.


I tried a lot of solutions but none worked...


It was working this morning and now it is not.


Heres a list of stuff. Why am I not connecting to my wired connection?


ifconfig


Code:

    eth0      Link encap:Ethernet  HWaddr 80:fa:5b:2b:96:84 
              inet6 addr: fe80::82fa:5bff:fe2b:9684/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:73 errors:0 dropped:0 overruns:0 frame:0
              TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:6555 (6.5 KB)  TX bytes:25744 (25.7 KB)
   
    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:833 errors:0 dropped:0 overruns:0 frame:0
              TX packets:833 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:79645 (79.6 KB)  TX bytes:79645 (79.6 KB)
   
    wlan0    Link encap:Ethernet  HWaddr a4:34:d9:64:d9:a8 
              inet addr:192.168.2.36  Bcast:192.168.3.255  Mask:255.255.252.0
              inet6 addr: fe80::a634:d9ff:fe64:d9a8/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1816 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1529 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1526261 (1.5 MB)  TX bytes:293164 (293.1 KB)

/etc/NetworkManager/NetworkManager.conf


Code:

[main]


    plugins=ifupdown,keyfile,ofono
    dns=dnsmasq
   
    [ifupdown]
    managed=true

/etc/network/interfaces

Code:

    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback



nm-tool


Code:

    - Device: wlan0  [staybridge] --------------------------------------------------
      Type:              802.11 WiFi
      Driver:            iwlwifi
      State:            connected
      Default:          yes
      HW Address:        A4:34:D9:64:D9:A8
   
      Capabilities:
        Speed:          1 Mb/s
   
      Wireless Properties
        WEP Encryption:  yes
        WPA Encryption:  yes
        WPA2 Encryption: yes
   
      Wireless Access Points (* = current AP)
        PC2:            Infra, C8:D7:19:48:70:C0, Freq 2422 MHz, Rate 54 Mb/s, Strength 40 WPA2
        staybridge:      Infra, 00:02:6F:CB:F5:60, Freq 2412 MHz, Rate 54 Mb/s, Strength 72
        staybridge:      Infra, 00:02:6F:BF:2C:70, Freq 2417 MHz, Rate 54 Mb/s, Strength 60
        staybridge:      Infra, 00:02:6F:BF:2C:84, Freq 2442 MHz, Rate 54 Mb/s, Strength 54
        CableWiFi:      Infra, 50:1C:BF:49:7B:2C, Freq 5805 MHz, Rate 54 Mb/s, Strength 35
        staybridge:      Infra, 00:02:6F:B7:31:F8, Freq 2427 MHz, Rate 54 Mb/s, Strength 40
        staybridge:      Infra, 00:02:6F:B7:32:00, Freq 2447 MHz, Rate 54 Mb/s, Strength 35
        EnGeniusBF2C78:  Infra, 00:02:6F:BF:2C:78, Freq 2462 MHz, Rate 54 Mb/s, Strength 56
        PC:              Infra, C4:3D:C7:8E:82:88, Freq 2437 MHz, Rate 54 Mb/s, Strength 47 WPA2
        PC2:            Infra, C8:D7:19:48:70:C1, Freq 5180 MHz, Rate 54 Mb/s, Strength 35 WPA2
        staybridge:      Infra, 00:02:6F:E9:DB:C0, Freq 2462 MHz, Rate 54 Mb/s, Strength 62
        staybridge:      Infra, 00:02:6F:BF:2C:60, Freq 2432 MHz, Rate 54 Mb/s, Strength 49
        xfinitywifi:    Infra, 50:1C:BF:49:7B:2E, Freq 5805 MHz, Rate 54 Mb/s, Strength 35
        staybridge:      Infra, 00:02:6F:B7:32:04, Freq 2447 MHz, Rate 54 Mb/s, Strength 35
        CableWiFi:      Infra, 18:9C:5D:8E:9C:83, Freq 2462 MHz, Rate 54 Mb/s, Strength 35
        *staybridge:    Infra, 00:02:6F:E9:DB:B0, Freq 2462 MHz, Rate 54 Mb/s, Strength 69
        VAIO-UD56UU:    Infra, D0:AE:EC:A9:A4:8A, Freq 2457 MHz, Rate 54 Mb/s, Strength 37 WPA WPA2
        optimumwifi:    Infra, 50:1C:BF:49:7B:20, Freq 2412 MHz, Rate 54 Mb/s, Strength 37
        optimumwifi:    Infra, F0:29:29:C3:4A:60, Freq 2462 MHz, Rate 54 Mb/s, Strength 35
        TWCWiFi:        Infra, 50:1C:BF:49:7B:22, Freq 2412 MHz, Rate 54 Mb/s, Strength 39
        xfinitywifi:    Infra, D0:C7:89:3B:B8:A1, Freq 2437 MHz, Rate 54 Mb/s, Strength 35
   
      IPv4 Settings:
        Address:        192.168.2.36
        Prefix:          22 (255.255.252.0)
        Gateway:        192.168.3.251
   
        DNS:            8.8.8.8
        DNS:            8.8.4.4
   
   
    - Device: eth0 -----------------------------------------------------------------
      Type:              Wired
      Driver:            r8169
      State:            disconnected
      Default:          no
      HW Address:        80:FA:5B:2B:96:84
   
      Capabilities:
        Carrier Detect:  yes
        Speed:          1000 Mb/s
   
      Wired Properties
        Carrier:        on

sudo lshw -C network


Code:

      *-network             
          description: Ethernet interface
          product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
          vendor: Realtek Semiconductor Co., Ltd.
          physical id: 0.1
          bus info: pci@0000:01:00.1
          logical name: eth0
          version: 12
          serial: 80:fa:5b:2b:96:84
          size: 1Gbit/s
          capacity: 1Gbit/s
          width: 64 bits
          clock: 33MHz
          capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
          configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
          resources: irq:126 ioport:e000(size=256) memory:df214000-df214fff memory:df210000-df213fff
      *-network
          description: Wireless interface
          product: Wireless 8260
          vendor: Intel Corporation
          physical id: 0
          bus info: pci@0000:02:00.0
          logical name: wlan0
          version: 3a
          serial: a4:34:d9:64:d9:a8
          width: 64 bits
          clock: 33MHz
          capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
          configuration: broadcast=yes driver=iwlwifi driverversion=4.2.0-42-generic firmware=25.30.13.0 ip=192.168.2.36 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
          resources: irq:129 memory:df100000-df101fff

UPDATE


I tried adding these lines of codes inside /etc/network/interfaces and no changes
Code:


    auto eth0
    iface eth0 inet dhcp

802.1x NetworkManager password prompt in 14.04

$
0
0
Hello,

I've seen this talked about elsewhere, but no solutions have been presented. We are using NetworkManager to manage our wired ethernet connections that utilize 802.1x. On the 802.1x Security tab, the option to "Ask for this password every time" is NOT checked. However, whenever the machine is rebooted, a modal 802.1x password prompt appears on top of the login screen. Any idea on how to prevent this? I had assumed the 802.1x password would be cached.

Thank you,

Vincent

[ubuntu_mate] New tunnel network interfaces created each time VPN is used

$
0
0
Hello,


I am using Ubuntu Mate 14.04 and I connect to an OpenVPN server manually, using the command line (could not find a GUI application) and an .opvn configuration file.


I noticed that each time I reconnect to a VPN server this way, a new tunnel interface is created: first there is only tun0, next time I use VPN there are tun0 and tun1, and so on. Only after reboot those interfaces are gone.


Am I doing something wrong? Can I avoid the accumulation of those tun network interfaces? Can I get rid of them somehow without rebooting?


My knowledge of linux networking is less than minimal. Thanks in advance for any clarification and help.

[SOLVED] trouble with squid-deb-proxy-client on new install 16.04

$
0
0
I am doing a series of upgrades to get all our systems here onto 16.04 and want to use a proxy to reduce usage of our limited bandwidth connection for this process. I've set up a squid-deb-proxy, which works perfectly with my 14.04 machine, but when I try with the newly installed 16.04 system it ignores the proxy and fetches direct everything, UNLESS I first start a Wireshark(1) capture on the ethernet port! then everything works fine :)

If I run /usr/share/squid-deb-proxy-client/apt-avahi-discover from terminal it returns nothing, but I note that if I run wireshark(2) on another machine the request is sent and an answer is given. The request and answer are the same before and during the wireshark(1) capture on the problem machine, but after starting it the apt-avahi-discover starts working and returning the proxy server correctly. It continues to work for about a minute after I stop that wireshark(1) and then I start to get errors in terminal, and the other wireshark(2) starts showing different messages too.

I tried setting the SQUID_DEB_PROXY_CLIENT_DEBUG environment variable to stop suppression of avahi logging to syslog, but no syslog output appears.

these are the wireshark(2) output as screenshots:
1: before starting wireshark(1)
not-working-no-errors.jpg
2: after starting wireshark(1)
working-in-terminal.jpg
3: after stopping wireshark(1)
not-working-after-wireshark.jpg

the error given is:
Failed to resolve service 'Squid deb proxy on raspberrypi' of type '_apt_proxy._tcp' in domain 'local': Timeout reached

it appears that the packets meant to be caught by avahi in the client machine are not being seen unless wireshark is running, since they are being sent but the client acting as if not. I checked, and they do contain the relevant information (port, IPv6, IPv4) for the requested service.

My next play is to try using a wifi hub to see if I can see all the packets when it's not working - currently I only see the broadcast packets due to ethernet switching, and when I start wireshark(1) on the client it stops not working ;)

***** SOLUTION FOUND *****

The issue is with a cheap no-brand USB-Ethernet adapter got from ebay. When using a different (less cheap) one (the one that is usually used with this laptop since it's internal ethernet failed) everything is working fine. I can only assume the cheap adapter is incorrectly ignoring broadcast packets unless it is in promiscuous mode for wireshark(1).

[ubuntu] Trying to access router's setup page via webbrowser

$
0
0
I have a Linksys router connected by ethernet cable to (1) a Raspberry Pi 3 with Raspian OS, and (2) a laptop computer with 64 bit Ubuntu 14.04 LTS. Both computers are configured with static IP addresses, and I am able to have an ssh session between server on the rasberry pi and ssh client on the laptop. None of the above are connected to the world wide web; the network consists of only these 3 devices.

I want to access the router's web-based setup page from the laptop computer. I entered the IP address 192.168.2.1 into the address bar of the firefox webbrowser but it returns the standard error message "Firefox can't establish a connection to the server at 192.168.2.1." I tried also the IP addresses 192.168.0.1 and 192.168.1.1 but the results were similar. 192.168.1.1 is the default address for this router but if I recall correctly this router has a non-default IP address assigned to it.

How can I acces the router's setup page? I would prefer not to reset the modem if I can avoid doing so.
Viewing all 23300 articles
Browse latest View live