LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2012, 12:21 PM   #1
Help me im dumb
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy Connect my non wireless enabled pc to my wireless enabled pc via ethernet?


I want to use my laptop that receives wifi as a server for my pc that does not have a wifi card, both run linux mint.

I have set up a connection with network manager and set IPv4 method to "Shared with other computers" and it connects fine apparently but i cannot browse due to "Server not found".

lspci
Code:
$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Manhattan [Mobility Radeon HD 5430 Series]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio [Radeon HD 5400/6300 Series]
02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)
ifconfi
Code:
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 50:e5:49:df:a7:0a  
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          inet6 addr: fe80::52e5:49ff:fedf:a70a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:294 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:60528 (60.5 KB)
          Interrupt:44 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:340 errors:0 dropped:0 overruns:0 frame:0
          TX packets:340 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:21744 (21.7 KB)  TX bytes:21744 (21.7 KB)
Any help is appreciated.
 
Old 10-21-2012, 01:11 PM   #2
MidGe48
LQ Newbie
 
Registered: Dec 2011
Posts: 11

Rep: Reputation: Disabled
"Server not Found" might come about if both computers are not in the same subnet.

From your post, for the computer you show the ifconfig result for, it indicates it is in subnet 10.42.0.x. You need make sure that the other computer is in the same subnet. That mean that the ip for eth0 on that computer ought to be 10.42.0.y. where y is between 1 and 254 and not the same as x (not 1, in your case). The broadcast address and the mask should be the same for both computers.

That should be your first step.

If not, it would help to see the result of running ifconfig -a on both computers and maybe we can take it from there.
 
Old 10-21-2012, 01:27 PM   #3
Help me im dumb
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MidGe48 View Post
"Server not Found" might come about if both computers are not in the same subnet.

From your post, for the computer you show the ifconfig result for, it indicates it is in subnet 10.42.0.x. You need make sure that the other computer is in the same subnet. That mean that the ip for eth0 on that computer ought to be 10.42.0.y. where y is between 1 and 254 and not the same as x (not 1, in your case). The broadcast address and the mask should be the same for both computers.

That should be your first step.

If not, it would help to see the result of running ifconfig -a on both computers and maybe we can take it from there.
Result from my computer with wifi enabled.
Code:
$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:18:8b:b7:55:8a  
          inet6 addr: fe80::218:8bff:feb7:558a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:106832 (106.8 KB)  TX bytes:1730 (1.7 KB)
          Interrupt:18 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1635 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1635 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:49339 (49.3 KB)  TX bytes:49339 (49.3 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.125.126.70  P-t-P:10.125.126.69  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1034194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:685255 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1273815825 (1.2 GB)  TX bytes:56986913 (56.9 MB)

vboxnet0  Link encap:Ethernet  HWaddr 0a:00:27:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:19:d2:7c:77:aa  
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::219:d2ff:fe7c:77aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8179970 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4888777 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2120181966 (2.1 GB)  TX bytes:897198741 (897.1 MB)
 
Old 10-21-2012, 04:58 PM   #4
MidGe48
LQ Newbie
 
Registered: Dec 2011
Posts: 11

Rep: Reputation: Disabled
OK, but we need it from both computers, not only the one! Both computers have to be in sync to communicate with each other.

But it looks like this one does not have an ip4 address which mean you probably have to fix the connection on this one via network manager. The ip6 address does not look right eiher. Anyway, try as per my first post and then , post back the ipconfig results if that does not work. Also, you will have to bring the interface down and up again after you make the change (try "ifdown eth0" and then "ifup eth0" on the computer where you make the change to the ip. You need to do this as root or sudo).

Last edited by MidGe48; 10-21-2012 at 05:06 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Lan could not be enabled Linuxleaner Linux - Laptop and Netbook 6 10-08-2012 11:55 AM
HP8730w - Wireless connection cannot be enabled Yaha Linux - Laptop and Netbook 3 05-03-2011 04:29 AM
Only US wireless channels enabled by default bstrik Linux - Wireless Networking 1 12-18-2008 05:33 PM
Can't connect over vpnclient with WEP enabled Wireless Router Brad.Scalio@noaa.gov Linux - Software 0 05-12-2007 11:56 PM
Cant connect to WEP enabled wireless network in FC6 vikramkone Linux - Wireless Networking 5 01-30-2007 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration