Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is plenty of information available on this, so why not try using Google first, make an attempt at solving the problem yourself and then ask LQ if you get stuck?
If not you could turn the wireless card into an ad-hoc device assuming it supports access point mode. If your PC usually uses a wired connection you could then bridge the two connections and connect to the ad-hoc with your phone to have internet access via the PC.
How to bridge the connections depends on your distribution and the tools you have availalbe. Most of what I'm finding in quick google searches are for using the brctl command. For example, if you're using a Debian based distro there's a bridge-utils package that contains it in the repositories, instructions here: https://packages.debian.org/search?k...s=bridge-utils
(btw, this probably goes without saying, but just in case: if the pc is hooked into the LAN using wireless... just connect the cell phone to the same wireless access point the pc is using.)
I've had trouble with ethernet to wireless bridging since 2.6.32 kernels. Sometime between 2.6.32 and 2.6.34 it broke (for me anyway, with flakey broadcom wifi chipsets). It seems to have been changed to provide bridging primarily for virtualized and container environments. You can accomplish much of the same function through iptables and ebtables without the brctl / bridge-utils methodology. I tend to use stand alone routers for this these days, as they're cheap, less hassle, and have more current wifi standards than my legacy gear.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.