LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-24-2014, 02:14 PM   #1
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
can't access wired Desktop from wireless notebook, subnets problem?


I have an HP Desktop running PCLinuxOS. I have an Acer Aspire running Ubuntu 12.04. I previously had a now outdated release of Linux Mint on the Acer but replaced it with Ubuntu 12.04. I also had to replace my wireless router as it failed.

With Mint installed on the Acer, I had nfs setup to share both ways with PCLinuxOS on the HP. All worked fine. Setting up nfs on Ubuntu seemed to work and I was able to access the shared directory on PCLinuxOS. I was unable to access the shared directory on Ubuntu. To try to eliminate possible problems, I connected the Acer to the wired modem/router (An Actiontec router from the phone company, CenturyLink DSL). From Ubuntu, I successfully mounted the PCLinux share on the HP and was also able to successfully mount the Ubuntu share on the Acer. That told me there was no problem with the nfs configuration so I tried to check connectivity.

I dis-connected the ethernet cable and connected to the wireless, a Belkin N150 router. From the Acer with Ubuntu, I could ping the HP and its gateway but from PClinux on the HP I could not ping Ubuntu on the Acer.

The output from the HP of netstat -r:

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         192.168.0.1     0.0.0.0         UG        0 0          0 eth0
link-local      *               255.255.0.0     U         0 0          0 eth0
192.168.0.0     *               255.255.255.0   U         0 0          0 eth0
The output from the command on Acer is identical except on the default row under gateway, it just shows a dot/period: . I don't know what that means. Also under destination instead of 192.168.0.0 it shows 192.168.2.0. Iface is wlan0 instead of eth0

Output of route -n command on the HP:

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0

The route -n command under Destination on acer shows 192.168.2.0 while on the HP it shows 192.168.0.0. The Acer Gateway is 192.168.2.1, everything else is the same except wlan0 in place of eth0.

ifconfig on the HP shows: 192.168.0.2
ifconfig on the Acer shows: 192.168.2.2

If I connect an ethernet cable to the DSL modem/router and then to the Acer, the IP shows as 192.168.0.7 and I can ping the Acer from HP.

It would seem to me that if the 'Destination' on the Acer were changed to:
192.168.0.0 it would work. Maybe the Gateway needs to be changed on the Acer also? It seems to be a problem with different subnets as on my previous wireless, all the machines were under 192.168.0.0.

Both machines have internet access, no problem there. If anyone has any suggestions, I would appreciate hearing them. Although I've been using Linux for some years, I've spent very little time on wireless configuration so am out of my depth here.
 
Old 04-24-2014, 04:23 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What is the purpose of the Belkin?

If you do not desire or want two subnets then you have a couple of options. You might be able to configure the Actiontec in bridge mode. This basically configures it to pass through traffic and the Belkin performs all the gateway router functions. The 2nd option is to configure the Belkin as a wireless access point.

http://www.belkin.com/us/support-art...rticleNum=8067
 
Old 04-24-2014, 07:31 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Original Poster
Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
What is the purpose of the Belkin?
My previous router was not wireless capable. The Actiontec is but trying to configure it yesterday just didn't work. I selected it from Network in System Settings and configured it. When I would select it from the options under the Network icon I would enter the passphrase and it did nothing for a minute and then the same window popped up asking for the passphrase again, ad infinitum. Anyhow, I did this again a few minutes ago and it worked and it is all one subnet and the IP for the Acer has changed and I can access the HP Desktop with nfs.

I'm not sure what changed. I suppose I might have entered the passphrase incorrectly but I did it a number of times and can't believe I did it wrong everytime. I still have the Belkin attached to a port on the Actiontec and an ethernet cable to the port on the HP. I would expect that it would work if I just ran the ethernet from the Actiontec to the HP. I tried that yesterday without success but might have had the cables wrong.

Well, good to have a simple resolution after the frustration. Thanks for your help.
 
  


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
Connecting subnets with Raspberry Pi wireless access point mostlyharmless Linux - Networking 7 08-04-2013 06:32 PM
[SOLVED] Why am I unable to access wired internet on ubuntu 10.10 desktop edition? rajiv yadav Linux - Newbie 4 01-19-2011 07:27 AM
How to connect a wired desktop to a wireless notebook? emgee_1 Linux - Networking 5 09-09-2009 06:37 PM
Wireless Access On Wired Network Terje Linux - Wireless Networking 1 02-03-2005 10:20 AM
wired & wireless different subnets rickenbacherus Linux - Wireless Networking 2 11-10-2004 06:45 AM

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

All times are GMT -5. The time now is 07:48 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