Hello. I am pretty new on Manjaro and my last gnu-linux experience was like 20 years ago. Got two questions already. I am changing my laptop ttl to 65 in order to use my mobile Internet. How can I make it permanent? I am typing “sudo sysctl net.ipv4.ip_default_ttl=65” on every login in order to get Internet but cant find the sysctl.conf to make it permanent.
Also, I made an access point by using create_ap command “create_ap wlan0 wlan0 sidd pass” and using its linux-wifi-hotspot gui as well. Both created the hotspot but neither had Internet. Any other way to do this?
you would create a file in the
the syntax is not the same as in the command - but similar
… ahh, @Mirdarthos said it already, kind of
by creating that file with your content, you don’t need all that sudoers editing …
You need two create two interfaces on this one card - and connect them.
For instance, one in Master mode, one in Client mode.
Not all cards or drivers support this.
There are probably many resources on how to achieve this.
I myself use a Wlan-router running OpenWRT with the package “travelmate” on it.
This does the exact same thing as you want to do - perhaps you can glean inspiration from there.
Most don’t as you need 2 “antennas” (=more expensive so even on high end systems manufacturers cut costs)
If that’s true for your card too (we have no information and why it’s best to always post an inxi --admin --verbosity=7 --filter --no-host --width) then you need an additional WiFi card (or an additional dongle; look whether it’s Linux compatible or not before buying it!)
two interfaces on one radio is possible with a lot of hardware
My cheap plastic router can do it - I have a TP-Link too old to run the most recent version of OpenWRT
so I now use a FritzBox 7412 - because it was cheap with (comparably) lots of memory and cpu power
I just tried to make things easy to understand. Edited antennas to reflect “antennas”…
P.S. Danke schön!
P.P.S. Most Wifi Cards have dual antennas for 2.4 and 5GHz already, but the same antennas can indeed be used for an infrastructure and an access point connection whereas Windows can do that on all hardware by spinning off yet another service eating CPU and RAM and fast switching between the two, halving the bandwidth, whereas Linux refuses to do that and needs a chipset capable of both Infrastructure and access point connections simultaneously not using any RAM / CPU / … Habe ich dich glücklich gemacht?