I use my galaxy s6 phone as a wifi hotspot for my desktop (I know, im too cheap to buy an adapter, but bear with me), my phone connects to the internet with wifi and my desktop is tethered to my phone.
Recently I wanted for my PC to apear as if it was directly connected in my lan and not be behind the NAT of my phone.
So what I wanted was to bridge the wlan0 and rndis0 network interfaces. Unfortunantly, I came to discover that the stock S6 kernel doesn't support 802.1 bridges. So I went and compiled a custom kernel. I compiled the stock kernel updated it in my boot.img to see if I was doing everything right and yes, it all went dendy. But when I recompiled the kernel with the CONFIG_BRIDGE=y, the phone goes into a boot loop. Also, a msg apear saying SElinux is not enforced, which is odd.
The question is: wtf? Is it the case that the hardware doesn't support this option? How changing just this option interferes with SElinux. Is there anyone who tried to do this and got it to work? I was able to change some options, like CONFIG_IKCONFIG/IKCONFIG_PROC.. So I'm sure the process of compiling and flashing it is been done correctly.
Additional info:
I'm using G920IDVU4FRD3 samsung stock kernel, which is version 3.10.61
Mine is a sm-g920i.
My current .config file is attached.
Recently I wanted for my PC to apear as if it was directly connected in my lan and not be behind the NAT of my phone.
So what I wanted was to bridge the wlan0 and rndis0 network interfaces. Unfortunantly, I came to discover that the stock S6 kernel doesn't support 802.1 bridges. So I went and compiled a custom kernel. I compiled the stock kernel updated it in my boot.img to see if I was doing everything right and yes, it all went dendy. But when I recompiled the kernel with the CONFIG_BRIDGE=y, the phone goes into a boot loop. Also, a msg apear saying SElinux is not enforced, which is odd.
The question is: wtf? Is it the case that the hardware doesn't support this option? How changing just this option interferes with SElinux. Is there anyone who tried to do this and got it to work? I was able to change some options, like CONFIG_IKCONFIG/IKCONFIG_PROC.. So I'm sure the process of compiling and flashing it is been done correctly.
Additional info:
I'm using G920IDVU4FRD3 samsung stock kernel, which is version 3.10.61
Mine is a sm-g920i.
My current .config file is attached.
Attachments
-
122.3 KB Views: 8