Posts by thankarezosLB
-
-
Well, the problem was my VPN provider after all, i asked them, they block tethering. Are there any workarounds? My hunch says that bridging ethernet with tether will do the trick right?
I found this that was bridging my gateway with tether and tether had internet with vpn enabled but it had my normal ip. Can I modify it to pass through vpn?
Code
Display More1.Configure a static ip address, gateway for ethernet (my values, ip-address 192.168.1.14, gateway 192.168.1.73) 2.Enable tethered and assign a SSID name and password 3. Add the following lines to .config/autostart.sh: # create a bridge interface with name br0 ip link add name br0 type bridge ip link set br0 up # assign eth0 to the bridge ip link set eth0 up ip link set eth0 master br0 # move ip address to br0 (replace with your own ip address) ip addr del 192.168.1.14/24 dev eth0 ip addr add 192.168.1.14/24 dev br0 # make sure we have an internet gateway (replace ip address with your own) route add -net default gw 192.168.1.73 # assign wlan0 to the bridge ip link set wlan0 master br0
-
-
Code
Display Morebr-129e8c79991e Link encap:Ethernet HWaddr 02:42:1F:6E:61:ED inet addr:172.18.0.1 Bcast:172.18.255.255 Mask:255.255.0.0 inet6 addr: fe80::42:1fff:fe6e:61ed/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:116 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1688 (1.6 KiB) TX bytes:29954 (29.2 KiB) docker0 Link encap:Ethernet HWaddr 02:42:D8:6C:C1:7D inet addr:172.17.0.1 Bcast:172.17.255.255 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) eth0 Link encap:Ethernet HWaddr DC:A6:32:CF:65:A5 inet addr:192.168.0.194 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4742 errors:0 dropped:0 overruns:0 frame:0 TX packets:4881 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1651259 (1.5 MiB) TX bytes:2468022 (2.3 MiB) 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:178 errors:0 dropped:0 overruns:0 frame:0 TX packets:178 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16314 (15.9 KiB) TX bytes:16314 (15.9 KiB) tether Link encap:Ethernet HWaddr DC:A6:32:CF:65:A6 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::e088:5cff:fe89:5a6e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4091 errors:0 dropped:0 overruns:0 frame:0 TX packets:3404 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2252433 (2.1 MiB) TX bytes:1423607 (1.3 MiB) veth852dab3 Link encap:Ethernet HWaddr 36:4B:2D:38:CC:7F inet6 addr: fe80::344b:2dff:fe38:cc7f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:164 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1940 (1.8 KiB) TX bytes:46464 (45.3 KiB) wlan0 Link encap:Ethernet HWaddr DC:A6:32:CF:65:A6 inet6 addr: fe80::dea6:32ff:fecf:65a6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4091 errors:0 dropped:0 overruns:0 frame:0 TX packets:3503 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2252433 (2.1 MiB) TX bytes:1535045 (1.4 MiB)
Tell me if there are any sensitive information I need to delete. I havent seen my ip in that.
Also I noticed that my devices get 192.168.1.1 gateway. That seems weird because there is a router with different gateway in the way and rasberry pi is acting as a gateway too. wasnt it supposed to be pi's ip or 192.168.0.1 that is the router's ip(not modem's)? I am very familiar with computers but networking is my weak spot.
-
Try this in /storage/.config/autostart.sh (I use it to connect the zerotier interface with the ethernet interface), it works very well for me.
You will have to find out the name of your hotspot interface (use the ifconfig command) and substitute it in <interface>. If eth0 has another name, change it too.
Still the same problem. Also I noticed that I if connect to the vpn I dont have internet access via access point, also I dont find where interface name is
-
I am running librelec on my rasberry pi 4 connected on an external router with 192.168.0.1 gateway.
I have enabled access point so I can use it as a vpn hotspot. I had no intnernet access so I enabled ip_forwading.
Now If i set ip adress manually my ethernet card stays in ready state no matter if I disonect and reconnect, thats easy solvable with Ip binding so I use dhcp.
But it still causes problems. The first one is that I have to diconnect and reconnect ethernet (via menu not physically) to get online
The second one is that it causes interfere to my alexa's tv's wifi. I was playing some music on spotify via alexa and when I was booting it stoped and both tv and alexa dissapeared from spotify for some time. then they came back.
I mostly dont turn off my pi but some times I need to switch to rasberry OS so I will have to reconnect ethernet.
-
Can somone provide the steamlink.sh file? The pastebin is down
edit:Is it still not working with RPi4?