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

[ubuntu] Need Intel Ac-9560 Driver for Ubuntu 18.04

$
0
0
Hello everyone. Could someone please help me find intel ac9560 driver or some alternative for it on Ubuntu 18.04? i have issues with wifi on my new laptop. It doesnt always connect to Wifi and when it does it shows a Question mark instead showing bars. So i thought maybe Installing a driver for the WIFI card would solve the issue. I could be wrong.
Btw intel ac 9560 is what shows on windows device managar, that's how i got the Model number.
I appreciate any help. Thank you

NFS Access to Windows PC

$
0
0
I have read so many of the tutorials and tried so many things now. I am almost pulling my hair out. :)

I have to say upfront I am green to Linux. I have had a quick look a couple times before, but this is my first real attempt to use it (installed yesterday). I am trying to access shared folders on a Windows PC. I have them setup as NFS (seems I had trouble with Samba in the past, but NFS has always worked great for me). I can see the share in the file manager. I can play videos and view pictures. BUT, for some reason, I can't copy anything from them! It seems like that would be the same thing! Any ideas? Thanks much.

New Netplan setup - netplan: fatal error: cannot bind to port 2983, is another daemon

$
0
0
Hello,
I upgraded my 14.04 install to 18.04. I'm attempting to setup Netplan for my wired and wireless I've created a yaml file and placed it in /etc/netplan

Here's the file contents:
01-larry_net.yaml

network:
version: 2
renderer: networkd
ethernets:
enp2s0:
addresses:
-192.168.1.102/24
wakeonlan: true
dhcp4: no
gateway4: 192.168.1.1
nameservers:
addresses:
-192.168.1.1
-8.8.8.8
-8.8.4.4


If I run #sudo netplan -d try

I get the following:
bind: Address already in use
netplan: fatal error: cannot bind to port 2983, is another daemon running?, exiting.

Netstat shows the port in use, but I cant' tell by what.

#netstat -pnlt | grep ':2983'
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:2983 0.0.0.0:* LISTEN -




Any clues would be appreciated.

Thanks
Jamie

[ubuntu] make fails for tplink TL-WN823N for ubuntu 18.04

$
0
0
make fails for tplink TL-WN823N for ubuntu 18.04.1 LTS , the supported kernel version is (kernel 2.6.24 ~ <4.9.60) on going through the error trace it says -
Code:

error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;

in the part of code -
__inline static void _init_timer(_timer *ptimer, _nic_hdl nic_hdl, void *pfunc, void *cntx)
{
    /* setup_timer(ptimer, pfunc,(u32)cntx);    */
    ptimer->function = pfunc;
    ptimer->data = (unsigned long)cntx;
    init_timer(ptimer);
}

where _timer is defined as - typedef struct timer_list _timer;
seems import of timer.h is missing in the code but on adding it i got no success either.

Can someone help me fix the issue or recommend some other driver for my adapter.

i'm adding the full code for reference too -
/******************************************************************************
 *
 * Copyright(c) 2007 - 2017 Realtek Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 *****************************************************************************/
#ifndef __OSDEP_LINUX_SERVICE_H_
#define __OSDEP_LINUX_SERVICE_H_


#include <linux/version.h>
#include <linux/spinlock.h>
#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 5))
    #include <linux/kref.h>
#endif
/* #include <linux/smp_lock.h> */
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/skbuff.h>
#include <linux/circ_buf.h>
#include <asm/uaccess.h>
#include <asm/byteorder.h>
#include <asm/atomic.h>
#include <asm/io.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26))
    #include <asm/semaphore.h>
#else
    #include <linux/semaphore.h>
#endif
#include <linux/sem.h>
#include <linux/sched.h>
#include <linux/etherdevice.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <net/addrconf.h>
#include <linux/if_arp.h>
#include <linux/rtnetlink.h>
#include <linux/delay.h>
#include <linux/interrupt.h>    /* for struct tasklet_struct */
#include <linux/ip.h>
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/vmalloc.h>

#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2, 5, 41))
    #include <linux/tqueue.h>
#endif

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0))
    #include <uapi/linux/limits.h>
#else
    #include <linux/limits.h>
#endif

#ifdef RTK_DMP_PLATFORM
    #if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 12))
        #include <linux/pageremap.h>
    #endif
    #include <asm/io.h>
#endif

#ifdef CONFIG_NET_RADIO
    #define CONFIG_WIRELESS_EXT
#endif

/* Monitor mode */
#include <net/ieee80211_radiotap.h>

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24))
    #include <linux/ieee80211.h>
#endif

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25) && \
    LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29))
    #define CONFIG_IEEE80211_HT_ADDT_INFO
#endif

#ifdef CONFIG_IOCTL_CFG80211
    /*    #include <linux/ieee80211.h> */
    #include <net/cfg80211.h>
#endif /* CONFIG_IOCTL_CFG80211 */

#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
    #include <linux/in.h>
    #include <linux/udp.h>
#endif

#ifdef CONFIG_HAS_EARLYSUSPEND
    #include <linux/earlysuspend.h>
#endif /* CONFIG_HAS_EARLYSUSPEND */

#ifdef CONFIG_EFUSE_CONFIG_FILE
    #include <linux/fs.h>
#endif

#ifdef CONFIG_USB_HCI
    #include <linux/usb.h>
    #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21))
        #include <linux/usb_ch9.h>
    #else
        #include <linux/usb/ch9.h>
    #endif
#endif

#ifdef CONFIG_BT_COEXIST_SOCKET_TRX
    #include <net/sock.h>
    #include <net/tcp.h>
    #include <linux/udp.h>
    #include <linux/in.h>
    #include <linux/netlink.h>
#endif /* CONFIG_BT_COEXIST_SOCKET_TRX */

#ifdef CONFIG_USB_HCI
    typedef struct urb  *PURB;
    #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22))
        #ifdef CONFIG_USB_SUSPEND
            #define CONFIG_AUTOSUSPEND    1
        #endif
    #endif
#endif

#if defined(CONFIG_RTW_GRO) && (!defined(CONFIG_RTW_NAPI))

    #error "Enable NAPI before enable GRO\n"

#endif


#if (KERNEL_VERSION(2, 6, 29) > LINUX_VERSION_CODE && defined(CONFIG_RTW_NAPI))

    #undef CONFIG_RTW_NAPI
    /*#warning "Linux Kernel version too old to support NAPI (should newer than 2.6.29)\n"*/

#endif

#if (KERNEL_VERSION(2, 6, 33) > LINUX_VERSION_CODE && defined(CONFIG_RTW_GRO))

    #undef CONFIG_RTW_GRO
    /*#warning "Linux Kernel version too old to support GRO(should newer than 2.6.33)\n"*/

#endif

typedef struct    semaphore _sema;
typedef    spinlock_t    _lock;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37))
    typedef struct mutex        _mutex;
#else
    typedef struct semaphore    _mutex;
#endif

typedef struct timer_list _timer;
typedef struct completion _completion;

struct    __queue    {
    struct    list_head    queue;
    _lock    lock;
};


typedef    struct sk_buff    _pkt;
typedef unsigned char    _buffer;

typedef struct    __queue    _queue;
typedef struct    list_head    _list;
typedef    int    _OS_STATUS;
/* typedef u32    _irqL; */
typedef unsigned long _irqL;
typedef    struct    net_device *_nic_hdl;

typedef void        *_thread_hdl_;
typedef int        thread_return;
typedef void    *thread_context;

typedef void timer_hdl_return;
typedef void *timer_hdl_context;

#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 41))
    typedef struct work_struct _workitem;
#else
    typedef struct tq_struct _workitem;
#endif

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24))
    #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
#endif

typedef unsigned long systime;

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22))
/* Porting from linux kernel, for compatible with old kernel. */
static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb)
{
    return skb->tail;
}

static inline void skb_reset_tail_pointer(struct sk_buff *skb)
{
    skb->tail = skb->data;
}

static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset)
{
    skb->tail = skb->data + offset;
}

static inline unsigned char *skb_end_pointer(const struct sk_buff *skb)
{
    return skb->end;
}
#endif

__inline static _list *get_next(_list    *list)
{
    return list->next;
}

__inline static _list    *get_list_head(_queue    *queue)
{
    return &(queue->queue);
}


#define LIST_CONTAINOR(ptr, type, member) \
    ((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))


__inline static void _enter_critical(_lock *plock, _irqL *pirqL)
{
    spin_lock_irqsave(plock, *pirqL);
}

__inline static void _exit_critical(_lock *plock, _irqL *pirqL)
{
    spin_unlock_irqrestore(plock, *pirqL);
}

__inline static void _enter_critical_ex(_lock *plock, _irqL *pirqL)
{
    spin_lock_irqsave(plock, *pirqL);
}

__inline static void _exit_critical_ex(_lock *plock, _irqL *pirqL)
{
    spin_unlock_irqrestore(plock, *pirqL);
}

__inline static void _enter_critical_bh(_lock *plock, _irqL *pirqL)
{
    spin_lock_bh(plock);
}

__inline static void _exit_critical_bh(_lock *plock, _irqL *pirqL)
{
    spin_unlock_bh(plock);
}

__inline static int _enter_critical_mutex(_mutex *pmutex, _irqL *pirqL)
{
    int ret = 0;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37))
    /* mutex_lock(pmutex); */
    ret = mutex_lock_interruptible(pmutex);
#else
    ret = down_interruptible(pmutex);
#endif
    return ret;
}


__inline static void _exit_critical_mutex(_mutex *pmutex, _irqL *pirqL)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37))
    mutex_unlock(pmutex);
#else
    up(pmutex);
#endif
}

__inline static void rtw_list_delete(_list *plist)
{
    list_del_init(plist);
}

__inline static void _init_timer(_timer *ptimer, _nic_hdl nic_hdl, void *pfunc, void *cntx)
{
    /* setup_timer(ptimer, pfunc,(u32)cntx);    */
    ptimer->function = pfunc;
    ptimer->data = (unsigned long)cntx;
    init_timer(ptimer);
}

__inline static void _set_timer(_timer *ptimer, u32 delay_time)
{
    mod_timer(ptimer , (jiffies + (delay_time * HZ / 1000)));
}

__inline static void _cancel_timer(_timer *ptimer, u8 *bcancelled)
{
    *bcancelled = del_timer_sync(ptimer) == 1 ? 1 : 0;
}

static inline void _init_workitem(_workitem *pwork, void *pfunc, void *cntx)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20))
    INIT_WORK(pwork, pfunc);
#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 41))
    INIT_WORK(pwork, pfunc, pwork);
#else
    INIT_TQUEUE(pwork, pfunc, pwork);
#endif
}

__inline static void _set_workitem(_workitem *pwork)
{
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 41))
    schedule_work(pwork);
#else
    schedule_task(pwork);
#endif
}

__inline static void _cancel_workitem_sync(_workitem *pwork)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22))
    cancel_work_sync(pwork);
#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 41))
    flush_scheduled_work();
#else
    flush_scheduled_tasks();
#endif
}
/*
 * Global Mutex: can only be used at PASSIVE level.
 *  */

#define ACQUIRE_GLOBAL_MUTEX(_MutexCounter)                              \
    {                                                              \
        while (atomic_inc_return((atomic_t *)&(_MutexCounter)) != 1) { \
            atomic_dec((atomic_t *)&(_MutexCounter));        \
            msleep(10);                          \
        }                                                          \
    }

#define RELEASE_GLOBAL_MUTEX(_MutexCounter)                              \
    {                                                              \
        atomic_dec((atomic_t *)&(_MutexCounter));        \
    }

static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
    return (netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) &&
        netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) &&
        netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) &&
        netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3)));
#else
    return netif_queue_stopped(pnetdev);
#endif
}

static inline void rtw_netif_wake_queue(struct net_device *pnetdev)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
    netif_tx_wake_all_queues(pnetdev);
#else
    netif_wake_queue(pnetdev);
#endif
}

static inline void rtw_netif_start_queue(struct net_device *pnetdev)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
    netif_tx_start_all_queues(pnetdev);
#else
    netif_start_queue(pnetdev);
#endif
}

static inline void rtw_netif_stop_queue(struct net_device *pnetdev)
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
    netif_tx_stop_all_queues(pnetdev);
#else
    netif_stop_queue(pnetdev);
#endif
}
static inline void rtw_netif_carrier_on(struct net_device *pnetdev)
{
    netif_device_attach(pnetdev);
    netif_carrier_on(pnetdev);
}
static inline int rtw_merge_string(char *dst, int dst_len, const char *src1, const char *src2)
{
    int    len = 0;
    len += snprintf(dst + len, dst_len - len, "%s", src1);
    len += snprintf(dst + len, dst_len - len, "%s", src2);

    return len;
}

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27))
    #define rtw_signal_process(pid, sig) kill_pid(find_vpid((pid)), (sig), 1)
#else /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)) */
    #define rtw_signal_process(pid, sig) kill_proc((pid), (sig), 1)
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)) */


/* Suspend lock prevent system from going suspend */
#ifdef CONFIG_WAKELOCK
    #include <linux/wakelock.h>
#elif defined(CONFIG_ANDROID_POWER)
    #include <linux/android_power.h>
#endif

/* limitation of path length */
#define PATH_LENGTH_MAX PATH_MAX

/* Atomic integer operations */
#define ATOMIC_T atomic_t

#define rtw_netdev_priv(netdev) (((struct rtw_netdev_priv_indicator *)netdev_priv(netdev))->priv)

#define NDEV_FMT "%s"
#define NDEV_ARG(ndev) ndev->name
#define ADPT_FMT "%s"
#define ADPT_ARG(adapter) (adapter->pnetdev ? adapter->pnetdev->name : NULL)
#define FUNC_NDEV_FMT "%s(%s)"
#define FUNC_NDEV_ARG(ndev) __func__, ndev->name
#define FUNC_ADPT_FMT "%s(%s)"
#define FUNC_ADPT_ARG(adapter) __func__, (adapter->pnetdev ? adapter->pnetdev->name : NULL)

struct rtw_netdev_priv_indicator {
    void *priv;
    u32 sizeof_priv;
};
struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);

#define STRUCT_PACKED __attribute__ ((packed))


#endif

Unable to connect to WiFi

$
0
0
Hello everyone, I'm new to Linux and I'll be taking a course on it this semester for college. I decided to install it on my HP Laptop so that I can really get a feel for it. Problem is that I can't connect to the WiFI. I was able to just once but it won't read any networks anywhere else, I switched to windows (dual boot) and I can still connect to WiFi there
no problem. Any help/links would be greatly appreciated because I really am so stoked to start learning more about Linux. Thank you all in advance!

shutdown ubuntu 16.04 from remote: "Interactive Authentication Required"

$
0
0
My desktop runs Ubuntu 16.04, it works fine.
Now I have prepared the system with WOL to power on from remote (normally from my android phone) and it works fine from LAN and from WAN. I've a bunch of reasons to do this instead of keep it on 24/24.
The last step should be to shutdown the system from remote, I use an android ssh client that log easily into my ubuntu box, but if I give the command "shutdown -h 0" I receive the message:


Interactive authentication required


From local command line I can shutdown the system without sudo.

I understand that this is a security policy, but in my case I wish to override this policy, I'm the only user of the pc.
Is it possible?
Thanks a lot.

[lubuntu] issues with home wifi on a mesh network

$
0
0
i'm having issues connecting to my home network using the gnome network manager included with lubuntu. i honestly have no idea where to go because i know almost nothing about anything linux or ubuntu. i can connect to other networks. i'm using an ASUS f555la running lubuntu with all the latest updates. my network is an AMPLIFI mesh network, i don't know if there are any issues with that. what do i do, my phone hotspot is slow.

Server o Router?

$
0
0
Good,
I need some help with a server theme on my LAN. It turns out that I have a server with Ubuntu and its domain (payment) in a Huawei Router Hg8245h. Until yesterday I could enter the server with my domain (public ip) from the server's own network as from outside. But for security I have placed an HTTPS security protocol. And it has been at this time when I do not enter from the public IP from the LAN (but without problems from outside the network or with the LOCAL IP server). Does anyone know if that is from the router or from the server itself?

Thanks to everyone beforehand

Reading/Writing files on a Mac from Ubuntu

$
0
0
I'm a new Ubuntu user running 16.04 LTS. I would like to be able to access and edit files on my Mac which is running 10.12.6 Sierra. The laptop with Ubuntu was previously running Windows 10 and I had set up file sharing between Windows 10 and the Mac that was working great. After deciding to scrap Windows for good I installed Ubuntu on the same computer. Under Files I can see and access the Mac documents but only after logging in as "anonymous". When I try to log in as a registered user it doesn't accept my username or password (at least one, could be both, not quite sure). I've confirmed I am using the correct credentials. After logging in as anonymous I cannot edit any of the files as they all open as read-only. Now, the dialogue box says they are locked for editing by "unknown user". None of them are open on the Mac, I've restarted the system to rid it of any leftover lock files and no other computers are connected to the network.

So that's where I am. Would anyone have any advice on how to move forward with being able to edit the files?

Thank you in advance,

Robert

WIFI speed slows dramatically and at random

$
0
0
I have been trying to fix this for days to no avail.
My normal WIFI speed is about 90 Mb, pretty decent. At seemingly random times the speed drops to around 5 Mb and stays there. The only way to get the higher speed back is to disable then re-enable the WIFI using the Network manager.

I am using Ubuntu 18.04. The adapter is Realtek rtl8188ee.


Output from iwconfig :

Code:

wlan1    IEEE 802.11  ESSID:"Hermes" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: F0:FC:C8:FD:18:F9 
          Bit Rate=150 Mb/s  Tx-Power=20 dBm 
          Retry short limit:7  RTS thr=2347 B  Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-36 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:68  Missed beacon:0


lo        no wireless extensions.


eth0      no wireless extensions.

Output from sudo lshw -class network:

Code:

  *-network               
      description: Ethernet interface
      product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:01:00.0
      logical name: eth0
      version: 07
      serial: a0:2b:b8:25:2f:a9
      size: 10Mbit/s
      capacity: 100Mbit/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 autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
      resources: irq:16 ioport:4000(size=256) memory:c2600000-c2600fff memory:c2400000-c2403fff
  *-network
      description: Wireless interface
      product: RTL8188EE Wireless Network Adapter
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: wlan1
      version: 01
      serial: 48:5a:b6:56:f0:f7
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=rtl8188ee driverversion=4.15.0-33-generic firmware=N/A ip=10.0.0.37 latency=0 link=yes multicast=yes wireless=IEEE 802.11
      resources: irq:31 ioport:3000(size=256) memory:c2500000-c2503fff


Output from wireless-info script:

https://paste.ubuntu.com/p/m5B2Gh4x6z/

Thanks in advance.

[ubuntu] Wifi adapter not found for Ubuntu 18.04

$
0
0
Hi

I installed Ubuntu 18.04.1 LTS into my HP laptop. The laptop was pre-loaded with Windows 10 and wireless was working.
After I installed Ubuntu - it says "Wifi Adapter not found" and I am unable to connect to the internet/work.

I tried to install rtlwifi modules as suggested here (used a wired connection to the router) :

http://ubuntuhandbook.org/index.php/2018/08/no-wifi-adapter-found-hp-laptops-ubuntu-18-04/


$: sudo make install .....throws the following error and I couldn't progress any further.

****************************************ERROR ***************************
chan@chan:~/rtlwifi_new$ sudo make install

make -C /lib/modules/4.15.0-29-generic/build M=/home/chan/rtlwifi_new modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-29-generic'
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/chan/rtlwifi_new/base.o
/bin/sh: 1: gcc: not found
scripts/Makefile.build:332: recipe for target '/home/chan/rtlwifi_new/base.o' failed
make[2]: *** [/home/chan/rtlwifi_new/base.o] Error 127
Makefile:1552: recipe for target '_module_/home/chan/rtlwifi_new' failed
make[1]: *** [_module_/home/chan/rtlwifi_new] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-29-generic'
Makefile:87: recipe for target 'all' failed
make: *** [all] Error 2

************************************************** **

Any idea how to fix it?? or an alternative to getting wifi drivers installed for Ubuntu 18.04

Thanks,
Chandan




Ubuntu 18.04.1 super slow WiFi. Pastebin script included

$
0
0
Hello guys!

I have been browsing this forum since yesterday and tried every solution I can come across. After seeing the pastebin script it seems that everyone has individual solutions to the slow WiFi problem based on their hardware / settings.

Here is my output from the troubleshooting script:

Thanks a lot in advance for any help received! I am genuinely stuck.

Code:

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

Report from: 10 Sep 2018 14:11 BST +0100

Booted last: 10 Sep 2018 00:00 BST +0100

Script from: 10 Jan 2018 20:04 UTC +0000

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

Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:    bionic

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

Linux 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash

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

Ubuntu

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

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.  RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]  (rev 15)
    Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:8330]
    Kernel driver in use: r8169

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]
    Subsystem: Hewlett-Packard Company Device [103c:8319]
    Kernel driver in use: rtl8723de

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

Bus 001 Device 004: ID 0bda:b009 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
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 002: ID 05c8:03ac Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

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

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

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

rtl8723de              94208  0
btcoexist            434176  1 rtl8723de
phydm_mod            856064  1 rtl8723de
rtl8723_common        24576  1 rtl8723de
rtl_pci                32768  1 rtl8723de
rtlwifi              163840  5 phydm_mod,rtl_pci,btcoexist,rtl8723_common,rtl8723de
mac80211              778240  2 rtl_pci,rtlwifi
cfg80211              622592  2 mac80211,rtlwifi
hp_wmi                16384  0
sparse_keymap          16384  1 hp_wmi
wmi_bmof              16384  0
wmi                    24576  2 wmi_bmof,hp_wmi

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

[/etc/network/interfaces]
auto lo
iface lo inet loopback

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

enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2923  bytes 316212 (316.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2923  bytes 316212 (316.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.58  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::5d3f:afcc:b4f2:c270  prefixlen 64  scopeid 0x20<link>
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 10655  bytes 5583161 (5.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11766  bytes 2973747 (2.9 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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

enp2s0    no wireless extensions.

lo        no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"VM1416043" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: <MAC 'VM1416043' [AC1]> 
          Bit Rate=72.2 Mb/s  Tx-Power=20 dBm 
          Retry short limit:7  RTS thr=2347 B  Fragment thr:eek:ff
          Power Management:eek:ff
          Link Quality=38/70  Signal level=-72 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:1312  Missed beacon:0

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

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.0.1    0.0.0.0        UG    600    0        0 wlp3s0
169.254.0.0    0.0.0.0        255.255.0.0    U    1000  0        0 wlp3s0
192.168.0.0    0.0.0.0        255.255.255.0  U    600    0        0 wlp3s0

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

nameserver 127.0.0.53

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

Installed:

    NetworkManager

Running:

root      857    1  0 13:15 ?        00:00:01 /usr/sbin/NetworkManager --no-daemon

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

GENERAL.DEVICE:                        wlp3s0
GENERAL.TYPE:                          wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                        Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        --
GENERAL.DRIVER:                        rtl8723de
GENERAL.DRIVER-VERSION:                4.15.0-33-generic
GENERAL.FIRMWARE-VERSION:              N/A
GENERAL.HWADDR:                        <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:02.4/0000:03:00.0/net/wlp3s0
GENERAL.IP-IFACE:                      wlp3s0
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:                    VM1416043
GENERAL.CON-UUID:                      8228552b-e32b-4bd7-93ce-a417e1c95ee3
GENERAL.CON-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                    72 Mb/s
CAPABILITIES.IS-SOFTWARE:              no
CAPABILITIES.SRIOV:                    no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                  yes
WIFI-PROPERTIES.TKIP:                  yes
WIFI-PROPERTIES.CCMP:                  yes
WIFI-PROPERTIES.AP:                    yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                  yes
WIFI-PROPERTIES.5GHZ:                  no
IP4.ADDRESS[1]:                        192.168.0.58/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                          dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 600
IP4.ROUTE[2]:                          dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.ROUTE[3]:                          dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 600
IP4.DNS[1]:                            194.168.4.100
IP4.DNS[2]:                            194.168.8.100
DHCP4.OPTION[1]:                        domain_name_servers = 194.168.4.100 194.168.8.100
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        broadcast_address = 192.168.0.255
DHCP4.OPTION[4]:                        requested_broadcast_address = 1
DHCP4.OPTION[5]:                        requested_time_offset = 1
DHCP4.OPTION[6]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]:                        requested_domain_name = 1
DHCP4.OPTION[8]:                        requested_netbios_scope = 1
DHCP4.OPTION[9]:                        requested_wpad = 1
DHCP4.OPTION[10]:                      host_name = cartylaptop
DHCP4.OPTION[11]:                      expiry = 1537445742
DHCP4.OPTION[12]:                      dhcp_message_type = 5
DHCP4.OPTION[13]:                      requested_subnet_mask = 1
DHCP4.OPTION[14]:                      dhcp_lease_time = 864000
DHCP4.OPTION[15]:                      routers = 192.168.0.1
DHCP4.OPTION[16]:                      next_server = 192.168.0.1
DHCP4.OPTION[17]:                      subnet_mask = 255.255.255.0
DHCP4.OPTION[18]:                      requested_interface_mtu = 1
DHCP4.OPTION[19]:                      requested_static_routes = 1
DHCP4.OPTION[20]:                      ip_address = 192.168.0.58
DHCP4.OPTION[21]:                      requested_ntp_servers = 1
DHCP4.OPTION[22]:                      requested_domain_name_servers = 1
DHCP4.OPTION[23]:                      requested_netbios_name_servers = 1
DHCP4.OPTION[24]:                      requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:                      requested_routers = 1
DHCP4.OPTION[26]:                      network_number = 192.168.0.0
DHCP4.OPTION[27]:                      requested_host_name = 1
DHCP4.OPTION[28]:                      dhcp_server_identifier = 192.168.0.1
IP6.ADDRESS[1]:                        fe80::5d3f:afcc:b4f2:c270/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                          dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:                          dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                          dst = fe80::/64, nh = ::, mt = 600
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{3}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  8228552b-e32b-4bd7-93ce-a417e1c95ee3 | VM1416043

GENERAL.DEVICE:                        enp2s0
GENERAL.TYPE:                          ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                        Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER:                        r8169
GENERAL.DRIVER-VERSION:                2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:              --
GENERAL.HWADDR:                        <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                        2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/net/enp2s0
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:            yes
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              no
CAPABILITIES.SRIOV:                    no
WIRED-PROPERTIES.CARRIER:              off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

SSID          BSSID              MODE  CHAN  FREQ      RATE        SIGNAL  BARS  SECURITY    ACTIVE  IN-USE
Virgin Media  <MAC 'Virgin Media' [AC2]>  Infra  1    2412 MHz  130 Mbit/s  49      ▂▄__  WPA2 802.1X  no           
VM1416043    <MAC 'VM1416043' [AC1]>  Infra  1    2412 MHz  130 Mbit/s  49      ▂▄__  WPA1 WPA2    yes    *     

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

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

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

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[device]
wifi.scan-rand-mac-address=no

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

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

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

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

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

##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager

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

Region: Europe/London (based on set time zone)

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

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

enp2s0    no frequency information.

lo        no frequency information.

wlp3s0    14 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
          Current Frequency:2.412 GHz (Channel 1)

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

enp2s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

Channel occupancy:

      2  APs on  Frequency:2.412 GHz (Channel 1)

wlp3s0    Scan completed :
          Cell 01 - Address: <MAC 'VM1416043' [AC1]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=39/70  Signal level=-71 dBm 
                    Encryption key:eek:n
                    ESSID:"VM1416043"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000175d8b8561b
                    Extra: Last beacon: 32ms ago
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'Virgin Media' [AC2]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=38/70  Signal level=-72 dBm 
                    Encryption key:eek:n
                    ESSID:"Virgin Media"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000175d8ecf180
                    Extra: Last beacon: 228ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x

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

[rtl8723de]
filename:      /lib/modules/4.15.0-33-generic/updates/dkms/rtl8723de.ko
firmware:      rtlwifi/rtl8723defw.bin
description:    Realtek 8723DE 802.11n PCI wireless
license:        GPL
author:        Realtek WlanFAE    <wlanfae@realtek.com>
author:        PageHe    <page_he@realsil.com.cn>
srcversion:    57B1D6F7DC3266BCB31ABDD
depends:        rtlwifi,rtl_pci,btcoexist,rtl8723-common,phydm_mod
retpoline:      Y
name:          rtl8723de
vermagic:      4.15.0-33-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          dma64:bool
parm:          swenc:Set to 1 for software crypto (default 0)
 (bool)
parm:          ips:Set to 0 to not use link power save (default 1)
 (bool)
parm:          swlps:Set to 1 to use SW control power save (default 0)
 (bool)
parm:          fwlps:Set to 1 to use FW control power save (default 1)
 (bool)
parm:          msi:Set to 1 to use MSI interrupts mode (default 0)
 (bool)
parm:          aspm:Set to 1 to enable ASPM (default 1)
 (int)
parm:          debug_level:Set debug level (0-5) (default 0) (int)
parm:          debug_mask:Set debug mask (default 0) (ullong)
parm:          disable_watchdog:Set to 1 to disable the watchdog (default 0)
 (bool)
parm:          ant_sel:Set to 1 or 2 to force antenna number (default 0)
 (int)

[rtl8723_common]
filename:      /lib/modules/4.15.0-33-generic/updates/dkms/rtl8723-common.ko
description:    Realtek RTL8723AE/RTL8723BE 802.11n PCI wireless common routines
license:        GPL
author:        Larry Finger    <Larry.Finger@lwfinger.net>
author:        Realtek WlanFAE    <wlanfae@realtek.com>
srcversion:    5AAF25B4699EF07310A021A
depends:        rtlwifi
retpoline:      Y
name:          rtl8723_common
vermagic:      4.15.0-33-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4

[rtl_pci]
filename:      /lib/modules/4.15.0-33-generic/updates/dkms/rtl_pci.ko
description:    PCI basic driver for rtlwifi
license:        GPL
author:        Larry Finger    <Larry.FInger@lwfinger.net>
author:        Realtek WlanFAE    <wlanfae@realtek.com>
author:        lizhaoming    <chaoming_li@realsil.com.cn>
srcversion:    F1DE1F093B181758DE4640E
depends:        mac80211,rtlwifi
retpoline:      Y
name:          rtl_pci
vermagic:      4.15.0-33-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4

[rtlwifi]
filename:      /lib/modules/4.15.0-33-generic/updates/dkms/rtlwifi.ko
description:    Realtek 802.11n PCI wireless core
license:        GPL
author:        Larry Finger    <Larry.FInger@lwfinger.net>
author:        Realtek WlanFAE    <wlanfae@realtek.com>
author:        lizhaoming    <chaoming_li@realsil.com.cn>
srcversion:    B7ECEE846CE5B14E0566D06
depends:        mac80211,cfg80211
retpoline:      Y
name:          rtlwifi
vermagic:      4.15.0-33-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4

[mac80211]
filename:      /lib/modules/4.15.0-33-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    1CEA5CF286EDB289C1D0BF8
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          mac80211
vermagic:      4.15.0-33-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:          max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:          max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:          beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:          probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:          ieee80211_default_rc_algo:grin:efault rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:      /lib/modules/4.15.0-33-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    AFB624FD5B16A8AA59A9CF7
depends:       
retpoline:      Y
intree:        Y
name:          cfg80211
vermagic:      4.15.0-33-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:          ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:          cfg80211_disable_40mhz_24ghz:grin:isable 40MHz support in the 2.4GHz band (bool)

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

[rtl8723de]
ant_sel: 0
aspm: 0
debug_level: 0
debug_mask: 18446744073709551615
disable_watchdog: N
dma64: N
fwlps: N
ips: Y
msi: Y
swenc: N
swlps: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

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

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

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

[/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
options iwlwifi 11n_disable=1

[/etc/modprobe.d/rtl8723be.conf]
options rtl8723be swenc=1 fwlps=0 ips=0 ant_sel=1

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

grep: /etc/rc.local: No such file or directory

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

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

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

[  30.716873] rtlwifi: loading out-of-tree module taints kernel.
[  30.992172] rtl8723de: Using firmware rtlwifi/rtl8723defw.bin
[  30.998190] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[  30.998569] rtlwifi: rtlwifi: wireless switch is on
[  31.000289] rtl8723de 0000:03:00.0 wlp3s0: renamed from wlan0
[  42.264459] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready (repeated 3 times)
[  45.083841] wlp3s0: authenticate with <MAC 'VM1416043' [AC1]>
[  45.093934] wlp3s0: send auth to <MAC 'VM1416043' [AC1]> (try 1/3)
[  45.096477] wlp3s0: authenticated
[  45.100346] wlp3s0: associate with <MAC 'VM1416043' [AC1]> (try 1/3)
[  45.107202] wlp3s0: RX AssocResp from <MAC 'VM1416043' [AC1]> (capab=0x431 status=0 aid=2)
[  45.383522] wlp3s0: associated
[  46.167664] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[  136.797682] rtlwifi: AP off, try to reconnect now
[  136.797706] wlp3s0: Connection to AP <MAC 'VM1416043' [AC1]> lost
[  144.862539] wlp3s0: authenticate with <MAC 'VM1416043' [AC1]>
[  144.876838] wlp3s0: send auth to <MAC 'VM1416043' [AC1]> (try 1/3)
[  144.881356] wlp3s0: authenticated
[  144.891933] wlp3s0: associate with <MAC 'VM1416043' [AC1]> (try 1/3)
[  144.900819] wlp3s0: RX AssocResp from <MAC 'VM1416043' [AC1]> (capab=0x431 status=0 aid=2)
[  145.176681] wlp3s0: associated

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

[lubuntu] Turn WiFi On/Off

$
0
0
Lubuntu 18.04 LTS.
Dell Inspiron 5150, build 2003, 2 GB RAM, Linux 4.15.0-33-generic #36.
USB EDUP dongle model EP-AC1607, with Realtek rtl8811au chip.
Connected by ethernet cable to TP-Link Modem/Router.

Got WiFi running nicely with the ethernet cable disconnected.
Then, when the ethernet cable was connected, both the ethernet and WiFi link were showing data moving between router and laptop on the GKrellM monitor.
So, went back to the GUI - Network Connections to de-select the "Automatically connect to this network when available" box.
The parallel operation ceased.

Dis-connected the ethernet cable, no internet connection, and tried the following:

Code:

john@Bluebox:~$ iwconfig
wlxe84e065bbf16  unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated 
          Sensitivity:0/0 
          Retry:off  RTS thr:off  Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

john@Bluebox:~$ ip link set dev wlxe84e065bbf16 up
RTNETLINK answers: Operation not permitted

john@Bluebox:~$ ip link set dev WIFI@REALTEK up
Cannot find device "WIFI@REALTEK"

Can anybody advise the correct approach for a simple command line that will start the WiFi (when I am away from the router with the ethernet cable disconnected).

John.

nic bonding and dns issues

$
0
0
I can get the bonded connection to work but very soon after it activates, dns tends to stop working and nothing can find a route to host. I am a newbie with bonding connections. I am running 18.10

Code:


# interfaces(5) file used by ifup(8) and ifdown(8)
auto bond0     
iface bond0 inet static
hwaddress 0c:c4:7a:b5:7d:76
address 10.0.0.3
netmask 255.0.0.0
gateway 10.0.0.1
dns-nameservers 9.9.9.9 77.88.8.8 10.0.0.1
dns-search domain.local
slaves enp4s0f0 enp4s0f1 enp131s0f0 enp131s0f1 enp132s0f0 enp132s0f1 enp133s0
bond_mode 0
bond-miimon 100
bond_downdelay 200
bound_updelay 200

18.04 adding Netgear Nighthawk AC1900

$
0
0
Hello,

Fairly new to ubuntu and didn't know if I should post this in hardware or software. Currently running server 18.04 and bought a usb wireless adapter, Netgear Nighthawk AC1900, but didn't realize that it came with a installation cd. Is there a way to install the software from the cd? Or can I install another software and configure it to work with this adapter? Maybe this is not compatible with server and I will need to get a different one.

Thanks for the help,

Jacob

Hardblocked Wifi for HP Pavilion 15 Laptop

$
0
0
Hey y'all,

I just got Ubuntu up and running and I ran right into a problem. My wifi seems to be hardblocked and is resisting my attempts to unblock.

Computer is HP 15-bc251nr.

rfkill lists:

Code:

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes

results of `lspci -nnk | grep -iA2 net`:

Code:

04:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 61)
    Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
    Kernel driver in use: iwlwifi
--
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:8217]
    Kernel driver in use: r8169
    Kernel modules: r8169

My wireless script results: http://paste.ubuntu.com/p/s4P89xRRK8/

I already reset to defaults on BIOS and have tried both 'sudo modprobe -r hp_wmi' and 'sudo modprobe -r hp_wireless' with rfkill unblock all commands.

Anyone have some ideas?

[SOLVED] HP Notebook - 15-da0031nr - No Wi-Fi Adapter Found

$
0
0
Hello, I just want to say that I appreciate you coming to help me solve this.

I deleted the Windows 10 partition on my laptop and am running Ubuntu 18.04. I tried to follow instructions in other threads, but I keep seeing error messages in my terminal. If need be, I can reinstall a fresh copy of linux again. And if it matters, I chose normal installation and selected to install extras during installation.

And like the title says, this is the computer:

http://www.microcenter.com/product/5...tel_UHD_Graphi

https://support.hp.com/us-en/document/c06071060

Joining Ubuntu to windows domain

$
0
0
I have serious problems with the commands below. They do not work any more .. Could you pls advice which command i can use instead of 'sudo dpkg -i likewise-open_ for steps 4, 5 and 6 ?
I am a novice in this, so pls write the whole command that i can follow, thanks


Step 4 || sudo dpkg -i likewise-open_6.1.0.406-0ubuntu10_amd64.deb

Step 5 || sudo dpkg -i libglade2-0_2.6.4-1ubuntu3_amd64.deb

Step 6 || sudo dpkg -i likewise-open-gui_6.1.0.406-0ubuntu10_amd64.deb

Time to access the Likewise GUI to join your Windows Active Directory

I got them from this link here ... if anyone can advice on how to get steps 4,5 and 6 to work then fine ;) Thanks

https://bjtechnews.org/2014/09/joining-ubuntu-to-windows-active-directory-notes/

[ubuntu] WiFi connectivity issue - Ubuntu 18.04

$
0
0
Hello,

I'm new to Ubuntu and I've 18.04 installed. Not sure if this is due to faulty installation or something, but I'm having trouble with very slow wifi speeds and frequent disconnections. Here is the pastebin link as required to diagnose my issue. Any help is greatly appreciated. I've started a new project in college and need to use Ubuntu. If it helps, I'm using a HP Pavilion Notebook (M2W75PA#ACJ).

So far, based on another thread I tried disabling 802.1n band. Unfortunately, it didn't help me much.

Thank you

[ubuntu] WOL killer E2200 issue 4.15.0-34-generic // Ubuntu 18.04.1 LTS

$
0
0
Hello team,

I cant seem to enable WOL for this NIC. I enabled it in the BIOS.

Here is the modinfo for the nic driver.

Code:

vic@bickle:~$ modinfo alxfilename:      /lib/modules/4.15.0-34-generic/kernel/drivers/net/ethernet/atheros/alx/alx.ko
license:        GPL
description:    Qualcomm Atheros(R) AR816x/AR817x PCI-E Ethernet Network Driver
author:        Qualcomm Corporation, <nic-devel@qualcomm.com>
author:        Johannes Berg <johannes@sipsolutions.net>
srcversion:    DDD52B7257E572D121505EB
alias:          pci:v00001969d000010A0sv*sd*bc*sc*i*
alias:          pci:v00001969d000010A1sv*sd*bc*sc*i*
alias:          pci:v00001969d00001090sv*sd*bc*sc*i*
alias:          pci:v00001969d0000E0B1sv*sd*bc*sc*i*
alias:          pci:v00001969d0000E0A1sv*sd*bc*sc*i*
alias:          pci:v00001969d0000E091sv*sd*bc*sc*i*
alias:          pci:v00001969d00001091sv*sd*bc*sc*i*
depends:        mdio
retpoline:      Y
intree:        Y
name:          alx
vermagic:      4.15.0-34-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          enable_wol:Enable Wake on Lan feature (bool)

Ethtool claims operation not supported:

Code:


root@bickle:~# ethtool -s enp3s0 wol g
Cannot set new wake-on-lan settings: Operation not supported
  not setting wol
root@bickle:~#



vic@bickle:~$ sudo ethtool enp3s0
Settings for enp3s0:
    Supported ports: [ TP ]
    Supported link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: Unknown
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x000060e4 (24804)
                  link ifup rx_err tx_err hw wol
    Link detected: yes

TIA
Viewing all 23300 articles
Browse latest View live


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