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

dhclient crashes with ppp

$
0
0
Hi,

I'm using ubuntu 15.04.

dhclient causes a segmentation fault when I try to log into my mobile 4G provider via ppp. But it works fine for an ethernet connection.

I stop NetworkManager and ModemManager before I start ppp using:

ppd call vodafone


The 4G modem itself works - i have tried it on a windows system.

Syslog output:

May 2 17:20:27 flap pppd[28820]: Script /usr/sbin/chat -vsf /etc/chatscripts/vodafone finished (pid 28821), status = 0x0
May 2 17:20:27 flap pppd[28820]: Serial connection established.
May 2 17:20:27 flap pppd[28820]: using channel 19
May 2 17:20:27 flap pppd[28820]: Using interface ppp0
May 2 17:20:27 flap pppd[28820]: Connect: ppp0 <--> /dev/ttyUSB1
May 2 17:20:27 flap systemd[1]: Found device /sys/subsystem/net/devices/ppp0.
May 2 17:20:27 flap systemd[1]: Started ifup for ppp0.
May 2 17:20:27 flap systemd[1]: Starting ifup for ppp0...
May 2 17:20:27 flap dhclient: Internet Systems Consortium DHCP Client 4.3.1
May 2 17:20:27 flap dhclient: Copyright 2004-2014 Internet Systems Consortium.
May 2 17:20:27 flap dhclient: All rights reserved.
May 2 17:20:27 flap dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 2 17:20:27 flap dhclient:
May 2 17:20:27 flap sh[28826]: Internet Systems Consortium DHCP Client 4.3.1
May 2 17:20:27 flap sh[28826]: Copyright 2004-2014 Internet Systems Consortium.
May 2 17:20:27 flap sh[28826]: All rights reserved.
May 2 17:20:27 flap sh[28826]: For info, please visit https://www.isc.org/software/dhcp/
May 2 17:20:27 flap kernel: [65940.166822] dhclient[28838]: segfault at 200 ip b73ca2f4 sp bf826340 error 4 in libc-2.21.so[b7388000+1b4000]
May 2 17:20:27 flap sh[28826]: Segmentation fault (core dumped)
May 2 17:20:27 flap sh[28826]: Failed to bring up ppp0.
May 2 17:20:27 flap systemd[1]: ifup@ppp0.service: main process exited, code=exited, status=1/FAILURE

Does anybody know of a workaround for this problem?

Thanks,
Martin.

How to change settings for Intel 7260 wireless card

$
0
0
Hi, The Intel 7260 wireless adapter inside my Toshiba Portege Z30 was suffering from regular spikes in latency when pinging my router. It was happening when using both Windows 10 Technical Preview and Ubuntu 14.04 LTS.
I was able to resolve the problem in Windows by editing the registry and changing the 'RoamingAggressiveness' setting to its lowest value. I followed the instructions in post #7 on this forum page.
https://communities.intel.com/thread/53294
How can I edit this same 'RoamingAggressiveness' setting inside Ubuntu?
Many thanks.

Argus-Client

$
0
0
Who has worked with Argus?
help me

Bluetoothctl automate pairing process

$
0
0
Hi,
I'm using Ubuntu 14.04 LTS and I installed Pulseaudio 6 together with Bluez 5.30. Now, I'm looking for a way to automate the process of bluetooth pairing that requires to be logged into the system.
So I know that the necessary step are:
Code:

bluetoothctl
power on
discoverable on
agent on
default-agent
pairable on

For instance, I can write a script like this
Code:

#!/bin/bash
bluetoothctl << EOF
power on
discoverable on
agent on
default-agent
pairable on
EOF

but I do not know how to intercept the pairing request coming from devices and how to answer yes. After, I would like to run it as daemon. For reference https://wiki.archlinux.org/index.php/Bluetooth
Thank you

[lubuntu] Wireless usb dongle driver - Recipe for target 'modules' failed

$
0
0
Hi everyone,

I recently buy a usb dongle for my old computer. It says on the box that supports "Windows, OS X, Linux" it was a cheap device. It comes with a little CD that has drivers for every OS's in it.

They have a script in it for linux named "install.sh" i started it first it has some authentication problems so i started it again as root (sudo su) it has some warnings while installing than it shows 2 error and stops installing. By the way I checked the lsusb and it sees the product. I can connect with the ethernet without problem. I used the dongle with Windows doesn't have a problem. This is the device: Link

Here is my scripts output, i will be happy if someone can help.

Lsusb -v output for device:
Code:

Bus 001 Device 006: ID 148f:7601 Ralink Technology, Corp. Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.01
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        64
  idVendor          0x148f Ralink Technology, Corp.
  idProduct          0x7601
  bcdDevice            0.00
  iManufacturer          1
  iProduct                2
  iSerial                3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          74
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0x80
      (Bus Powered)
    MaxPower              160mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          8
      bInterfaceClass      255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x08  EP 8 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x09  EP 9 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0

Code:

torak@torak-desktop:~/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911$ sudo su[sudo] password for torak:
root@torak-desktop:/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911# ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
    rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/runwpa
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_xmit.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_query.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/rtw_efuse.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_recv.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_br_ext.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_eeprom.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_debug.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_tdls.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_p2p.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ieee80211.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_security.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mp.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sreset.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sta_mgt.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_rf.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_pwrctrl.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_wlan_util.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme_ext.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_io.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ap.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_rtl.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mp_ioctl.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_set.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_iol.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/wlan0dhcp
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/osdep_service.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ioctl_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/recv_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/pci_ops_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/usb_intf.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/mlme_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/pci_intf.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/rtw_android.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/xmit_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/usb_ops_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/ioctl_cfg80211.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/hal_com.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/wlan_bssdef.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/cmd_osdep.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_recv.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mlme_ext.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/wifi.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_led.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_recv.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/HalPwrSeqCmd.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CPhyReg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DPhyCfg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_hal.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_dm.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_rf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_android.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_recv.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/nic_spec.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_osintf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_dm.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_xmit.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_event.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_qos.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_pwrctrl.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_xmit.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_spec.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/osdep_ce_service.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ieee80211.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/recv_osdep.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_linux.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_efuse.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CUHWImg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_ops.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ht.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ioctl_cfg80211.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ethernet.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/mp_custom_oid.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl_rtl.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DUHWImg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_spec.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mlme.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DEHWImg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_sreset.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ieee80211_ext.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_ce.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CPhyCfg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_led.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/swab.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/swabb.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/big_endian.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/little_endian.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/byteorder/generic.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mp_ioctl.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_ops_linux.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CUHWImg_wowlan.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192CEHWImg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_p2p.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/pci_hal.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_conf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_vendor_req.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/linux/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/linux/wireless.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/osdep_service.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DUHWImg_wowlan.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl_query.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_eeprom.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_xp.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_byteorder.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_xmit.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_version.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_cmd.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl_set.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/h2clbk.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/pci_osintf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_cmd.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192d_rf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/pci_ops.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_tdls.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_cmd.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_event.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/mlme_osdep.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_debug.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ap.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/osdep_intf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/hal_intf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/sta_info.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_iol.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mp_phy_regdef.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_rf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/usb_hal.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/autoconf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_security.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_io.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/Hal8192DPhyReg.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_br_ext.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/circ_buf.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/basic_types.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_hal.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/ip.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_led.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/if_ether.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/xmit_osdep.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtl8192c_sreset.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_mp.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/rtw_ioctl.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/include/drv_types_sdio.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/ifcfg-wlan0
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/Makefile
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/Kconfig
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_intf.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_cmd.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_phycfg.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_xmit.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_dm.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_mp.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rxdesc.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_led.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_halinit.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_recv.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg_wowlan.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_ce.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_linux.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_xmit.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_xp.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_sreset.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_hal_init.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_com.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.h
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/HalPwrSeqCmd.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/clean
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911
Authentication requested [root] for make clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.19.0-15-generic/build M=/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911  modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-15-generic'
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_security.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_debug.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_io.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_query.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_set.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ieee80211.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme_ext.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_wlan_util.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_pwrctrl.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_rf.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_recv.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sta_mgt.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ap.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_xmit.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_p2p.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_tdls.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_br_ext.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_iol.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sreset.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/rtw_efuse.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_intf.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_com.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_hal_init.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_phycfg.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.o
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c: In function ‘PHY_RFShadowRefresh’:
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c:1020:37: warning: iteration 63u invokes undefined behavior [-Waggressive-loop-optimizations]
    RF_Shadow[eRFPath][Offset].Value = 0;
                                    ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c:1018:3: note: containing loop
  for (Offset = 0; Offset <= RF6052_MAX_REG; Offset++)
  ^
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_dm.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rxdesc.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_cmd.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_halinit.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_led.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_xmit.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_recv.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_linux.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_sreset.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_xmit.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/osdep_service.o
  CC [M]  /home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
  rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
  ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:11: warning: assignment makes pointer from integer without a cast
  rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
          ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:3: error: implicit declaration of function ‘create_proc_read_entry’ [-Werror=implicit-function-declaration]
  entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
  ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:9: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:326:9: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("log_level", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:332:8: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_log_level;
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:348:21: warning: assignment makes pointer from integer without a cast
  padapter->dir_dev = create_proc_entry(dev->name,
                    ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:379:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:385:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_write_reg;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:387:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:393:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_read_reg;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:396:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:404:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:412:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:420:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:427:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:441:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:448:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:455:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:462:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("mac_reg_dump1", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:469:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("mac_reg_dump2", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:476:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("mac_reg_dump3", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:483:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("bb_reg_dump1", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:490:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("bb_reg_dump2", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:497:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("bb_reg_dump3", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:504:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rf_reg_dump1", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:511:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rf_reg_dump2", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:520:9: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rf_reg_dump3", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:527:9: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rf_reg_dump4", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:537:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:555:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:561:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_best_channel;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:564:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:570:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_rx_signal;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:572:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:578:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_ht_enable;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:580:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("cbw40_enable", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:586:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_cbw40_enable;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:588:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:594:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_ampdu_enable;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:596:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rx_stbc", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:602:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_rx_stbc;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:605:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:608:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("vid", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:615:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("pid", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:622:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:628:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_rssi_disp;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:631:8: warning: assignment makes pointer from integer without a cast
  entry = create_proc_read_entry("sreset", S_IFREG | S_IRUGO,
        ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:637:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_sreset;
      ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: At top level:
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:2: warning: initialization from incompatible pointer type
  .ndo_select_queue = rtw_select_queue,
  ^
/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o] Error 1
Makefile:1394: recipe for target '_module_/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911' failed
make[1]: *** [_module_/home/torak/Desktop/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-15-generic'
Makefile:584: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

Power management for wifi keeps turning on

$
0
0
Hi

I am using ubuntu 15.04.
I have a problem with my wifi. I cannot connect to my network. Now the reason this is happening is that the power management was turned on. So I tried to turn it off.
I tried with

Code:

sudo iwconfig wlan0 power off
This turns off the power management. Then when I connect to my network, it turns it back on.
I tried creating a service that turns the power management off. Power management is now off, but when I reconnect. It gets turned on again.
Does anybody have a idea why this is happening? If you need more info, ask.

ASUS X552WE wireless drop

$
0
0
HI, this is my first post on this forum. I hope that we will have a good time here :smile:

So, there is my problem:

I have a couple a diffrent problems with this laptop. First touchpad didn't work, than bluetooth, than wi-fi indicator, now wi-fi completly :smile:
Wi-fi is conected but there is no signal. I need to manualy recconect by switching off/on wi-fi. dont use network manager anymore, i am using now WICD.

This is iwconfig r

http://pastebin.com/Rs2s4iyi



This is log from rfkill list all.

http://pastebin.com/rLef8y4q


for sudo ifdown ra0 && sudo ifup ra0:

http://pastebin.com/u2r4zxYn

for lspci:

http://pastebin.com/fCMQLqKb


for ifconfig:


http://pastebin.com/EnJNvi1v


for iwconfig:

http://pastebin.com/DY05Pu9Z

for sudo iw list scan:

http://pastebin.com/1ymDr4bK

for sudo iwlist wlan0 scan:

http://pastebin.com/JJBjYGNy

And that is that. Please let me know if u need additional information :smile: I am very pleased to see how this community works :smile:

[ubuntu] network-manager 17.1 update

$
0
0
I believe there may be an issue with the recent network-manager0.9.8.8 17.1 security update.
My two LinuxMint 17.1 laptops both took the update this weekend and now cannot connect to wifi or Ethernet.
However, my Mint Debian laptop has had no such update and is still ok, likewise my other laptop which has not yet been updated.

Has anyone else seen this issue with the updated package?

Ubuntu 15.04 see other Wifi but doesn't see mine

$
0
0
Hi, I have problem :) The problem is My wireless working (I guess) it see many other WiFi around me (For example my neighbor's WiFi) but it doesn't see my WiFi. I tried mint 17, elementary for all versions they have the same problem. I tried update kernal bcs in a LinuxMint forum, they said it will solve my problem. This happened while I trying to solve this problem in LinucMint but it didn't solve my problem. Then I delete everyting (Recovery files etc) and finally I install Ubuntu 15.04 but it has the same problem also. What can I do? Pls help. Thank you very much.

I did the update things (apt get update, apt-get dist-upgrade) but still problem continues..

My grammer is not perfect but I believe you understood. If it is not clear I could explain again. Sorry for it.

I am not using a hidden SSID and my password protected with WPA2
My Modem is Airties 5341

these are the outputs from "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
      bus info: pci@0000:01:00.0
      logical name: eth0
      version: 0c
      serial: 18:67:b0:4d:31:e3
      size: 10Mbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: 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=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
      resources: irq:35 ioport:e000(size=256) memory:fea00000-fea00fff memory:d0800000-d0803fff
  *-network
      description: Wireless interface
      product: QCA9565 / AR9565 Wireless Network Adapter
      vendor: Qualcomm Atheros
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: wlan0
      version: 01
      serial: 48:d2:24:3e:c4:7b
      width: 64 bits
      clock: 33MHz
      capabilities: bus_master cap_list rom ethernet physical wireless
      configuration: broadcast=yes driver=ath9k driverversion=3.19.0-15-generic firmware=N/A ip=192.168.165.101 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
      resources: irq:37 memory:fe900000-fe97ffff memory:fe980000-fe98ffff

[kubuntu] cant set my ALFA AWUS036AC wireless adapter into monitor mode (fully)

$
0
0
After i do my song and dance with the airmon-ng thing, it shows the device goes into monitor mode. but it doesnt say (now used on mon0) or words to that affect. and i cant do anything else after that while its in "montor mode" but i sure as heck cant use the internet while its in "monitor mode" so it seems like im doing something right. can anyone provide a detailed explanation on how i can achieve this or a different method i could use? also, how to get out of monitor mode to use the internet again without having to reboot. >.>

[xubuntu] ASUS laptop with Ralink RT5390 not working properly

$
0
0
Hi! I am new to all this open source lifestyle and i have a problem that i can't fix.

I have tried and installed Linux Mint 17.1, Ubuntu 14.04.02 LTS and Xubuntu 14.04.02 (currently installed and running Xub) and i seem to have the same problem in all distros.

Wifi is not working properly, i get less signal comparing it to Win8 and it is pretty intermitent. My extensive investigation all over Google seems to be a common issue with the rt2800pci driver and the device RT5390 from Ralink and you are better off installing the propietary drivers. Problem is the drivers are for a pretty old kernel version.

I've followed various approaches like this one: https://github.com/agerwick/RT28XX-RT539X-Linux-driver or this one http://www.ptrxyz.de/?p=161 (Currently did the first one and don't know how to reverse it, everytime i tried something i would reinstall OS completely...)

So far, i've tried it in the 3 distros i mentioned and i get higher signal, but when i try to browse the net i get a Kernel Panic in Mint, and a black screen in Ubuntu and Xubuntu and nothing else to be done just hold the power button.

I ran the Wireless-info script... I need a hand please, just a noob in this new world of Linux.

By the way, i am using a USB TP-LINK (RT2870/RT3070 Wireless Adapter) to post this and it also has less signal compared to Win8, but at least works because if i try to browse with the rt5390 i'll get a black screen... :(

Code:



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

Report from: 04 May 2015 01:24 CDT -0500

Booted last: 04 May 2015 01:04 CDT -0500

Script from: 30 Apr 2015 17:23 UTC +0000

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

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

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

Linux 3.16.0-36-generic #48~14.04.1-Ubuntu SMP Wed Apr 15 13:11:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

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

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

Xubuntu

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

02:00.0 Network controller [0280]: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe [1814:5390]
    Subsystem: Foxconn International, Inc. Device [105b:e054]
    Kernel driver in use: rt2860

03:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 06)
    Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
    Kernel driver in use: r8169

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

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b404 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 003 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

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

0: asus-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: phy1: Wireless LAN
    Soft blocked: no
    Hard blocked: no

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

rt2800usb              27189  0
rt2x00usb              20742  1 rt2800usb
rt2800lib              89076  1 rt2800usb
rt2x00lib              55307  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              652718  3 rt2x00lib,rt2x00usb,rt2800lib
crc_ccitt              12707  1 rt2800lib
cfg80211              494362  2 mac80211,rt2x00lib
asus_nb_wmi            21128  0
asus_wmi              24094  1 asus_nb_wmi
sparse_keymap          13948  1 asus_wmi
rt5390sta            1452202  1
wmi                    19193  1 asus_wmi
video                  20128  2 i915,asus_wmi

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

auto lo
iface lo inet loopback

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

eth0      Link encap:Ethernet  HWaddr <MAC 'eth0' [IF]> 
          UP 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)

ra0      Link encap:Ethernet  HWaddr <MAC 'ra0' [IF]> 
          inet6 addr: fe80::5635:30ff:fe6a:7eea/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:27147 errors:0 dropped:0 overruns:0 frame:0
          TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6235888 (6.2 MB)  TX bytes:11857 (11.8 KB)
          Interrupt:17

wlan1    Link encap:Ethernet  HWaddr <MAC 'wlan1' [IF]> 
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::ea94:f6ff:fe13:19b9/64 Scope:Link
          inet6 addr: fd34:cdbe:70a7:7500:c13c:2c26:5278:4024/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:53751 (53.7 KB)  TX bytes:20647 (20.6 KB)

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

eth0      no wireless extensions.

lo        no wireless extensions.

ra0      Ralink STA  ESSID:""  Nickname:"RT2860STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated 
          Bit Rate:1 Mb/s 
          RTS thr:off  Fragment thr:off
          Link Quality=76/100  Signal level:-63 dBm  Noise level:-63 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0

wlan1    IEEE 802.11bgn  ESSID:"Guaifai" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: <MAC 'Guaifai' [AC1]> 
          Bit Rate=65 Mb/s  Tx-Power=20 dBm 
          Retry short limit:7  RTS thr:off  Fragment thr:off
          Power Management:off
          Link Quality=65/70  Signal level=-45 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3  Missed beacon:0

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

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.1.254  0.0.0.0        UG    0      0        0 wlan1
192.168.1.0    0.0.0.0        255.255.255.0  U    9      0        0 wlan1

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

nameserver 127.0.1.1
search gateway.huawei.net

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

NetworkManager Tool

State: connected (global)

- Device: wlan1  [Guaifai 2] ---------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rt2800usb
  State:            connected
  Default:          yes
  HW Address:        <MAC 'wlan1' [IF]>

  Capabilities:
    Speed:          58 Mb/s

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

  Wireless Access Points (* = current AP)
    INFINITUM4m9g:  Infra, <MAC 'INFINITUM4m9g' [AC2]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 65 WPA WPA2
    INFINITUMDEFEF8: Infra, <MAC 'INFINITUMDEFEF8' [AC3]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 52 WPA WPA2
    Fam.Matabuena:  Infra, <MAC 'Fam.Matabuena' [AC4]>, Freq 2422 MHz, Rate 54 Mb/s, Strength 39 WPA WPA2
    INFINITUM1ABF35: Infra, <MAC 'INFINITUM1ABF35' [AC6]>, Freq 2462 MHz, Rate 54 Mb/s, Strength 35 WPA WPA2
    bdd14e:          Infra, <MAC 'bdd14e' [AC8]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 29 WPA
    INFINITUMA17B32: Infra, <MAC 'INFINITUMA17B32' [AN6]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 25 WPA WPA2
    INFINITUM581213: Infra, <MAC 'INFINITUM581213' [AC9]>, Freq 2462 MHz, Rate 54 Mb/s, Strength 25 WPA WPA2
    INFINITUM0520:  Infra, <MAC 'INFINITUM0520' [AC7]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 25 WEP
    INFINITUM7728:  Infra, <MAC 'INFINITUM7728' [AN9]>, Freq 2462 MHz, Rate 54 Mb/s, Strength 19 WEP
    *Guaifai:        Infra, <MAC 'Guaifai' [AC1]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 71 WPA2

  IPv4 Settings:
    Address:        192.168.1.6
    Prefix:          24 (255.255.255.0)
    Gateway:        192.168.1.254

    DNS:            208.67.222.222
    DNS:            208.67.220.220

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:            unavailable
  Default:          no
  HW Address:        <MAC 'eth0' [IF]>

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:        off

- Device: ra0 ------------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rt2860
  State:            disconnected
  Default:          no
  HW Address:        <MAC 'ra0' [IF]>

  Capabilities:

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

  Wireless Access Points
    INFINITUM4m9g:  Infra, <MAC 'INFINITUM4m9g' [AC2]>, Freq 2412 MHz, Rate 2 Mb/s, Strength 59 WPA WPA2
    Fam.Matabuena:  Infra, <MAC 'Fam.Matabuena' [AC4]>, Freq 2422 MHz, Rate 54 Mb/s, Strength 35 WPA WPA2
    INFINITUMDEFEF8: Infra, <MAC 'INFINITUMDEFEF8' [AC3]>, Freq 2437 MHz, Rate 2 Mb/s, Strength 39 WPA WPA2
    INFINITUM0520:  Infra, <MAC 'INFINITUM0520' [AC7]>, Freq 2412 MHz, Rate 0 Mb/s, Strength 35 WEP
    Guaifai:        Infra, <MAC 'Guaifai' [AC1]>, Freq 2412 MHz, Rate 14 Mb/s, Strength 100 WPA2
    INFINITUM581213: Infra, <MAC 'INFINITUM581213' [AC9]>, Freq 2462 MHz, Rate 2 Mb/s, Strength 32 WPA WPA2
    AXTEL_0188D4:    Infra, <MAC 'AXTEL_0188D4' [AC5]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 29 WPA WPA2
    INFINITUM1ABF35: Infra, <MAC 'INFINITUM1ABF35' [AC6]>, Freq 2462 MHz, Rate 2 Mb/s, Strength 39 WPA WPA2
    bdd14e:          Infra, <MAC 'bdd14e' [AC8]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 32 WPA

##### 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/Guaifai 2]] (600 root)
[connection] id=Guaifai 2 | type=802-11-wireless
[802-11-wireless] ssid=Guaifai
[ipv4] method=auto
[ipv6] method=auto

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

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

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

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

country MX:
    (2402 - 2472 @ 40), (3, 27)
    (5170 - 5250 @ 40), (3, 17)
    (5250 - 5330 @ 40), (3, 23), DFS
    (5735 - 5835 @ 40), (3, 30)

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

eth0      no frequency information.

lo        no frequency information.

ra0      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)

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

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

Channel occupancy:

      3  APs on  Frequency:2.412 GHz (Channel 1)
      1  APs on  Frequency:2.422 GHz (Channel 3)
      3  APs on  Frequency:2.437 GHz (Channel 6)
      2  APs on  Frequency:2.462 GHz (Channel 11)

eth0      Interface doesn't support scanning.

ra0      Scan completed :
          Cell 01 - Address: <MAC 'Guaifai' [AC1]>
                    Protocol:802.11b/g/n
                    ESSID:"Guaifai"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality=57/100  Signal level=-67 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:270 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'INFINITUM4m9g' [AC2]>
                    Protocol:802.11b/g/n
                    ESSID:"INFINITUM4m9g"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality=52/100  Signal level=-69 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:130 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: <MAC 'INFINITUMDEFEF8' [AC3]>
                    Protocol:802.11b/g/n
                    ESSID:"INFINITUMDEFEF8"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality=52/100  Signal level=-69 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:130 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: <MAC 'Fam.Matabuena' [AC4]>
                    Protocol:802.11b/g/n
                    ESSID:"Fam.Matabuena"
                    Mode:Managed
                    Frequency:2.422 GHz (Channel 3)
                    Quality=23/100  Signal level=-81 dBm  Noise level=-76 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    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 05 - Address: <MAC 'AXTEL_0188D4' [AC5]>
                    Protocol:802.11b/g/n
                    ESSID:"AXTEL_0188D4"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality=23/100  Signal level=-81 dBm  Noise level=-76 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    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
  lo        Interface doesn't support scanning.

wlan1    Interface doesn't support scanning : Device or resource busy

        Cell 06 - Address: <MAC 'INFINITUM1ABF35' [AC6]>
                    Protocol:802.11b/g/n
                    ESSID:"INFINITUM1ABF35"
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality=18/100  Signal level=-83 dBm  Noise level=-78 dBm
                    Encryption key:on
                    Bit Rates:130 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 07 - Address: <MAC 'INFINITUM0520' [AC7]>
                    Protocol:802.11b/g
                    ESSID:"INFINITUM0520"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality=23/100  Signal level=-81 dBm  Noise level=-76 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
          Cell 08 - Address: <MAC 'bdd14e' [AC8]>
                    Protocol:802.11b/g
                    ESSID:"bdd14e"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality=26/100  Signal level=-79 dBm  Noise level=-74 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
          Cell 09 - Address: <MAC 'INFINITUM581213' [AC9]>
                    Protocol:802.11b/g/n
                    ESSID:"INFINITUM581213"
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality=23/100  Signal level=-81 dBm  Noise level=-76 dBm
                    Encryption key:on
                    Bit Rates:130 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

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

[rt2800usb]
filename:      /lib/modules/3.16.0-36-generic/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
license:        GPL
firmware:      rt2870.bin
description:    Ralink RT2800 USB Wireless LAN driver.
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    AA4336C224E35E523F23134
depends:        rt2x00lib,rt2800lib,rt2x00usb
intree:        Y
vermagic:      3.16.0-36-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78
sig_hashalgo:  sha512
parm:          nohwcrypt:Disable hardware encryption. (bool)

[rt2x00usb]
filename:      /lib/modules/3.16.0-36-generic/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
license:        GPL
description:    rt2x00 usb library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    21417B97E30FD4E6E469E1F
depends:        rt2x00lib,mac80211
intree:        Y
vermagic:      3.16.0-36-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78
sig_hashalgo:  sha512

[rt2800lib]
filename:      /lib/modules/3.16.0-36-generic/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
license:        GPL
description:    Ralink RT2800 library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
srcversion:    EDDCA794C9E4C3981037918
depends:        rt2x00lib,mac80211,crc-ccitt
intree:        Y
vermagic:      3.16.0-36-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78
sig_hashalgo:  sha512

[rt2x00lib]
filename:      /lib/modules/3.16.0-36-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
license:        GPL
description:    rt2x00 library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    71EFA3CA86D02D0528C49EE
depends:        mac80211,cfg80211
intree:        Y
vermagic:      3.16.0-36-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78
sig_hashalgo:  sha512

[mac80211]
filename:      /lib/modules/3.16.0-36-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    05170C37AC7B7A82211E896
depends:        cfg80211
intree:        Y
vermagic:      3.16.0-36-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78
sig_hashalgo:  sha512
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:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:      /lib/modules/3.16.0-36-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    4A525D9D32B0C6D120CA547
depends:       
intree:        Y
vermagic:      3.16.0-36-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        AC:F6:91:81:39:AD:3F:CA:CC:01:C2:6A:B2:49:09:D5:90:79:A5:78
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)

[rt5390sta]
filename:      /lib/modules/3.16.0-36-generic/kernel/drivers/net/wireless/rt5390sta.ko
version:        2.6.0.0
srcversion:    95F69F45628F41F1E10506E
depends:       
vermagic:      3.16.0-36-generic SMP mod_unload modversions
parm:          mac:rt28xx: wireless mac addr (charp)

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

[rt2800usb]
nohwcrypt: N

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

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

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

lp
rtc

rt5390sta

##### 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
blacklist rt2800pci
blacklist rt2800lib
blacklist rt2x00usb
blacklist rt2x00pci
blacklist rt2x00lib
blacklist rt2860sta
blacklist rt3090sta

[/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

[/etc/modprobe.d/modesetting.conf]
options cirrus modeset=1
options mgag200 modeset=1

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

exit 0

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

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

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1814:0x5390 (rt2800pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'ra0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan1' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

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

[ 1187.918634] wlan1: deauthenticating from <MAC 'Guaifai' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1193.775566] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0xffffffff]
[ 1200.304535] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[ 1200.319581] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0005 detected
[ 1200.361587] systemd-udevd[2659]: renamed network interface wlan0 to wlan1
[ 1200.363304] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 1200.363339] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 1200.594126] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 1201.871957] wlan1: authenticate with <MAC 'Guaifai' [AC1]>
[ 1201.897095] wlan1: send auth to <MAC 'Guaifai' [AC1]> (try 1/3)
[ 1201.898208] wlan1: authenticated
[ 1201.900936] wlan1: associate with <MAC 'Guaifai' [AC1]> (try 1/3)
[ 1201.902977] wlan1: RX AssocResp from <MAC 'Guaifai' [AC1]> (capab=0x431 status=0 aid=1)
[ 1201.907488] wlan1: associated
[ 1201.907521] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 1202.595027] IPv6: wlan1: IPv6 duplicate address fe80::ea94:f6ff:fe13:19b9 detected!
[ 1218.009914] IPv6: wlan1: IPv6 duplicate address fd34:cdbe:70a7:7500:ea94:f6ff:fe13:19b9 detected!
[ 1218.620301] IPv6: wlan1: IPv6 duplicate address fd34:cdbe:70a7:7500:c13c:2c26:5278:4024 detected!
[ 1218.924880] IPv6: wlan1: IPv6 duplicate address fd34:cdbe:70a7:7500:21da:980e:19e0:f8d1 detected!
[ 1219.390867] IPv6: wlan1: IPv6 duplicate address fd34:cdbe:70a7:7500:6cca:ff50:da3d:ee92 detected!

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

[server] Web server with dual-mode operation: ad-hoc and infrastructure

$
0
0
Hi,
I have an old notebook which I use for running personal experiments and where is installed a web server. I would like to know if it is possible to configure my "server" as following:
1 when the server detects that there is no wireless network it acts as hot spot and provides ad-hoc network where the devices can connect. Moreover, the devices can interacts with the server by providing fixed IP address or an URL.
2 when the server detects that there is wireless network it connects to it and the devices can connect the wireless network infrastructure. Moreover, the devices can interacts with the server by providing fixed IP address or an URL.
Is there a way to achieve this in automatic way? I'm not a master of shell, but I can use it. Can you give me some hints?
Thank you very much

Gateway on Ubuntu server 14.04.2 LTS + Hostapd

$
0
0
Hi!
I want to create a wi-fi access point in the ubuntu server 14.04, ubuntu was originally used as a gateway, so that it is configured nat + dnsmasq + squid3, and it worked fine! But it took the support wi-fi AP, so I installed in the PC wi-fi adapter TP-Link TL-WN851nd and install the package hostapd then configures the settings, but the point is not working ... On your PC, smartphone and it can be seen at certain points but connect to it can not be ... then the point is lost ..please help me!

Code:

administrator@ubuntu-server:~$ ifconfig
br0      Link encap:Ethernet  HWaddr 00:1c:c0:7f:76:5d
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c0ff:fe7f:765d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:106 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7484 (7.4 KB)  TX bytes:1164 (1.1 KB)


eth0      Link encap:Ethernet  HWaddr 00:1c:c0:7f:76:5d
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:124 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13610 (13.6 KB)  TX bytes:2372 (2.3 KB)


eth1      Link encap:Ethernet  HWaddr 00:e0:41:28:0e:68
          inet addr:192.168.1.146  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:41ff:fe28:e68/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:84028 errors:4 dropped:90 overruns:4 frame:0
          TX packets:20315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:122323497 (122.3 MB)  TX bytes:1441520 (1.4 MB)


lo        Link encap:Локальная петля (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:220 errors:0 dropped:0 overruns:0 frame:0
          TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:30293 (30.2 KB)  TX bytes:30293 (30.2 KB)


wlan0    Link encap:Ethernet  HWaddr c4:6e:1f:c0:d6:21
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1297 (1.2 KB)  TX bytes:2766 (2.7 KB)

Code:

administrator@ubuntu-server:~$ iwconfig
br0      no wireless extensions.


wlan0    IEEE 802.11bgn  Mode:Master  Tx-Power=20 dBm
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Power Management:off


lo        no wireless extensions.


eth0      no wireless extensions.


eth1      no wireless extensions.

Code:

nano /etc/hostapd/hostapd.conf
interface=wlan0
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=UBUNTU.WLAN
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
max_num_sta=20
rts_threshold=2347
fragm_threshold=2346
preamble=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC1]
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_passphrase=test1234
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP

Code:

~$ lspci | grep Network
04:03.0 Network controller: Qualcomm Atheros AR9227 Wireless Network Adapter (rev 01)
~$ lsmod | grep 80211
mac80211              545990  1 ath9k
cfg80211              409394  3 ath,ath9k,mac80211

Thanks in advance for your reply!

Problem with wired network on Ubuntu 14.04 LTS

$
0
0
I'm connecting the internet cable to my laptop and everything seems ok, but when I want to download some file (from Chromium, Transmission) network is getting slower and slower (Download speed is 10KB/s ). What is wrong? Also i have 3G modem (it also connecting through Ethernet) which has no problems at all, in Windows there were no problems.
Sorry for my English!

View network connections by 'Source' and 'Destination'

$
0
0
Hello Everyone,

Does anyone know of a comman-line tool that can show established network connections and which side initiated the connection?
It is key that it indicate which side initiated the connection.

I have looked at quite a number of tools, none of the ones that I found will give me an output like the following, for already established connections.

Source Destination
192.168.0.100 192.168.0.110
192.168.0.123 192.168.0.100

netstat would be ideal if it would show source/destination instead of local/foreign, since local/foreign does not indicate direction.


Thanks in advance.

[ubuntu] Ubuntu server kills eth0 on Intel NUC until BIOS update, then dead again after reboot

$
0
0
I have an Intel NUC model DC53427HYE with an Intel 82579LM onboard LAN, that uses the E1000e driver.

This has been happily running as a headless server for about 2 years, most recently on ubuntu server 14.04.2. I updated the server using
Code:

apt-get update/upgrade
+ a restart about a month ago with no problems, and today did the same routine, also installing
Code:

ethtool
and then performing a shutdown to move some shelving around in my closet where the NUC resides.

On restarting the NUC, which is my network's DHCP server, I noticed it was not appearing on the network. I did some debugging, and discovered that eth0 was no longer showing up.
Code:

lspci
and
Code:

dmesg
had no references to eth0 (or any other eth device), and the network lights on the physical unit were off.

I attempted to install new Intel drivers, going to version 3.1.0.2-NAPI from Intel's site. I also removed ethtool to no avail. In desperation, I tried installing a new firmware/BIOS on the NUC, and was happy to see eth0 returned and all appeared well. However, when I shutdown the NUC and returned it to my server "closet," eth0 was again (cue Doc Brown voice) "erased, erased from existence!"

I've tried all manner of troubleshooting, but the only way to restore eth0 is to update the NUC firmware, overwriting with the same version. Once I shutdown Ubuntu or reboot, eth0 acts like it doesn't exist.

Any ideas?

(1)Tagged Wired Nic (2vlans)

$
0
0
Hi all, hoping you can help me here so I can get updates, install new software, etc.

I built a wireless AP system using Trusty Tahr 14.04.02, installed hostapd 1:2.1-0ubuntu1, and bridge-utils 1.5-6ubuntu2.

My system has a single gigabit wired nic which I want to bridge two wireless segments using vlan tagging (guests on my dmz, and trusted devices on my inside network)

I'm trunking two vlans from my switch (10 dmz & 192 inside) to my interface and using bridges to connect two wireless nics to the tagged interfaces.

Bridging is working for my wireless clients on both networks. However the access point host itself has no way to route to the gateway and I can't figure out why. WGET returns "failed: No route to host." and apt-get returns "connect (101: Network is unreachable)".

My tagged, and bridge interface has the default gateway added in the interfaces file, I can ping devices on the local subnets in both vlans, resolve DNS from my local dns servers, and I can ping the gateway (firewall has ICMP blocked except for specific internal hosts, but I can see the drops in my firewall logs as they happen) so I know the physical interface is all fine but can't figure out why I'm not able to route traffic outside the local subnets from the hostapd server itself. (again wireless traffic is forwarding fine and routing as desired)

I appreciate any help you can give, below are what I hope are all the relevant needed configs and troubleshooting gathered.

Let me know if I need to add anything else that helps give you an idea what might be wrong Thanks!

Wireless-info.txt:
Code:

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

Report from: 04 May 2015 20:45 PDT -0700

Booted last: 04 May 2015 19:03 PDT -0700

Script from: 30 Apr 2015 17:23 UTC +0000

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

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

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

Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, nomodeset, noplymouth, vt.handoff=7

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

sed: can't read /home/davery/.dmrc: No such file or directory
Could not be determined.

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

00:19.0 Ethernet controller [0200]: Intel Corporation 82566DM-2 Gigabit Network Connection [8086:10bd] (rev 02)
        Subsystem: Dell OptiPlex 755 [1028:0211]
        Kernel driver in use: e1000e

03:00.0 Network controller [0280]: Qualcomm Atheros AR9227 Wireless Network Adapter [168c:002d] (rev 01)
        Subsystem: Qualcomm Atheros Device [168c:0300]
        Kernel driver in use: ath9k

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

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1737:0077 Linksys WUSB54GC v3 802.11g Adapter [Ralink RT2070L]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 ##################

'pccardctl' is not installed (package "pcmciautils").

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

./wireless-info.sh: line 176: rfkill: command not found

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

rt2800usb              27034  0
ath9k                164164  0
rt2x00usb              20742  1 rt2800usb
rt2800lib              89076  1 rt2800usb
ath9k_common          13551  1 ath9k
ath9k_hw              453856  2 ath9k_common,ath9k
rt2x00lib              55307  3 rt2x00usb,rt2800lib,rt2800usb
ath                    28698  3 ath9k_common,ath9k,ath9k_hw
mac80211              630653  4 ath9k,rt2x00lib,rt2x00usb,rt2800lib
cfg80211              484040  4 ath,ath9k,mac80211,rt2x00lib
crc_ccitt              12707  1 rt2800lib

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

auto lo
iface lo inet loopback

auto eth0.192
iface eth0.192 inet static
address 192.168.4.7
netmask 255.255.255.0
gateway 192.168.4.1
broadcast 192.168.4.255
dns-nameservers 192.168.4.2 192.168.4.3 192.168.4.1
vlan-raw-device eth0

auto eth0.10
iface eth0.10 inet static
address 10.1.100.2
netmask 255.255.255.0
dns-nameservers 10.1.100.1
vlan-raw-device eth0

auto wlan0
iface wlan0 inet manual
pre-up ifconfig $IFACE up
pre-down ifconfig $IFACE down

auto wlan1
iface wlan1 inet manual
pre-up ifconfig $IFACE up
pre-down ifconfig $IFACE down

auto br192
iface br192 inet static
address 192.168.4.7
netmask 255.255.255.0
gateway 192.168.4.1
dns-nameservers 192.168.4.2 192.168.4.3 192.168.4.1
bridge-ports eth0.192

auto br10
iface br10 inet static
address 10.1.100.2
netmask 255.255.255.0
dns-nameservers 10.1.100.1
bridge-ports eth0.10

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

br10      Link encap:Ethernet  HWaddr <MAC 'br10' [IF]>
          inet addr:10.1.100.2  Bcast:10.1.100.255  Mask:255.255.255.0
          inet6 addr: fe80::221:70ff:fe06:c65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:48449 (48.4 KB)  TX bytes:1658 (1.6 KB)

br192    Link encap:Ethernet  HWaddr <MAC 'br10' [IF]>
          inet addr:192.168.4.7  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: fe80::221:70ff:fe06:c65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20978 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8307 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1504053 (1.5 MB)  TX bytes:539020 (539.0 KB)

eth0      Link encap:Ethernet  HWaddr <MAC 'br10' [IF]>
          inet6 addr: fe80::221:70ff:fe06:c65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34357 errors:0 dropped:305 overruns:0 frame:0
          TX packets:12999 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5924869 (5.9 MB)  TX bytes:1545607 (1.5 MB)
          Interrupt:21 Memory:fe9e0000-fea00000

eth0.10  Link encap:Ethernet  HWaddr <MAC 'br10' [IF]>
          inet addr:10.1.100.2  Bcast:10.1.100.255  Mask:255.255.255.0
          inet6 addr: fe80::221:70ff:fe06:c65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:48449 (48.4 KB)  TX bytes:2306 (2.3 KB)

eth0.192  Link encap:Ethernet  HWaddr <MAC 'br10' [IF]>
          inet addr:192.168.4.7  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: fe80::221:70ff:fe06:c65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30499 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12962 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4958411 (4.9 MB)  TX bytes:1420323 (1.4 MB)

wlan0    Link encap:Ethernet  HWaddr <MAC 'wlan0' [IF]>
          inet6 addr: fe80::12fe:edff:feeb:48d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4669 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10508 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:884213 (884.2 KB)  TX bytes:2646262 (2.6 MB)

wlan1    Link encap:Ethernet  HWaddr <MAC 'wlan1' [IF]>
          inet6 addr: fe80::225:9cff:fea5:fc34/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:59017 (59.0 KB)

wlan0_0  Link encap:Ethernet  HWaddr <MAC 'wlan0_0' [IF]>
          inet6 addr: fe80::12fe:edff:feeb:48d7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6482 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:613916 (613.9 KB)

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

br192    no wireless extensions.

br10      no wireless extensions.

eth0.10  no wireless extensions.

eth0      no wireless extensions.

lo        no wireless extensions.

eth0.192  no wireless extensions.

wlan0_0  IEEE 802.11bgn  Mode:Master  Tx-Power=20 dBm
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Power Management:off

wlan1    IEEE 802.11bg  Mode:Master  Tx-Power=20 dBm
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Power Management:on

wlan0    IEEE 802.11bgn  Mode:Master  Tx-Power=20 dBm
          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.4.1    0.0.0.0        UG    0      0        0 eth0.192
10.1.100.0      0.0.0.0        255.255.255.0  U    0      0        0 br10
192.168.4.0    0.0.0.0        255.255.255.0  U    0      0        0 br192

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

nameserver 10.1.100.1
nameserver 192.168.4.2
nameserver 192.168.4.3

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

./wireless-info.sh: line 201: nmcli: command not found

./wireless-info.sh: line 203: nmcli: command not found

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

cat: /var/lib/NetworkManager/NetworkManager.state: No such file or directory

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

grep: /etc/NetworkManager/NetworkManager.conf: No such file or directory

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

Acquisition of admin privileges failed.

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

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

country CN:
        (2402 - 2482 @ 40), (N/A, 20)
        (5735 - 5835 @ 40), (N/A, 30)
        (57240 - 59400 @ 2160), (N/A, 28)
        (59400 - 63720 @ 2160), (N/A, 44)
        (63720 - 65880 @ 2160), (N/A, 28)

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

br192    no frequency information.

br10      no frequency information.

eth0.10  no frequency information.

eth0      no frequency information.

lo        no frequency information.

eth0.192  no frequency information.

wlan0_0  13 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
wlan1    13 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
wlan0    13 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

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

br192    Interface doesn't support scanning.

br10      Interface doesn't support scanning.

wlan0_0  Interface doesn't support scanning : Operation not supported

wlan1    Interface doesn't support scanning : Operation not supported

eth0.10  Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

eth0.192  Interface doesn't support scanning.

wlan0    Interface doesn't support scanning : Operation not supported

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

[rt2800usb]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
license:        GPL
firmware:      rt2870.bin
description:    Ralink RT2800 USB Wireless LAN driver.
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    98B048D64D7288E7C870495
depends:        rt2x00lib,rt2800lib,rt2x00usb
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512
parm:          nohwcrypt:Disable hardware encryption. (bool)

[ath9k]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:        Atheros Communications
srcversion:    DF02272C2FA4678C49046E5
depends:        ath9k_hw,mac80211,ath9k_common,cfg80211,ath
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512
parm:          debug:Debugging mask (uint)
parm:          nohwcrypt:Disable hardware encryption (int)
parm:          blink:Enable LED blink on activity (int)
parm:          btcoex_enable:Enable wifi-BT coexistence (int)
parm:          bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm:          ps_enable:Enable WLAN PowerSave (int)

[rt2x00usb]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
license:        GPL
description:    rt2x00 usb library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    1C7B3D09AA920FB776204BA
depends:        rt2x00lib,mac80211
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512

[rt2800lib]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
license:        GPL
description:    Ralink RT2800 library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
srcversion:    7A7EEDE3C2270AE56EB54F8
depends:        rt2x00lib,mac80211,crc-ccitt
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512

[ath9k_common]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless 802.11n LAN cards.
author:        Atheros Communications
srcversion:    696B00A6C59713EC0966997
depends:        ath,ath9k_hw
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512

[ath9k_hw]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:        Atheros Communications
srcversion:    4809F3842A0542CD6B556D3
depends:        ath
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512

[rt2x00lib]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
license:        GPL
description:    rt2x00 library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    E9BB2D2E4429AB671216A29
depends:        mac80211,cfg80211
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512

[ath]
filename:      /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:        Atheros Communications
srcversion:    88A67C5359B02C5A710AFCF
depends:        cfg80211
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512

[mac80211]
filename:      /lib/modules/3.13.0-37-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    B822641624778B987844F6F
depends:        cfg80211
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo:  sha512
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:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:      /lib/modules/3.13.0-37-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    C2478077E22138832B71659
depends:
intree:        Y
vermagic:      3.13.0-37-generic SMP mod_unload modversions
signer:        Magrathea: Glacier signing key
sig_key:        2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
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 #################

[rt2800usb]
nohwcrypt: N

[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
nohwcrypt: 0
ps_enable: 0

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

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

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

loop
lp
rtc
8021q

coretemp

##### 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/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 0x8086:/sys/devices/pci0000:00/0000:00:19.0 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'br10' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1e.0/0000:03:00.0 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x1737:0x0077 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan1' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1e.0/0000:03:00.0 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0_0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0_0"

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

[    3.717748] ath: EEPROM regdomain: 0x809c
[    3.717751] ath: EEPROM indicates we should expect a country code
[    3.717753] ath: doing EEPROM country->regdmn map search
[    3.717754] ath: country maps to regdmn code: 0x52
[    3.717756] ath: Country alpha2 being used: CN
[    3.717757] ath: Regpair used: 0x52
[    3.742247] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[    3.786975] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0006 detected
[    4.437126] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    4.441712] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[    4.444637] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[    4.867757] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready (repeated 2 times)
[    6.034660] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    6.034751] device wlan0 entered promiscuous mode
[    6.034983] device wlan1 entered promiscuous mode
[    6.128999] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[    6.129030] br10: port 2(wlan1) entered forwarding state (repeated 2 times)
[    6.153454] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    6.153479] br192: port 2(wlan0) entered forwarding state (repeated 2 times)
[    6.154235] device wlan0_0 entered promiscuous mode
[    6.154335] IPv6: ADDRCONF(NETDEV_UP): wlan0_0: link is not ready
[    6.154339] br192: port 3(wlan0_0) entered forwarding state (repeated 2 times)
[    6.201206] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_0: link becomes ready
[  21.148016] br10: port 2(wlan1) entered forwarding state
[  21.180025] br192: port 2(wlan0) entered forwarding state
[  21.180041] br192: port 3(wlan0_0) entered forwarding state

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

Bridges:
Code:

$ brctl show
bridge name    bridge id              STP enabled    interfaces
br10            8000.002170060c65      no              eth0.10
                                                        wlan1
br192          8000.002170060c65      no              eth0.192
                                                        wlan0
                                                        wlan0_0

ping from AP host to Inside DNS across switches:
Code:

$ ping 192.168.4.2
PING 192.168.4.2 (192.168.4.2) 56(84) bytes of data.
64 bytes from 192.168.4.2: icmp_seq=1 ttl=128 time=0.482 ms
64 bytes from 192.168.4.2: icmp_seq=2 ttl=128 time=0.348 ms
64 bytes from 192.168.4.2: icmp_seq=3 ttl=128 time=0.236 ms
64 bytes from 192.168.4.2: icmp_seq=4 ttl=128 time=0.237 ms

--- 192.168.4.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.236/0.325/0.482/0.103 ms

ping from gateway back to AP host both br interfaces:
Code:

fw:/root # ping 10.1.100.2
PING 10.1.100.2 (10.1.100.2) 56(84) bytes of data.
64 bytes from 10.1.100.2: icmp_seq=1 ttl=64 time=0.249 ms
64 bytes from 10.1.100.2: icmp_seq=2 ttl=64 time=0.213 ms
64 bytes from 10.1.100.2: icmp_seq=3 ttl=64 time=0.244 ms
64 bytes from 10.1.100.2: icmp_seq=4 ttl=64 time=0.197 ms
64 bytes from 10.1.100.2: icmp_seq=5 ttl=64 time=0.328 ms
64 bytes from 10.1.100.2: icmp_seq=6 ttl=64 time=0.222 ms
^C
--- 10.1.100.2 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4997ms
rtt min/avg/max/mdev = 0.197/0.242/0.328/0.043 ms
fw:/root # ping 192.168.4.7
PING 192.168.4.7 (192.168.4.7) 56(84) bytes of data.
64 bytes from 192.168.4.7: icmp_seq=1 ttl=64 time=0.295 ms
64 bytes from 192.168.4.7: icmp_seq=2 ttl=64 time=0.234 ms
64 bytes from 192.168.4.7: icmp_seq=3 ttl=64 time=0.205 ms
64 bytes from 192.168.4.7: icmp_seq=4 ttl=64 time=0.337 ms
64 bytes from 192.168.4.7: icmp_seq=5 ttl=64 time=0.253 ms
^C
--- 192.168.4.7 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.205/0.264/0.337/0.050 ms
fw:/root #

Here's a visual of the situation:
troubleshooting hostapd routing problem.jpg

Bluetooth: Loading patch file failed

$
0
0
Bluetooth firmware is not loaded. I did some research and found that it should be the kernel version. So upgraded to new kernel 3.19.5 but still no joy.
Cant find the file it needs anywhere on the web.. what is going wrong?

lsusb
Code:

0cf3:3004 Atheros Communications
dmesg
Code:

[    8.411052] usb 3-1.3: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[    8.411058] Bluetooth: Patch file not found ar3k/AthrBT_0x00000200.dfu
[    8.411060] Bluetooth: Loading patch file failed
[    8.411066] ath3k: probe of 3-1.3:1.0 failed with error -2
[    8.411274] usbcore: registered new interface driver ath3k

ll /lib/firmware/ar3k/
Code:

-rw-r--r--  1 root root 55244 nov 24 16:42 AthrBT_0x01020001.dfu
-rw-r--r--  1 root root 40724 nov 24 16:42 AthrBT_0x01020200.dfu
-rw-r--r--  1 root root 19164 dec  1 16:16 AthrBT_0x01020201.dfu
-rw-r--r--  1 root root 36828 nov 24 16:42 AthrBT_0x11020000.dfu
-rw-r--r--  1 root root 40652 nov 24 16:42 AthrBT_0x31010000.dfu
-rw-r--r--  1 root root 31500 dec  1 16:16 AthrBT_0x41020000.dfu
-rw-r--r--  1 root root  1224 nov 24 16:42 ramps_0x01020001_26.dfu
-rw-r--r--  1 root root  1274 nov 24 16:42 ramps_0x01020200_26.dfu
-rw-r--r--  1 root root  1204 nov 24 16:42 ramps_0x01020200_40.dfu
-rw-r--r--  1 root root  264 dec  1 16:16 ramps_0x01020201_26.dfu
-rw-r--r--  1 root root  264 dec  1 16:16 ramps_0x01020201_40.dfu
-rw-r--r--  1 root root  1796 nov 24 16:42 ramps_0x11020000_40.dfu
-rw-r--r--  1 root root  1926 nov 24 16:42 ramps_0x31010000_40.dfu
-rw-r--r--  1 root root  1820 dec  1 16:16 ramps_0x41020000_40.dfu

[SOLVED] No WiFi on Dell Inspiron 6400

$
0
0
I have just installed Ubuntu on my Dell Inspiron 6400 laptop, dual booting with Windows XP.

While the ethernet connection works fine, the WiFi does not work at all. Under XP the WiFi works perfectly.

I'm new to Ubuntu, so I am stuck, and I would welcome some help to get this working.

[kubuntu] Several applications freeze after configuration of the proxy

$
0
0
Hi,

My configuration is :
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid


I have a problem of configuration of proxy.
If I configure a proxy, application like muon-updater freeze.
Kate freeze when i open a remote file.
Without proxy kate can open this remote file.

but whitout proxy i can't update my system with muon-updater.

Have you an idea

Philippe
Viewing all 23300 articles
Browse latest View live


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