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.