sharing internet from PC to PC - connection

I am trying to share wifi internet from my pc to another pc with ethernet cable. I set sharing wifi and checked the allow other network. And set the IP on the Ethernet LAN to static mode at 192.168.0.1 On the other PC I set it to static mode also at 192.168.0.2 and gateway at 192.168.0.1. but it says no internet access. can anyone provide a solution?
Thanks for the answer

Use "Sharing" in network options.

Related

OpenWRT - Allow Internet only between LAN <> WAN / disallow lan can reach wan network

I need to configure a OpenWRT-Router ( TP-Link WR1043ND v1.2 ) to create a separate network with internet access only.
I cant figure out how to allow just internet, or, disallow device recognizing from LAN > to > WAN.
If I connect a client to the LAN Ports of OpenWRT-Router, the Internet working and I can (unfortunately) reach the ISP-Router's network and all of his clients.
I dont want that OpenWRT´s LAN network can reach the ISP-Routers network. It is even possible on openwrt to archive that? When possible, how?

Usb internet key & Raspberry: disable internet connection, used only for sms

I would like to use a USB internet Key Huawei E3531i for send and receive SMS.
I'm working on it, I can send but I have some issue receiving but this is not the topic of this thread.
When I plug the USB stick the Raspberry (connected to wireless lan) doesn't have access to internet any more. Most probably because somehow the internet key is considered as preferred connection but I don't have idea how to change this.
The best for me would be that the USB stick is not used at all for internet connection, even the wireless lan is not available.
How to configure this?
Thanks
Andrea
SOLVED!
Editing the file: /etc/dhcpcd.conf
Adding the metric for each interface. In this way I can drive the priority of routing for internet connection:
interface wlan0
metric 200
interface eth1
metric 300
The smaller number has higher priority.
Now I'm able to reach the internet key with his static ip address but also connecting to internet because the default interface is the wifi.
Bye
Andrea

What would cause a Wireless connection to fail even though the settings are correct?

I have a Canon LPB6030w wireless printer, an Archer C9 router and a Windows 10 pro /64 computer.
The printer has been working great for months, however we lost power from a storm after which the printer would not connect.
The Archer C9 router does not show the printer in the wireless connections list.
The router has the printer IP reserved with the correct MAC address.
The printer has the correct IP, subnet mask, gateway address, SSID and the security setting is correct (I can't verify the password)
However after recycling the printer power (both by on/off switch and power cord) the printer will not connect.
My solution is the cart the printer upstairs and redo the settings through the USB cable. No changes in the router were required.
My question is: What about wireless connections that might be missing for this situation to exist? Is there some discovery process that could be missing?
Thanks
John
It sounds like a problem with DHCP.
You say the printer has the correct IP and the router has the correct IP for the printer but that would imply the printer has static IP settings. How can the printer have the correct IP address if it doesn't have any connection to the router to receive it? It means the printer has a static IP? Verify your router is set for DHCP and that your printer is being served an IP from the router instead of you manually assigning a static IP to your printer.

NM can't find my wifi network

I freshly installed arch linux and I have small problem with my networkmanager. I'm using networkmanager with nm-applet and I see plenty of wifi networks nerby, but just not mine. I have connection when I'm creating hotspot on my phone, I have connection when I connect ethernet cable to this router and my phone see wifi network from this router, but my desktop doesn't.
I'm using adapter TP-LINK TL-WN722N and Netia Spot router.
Answer was pretty simple - I needed to change frequency in my router.

Raspberry Pi 2 Internet Connection by micro-USB

I'm using a RPi 2 and I supply it by the USB port of my PC, I already have made the PC share internet by the ethernet cable. I was wondering if it's possible to establish an internet connection by the same cable that does the voltage supply for RPi?
I have this doubt because I work sometimes with a BeagleBone Black and I can make a internet sharing by the same USB cable that does the voltage supply. Which is a very pratical resource from this platform.
For RPI: The micro USB is only for power supply. You cannot use it share connection or login to RPI. RPIs can be shared internet only by using Ethernet crossover cable. AFAIK there is no particular reason why RPI like that.Most users share internet to RPI by connecting it to router or PC via Ethernet cable.
But for BBB: Yes, you can use the Powersupply cable to share the internet connection and even login in to BBB.

Resources