Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to share the wireless Internet connection on my desktop with my old laptop, through ethernet.

I have ticked the option "Make available to others" on both connections, on my desktop, but my laptop doesn't connect. Am I doing something wrong or is it a bug?

share|improve this question
    
Before checking software configurations... how are you connecting the two PCs? If directly, you need a crossed cable (do they exist anymore?). See en.wikipedia.org/wiki/Ethernet_crossover_cable. Otherwise you'll need at least a bridge... –  Rmano Oct 16 '13 at 15:52
    
I have done the exact same thing on 12.04 before. I am thinking there is a problem with network manager since i have Gnome 3.10 and it got updated today. –  sijoune Oct 16 '13 at 18:03
2  
@Rmano: According to that article, modern Ethernet hardware auto-negotiates so crossover cables are not needed. I've also done this before with ordinary Ethernet cables. –  Mechanical snail Oct 30 '13 at 1:25
    
@Mechanical snail: thanks, I didn't noticed that. So I suppose I can dispose my precious manually connected cross-over cable :-) –  Rmano Oct 30 '13 at 15:37
    
possible duplicate of Share Wireless connection with Wired Ethernet Port –  bcbc Nov 29 at 21:51

1 Answer 1

In the server computer:

1. On the computer connected to the Internet, click the network icon in the panel and go to "Edit Connections..." at the bottom of the menu.

enter image description here

2. Double click your Wired Connection (Leave your wireless connection untouched, the one connected to Internet and the one you want to share, as I understand)

enter image description here

3. In the "IPv4 Settings tab", select Method: "Shared to other computers"

enter image description here

4. Reconnect clicking on the Wired Network so it gets its new IP address.

5. Click on "Connection Information" in the network menu and write down the IP address and network mask (in my case it was assigned 10.42.0.1/255.255.255.0 but I do not know if that will always be the case)

enter image description here

In the client computer:

6. Go to "Edit Connections..." and assign a "Manual" Method. Assign an IP assress in the same subnetwork (10.42.0.69 for example) and put the IP and network mask you wrote down in "Netmask" "Gateway" and "DNS servers"

enter image description here

7. Reconnect to the network to let the new settings be assigned.

8. Pat yourself in the back and surf away!!!

share|improve this answer
    
The first 4 steps were enough in my case (Ubuntu 14.04). What is wrong with the automatic assignment (DHCP)? Why are you manually reassigning it? –  toto_tico Dec 6 at 22:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.