Skip to content

Instantly share code, notes, and snippets.

@charusat09
Created March 10, 2018 05:40
Show Gist options
  • Save charusat09/516921458073315c64c50d32befc1677 to your computer and use it in GitHub Desktop.
Save charusat09/516921458073315c64c50d32befc1677 to your computer and use it in GitHub Desktop.
########## wireless info START ##########
Report from: 10 Mar 2018 10:40 IST +0530
Booted last: 10 Mar 2018 10:33 IST +0530
Script from: 10 Jan 2018 20:04 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
##### kernel ############################
Linux 4.4.0-103-generic #126~14.04.1-Ubuntu SMP Mon Dec 4 19:33:04 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Ubuntu
##### lspci #############################
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 02)
Subsystem: Lenovo Device [17aa:392e]
Kernel driver in use: r8169
##### lsusb #############################
Bus 002 Device 005: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 002 Device 006: ID 2717:ff80
Bus 002 Device 003: ID 04f2:b18a Chicony Electronics Co., Ltd
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
##### lsmod #############################
ideapad_laptop 28672 0
sparse_keymap 16384 1 ideapad_laptop
wmi 20480 1 ideapad_laptop
video 40960 2 i915,ideapad_laptop
##### interfaces ########################
[/etc/network/interfaces]
auto lo
iface lo inet loopback
##### ifconfig ##########################
eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF1]>
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)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3482 errors:0 dropped:0 overruns:0 frame:0
TX packets:3482 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:268511 (268.5 KB) TX bytes:268511 (268.5 KB)
usb0 Link encap:Ethernet HWaddr <MAC 'usb0' [IF2]>
inet addr:192.168.42.28 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: 2405:204:858f:17b9:95e6:9634:29e5:8784/64 Scope:Global
inet6 addr: fe80::<IP6 'usb0' [IF2]>/64 Scope:Link
inet6 addr: 2405:204:858f:17b9:<IP6 'usb0' [IF2]>/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1703 errors:0 dropped:0 overruns:0 frame:0
TX packets:1580 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:952493 (952.4 KB) TX bytes:468137 (468.1 KB)
##### iwconfig ##########################
usb0 no wireless extensions.
lo no wireless extensions.
eth0 no wireless extensions.
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
##### resolv.conf #######################
nameserver 127.0.1.1
##### network managers ##################
Installed:
NetworkManager
Running:
root 1000 1 0 10:33 ? 00:00:00 NetworkManager
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: usb0 [Wired connection 2] -------------------------------------------
Type: Wired
Driver: rndis_host
State: connected
Default: yes
HW Address: <MAC 'usb0' [IF2]>
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.42.28
Prefix: 24 (255.255.255.0)
Gateway: 192.168.42.129
DNS: 192.168.42.129
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: <MAC 'eth0' [IF1]>
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
##### 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/jackSparrowww]] (600 root)
[connection] id=jackSparrowww | type=802-11-wireless
[802-11-wireless] ssid=jackSparrowww | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/devi]] (600 root)
[connection] id=devi | type=802-11-wireless
[802-11-wireless] ssid=devi | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto
##### Netplan config ####################
##### iw reg get ########################
Region: Asia/Kolkata (based on set time zone)
country 00:
(2402 - 2472 @ 40), (6, 20)
(2457 - 2482 @ 40), (6, 20), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0)
##### iwlist channels ###################
usb0 no frequency information.
lo no frequency information.
eth0 no frequency information.
##### iwlist scan #######################
usb0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
##### module infos ######################
##### module parameters #################
##### /etc/modules ######################
lp
rtc
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x4727 (brcmsmac)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
##### dmesg #############################
[ 24.260538] r8169 0000:05:00.0 eth0: link down
[ 24.260597] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 259.759018] rndis_host 2-1.4:1.0 usb0: register 'rndis_host' at usb-0000:00:1d.0-1.4, RNDIS device, <MAC 'usb0' [IF2]>
########## wireless info END ############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment