Tethering issue (Eth to WiFi)

Hi,
I am having issue with the setup of tethering on my Rasp Pi, running the latest version of OSMC.

When I try to activate the tethering from the GUI I have the following message “Error enabling hotspot - see log for details”.

Looking at the log, here an extract from when I connect the wifi dungle and I try to activate the tethering

Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: new high-speed USB device number 5 using dwc_otg
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: New USB device found, idVendor=050d, idProduct=815f
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: Product: RTL8191S WLAN Adapter
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: Manufacturer: Manufacturer Realtek
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: SerialNumber: 00e04c000001
Jan 11 23:27:59 RaspSala kernel: r8712u: module is from the staging directory, the quality is unknown, you have been warned.
Jan 11 23:27:59 RaspSala kernel: r8712u: register rtl8712_netdev_ops to netdev_ops
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: r8712u: USB_SPEED_HIGH with 4 endpoints
Jan 11 23:27:59 RaspSala kernel: usb 1-1.2.1: r8712u: Boot from EFUSE: Autoload OK
Jan 11 23:28:00 RaspSala kernel: usb 1-1.2.1: r8712u: CustomerID = 0x0015
Jan 11 23:28:00 RaspSala kernel: usb 1-1.2.1: r8712u: MAC Address from efuse = 94:44:52:0a:c2:e1
Jan 11 23:28:00 RaspSala kernel: usb 1-1.2.1: r8712u: Loading firmware from “rtlwifi/rtl8712u.bin”
Jan 11 23:28:00 RaspSala kernel: usbcore: registered new interface driver r8712u
Jan 11 23:28:00 RaspSala connmand[231]: wlan0 {create} index 3 type 1
Jan 11 23:28:00 RaspSala connmand[231]: wlan0 {update} flags 4098
Jan 11 23:28:00 RaspSala connmand[231]: wlan0 {newlink} index 3 address 94:44:52:0A:C2:E1 mtu 1500
Jan 11 23:28:00 RaspSala connmand[231]: wlan0 {newlink} index 3 operstate 2
Jan 11 23:28:01 RaspSala kernel: r8712u 1-1.2.1:1.0 wlan0: 1 RCR=0x153f00e
Jan 11 23:28:01 RaspSala kernel: r8712u 1-1.2.1:1.0 wlan0: 2 RCR=0x553f00e
Jan 11 23:28:01 RaspSala connmand[231]: Adding interface wlan0 [ wifi ]
Jan 11 23:28:01 RaspSala connmand[231]: wlan0 {update} flags 36867
Jan 11 23:28:01 RaspSala connmand[231]: wlan0 {newlink} index 3 address 94:44:52:0A:C2:E1 mtu 1500
Jan 11 23:28:01 RaspSala connmand[231]: wlan0 {newlink} index 3 operstate 2
Jan 11 23:28:01 RaspSala kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 11 23:28:01 RaspSala systemd-sysctl[795]: Overwriting earlier assignment of vm/min_free_kbytes in file ‘/etc/sysctl.d/101-osmc-device.conf’.
Jan 11 23:28:01 RaspSala net.agent[798]: ERROR: /sbin/ifup not found. You need to install the ifupdown package.
Jan 11 23:28:01 RaspSala systemd-sysctl[795]: Overwriting earlier assignment of vm/min_free_kbytes in file ‘/etc/sysctl.d/osmc.conf’.
Jan 11 23:28:01 RaspSala wpa_supplicant[302]: nl80211: Driver does not support authentication/association or connect commands
Jan 11 23:28:01 RaspSala connmand[231]: wlan0 {newlink} index 3 address 94:44:52:0A:C2:E1 mtu 1500
Jan 11 23:28:01 RaspSala connmand[231]: wlan0 {newlink} index 3 operstate 2
Jan 11 23:28:01 RaspSala net.agent[800]: net.agent add event for wlan0 not handled.
Jan 11 23:28:01 RaspSala wpa_supplicant[302]: WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
Jan 11 23:28:01 RaspSala wpa_supplicant[302]: WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
Jan 11 23:28:12 RaspSala sudo[778]: pam_unix(sudo:session): session closed for user root
Jan 11 23:28:17 RaspSala sudo[808]: osmc : TTY=pts/0 ; PWD=/home/osmc ; USER=root ; COMMAND=/bin/journalctl
Jan 11 23:28:17 RaspSala sudo[808]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)
Jan 11 23:29:08 RaspSala sudo[808]: pam_unix(sudo:session): session closed for user root
Jan 11 23:29:13 RaspSala sudo[835]: osmc : TTY=pts/0 ; PWD=/home/osmc ; USER=root ; COMMAND=/bin/journalctl
Jan 11 23:29:13 RaspSala sudo[835]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)
Jan 11 23:29:57 RaspSala sshd[846]: Received disconnect from 112.217.150.112: 11: Bye Bye [preauth]
Jan 11 23:30:20 RaspSala sudo[863]: osmc : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/mv /var/tmp/config.txt /boot/config.txt
Jan 11 23:30:20 RaspSala sudo[863]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 11 23:30:20 RaspSala mediacenter[305]: mv: failed to preserve ownership for ‘/boot/config.txt’: Operation not permitted
Jan 11 23:30:20 RaspSala sudo[863]: pam_unix(sudo:session): session closed for user root
Jan 11 23:30:28 RaspSala mediacenter[305]: disabled
Jan 11 23:30:40 RaspSala mediacenter[305]: disabled
Jan 11 23:30:47 RaspSala kernel: bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.

I am not very expert, maybe a compatibility issue?
My dungle is a “BELKIN F5D8053 v6”

Thanks
Bye

Your log snippet shows nothing to do with tethering. This is why you should always provide a complete log.

Ok. sorry. May I ask you how I can easily copy all the log and post in here?

osmc@vero2:~$ grab-logs -h
usage: grab-logs [-h] [-A] [-T FILENAME] [-C] [-P] [-I] [-p] [-v] [-k] [-r]
                 [-s] [-f] [-O] [-o] [-a] [-J] [-l] [-i] [-d] [-K] [-m] [-D]
                 [-b] [-X]

Uploads vital logs to http://paste.osmc.io. If the network is unavailable,
logs are copied to the SD Card.

optional arguments:
  -h, --help          show this help message and exit
  -A, --all           Include all logs
  -T FILENAME         Override default name and location of temporary log file
  -C, --copy          Copy logs to /boot (SD Card)
  -P, --print         Print logs to screen (no upload or copy)
  -I, --systeminfo    System Information
  -p, --piconfig      Pi config.txt
  -v, --advset        advancedsettings.xml
  -k, --keyboard      keyboard.xml
  -r, --remote        remote.xml
  -s, --sources       sources.xml
  -f, --fstab         fstab file
  -O, --packages      OSMC Packages
  -o, --othpack       All Other Packages
  -a, --apt           APT term.log, history.log, sources.list, apt.conf.d,
                      preferences.d
  -J, --sysjrn        System Journal
  -l, --lirc          lirc.conf file
  -i, --initd         init.d directory
  -d, --systemd       systemd directory
  -K, --kernel        Kernel Message Log
  -m, --memory        System Memory (total & available)
  -D, --disk          Diskspace (total & available)
  -b, --boot          Contents of /boot/
  -X, --kodi, --xbmc  Kodi log files (includes log from previous boot)
osmc@vero2:~$

Thanks.

Here
https://drive.google.com/file/d/0B0b-kUcM-7sfM0V1M1p1WnF4MjA/view?usp=sharing
the full log (I hope ) after one reboot, including when I try to enable tethering from the GUI.

If I’m not wrong the only line I get when I try to enable the tethering from the GUI is

Jan 12 00:15:00 RaspSala kernel: bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.

So maybe the issue in on the dungle installation / Driver compatibility

I had to re-install OSMC for other reasons. Anyway, even after a fresh install, I’m still facing issue activating the tethering.

Here
https://drive.google.com/file/d/0B0b-kUcM-7sfbWdjV20ybzFuTmc/view?usp=sharing
the complete new Journal.

As far I understand the following lines (and relevant errors) occur when loading the wifi dongle

Jan 12 22:13:30 RaspSala kernel: usb 1-1.3: new high-speed USB device number 5 using dwc_otg
Jan 12 22:13:30 RaspSala kernel: usb 1-1.3: New USB device found, idVendor=050d, idProduct=815f
Jan 12 22:13:30 RaspSala kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 12 22:13:30 RaspSala kernel: usb 1-1.3: Product: RTL8191S WLAN Adapter
Jan 12 22:13:30 RaspSala kernel: usb 1-1.3: Manufacturer: Manufacturer Realtek
Jan 12 22:13:30 RaspSala kernel: usb 1-1.3: SerialNumber: 00e04c000001
Jan 12 22:13:40 RaspSala kernel: usb 1-1.3: r8712u: CustomerID = 0x0015
Jan 12 22:13:40 RaspSala kernel: usb 1-1.3: r8712u: MAC Address from efuse = 94:44:52:0a:c2:e1
Jan 12 22:13:40 RaspSala kernel: usb 1-1.3: r8712u: Loading firmware from “rtlwifi/rtl8712u.bin”
Jan 12 22:13:40 RaspSala kernel: usbcore: registered new interface driver r8712u
Jan 12 22:13:40 RaspSala connmand[190]: wlan0 {create} index 3 type 1
Jan 12 22:13:40 RaspSala connmand[190]: wlan0 {update} flags 4098
Jan 12 22:13:40 RaspSala connmand[190]: wlan0 {newlink} index 3 address 94:44:52:0A:C2:E1 mtu 1500
Jan 12 22:13:40 RaspSala connmand[190]: wlan0 {newlink} index 3 operstate 2
Jan 12 22:13:51 RaspSala kernel: r8712u 1-1.3:1.0 wlan0: 1 RCR=0x153f00e
Jan 12 22:13:51 RaspSala kernel: r8712u 1-1.3:1.0 wlan0: 2 RCR=0x553f00e
Jan 12 22:13:51 RaspSala connmand[190]: Adding interface wlan0 [ wifi ]
Jan 12 22:13:51 RaspSala connmand[190]: wlan0 {update} flags 36867
Jan 12 22:13:51 RaspSala connmand[190]: wlan0 {newlink} index 3 address 94:44:52:0A:C2:E1 mtu 1500
Jan 12 22:13:51 RaspSala connmand[190]: wlan0 {newlink} index 3 operstate 2
Jan 12 22:13:51 RaspSala kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 12 22:13:52 RaspSala systemd-sysctl[323]: Overwriting earlier assignment of vm/min_free_kbytes in file ‘/etc/sysctl.d/101-osmc-device.conf’.
Jan 12 22:13:52 RaspSala net.agent[324]: ERROR: /sbin/ifup not found. You need to install the ifupdown package.
Jan 12 22:13:52 RaspSala systemd-sysctl[323]: Overwriting earlier assignment of vm/min_free_kbytes in file ‘/etc/sysctl.d/osmc.conf’.
Jan 12 22:13:52 RaspSala wpa_supplicant[238]: nl80211: Driver does not support authentication/association or connect commands
Jan 12 22:13:52 RaspSala net.agent[327]: net.agent add event for wlan0 not handled.
Jan 12 22:13:52 RaspSala connmand[190]: wlan0 {newlink} index 3 address 94:44:52:0A:C2:E1 mtu 1500
Jan 12 22:13:52 RaspSala connmand[190]: wlan0 {newlink} index 3 operstate 2
Jan 12 22:13:52 RaspSala wpa_supplicant[238]: WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
Jan 12 22:13:52 RaspSala wpa_supplicant[238]: WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance

and this line when I try to enable the tethering from the GUI.

Jan 12 22:17:54 RaspSala kernel: bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.

Any help?

[moving my comment to a new post, since it might be ATV specific, also might not be, but…]

Based on my researching this for the ATV, and my building a kernel with br_netfilter available, I suspect this can be fixed the same way.