In the configuration in question, packets are arriving successfully in a router via an integral openvpn tunnel, with a vtun endpoint of 10.99.99.2. NAT can be used to forward these to systems on a 192.168.1.0/24 network. However, return packets cannot be routed back successfully to the tunnel, since the necessary default gateway points elsewhere. In the past on other networks I have solved this with policy routing when the openvpn endpoint was on the same physical machine. However, in this case the openvpn endpoint is on a router, and though I can create a static route that can ping 10.99.99.2 from the 192 network, attempts to set a default table based policy route for 10.99.99.2 fail with "no such host." Any ideas? Thanks!
↧
Policy routing default more than one hop
↧
[ubuntu] ubuntu can't connect in wireless - drop other users
First, sorry for the lack of information, but i' started with linux two weeks ago and I bought another laptop. I really don't know where tohttp://askubuntu.com/editing-help start looking.
I have a Dlink router (this one: http://us.dlink.com/products/connect...i-fi-router-2/) and a notebook with ubuntu 16.04 LTS and windows 10. The problem is: when I connect in my wireless network with ubuntu, all other computers can't use the internet. And I can't too. But with windows 10 works fine.
What can I do?
Edit: Result of wireless script(https://github.com/UbuntuForums/wireless-info ):
Result of the command: l spci -nnk | grep 0280 -A2
I have a Dlink router (this one: http://us.dlink.com/products/connect...i-fi-router-2/) and a notebook with ubuntu 16.04 LTS and windows 10. The problem is: when I connect in my wireless network with ubuntu, all other computers can't use the internet. And I can't too. But with windows 10 works fine.
What can I do?
Edit: Result of wireless script(https://github.com/UbuntuForums/wireless-info ):
Result of the command: l spci -nnk | grep 0280 -A2
01:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30) Subsystem: Samsung Electronics Co Ltd Device [144d:412b] Kernel driver in use: ath10k_pci
↧
↧
how to optimise the wifi for ubuntu 16.04, Intel Dual Band Wireless-AC 72
Can anyone give me some advice on how to optimise the wifi for my system (ubuntu 16.04, Intel Dual Band Wireless-AC 7260)?
I have an ac adapter / router and yet the wifi connection is very slow (slower than non-ubuntu systems connectiving via wifi to the same network).
Results of wireless-info attached.
As a workaround, I am currently using ethernet and both the ethernet and wifi were connected whilst wireless-info was run, but normally I'll only use the one or the other.
Thanks very much for any help.
I have an ac adapter / router and yet the wifi connection is very slow (slower than non-ubuntu systems connectiving via wifi to the same network).
Results of wireless-info attached.
As a workaround, I am currently using ethernet and both the ethernet and wifi were connected whilst wireless-info was run, but normally I'll only use the one or the other.
Thanks very much for any help.
↧
RealTek 8821au Linux Driver 16.04: install.sh fails
Hello Experts,
I have been trying to install the RealTek 8821au driver on Ubuntu 16.04 Server OS but install.sh keeps failing. The RealTek WiFi comes as a USB adapter from 'Glam Hobby' manufacturer and was bought on Amazon https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1 I have downloaded the latest drivers from https://jumpshare.com/v/btbJdagrPEMKrFvZbjmg and following are the contents.
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51# ls
clean core hal ifcfg-wlan0 include Kconfig Makefile os_dep platform runwpa wlan0dhcp
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51#
When I run 'make' with superuser permissions, it fails with following message. I have not changed any file and running them as is. Running 'bash install.sh' available also fails exactly for the same following message.
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-31-generic/build M=/root/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51 modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-31-generic'
Makefile:340: scripts/Kbuild.include: No such file or directory
Makefile:622: arch/x86/Makefile: No such file or directory
/bin/bash: ./scripts/gcc-goto.sh: No such file or directory
Makefile:796: scripts/Makefile.kasan: No such file or directory
Makefile:797: scripts/Makefile.extrawarn: No such file or directory
make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-31-generic'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51#
Searched around in this forum and checked for most common issues but has not fixed my issue. Can someone please help?
Thank you,
Naveen.
I have been trying to install the RealTek 8821au driver on Ubuntu 16.04 Server OS but install.sh keeps failing. The RealTek WiFi comes as a USB adapter from 'Glam Hobby' manufacturer and was bought on Amazon https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1 I have downloaded the latest drivers from https://jumpshare.com/v/btbJdagrPEMKrFvZbjmg and following are the contents.
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51# ls
clean core hal ifcfg-wlan0 include Kconfig Makefile os_dep platform runwpa wlan0dhcp
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51#
When I run 'make' with superuser permissions, it fails with following message. I have not changed any file and running them as is. Running 'bash install.sh' available also fails exactly for the same following message.
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-31-generic/build M=/root/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51 modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-31-generic'
Makefile:340: scripts/Kbuild.include: No such file or directory
Makefile:622: arch/x86/Makefile: No such file or directory
/bin/bash: ./scripts/gcc-goto.sh: No such file or directory
Makefile:796: scripts/Makefile.kasan: No such file or directory
Makefile:797: scripts/Makefile.extrawarn: No such file or directory
make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-31-generic'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2
root@UbuntuServer1604:~/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150 128-51#
Searched around in this forum and checked for most common issues but has not fixed my issue. Can someone please help?
Thank you,
Naveen.
↧
[ubuntu] Sharing remote Ubuntu server's internet over PPPoE, Like Mini ISP
Hi,
I'm not very sure as to how possible this is but very curious to find out.
I have an Ubuntu VPS server hosted in paris, This server has a 100Mbp/s internet connection,
I would like to setup a PPPoE server on this VPS and connect to it over PPPoE from a remote location , and get assigned an IP,as though it is my own ISP.
This should then allow for internet break-out on the remote computer through the VPS?
Is there any way to do this
I hope that my explanation is not too confusing?
I'm not very sure as to how possible this is but very curious to find out.
I have an Ubuntu VPS server hosted in paris, This server has a 100Mbp/s internet connection,
I would like to setup a PPPoE server on this VPS and connect to it over PPPoE from a remote location , and get assigned an IP,as though it is my own ISP.
This should then allow for internet break-out on the remote computer through the VPS?
Is there any way to do this
I hope that my explanation is not too confusing?
↧
↧
Wifi will not connect
I installed Ubuntu-Mate to a laptop. (HP G60)
But I can not connect to internet using WiFi.
I used the correct connection and password.
But I can not connect to internet using WiFi.
I used the correct connection and password.
↧
Challenge installing packages behind a Proxy Firewall
Hi All,
I am currently trying to install a package (# apt-get install gnome-system-tools) however I am receiving a networking (related error). I am behind a Proxy firewall, but port 80 should be open. Is there another port that Ubuntu typically uses to retrieve packages? Here is a screen shot of part of the error that I am receiving -
![]()
Any help with overcoming this error will be greatly appreciated.
Kind Regards,
Davo
I am currently trying to install a package (# apt-get install gnome-system-tools) however I am receiving a networking (related error). I am behind a Proxy firewall, but port 80 should be open. Is there another port that Ubuntu typically uses to retrieve packages? Here is a screen shot of part of the error that I am receiving -

Any help with overcoming this error will be greatly appreciated.
Kind Regards,
Davo
↧
Can't connect to wifi or ethernet on Dell Inspiron 1520
Hey, I just installed Ubuntu 16.04 on my dad's old Dell Inspiron 1520 laptop, as a way of getting it up and running again. I myself use Ubuntu on my own machine, but am not all that technically skilled.
So my dad is 100% new to Ubuntu, has never used any Linux distro before. When I installed 16.04, the machine was able to connect to the internet via ethernet, and under the DRIVERS section in settings, we were able to locate the proprietary drivers needed to connect to wifi. Well, after installing the driver and rebooting his machine, we were still not able to access the web via wifi - but now, even the ethernet connection wasn't working!
I'm hoping someone would be able to help me out here. My dad was really psyched to be able to get his old computer up and running again (with a much better OS than the Windows Vista that had previously been installed on the HDD), but we've run into this snag. I'm fairly new to Ubuntu as well so unfortunately I wasn't much help.
Any help or advice would be hugely appreciated!
So my dad is 100% new to Ubuntu, has never used any Linux distro before. When I installed 16.04, the machine was able to connect to the internet via ethernet, and under the DRIVERS section in settings, we were able to locate the proprietary drivers needed to connect to wifi. Well, after installing the driver and rebooting his machine, we were still not able to access the web via wifi - but now, even the ethernet connection wasn't working!
I'm hoping someone would be able to help me out here. My dad was really psyched to be able to get his old computer up and running again (with a much better OS than the Windows Vista that had previously been installed on the HDD), but we've run into this snag. I'm fairly new to Ubuntu as well so unfortunately I wasn't much help.
Any help or advice would be hugely appreciated!
↧
check if my network supports ipv6
Hi all!
How do I know if my network supports ipv6?
When I perform 'ping6 -I eth0' to another host I get responses from it.
If I broadcast 'ping6 -I eth0 ff02::1' I also get responses from a lot of hosts.
But when executing this instruction 'ping6 -I eth0 ff02::2' I do not get responses at all.
Does that mean I have a network which supports ipv6 or not?
Thanks a lot!
How do I know if my network supports ipv6?
When I perform 'ping6 -I eth0' to another host I get responses from it.
If I broadcast 'ping6 -I eth0 ff02::1' I also get responses from a lot of hosts.
But when executing this instruction 'ping6 -I eth0 ff02::2' I do not get responses at all.
Does that mean I have a network which supports ipv6 or not?
Thanks a lot!
↧
↧
Dell XPS 13 running Ubuntu 14.04 - Wifi not working since recent update
wireless-info results below:
any help would be much appreciated
any help would be much appreciated
Code:
########## wireless info START ##########
Report from: 21 Jul 2016 08:38 BST +0100
Booted last: 20 Jul 2016 11:39 BST +0100
Script from: 08 Jul 2016 02:16 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
##### kernel ############################
Linux 3.19.0-65-generic #73~14.04.1-Ubuntu SMP Wed Jun 29 21:05:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Cinnamon
##### lspci #############################
3a:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Device [8086:0050]
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:525a] (rev 01)
##### lsusb #############################
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1fc9:5002 NXP Semiconductors
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0c45:670c Microdia
Bus 001 Device 004: ID 04f3:20d0 Elan Microelectronics Corp.
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
##### lsmod #############################
dell_wmi 16384 0
sparse_keymap 16384 1 dell_wmi
dell_laptop 16384 0
dcdbas 16384 1 dell_laptop
wmi 20480 1 dell_wmi
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
br-860441bdf0a3 Link encap:Ethernet HWaddr <MAC 'br-860441bdf0a3' [IF1]>
inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-bd9e9ee0ec19 Link encap:Ethernet HWaddr <MAC 'br-bd9e9ee0ec19' [IF2]>
inet addr:172.19.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
docker0 Link encap:Ethernet HWaddr <MAC 'docker0' [IF3]>
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::<IP6 'docker0' [IF3]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:536 (536.0 B) TX bytes:9764 (9.7 KB)
eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF4]>
inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::<IP6 'eth0' [IF4]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:445642 errors:0 dropped:0 overruns:0 frame:0
TX packets:210656 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:271924464 (271.9 MB) TX bytes:36404808 (36.4 MB)
veth9cfda22 Link encap:Ethernet HWaddr <MAC 'veth9cfda22' [IF5]>
inet6 addr: fe80::<IP6 'veth9cfda22' [IF5]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:648 (648.0 B) TX bytes:16485 (16.4 KB)
##### iwconfig ##########################
lo no wireless extensions.
br-bd9e9ee0ec19 no wireless extensions.
br-860441bdf0a3 no wireless extensions.
veth9cfda22 no wireless extensions.
docker0 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.0.1 0.0.0.0 UG 0 0 0 eth0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-860441bdf0a3
172.19.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-bd9e9ee0ec19
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
##### resolv.conf #######################
nameserver 127.0.1.1
search yoyowallet.net
##### network managers ##################
Installed:
NetworkManager
Running:
root 919 1 0 Jul20 ? 00:00:01 NetworkManager
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: eth0 [Wired connection 1] -------------------------------------------
Type: Wired
Driver: ax88179_178a
State: connected
Default: yes
HW Address: <MAC 'eth0' [IF4]>
Capabilities:
Carrier Detect: yes
Speed: 1000 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.0.111
Prefix: 24 (255.255.255.0)
Gateway: 192.168.0.1
DNS: 192.168.0.1
##### 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 ###########
##### iw reg get ########################
nl80211 not found.
##### iwlist channels ###################
lo no frequency information.
br-bd9e9ee0ec19 no frequency information.
br-860441bdf0a3 no frequency information.
veth9cfda22 no frequency information.
docker0 no frequency information.
eth0 no frequency information.
##### iwlist scan #######################
lo Interface doesn't support scanning.
br-bd9e9ee0ec19 Interface doesn't support scanning.
br-860441bdf0a3 Interface doesn't support scanning.
veth9cfda22 Interface doesn't support scanning.
docker0 Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
##### module infos ######################
##### module parameters #################
##### /etc/modules ######################
lp
rtc
lp
rtc
##### 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
[/etc/modprobe.d/oem-workaround-jackpoll.conf]
options snd-hda-intel jackpoll_ms=500
[/etc/modprobe.d/oem-workaround-poweron.conf]
blacklist dell-wmi
##### rc.local ##########################
exit 0
##### pm-utils ##########################
[/etc/pm/power.d/disable_wol] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/laptop-mode] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/pci_devices] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/pcie_aspm] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/sched-powersave] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/usb_bluetooth] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/wireless] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/xfs_buffer] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# USB device 0x:0x (smsc75xx)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x24f3 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
##### dmesg #############################
########## wireless info END ############
↧
WIFI Adapter not working
Hi guys,
I'm new to ubuntu,I just installed MATE 16.04.I have issues with my wireless adapters.
Firstly I tried to get my NETGEAR WNA1000M to work and tried a lot of solutions posted throughout most of the forums,
It did not work and then I tried my friend's adapter,MEDIATEK 802.11n which is supposed to be supported but is also not working.
The connections always display Realtek or Mediatek based on the adapter but looks like it is disabled,I haveb een trying for a whole day to get a fix.
I'm afraid I messed up the etc folder with the tons of solutions I tried out,The information for the NETGEAR adapter is
RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911 I.
Thanks in advance,
I'm new to ubuntu,I just installed MATE 16.04.I have issues with my wireless adapters.
Firstly I tried to get my NETGEAR WNA1000M to work and tried a lot of solutions posted throughout most of the forums,
It did not work and then I tried my friend's adapter,MEDIATEK 802.11n which is supposed to be supported but is also not working.
The connections always display Realtek or Mediatek based on the adapter but looks like it is disabled,I haveb een trying for a whole day to get a fix.
I'm afraid I messed up the etc folder with the tons of solutions I tried out,The information for the NETGEAR adapter is
RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911 I.
Thanks in advance,
↧
Predictable Network Interface Names Question
This is more of an observation about Predictable Network Interface Names (PNIN). It is my understanding that this first appeared in Ubuntu 15.10 because of a change in systemd (https://www.freedesktop.org/wiki/Sof...nterfaceNames/). This means the traditional network interface names like eth0, eth1, wlan0 etc. are replaced by something, well
less obvious.
I recently made these observations on three Ubuntu 16.04 installs.
The first is a standard Ubuntu 16.04 desktop running in a VMware Fusion VM on a Mac:
Pretty straightforward; ens33 is not much harder to remember than eth0.
The second install is a standalone (non-virtual) Ubuntu 16.04 Server on standard Intel hardware with two ethernet interfaces; one on the motherboard and another in a PCIe slot.
Still not too difficult to understand. It is interesting though that the kernel recognizes both initially as eth0, presumable because the first interface (the RTL8168e) has already been renamed to enp1s0 before the Intel PRO/1000 is enumerated and then renamed from eth0 to eno1.
But now things get more interesting. The next install is Ubuntu 16.04 armv7l running on a Raspberry Pi model 2. This device has the built-in ethernet and a USB D-Link DWA-121 wifi adapter based on the Realtek RTL8188CUS chip. The built-in ethernet in also on the USB bus (which I didnt know until I looked) and is based on the SMSC9512/9514 chip. See below:
It looks like the ethernet interface is initially named eth0 and then renamed to enxb827ebd8e6df (I presume based on its MAC address). The wifi chip is initially named wlan0 and then renamed to enxb8a3868ee9df. In the output from ifconfig above, how would one know that enxb8a3868ee9df is a wifi interface? Note at the time I did this I did not have the ethernet port connected so it hadnt picked up an IP address.
So, I guess there are reasons for implementing PNIN but at least in the last example it could get pretty confusing. Is this really progress?
Doug
I recently made these observations on three Ubuntu 16.04 installs.
The first is a standard Ubuntu 16.04 desktop running in a VMware Fusion VM on a Mac:
Code:
gary@ubuntu:~$ dmesg | grep eth
[ 1.900145] e1000 0000:02:01.0 eth0: (PCI:66MHz:32-bit) 00:0c:29:de:16:44
[ 1.900154] e1000 0000:02:01.0 eth0: Intel(R) PRO/1000 Network Connection
[ 1.903562] e1000 0000:02:01.0 ens33: renamed from eth0
The second install is a standalone (non-virtual) Ubuntu 16.04 Server on standard Intel hardware with two ethernet interfaces; one on the motherboard and another in a PCIe slot.
Code:
doug@snort:~$ dmesg | grep -i eth
[ 3.575997] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 3.589910] r8169 0000:01:00.0 eth0: RTL8168e/8111e at 0xf8442000, ec:08:6b:05:c4:ae, XID 0c200000 IRQ 33
[ 3.617698] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 3.767697] r8169 0000:01:00.0 enp1s0: renamed from eth0
[ 4.210014] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 4.222654] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:30:18:ad:3d:a4
[ 4.430910] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 4.444583] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
[ 4.459631] e1000e 0000:00:19.0 eno1: renamed from eth0
doug@snort:~$ ifconfig
eno1 Link encap:Ethernet HWaddr 00:30:18:ad:3d:a4
inet addr:192.168.0.61 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::230:18ff:fead:3da4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43961 errors:0 dropped:0 overruns:0 frame:0
TX packets:19629 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52455832 (52.4 MB) TX bytes:1551704 (1.5 MB)
Interrupt:20 Memory:f7e00000-f7e20000
enp1s0 Link encap:Ethernet HWaddr ec:08:6b:05:c4:ae
inet addr:192.168.0.68 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ee08:6bff:fe05:c4ae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6358 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1109154 (1.1 MB) TX bytes:1332 (1.3 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:11840 (11.8 KB) TX bytes:11840 (11.8 KB)
But now things get more interesting. The next install is Ubuntu 16.04 armv7l running on a Raspberry Pi model 2. This device has the built-in ethernet and a USB D-Link DWA-121 wifi adapter based on the Realtek RTL8188CUS chip. The built-in ethernet in also on the USB bus (which I didnt know until I looked) and is based on the SMSC9512/9514 chip. See below:
Code:
doug@Raspi-Ubuntu:~$ uname -a && lsb_release -a
Linux Raspi-Ubuntu 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l armv7l armv7l GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
doug@Raspi-Ubuntu:~$ dmesg | grep -e 'rtl\|smsc'
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0xaed8e6df smsc95xx.macaddr=B8:27:EB:D8:E6:DF bcm2708_fb.fbdepth=32 bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet splash
[ 0.342484] usbcore: registered new interface driver smsc95xx
[ 1.706438] smsc95xx v1.0.4
[ 1.767308] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:d8:e6:df
[ 7.197057] smsc95xx 1-1.1:1.0 enxb827ebd8e6df: renamed from eth0
[ 7.421672] usbcore: registered new interface driver rtl8192cu
[ 7.454092] rtl8192cu 1-1.3:1.0 enxb8a3868ee9df: renamed from wlan0
[ 9.567704] smsc95xx 1-1.1:1.0 enxb827ebd8e6df: hardware isn't capable of remote wakeup
doug@Raspi-Ubuntu:~$ ifconfig
enxb827ebd8e6df Link encap:Ethernet HWaddr b8:27:eb:d8:e6:df
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)
enxb8a3868ee9df Link encap:Ethernet HWaddr b8:a3:86:8e:e9:df
inet addr:192.168.0.97 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f81f:edde:16b6:a393/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2022 errors:0 dropped:41 overruns:0 frame:0
TX packets:1386 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1504042 (1.5 MB) TX bytes:164531 (164.5 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6401 (6.4 KB) TX bytes:6401 (6.4 KB)
So, I guess there are reasons for implementing PNIN but at least in the last example it could get pretty confusing. Is this really progress?
Doug
↧
[kubuntu] Wireless not connecting. Atheros AR5416.
Hello.
I'm new to Linux and have been throwing my head against the wall trying to figure out how to connect to the internet. The wireless card in question is a Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] yet when I try to connect to my router which is listed in the network manager thing it either asks me to input the password a half dozen times before failing to connect saying network connection not found or it will simply ask for the password once and do the same thing. It's getting to the point where I'm going to be mumbling my wireless password in my sleep. Meanwhile an ethernet connection simply provides an infinite loop of setting network address then failing with IP configuration was unavailable. As such I have to tether my phone (connected to my router somewhat ironically) to my computer to get internet which isn't ideal of course.
I used the wireless script and have attached it to the post as asked. I hope we can resolve this somewhat annoying problem.
I'm new to Linux and have been throwing my head against the wall trying to figure out how to connect to the internet. The wireless card in question is a Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] yet when I try to connect to my router which is listed in the network manager thing it either asks me to input the password a half dozen times before failing to connect saying network connection not found or it will simply ask for the password once and do the same thing. It's getting to the point where I'm going to be mumbling my wireless password in my sleep. Meanwhile an ethernet connection simply provides an infinite loop of setting network address then failing with IP configuration was unavailable. As such I have to tether my phone (connected to my router somewhat ironically) to my computer to get internet which isn't ideal of course.
I used the wireless script and have attached it to the post as asked. I hope we can resolve this somewhat annoying problem.
↧
↧
having trouble port forwarding with iptables
I have the following interfaces configured on my gateway running iptables:
eth0 - 6.7.8.9 (public ip)
eth1 - 10.0.10.1 (Internal LAN)
I want to host a web server on 10.0.10.6 from my internal LAN to be accessible from outside my LAN (the internet) via port 80.
I am assuming I need to forward port 80 on my gateway to port 80 in my internal web server. (please correct me if I am wrong or if I have any other option).
I run the following commands on my gateway to forward and NAT both incoming and outgoing traffic to my web server but I still can't reach my web server from outside.
FYI: I already have ip_forward enabled.
I have no other iptables rules on my gateway.
Thanks for your help
eth0 - 6.7.8.9 (public ip)
eth1 - 10.0.10.1 (Internal LAN)
I want to host a web server on 10.0.10.6 from my internal LAN to be accessible from outside my LAN (the internet) via port 80.
I am assuming I need to forward port 80 on my gateway to port 80 in my internal web server. (please correct me if I am wrong or if I have any other option).
I run the following commands on my gateway to forward and NAT both incoming and outgoing traffic to my web server but I still can't reach my web server from outside.
Code:
iptables -A FORWARD -i eth0 -o eth1 -m state -p tcp -d 10.0.10.6 --dport 80 --state NEW,ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -p tcp -A PREROUTING -i eth0 --dport 80 -j DNAT --to-destination 10.0.10.6
iptables -t nat -p tcp -o eth0 -A POSTROUTING -s 10.0.10.6 --dport 80 -j SNAT --to-source 213.55.103.202
FYI: I already have ip_forward enabled.
I have no other iptables rules on my gateway.
Thanks for your help
↧
Wifi not working after ubuntu 14.04 update
Hi,
I am ubuntu newbie. my wifi is working properly after install ubuntu 14.04. but recently i updated ubuntu 14.04 software update then the wifi is not working anymore.
Please help...
I am ubuntu newbie. my wifi is working properly after install ubuntu 14.04. but recently i updated ubuntu 14.04 software update then the wifi is not working anymore.
Please help...
↧
[ubuntu] Loss sudden of the permission - NFS
hello everyone,
I use Lubuntu 16.04 LTS on my laptop and I need mount nfs folder through this command:
for access my files which they are being served from Raspberry PI, with SO Raspbian.
Was running fine until when I need restart my laptop and execute this command, for mount drives on my pc, and I tried access the folders, through File Manager PCManFM I got it access the folder usb and selected the two folders which mounted but when I tried access on of them I receive this message "Error opening directory '/home/user/Documents/sandbox/usb1/folderone': Operation not permitted'
I tried, through terminal, which root and I got it access the folderone and write in inside.
I checked the id, and the id user of the folderone, on Raspberry pi, and my normal user they are the same!
What could be occur for I lost the rights on this folders?
Sorry about my english, If you need the another explanation please tell me! Thanks
I use Lubuntu 16.04 LTS on my laptop and I need mount nfs folder through this command:
Code:
sudo mount -t nfs 192.184.3.87:/media/pi /home/user/Documents/sandbox/usb
Was running fine until when I need restart my laptop and execute this command, for mount drives on my pc, and I tried access the folders, through File Manager PCManFM I got it access the folder usb and selected the two folders which mounted but when I tried access on of them I receive this message "Error opening directory '/home/user/Documents/sandbox/usb1/folderone': Operation not permitted'
I tried, through terminal, which root and I got it access the folderone and write in inside.
I checked the id, and the id user of the folderone, on Raspberry pi, and my normal user they are the same!
What could be occur for I lost the rights on this folders?
Sorry about my english, If you need the another explanation please tell me! Thanks
↧
Wifi problem - Intel Corporation Wireless 7265 - Asus k501u
Installed Ubuntu 16.04 alongside windows 10, wifi works in windows 10 but not in ubuntu. rfkill list shows that the wireless LAN is hard block: yes, tried unblocking it but still nothing. This is the wireless info: wireless-info.txt
Can somebody please help me? Thank you. :)
Can somebody please help me? Thank you. :)
↧
↧
Windows client unable to resolve from ubuntu dns/dhcp server
Hi all, When I initally setup my DNS Ubuntu server there was no problem with resolving from the Windows client. After installing and configuring DHCP on the same DNS server, I start to see the error below.
Is there anything I miss out setting up the dhcp ?
![]()
dhcpd.conf
![]()
resolv.conf
![]()
db.cnt.co.uk
![]()
Is there anything I miss out setting up the dhcp ?

dhcpd.conf

resolv.conf

db.cnt.co.uk

↧
[UbuntuGnome] canon MF217w connected to router via wifi
I am struggling with share scanner connected via wifi to my router. The printer function works fine but the scanner part is not working, the scanner gets detected but fails to scan. OS Ubuntu Gnome 16.04. Help
↧
[ubuntu] Internet shareing with IP Tables and external 2 nics - depending on connection
Hi there, I hope someone will be able to help me. I have a small pc I run in the car that acts as a media server for the kids tablets. Its running ubuntu 16.04 server edition and plex media server. It has an onboard wifi card that is set up using hostapd and dnsmasq to act as a hotspot for the kids tablets to connect to. In addition there is an onboard ethernet card which connects via dhcp. I have used IP tables to share the internet connection to the wifi hotspot. This is great when there is a wired network connection but obviously that doens't happen in the car. I was thinking of either adding an additional wifi dongle connecting to my phones 4G or buying a 4G usb modem. My question is, can I have a rule in the IP tables to forward internet traffic from the Ethernet card when connected or the additional wifi dongle instead?
My /etc/network/interfaces file
My dnsmasq.conf
My hostapd.conf
My rc.local file
I added this to the sysctl.conf
Thanks
My /etc/network/interfaces file
Code:
auto lo wlp3s0 enp2s0f5
iface lo inet loopback
iface enp2s0f5 inet dhcp
auto wlp3s0
iface wlp3s0 inet static
address 192.168.12.1
netmask 255.255.255.0
network 192.168.12.0
Code:
listen-address=127.0.0.1
listen-address=192.168.12.1
bind-dynamic
dhcp-range=192.168.12.1,192.168.12.254,255.255.255.0,24h
dhcp-option-force=option:router,192.168.12.1
dhcp-option-force=option:dns-server,192.168.12.1
dhcp-option-force=option:mtu,1500
no-hosts
Code:
beacon_int=100
ssid=CarAP
interface=wlp3s0
driver=nl80211
channel=1
ignore_broadcast_ssid=0
ap_isolate=0
hw_mode=g
wpa=2
wpa_passphrase=xxxxxxxxx
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
Code:
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o enp2s0f5 -j MASQUERADE
Code:
et.ipv4.ip_forward=1
↧