Add wifi access point to my desktop

Dear all,
I would like to have my cell phone connect to my desktop pc and get internet access from there.

I have a computer that connects to internet over Ethernet cable.
I added a second card which is my wifi. I want to make that wifi card

  1. A hotspot that is not “visible”. My cell phone would connect to that cellphone. For that I would use a private ip address.
  2. Route internet packets of my cell phone to the internet. That means cell phones sends something. This goes to the wifi card of my desktop and then from there is transferred through ethernet on the outside world

Any ideas on how to proceed? From Yast I can see the wifi card and I have set it up with a private ip address (my ethernet card has a public static ip address). I am not sure though which is the right mode for my wifi hidden network (managed, master, ad-hoc)
Regards
Alex

Here are instructions on how to do this :
https://forums.opensuse.org/showthread.php/410475-How-to-setup-an-Access-Point

It’s quite an old post so most likely it is much simpler now using NetworkManager. Nether the less the above instructions should let you accomplish what you are trying. You might also try the wireless forums subsection if you don’t get the answer here :slight_smile:

For your direct question you need ad-hoc.

what is this network manager? Is it an application? I mean I use my opensuse 5 years now. I keep updating it but my network connection was always this ethernet (lovely and reliable) cable so I have lost any new applications that came out.

Alex

It’s a piece of software that I believe you are using to configure the access point :slight_smile:

By default you can control it with a small icon in the lower right corner of your KDE desktop.

Hi,
I found some time today to try and set it up
I have found the
https://activedoc.opensuse.org/cs/node/1117#sec.nm.configure

and at the
25.4.3
It explains how I should make my desktop’s wifi card a wifi router.
Although:

  1. it does not give information if my cell phone when connected on my desktop would be able to see “internet” (so my computer does automatically the forwarding think)
  2. How to start kde applet automatically each time I boot my desktop pc
  3. Once I set up I connection… I can see it listed. Then if I press the edit button I get the following error message “No agents were available for this request”.

Could you please inform me what I am doing wrong?

I would like to thank you for your reply
Regards
Alex

Hi,
in case someone can help me with my questions above.

Regards
Alex

Ad1.
You need to configure dnsmasq for this to work (this is the easiest solution I’m aware of)

Ad2.
It should be started automatically each time if in YaST network settings you choose the network to be configured by network manager.

Ad3.
Can you provide a screenshot ?

How about using the initiall guide I pasted ?
Did you try it or is it too complex ?

Hi,
I am sorry I have not replied earlier but I was busy with “personal” domain. I wanted to make this work with the network manager and to avoid scripts. I am showing below how I had set it up. (of course I am showing not the current password).

The biggest problem is that my cell phone returns an authorization error when connected on my wifi. I have tried with different passwords but I guess this is not the reason I can not connect. (Any logs to look for at my desktop’s machine?).

Second problem is that I wanted the TW To be visible all the time so I only know its existence

I am atttaching below the screenshots.
I would like to thank you in advance for your help
Regards
Alex

http://www.smugmug.com/photos/i-cgPggbW/0/L/i-cgPggbW-L.jpg

http://www.smugmug.com/photos/i-PFz6fFg/0/L/i-PFz6fFg-L.jpg](http://www.smugmug.com/gallery/n-9Gfndm/i-PFz6fFg/A)

http://www.smugmug.com/photos/i-Wm7pC74/0/L/i-Wm7pC74-L.jpg](http://www.smugmug.com/gallery/n-9Gfndm/i-Wm7pC74/A)

http://www.smugmug.com/photos/i-PPtDr7F/0/L/i-PPtDr7F-L.jpg](http://www.smugmug.com/gallery/n-9Gfndm/i-PPtDr7F/A)

I remember when I first upgraded to 13.2, I had similar problems. I opened YAST and went into the Network Settings under the Network Devices heading. I switched to using wicked, and I made it start automatically at bootup. I disabled my eth0 and had my wifi start instead. Because of this, I’m able to boot to an init 3 and still have network access.
In your situation, I can see you enabling both devices to start at bootup, and you’ll be able to configure your wifi to be a shared device.
I hope this helps.

Thanks for the answer. I would try it (I have to postpone that solution a bit since I can not reboot my computer now)… I wonder though why my permission type of problem related to restarting computer.

Regards
Alex

If you are getting authentication failures look at NetworkManager logs. They should be logged by systemd. Just use the following command as root to follow the log :

linux:~ # journalctl -f

and after enabling that try to connect with your phone. Share with us the console output.

Regarding internet being available at init 3 with NetworkManager I think you need to set up your connection as system connection (the checkbox below Connect automatically) but this is to the other person trying to help you :slight_smile: